
:root {
  --bg: #070b12;
  --bg-2: #0b1220;
  --panel: rgba(13, 20, 34, 0.9);
  --panel-2: rgba(18, 28, 46, 0.92);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(14, 165, 233, 0.28);
  --text: #eef4ff;
  --muted: #95a6c8;
  --accent: #0ea5e9;
  --accent-2: #7dd3fc;
  --gold: #34d399;
  --success: #4be2a1;
  --danger: #ff7e7e;
  --warning: #ffd166;
  --shadow: 0 18px 50px rgba(0,0,0,0.42);
  --radius: 20px;
  --radius-sm: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(14,165,233,0.12), transparent 22%),
    radial-gradient(circle at 90% 0%, rgba(52,211,153,0.08), transparent 18%),
    linear-gradient(180deg, #06080d 0%, #09101b 40%, #070b12 100%);
}
a { color: var(--accent-2); text-decoration: none; transition: .2s ease; }
a:hover { color: #fff; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1320px, calc(100% - 28px)); margin: 22px auto 34px; }
.mrp-topbar, .mrp-hero, .mrp-footer, .mrp-sidebox, .mrp-strip, .mrp-banner, .mrp-card, .forum-card, .panel-card, .stat-box, .post-card, .thread-card, .notice, .toolbar, .editor-preview, .profile-card, .pm-card, .admin-card, .table-wrap, .auth-box, .quick-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
}
.notice { padding: 14px 16px; margin-bottom: 18px; }
.notice-success { border-color: rgba(75,226,161,.24); background: rgba(75,226,161,.08); }
.notice-error { border-color: rgba(255,126,126,.24); background: rgba(255,126,126,.08); }
.notice-warning { border-color: rgba(255,209,102,.24); background: rgba(255,209,102,.08); }
.mrp-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; margin-bottom: 18px; background: rgba(7,11,18,.82);
}
.mrp-brand { display: flex; align-items: center; gap: 14px; }
.mrp-brand-logo {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 900; background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #fff; box-shadow: 0 12px 28px rgba(2,132,199,.24); position: relative;
}
.mrp-brand-logo::after { content: ''; position: absolute; inset: 1px; border-radius: 15px; border: 1px solid rgba(255,255,255,.12); }
.mrp-brand-text strong { display: block; font-size: 22px; letter-spacing: .4px; }
.mrp-brand-text span { color: var(--muted); font-size: 13px; }
.mrp-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.mrp-nav a, .chip-btn, .chip-link, .toolbar button, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; color: var(--text);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.mrp-nav a:hover, .mrp-nav a.active, .chip-btn:hover, .chip-link:hover, .ghost-btn:hover { background: rgba(14,165,233,0.16); border-color: rgba(14,165,233,0.28); }
.mrp-hero { position: relative; overflow: hidden; padding: 36px; margin-bottom: 18px; }
.mrp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14,165,233,0.1), transparent 35%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.14) 100%);
}
.mrp-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(14,165,233,0.26), transparent 68%);
}
.mrp-hero-grid { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 24px; position: relative; z-index: 1; }
.mrp-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  color: #fff; background: rgba(14,165,233,0.16); border: 1px solid rgba(14,165,233,0.30);
  margin-bottom: 16px; font-size: 13px; font-weight: 700;
}
.mrp-title, .page-title { font-size: clamp(30px, 4vw, 54px); line-height: 1.02; margin: 0 0 14px; letter-spacing: -.03em; }
.gold { color: var(--gold); }
.mrp-lead { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.mrp-actions, .actions, .meta-row, .post-actions, .stack-inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mrp-btn, button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), #0284c7); color: #fff; border: 0;
  border-radius: 14px; padding: 12px 18px; font-weight: 800; letter-spacing: .2px;
  cursor: pointer; box-shadow: 0 12px 28px rgba(2,132,199,0.24);
}
.mrp-btn:hover, button:hover, .btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mrp-button-outline, .btn-secondary, .toolbar button, .ghost-btn {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); box-shadow: none;
}
.btn-danger { background: linear-gradient(135deg, #ff7e7e, #d94b4b); }
.mrp-sidebox { padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)), var(--panel-2); }
.mrp-sidebox h3, .mrp-card h3, .forum-card h3, .panel-card h3, .mrp-banner h3 { margin-top: 0; font-size: 18px; }
.mrp-sidebox p, .mrp-card p, .forum-card p, .panel-card p, .mrp-banner p { color: var(--muted); line-height: 1.65; }
.mrp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stat-box, .mrp-stat { padding: 16px; border-radius: 16px; min-height: 92px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); }
.stat-box strong, .mrp-stat strong { display: block; font-size: 28px; line-height: 1; margin-bottom: 8px; }
.stat-box span, .mrp-stat span, .muted { color: var(--muted); }
.small { font-size: 13px; }
.right { text-align: right; }
.mrp-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px; margin-bottom: 18px;
}
.mrp-strip-item {
  padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
}
.mrp-strip-item b { display: block; font-size: 16px; margin-bottom: 4px; }
.mrp-strip-item span { color: var(--muted); font-size: 13px; }
.mrp-grid, .mrp-forums-grid, .grid-2, .grid-3, .grid-4, .admin-nav, .hero-cities, .forum-home-grid {
  display: grid; gap: 16px;
}
.mrp-grid, .grid-3 { grid-template-columns: repeat(3, 1fr); }
.mrp-forums-grid, .grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4, .admin-nav { grid-template-columns: repeat(4, 1fr); }
.hero-cities { grid-template-columns: repeat(2, 1fr); }
.forum-home-grid { grid-template-columns: 1.1fr .9fr; margin-bottom: 18px; }
.mrp-card, .forum-card, .mrp-banner, .panel-card, .admin-card, .quick-card, .profile-card, .pm-card, .auth-box { position: relative; overflow: hidden; padding: 22px; }
.mrp-card::after, .mrp-banner::after, .panel-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.14), transparent 68%);
}
.mrp-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.mrp-city-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mrp-chip, .pill {
  font-size: 12px; color: #e0f2fe; padding: 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.pill-warning { color: var(--warning); border-color: rgba(255,209,102,.22); background: rgba(255,209,102,.10); }
.pill-gold { color: var(--gold); border-color: rgba(52,211,153,.22); background: rgba(52,211,153,.12); }
.pill-danger { color: var(--danger); border-color: rgba(255,126,126,.22); background: rgba(255,126,126,.10); }
.mrp-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.mrp-footer { padding: 24px; margin-top: 24px; color: var(--muted); }
.mrp-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.mrp-footer h4 { color: #fff; margin-top: 0; margin-bottom: 10px; }
.mrp-footer ul { list-style: none; margin: 0; padding: 0; }
.mrp-footer li + li { margin-top: 8px; }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; vertical-align: top; }
.table th { color: #fff; background: rgba(14,165,233,.08); }
.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.form-card { max-width: 1080px; margin: 0 auto; }
.card-head { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
.card-body { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 800; font-size: 14px; }
.form-help { color: var(--muted); font-size: 13px; margin-top: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%;
  background: linear-gradient(180deg, rgba(7,11,18,0.96), rgba(11,18,32,0.98));
  border: 1px solid rgba(255,255,255,0.08); color: var(--text);
  border-radius: 16px; padding: 14px 15px; outline: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
input:focus, textarea:focus, select:focus { border-color: rgba(14,165,233,.45); box-shadow: 0 0 0 4px rgba(14,165,233,.10); transform: translateY(-1px); }
textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.field-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.05); border-radius: 18px; padding: 14px;
}
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; margin-bottom: 10px; }
.editor-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; }
.editor-preview { padding: 20px; }
.editor-preview .example { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 14px; margin-top: 12px; }
.post-list, .thread-list, .forum-list, .pm-list { display: grid; gap: 16px; }
.thread-card { padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)), var(--panel-2); }
.thread-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-card { display: grid; grid-template-columns: 250px 1fr; gap: 18px; padding: 0; overflow: hidden; }
.author-box { padding: 22px; border-right: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(14,165,233,.05), rgba(255,255,255,.02)); }
.post-body { padding: 22px; }
.avatar { width: 92px; height: 92px; border-radius: 24px; object-fit: cover; border: 1px solid rgba(255,255,255,.08); background: #0f1626; }
.avatar-lg { width: 112px; height: 112px; border-radius: 28px; object-fit: cover; }
.rank { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.rank-image { max-height: 22px; max-width: 110px; border-radius: 6px; }
.post-content { line-height: 1.85; font-size: 15px; word-break: break-word; }
.inline-image, .post-upload-image { max-width: min(100%, 680px); border-radius: 16px; border: 1px solid rgba(255,255,255,.08); margin: 12px 0; }
.bb-quote { margin: 14px 0; padding: 14px 16px; border-left: 4px solid var(--accent); background: rgba(14,165,233,.08); border-radius: 12px; color: #e0f2fe; }
.bb-code { margin: 14px 0; padding: 14px 16px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; overflow: auto; color: #e0f2fe; }
.signature-box { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.08); color: #bae6fd; }
.reaction-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); color: var(--text); }
.reaction-btn.active { background: rgba(14,165,233,.16); border-color: rgba(14,165,233,.28); }
.portal-hero { margin-bottom: 18px; }
.category-actions, .table-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-state { padding: 24px; text-align: center; color: var(--muted); }
.footer-note { text-align: center; color: var(--muted); margin-top: 18px; }
@media (max-width: 1000px) {
  .mrp-hero-grid, .mrp-grid, .mrp-forums-grid, .mrp-footer-grid, .mrp-strip, .form-grid, .form-grid-3, .editor-layout, .forum-home-grid, .grid-4, .grid-3, .grid-2, .admin-nav, .hero-cities, .post-card, .mrp-stats { grid-template-columns: 1fr 1fr; }
  .mrp-banner { flex-direction: column; align-items: flex-start; }
  .post-card { grid-template-columns: 1fr; }
  .author-box { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 760px) {
  .container { width: min(100%, calc(100% - 16px)); margin: 12px auto 24px; }
  .mrp-topbar, .mrp-hero, .mrp-footer, .mrp-banner, .card-head, .card-body, .author-box, .post-body, .auth-box { padding: 18px; }
  .mrp-topbar { flex-direction: column; align-items: flex-start; }
  .mrp-nav { width: 100%; }
  .mrp-nav a { flex: 1 1 calc(50% - 10px); }
  .mrp-hero-grid, .mrp-grid, .mrp-forums-grid, .mrp-footer-grid, .mrp-strip, .form-grid, .form-grid-3, .editor-layout, .forum-home-grid, .grid-4, .grid-3, .grid-2, .admin-nav, .hero-cities, .mrp-stats { grid-template-columns: 1fr; }
  .mrp-title, .page-title { font-size: 34px; }
  .toolbar { gap: 6px; }
  .toolbar button, .chip-btn, .ghost-btn { width: auto; padding: 10px 12px; }
}


.notif-pill{display:inline-flex;min-width:22px;height:22px;padding:0 6px;border-radius:999px;align-items:center;justify-content:center;background:rgba(52,211,153,.18);border:1px solid rgba(52,211,153,.35);font-size:12px;font-weight:800;color:#fff}
.notif-bar{display:flex;gap:10px;flex-wrap:wrap;margin:-2px 0 18px}.notif-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:var(--text)}.notif-chip.unread{border-color:rgba(14,165,233,.33);background:rgba(14,165,233,.11)}
.notif-card-unread{border-color:rgba(14,165,233,.33)!important}.thread-prefix{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(125,211,252,.12);border:1px solid rgba(125,211,252,.24);font-size:12px;font-weight:800;letter-spacing:.03em;margin-right:10px;vertical-align:middle;color:#dff4ff}
.form-grid,.upload-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}input[type=file]{width:100%}
.wysiwyg-wrap{border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(7,11,18,.92);overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}.wysiwyg-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015))}.wysiwyg-toolbar button{padding:9px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:var(--text);cursor:pointer;box-shadow:none}.wysiwyg-editor{min-height:260px;padding:16px;color:var(--text);line-height:1.75;outline:none}.wysiwyg-editor:empty:before{content:"Napisz treść posta...";color:var(--muted)}.wysiwyg-editor blockquote{border-left:3px solid rgba(14,165,233,.55);padding:10px 14px;margin:10px 0;background:rgba(255,255,255,.03);border-radius:0 12px 12px 0}.wysiwyg-editor pre{padding:12px 14px;background:#06101b;border:1px solid rgba(255,255,255,.06);border-radius:14px;overflow:auto}
.attachment-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.attachment-item{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#f0f9ff}.attachment-item span{color:var(--muted);font-size:12px}
@media (max-width: 900px){.form-grid,.upload-grid{grid-template-columns:1fr}}


/* ===== Multi-RP MyBB Theme Premium alignment ===== */
html, body { width: 100%; overflow-x: hidden; }
body {
  background:
    radial-gradient(circle at 10% 10%, rgba(14,165,233,0.12), transparent 22%),
    radial-gradient(circle at 90% 0%, rgba(52,211,153,0.08), transparent 18%),
    linear-gradient(180deg, #06080d 0%, #09101b 40%, #070b12 100%);
}
.container {
  width: min(1320px, calc(100% - 28px));
  margin: 22px auto 34px;
}
.mrp-topbar {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.mrp-brand { display:flex; align-items:center; gap:14px; }
.mrp-brand img {
  width: 50px;
  height: 50px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(14,165,233,.22));
}
.mrp-brand-logo { display:none !important; }
.mrp-brand-text strong { display:block; font-size:22px; letter-spacing:.4px; }
.mrp-brand-text span { color: var(--muted); font-size: 13px; }
.mrp-nav { display:flex; flex-wrap:wrap; gap:10px; }
.mrp-nav a { display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:12px; color: var(--text); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.mrp-nav a:hover, .mrp-nav a.active { background: rgba(14,165,233,0.16); border-color: rgba(14,165,233,0.28); }
.mrp-hero { position: relative; overflow: hidden; padding: 36px; margin-bottom: 18px; border-radius: 20px; }
.mrp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,165,233,0.1), transparent 35%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.14) 100%); pointer-events: none; }
.mrp-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(14,165,233,0.26), transparent 68%); pointer-events:none; }
.mrp-hero-grid { display:grid; grid-template-columns: 1.45fr 0.9fr; gap:24px; position:relative; z-index:1; }
.mrp-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; color:#fff; background: rgba(14,165,233,0.16); border:1px solid rgba(14,165,233,0.30); margin-bottom:16px; font-size:13px; font-weight:700; }
.mrp-title { font-size: clamp(30px, 4vw, 54px); line-height: 1.02; margin: 0 0 14px; letter-spacing: -.03em; }
.mrp-lead { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.mrp-sidebox { padding:20px; align-self:stretch; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)), var(--panel-2); }
.mrp-stats { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px; }
.mrp-stat { padding:16px; border-radius:16px; min-height:92px; }
.mrp-stat strong { display:block; font-size:28px; line-height:1; margin-bottom:8px; }
.mrp-stat span { color: var(--muted); font-size: 13px; }
.mrp-strip { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; padding:14px; margin-bottom:18px; }
.mrp-strip-item { padding:14px 16px; border-radius:16px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.05); }
.mrp-strip-item b { display:block; font-size:16px; margin-bottom:4px; }
.mrp-strip-item span { color: var(--muted); font-size:13px; }
.mrp-grid, .mrp-forums-grid { display:grid; gap:16px; margin-bottom:18px; }
.mrp-grid { grid-template-columns: repeat(3, 1fr); }
.mrp-forums-grid { grid-template-columns: repeat(2, 1fr); }
.mrp-card, .forum-card, .mrp-banner { position:relative; overflow:hidden; padding:22px; border-radius:20px; }
.mrp-card::after, .mrp-banner::after { content:""; position:absolute; right:-40px; bottom:-40px; width:130px; height:130px; border-radius:50%; background: radial-gradient(circle, rgba(14,165,233,0.14), transparent 68%); }
.mrp-tag { display:inline-flex; align-items:center; gap:8px; margin-bottom:12px; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: var(--gold); }
.mrp-city-meta { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.mrp-chip { font-size:12px; color:#e0f2fe; padding:7px 10px; border-radius:999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.mrp-banner { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.mrp-footer { padding:24px; margin-top:24px; }
.mrp-footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:16px; }
.forum-home-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; margin-bottom:18px; }
.forum-list { display:grid; gap:14px; }
.forum-list .forum-card h3 { margin-bottom:8px; }
.forum-list .forum-card a { color:#fff; }
.quick-card h3 { margin-top:0; }
.notif-bar { display:flex; gap:10px; flex-wrap:wrap; margin: 0 0 18px; }
.notif-chip { display:inline-flex; align-items:center; gap:8px; padding:10px 12px; border-radius:999px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); color: var(--text); }
.notif-chip.unread { background: rgba(14,165,233,.14); border-color: rgba(14,165,233,.28); }
.notif-pill { display:inline-flex; min-width:20px; height:20px; padding:0 6px; border-radius:999px; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--accent), #0284c7); color:#fff; font-size:11px; font-weight:800; }
.card-body, .card-head { position:relative; z-index:1; }
.form-card, .auth-box, .panel-card, .quick-card, .admin-card, .profile-card, .pm-card, .post-card, .thread-card { border-radius:20px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select { background: rgba(7,11,18,0.92); border: 1px solid rgba(255,255,255,0.08); color: var(--text); border-radius: 13px; padding: 12px 14px; }
button, .btn, .mrp-btn { border-radius:14px; }
.wysiwyg-wrap { border-radius: 16px; overflow: hidden; }
.wysiwyg-toolbar { background: rgba(255,255,255,0.025); }
.table-wrap { border-radius: 20px; }
@media (max-width: 1000px) { .mrp-hero-grid, .mrp-grid, .mrp-forums-grid, .mrp-footer-grid, .mrp-strip, .forum-home-grid { grid-template-columns: 1fr 1fr; } .mrp-banner { flex-direction:column; align-items:flex-start; } }
@media (max-width: 760px) { .container { width: min(100%, calc(100% - 16px)); margin: 12px auto 24px; } .mrp-topbar, .mrp-hero, .mrp-footer, .mrp-banner { padding:18px; } .mrp-topbar { flex-direction:column; align-items:flex-start; } .mrp-nav { width:100%; } .mrp-nav a { flex:1 1 calc(50% - 10px); } .mrp-hero-grid, .mrp-grid, .mrp-forums-grid, .mrp-footer-grid, .mrp-strip, .mrp-stats, .forum-home-grid, .grid-2, .grid-3, .grid-4, .form-grid, .form-grid-3, .upload-grid { grid-template-columns: 1fr !important; } .mrp-title { font-size:34px; } .mrp-banner { padding:18px; } }


/* ===== Statystyki online — Bilard.online Forum v2 ===== */
.online-panel,.who-online-page{background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:18px;box-shadow:var(--shadow)}
.online-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.online-panel-head h3,.who-online-page h2{margin:0 0 5px}.online-panel-head p{margin:0}
.online-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.online-stat{padding:16px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.online-stat strong{display:block;font-size:27px;line-height:1;margin-bottom:7px;color:#fff}.online-stat span{font-size:12px;color:var(--muted)}
.online-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.online-users-box,.online-meta-box{padding:15px;border-radius:16px;background:rgba(4,10,18,.38);border:1px solid rgba(255,255,255,.055)}.online-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;margin-bottom:10px}.online-user-list{display:flex;gap:8px;flex-wrap:wrap}.online-user{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(14,165,233,.10);border:1px solid rgba(14,165,233,.22);color:#dff6ff;font-size:13px}.online-meta-box{display:flex;flex-direction:column;gap:8px;font-size:13px}.online-table{display:grid;gap:9px}.online-row{display:grid;grid-template-columns:1fr minmax(180px,.9fr);gap:14px;align-items:center;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055)}.online-page-name{text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.online-panel-head{flex-direction:column}.online-stats-grid,.online-detail-grid{grid-template-columns:1fr 1fr}.online-row{grid-template-columns:1fr}.online-page-name{text-align:left}}
@media(max-width:480px){.online-stats-grid,.online-detail-grid{grid-template-columns:1fr}}

/* ===== Bilard.online — compact corners update ===== */
:root{
  --radius: 12px;
  --radius-sm: 8px;
}

/* Główne panele / karty */
.mrp-hero,
.mrp-card,
.forum-card,
.mrp-banner,
.form-card,
.auth-box,
.panel-card,
.quick-card,
.admin-card,
.profile-card,
.pm-card,
.post-card,
.thread-card,
.table-wrap,
.editor-preview,
.wysiwyg-wrap{
  border-radius: 10px;
}

/* Mniejsze elementy wewnątrz */
.stat-box,
.mrp-stat,
.mrp-strip-item,
.editor-preview .example,
.inline-image,
.post-upload-image,
.notif-chip,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
textarea,
select{
  border-radius: 8px;
}

/* Nawigacja i przyciski — nadal lekko zaokrąglone */
.mrp-nav a,
button,
.btn,
.mrp-btn,
.wysiwyg-toolbar button,
.attachment-item{
  border-radius: 7px;
}

/* Avatar zostaje charakterystyczny, ale mniej zaokrąglony */
.avatar{ border-radius: 12px; }
.avatar-lg{ border-radius: 14px; }

/* Nie ruszamy kropek, rang i małych badge/pill */

/* Bilard.online — czytelniejsza lista działów + ostatni post */
.forum-list { gap: 10px; }
.forum-list .forum-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(220px, 300px);
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
}
.forum-row-main { display:flex; align-items:center; gap:14px; min-width:0; }
.forum-row-icon {
  width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.08); border-radius:8px; background:rgba(255,255,255,.035); font-size:20px;
}
.forum-row-info { min-width:0; }
.forum-list .forum-row-info h3 { margin:0 0 5px; font-size:16px; line-height:1.3; }
.forum-list .forum-row-info p { margin:0; font-size:13px; line-height:1.5; }
.forum-row-counts { display:grid; grid-template-columns:1fr 1fr; gap:8px; text-align:center; }
.forum-row-counts > div { padding:7px 4px; border-left:1px solid rgba(255,255,255,.07); }
.forum-row-counts strong { display:block; color:#fff; font-size:15px; }
.forum-row-counts span { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.forum-last-post { min-width:0; padding-left:16px; border-left:1px solid rgba(255,255,255,.08); }
.forum-last-label { color:var(--muted); text-transform:uppercase; letter-spacing:.08em; font-size:9px; font-weight:700; margin-bottom:4px; }
.forum-list .forum-last-title { display:block; color:#fff; font-weight:700; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.forum-last-meta, .forum-last-empty { color:var(--muted); font-size:11px; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.forum-last-meta strong { color:var(--accent-2); font-weight:700; }
@media (max-width: 900px) {
  .forum-list .forum-row-card { grid-template-columns:minmax(0,1fr) 120px; }
  .forum-last-post { grid-column:1 / -1; padding:10px 0 0; border-left:0; border-top:1px solid rgba(255,255,255,.07); }
}
@media (max-width: 560px) {
  .forum-list .forum-row-card { grid-template-columns:1fr; gap:11px; padding:14px; }
  .forum-row-counts { justify-self:stretch; }
  .forum-row-counts > div:first-child { border-left:0; }
  .forum-last-post { grid-column:auto; }
  .forum-row-icon { width:36px; height:36px; flex-basis:36px; font-size:17px; }
}

/* ===== Bilard.online — forum directory v2: clean, bez boxów ===== */
.forum-directory{
  min-width:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
}
.forum-directory > .between{
  margin:0 0 8px !important;
  padding:0 2px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.forum-directory > .between h3{
  margin:0;
  font-size:20px;
  letter-spacing:-.015em;
}
.forum-directory .mrp-tag{margin-bottom:5px;}
.forum-directory .forum-list{
  display:block;
  border-top:0;
}
.forum-directory-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px minmax(245px,320px);
  align-items:center;
  gap:22px;
  min-width:0;
  padding:18px 4px;
  border-bottom:1px solid rgba(255,255,255,.075);
  transition:background .16s ease,border-color .16s ease;
}
.forum-directory-row:hover{
  background:linear-gradient(90deg,rgba(14,165,233,.055),rgba(14,165,233,0) 68%);
  border-bottom-color:rgba(14,165,233,.20);
}
.forum-directory-main{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  color:inherit;
}
.forum-directory-main:hover{color:inherit;}
.forum-directory-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  font-size:21px;
  line-height:1;
  color:#dff5ff;
  background:rgba(14,165,233,.085);
  border:1px solid rgba(14,165,233,.18);
  border-radius:8px;
}
.forum-directory-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.forum-directory-title{
  color:#fff;
  font-size:15px;
  line-height:1.35;
  margin-bottom:4px;
}
.forum-directory-main:hover .forum-directory-title{color:var(--accent-2);}
.forum-directory-desc{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.forum-directory-counts{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  text-align:center;
}
.forum-directory-counts > span{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:2px 10px;
}
.forum-directory-counts > span + span{border-left:1px solid rgba(255,255,255,.08);}
.forum-directory-counts b{
  color:#fff;
  font-size:15px;
  line-height:1.15;
}
.forum-directory-counts small{
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.forum-directory-last{
  display:grid;
  grid-template-columns:8px minmax(0,1fr) 24px;
  align-items:center;
  gap:10px;
  min-width:0;
}
.forum-directory-last-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 4px rgba(75,226,161,.08);
}
.forum-directory-last-dot.is-empty{
  background:#53637e;
  box-shadow:none;
}
.forum-directory-last-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.35;
}
.forum-directory-last-copy > small{
  color:#70819f;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.075em;
  margin-bottom:2px;
}
.forum-directory-last-copy > a{
  color:#eaf4ff;
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.forum-directory-last-copy > a:hover{color:var(--accent-2);}
.forum-directory-last-copy > span{
  color:var(--muted);
  font-size:10.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-top:2px;
}
.forum-directory-last-copy strong{color:#cdeeff;font-weight:700;}
.forum-directory-empty{color:#74839e !important;}
.forum-directory-last-arrow{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  color:#71829f;
  font-size:17px;
}
.forum-directory-row:hover .forum-directory-last-arrow{color:var(--accent-2);transform:translateX(2px);}

@media(max-width:980px){
  .forum-directory-row{
    grid-template-columns:minmax(0,1fr) 118px;
    gap:16px;
    padding:16px 3px;
  }
  .forum-directory-last{
    grid-column:1 / -1;
    margin-left:56px;
    padding-top:10px;
    border-top:1px dashed rgba(255,255,255,.055);
  }
}
@media(max-width:620px){
  .forum-directory > .between{
    align-items:center;
    gap:10px;
  }
  .forum-directory > .between .chip-btn{
    padding:8px 10px;
    font-size:11px;
    white-space:nowrap;
  }
  .forum-directory-row{
    grid-template-columns:1fr auto;
    gap:10px 12px;
    padding:15px 2px;
  }
  .forum-directory-main{gap:11px;}
  .forum-directory-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
    font-size:18px;
  }
  .forum-directory-title{font-size:14px;}
  .forum-directory-desc{
    font-size:11.5px;
    -webkit-line-clamp:2;
  }
  .forum-directory-counts{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .forum-directory-counts > span{
    padding:0;
    min-width:34px;
  }
  .forum-directory-counts > span + span{border-left:0;}
  .forum-directory-counts b{font-size:13px;}
  .forum-directory-counts small{font-size:8px;letter-spacing:.03em;}
  .forum-directory-last{
    grid-column:1 / -1;
    margin-left:47px;
    grid-template-columns:7px minmax(0,1fr) 22px;
    padding-top:9px;
  }
  .forum-directory-last-copy > a{font-size:11.5px;}
  .forum-directory-last-copy > span{font-size:10px;}
}
@media(max-width:420px){
  .forum-directory-row{grid-template-columns:1fr;}
  .forum-directory-counts{
    justify-content:flex-start;
    margin-left:47px;
  }
  .forum-directory-counts > span{
    flex-direction:row;
    align-items:baseline;
    gap:4px;
    min-width:0;
  }
  .forum-directory-counts small{text-transform:none;font-size:9px;}
  .forum-directory-last{margin-left:47px;}
}

/* ===== Działy forum v3 — jeden wspólny box + avatar autora ===== */
.forum-directory .forum-list{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(18,28,45,.78),rgba(11,18,31,.68));
  box-shadow:0 14px 38px rgba(0,0,0,.14);
}
.forum-directory .forum-directory-row{
  margin:0;
  padding:17px 18px;
  border:0;
  border-radius:0;
  background:transparent;
  transition:background .18s ease;
}
.forum-directory .forum-directory-row + .forum-directory-row{
  border-top:1px solid rgba(255,255,255,.065);
}
.forum-directory .forum-directory-row:hover{
  background:rgba(255,255,255,.025);
}
.forum-directory .forum-directory-last{
  grid-template-columns:36px minmax(0,1fr) 24px;
  gap:10px;
}
.forum-directory-avatar{
  width:36px;
  height:36px;
  display:block;
  flex:0 0 36px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid rgba(111,211,255,.25);
  background:#111a2a;
  box-shadow:0 0 0 3px rgba(71,183,255,.045);
}
.forum-directory-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.forum-directory-last-copy > .forum-directory-last-title{
  color:#edf7ff;
  font-size:12.5px;
  font-weight:750;
}
.forum-directory-last-copy > span{
  display:flex;
  align-items:center;
  gap:5px;
}
.forum-directory-last-copy > span i{
  color:#53647f;
  font-style:normal;
}
.forum-directory-author{
  color:#7fdcff;
  font-weight:700;
}
.forum-directory-author:hover{
  color:#fff;
  text-decoration:underline;
}
@media(max-width:980px){
  .forum-directory .forum-directory-row{padding:16px;}
  .forum-directory .forum-directory-last{margin-left:52px;}
}
@media(max-width:620px){
  .forum-directory .forum-list{border-radius:10px;}
  .forum-directory .forum-directory-row{padding:14px 13px;}
  .forum-directory .forum-directory-last{
    margin-left:0;
    grid-template-columns:34px minmax(0,1fr) 20px;
    gap:9px;
  }
  .forum-directory-avatar{width:34px;height:34px;}
  .forum-directory-last-copy > .forum-directory-last-title{font-size:11.5px;}
  .forum-directory-last-copy > span{font-size:9.5px;gap:4px;}
}
@media(max-width:420px){
  .forum-directory .forum-directory-last{margin-left:0;}
}

/* ===== Bilard.online — homepage layout v4 ===== */
/* Działy forum są teraz główną częścią strony, a aktywność ma węższy panel boczny. */
.forum-home-grid{
  grid-template-columns:minmax(0,1.72fr) minmax(250px,.58fr) !important;
  align-items:start;
  gap:18px;
}
.forum-latest-panel{
  min-width:0;
  align-self:start;
}
.forum-latest-panel .quick-card{
  padding:18px;
}
.forum-latest-panel .list-clean{
  gap:10px;
}
.forum-latest-panel .list-clean li{
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.forum-latest-panel .list-clean li:last-child{
  padding-bottom:0;
  border-bottom:0;
}

/* Szerszy układ wierszy działów przy większej przestrzeni. */
.forum-home-grid .forum-directory-row{
  grid-template-columns:minmax(0,1fr) 126px minmax(280px,360px);
}

/* Ekipa przeniesiona na dół — lekki, poziomy pasek zamiast osobnego kafla w sidebarze. */
.forum-staff-strip{
  margin:18px 0;
  padding:16px 18px;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.018);
}
.forum-staff-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.forum-staff-head h3{
  margin:2px 0 0;
  font-size:17px;
}
.forum-staff-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  align-items:center;
}
.forum-staff-person{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  font-size:13px;
}
.forum-staff-person strong{color:#eef7ff;}
.forum-staff-person small{
  color:var(--muted);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.forum-staff-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:var(--accent-2);
  box-shadow:0 0 0 3px rgba(56,189,248,.08);
}

@media(max-width:1050px){
  .forum-home-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr) !important;
  }
  .forum-home-grid .forum-directory-row{
    grid-template-columns:minmax(0,1fr) 108px;
  }
  .forum-home-grid .forum-directory-last{
    grid-column:1 / -1;
    margin-left:56px;
    padding-top:10px;
    border-top:1px dashed rgba(255,255,255,.055);
  }
}
@media(max-width:800px){
  .forum-home-grid{
    grid-template-columns:1fr !important;
  }
  .forum-latest-panel .quick-card{
    padding:15px;
  }
  .forum-staff-head{
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
  }
}
@media(max-width:620px){
  .forum-staff-strip{
    padding:14px 4px;
    background:transparent;
  }
  .forum-staff-list{
    gap:8px 12px;
  }
}

/* ===== Homepage v5 — forum directory responsive + staff in activity ===== */
.forum-home-grid .forum-directory{min-width:0;}
.forum-home-grid .forum-list{width:100%;min-width:0;}
.forum-home-grid .forum-directory-row{min-width:0;}
.forum-directory-main,.forum-directory-copy,.forum-directory-last,.forum-directory-last-copy{min-width:0;}
.forum-directory-title,.forum-directory-desc,.forum-directory-last-title{overflow-wrap:anywhere;word-break:break-word;}

/* Ekipa jako część sekcji Aktywność forum */
.online-staff-block{
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.07);
}
.online-staff-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;
}
.online-staff-head strong{font-size:13px;color:#eef7ff;}
.online-staff-head span{font-size:10px;color:var(--muted);}
.online-staff-list{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;}
.online-staff-person{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:12px;}
.online-staff-person .forum-staff-dot{width:6px;height:6px;flex-basis:6px;}
.online-staff-person a{color:#eef7ff;font-weight:750;text-decoration:none;}
.online-staff-person a:hover{color:var(--accent-2);}
.online-staff-person small{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;}

@media(max-width:1100px){
  .forum-home-grid{grid-template-columns:minmax(0,1fr) 270px !important;gap:14px;}
  .forum-home-grid .forum-directory-row{
    grid-template-columns:minmax(0,1fr) 92px !important;
    gap:10px 14px;
  }
  .forum-home-grid .forum-directory-last{
    grid-column:1/-1;
    margin-left:50px;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.045);
  }
}
@media(max-width:820px){
  .forum-home-grid{grid-template-columns:1fr !important;}
  .forum-directory .forum-list{border-radius:10px;}
  .forum-home-grid .forum-directory-row{
    grid-template-columns:minmax(0,1fr) auto !important;
    padding:15px !important;
    gap:10px 12px;
  }
  .forum-home-grid .forum-directory-counts{align-self:center;}
  .forum-home-grid .forum-directory-last{margin-left:48px;}
}
@media(max-width:560px){
  .forum-directory > .between{align-items:flex-start !important;gap:10px;}
  .forum-directory > .between h3{font-size:18px;margin:2px 0 0;}
  .forum-home-grid .forum-directory-row{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) !important;
    padding:14px 12px !important;
    gap:8px 10px;
  }
  .forum-home-grid .forum-directory-main{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
  }
  .forum-directory-icon{width:40px;height:40px;flex-basis:40px;font-size:19px;}
  .forum-directory-title{font-size:14px;line-height:1.25;}
  .forum-directory-desc{font-size:11px;line-height:1.45;margin-top:3px;display:block;}
  .forum-home-grid .forum-directory-counts{
    grid-column:2;
    justify-content:flex-start;
    margin:0 !important;
    gap:14px;
  }
  .forum-directory-counts > span{display:inline-flex;flex-direction:row;gap:4px;align-items:baseline;min-width:0;}
  .forum-directory-counts b{font-size:12px;}
  .forum-directory-counts small{font-size:9px;text-transform:none;letter-spacing:0;}
  .forum-home-grid .forum-directory-last{
    grid-column:1/-1;
    margin:2px 0 0 !important;
    padding:10px 0 0 50px;
    grid-template-columns:32px minmax(0,1fr) 18px;
    gap:8px;
  }
  .forum-directory-avatar{width:32px;height:32px;}
  .forum-directory-last-copy > small{font-size:8px;}
  .forum-directory-last-copy > .forum-directory-last-title{font-size:11px;line-height:1.3;white-space:normal;}
  .forum-directory-last-copy > span{font-size:9px;flex-wrap:wrap;}
  .forum-directory-last-arrow{width:18px;}
  .online-staff-head{align-items:flex-start;flex-direction:column;gap:2px;}
  .online-staff-list{gap:8px 12px;}
}
@media(max-width:380px){
  .forum-directory > .between{flex-direction:column;}
  .forum-directory > .between .chip-btn{align-self:flex-start;}
  .forum-home-grid .forum-directory-last{padding-left:0;}
  .forum-home-grid .forum-directory-counts{grid-column:1/-1;margin-left:50px !important;}
}

/* ===== Homepage v6 — nowy układ działów ===== */
.forum-directory .forum-board-list{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(17,26,43,.88),rgba(9,15,27,.86));
  box-shadow:0 16px 36px rgba(0,0,0,.16);
}
.forum-board-item{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.72fr);
  align-items:stretch;
  min-width:0;
  background:transparent;
  transition:background .18s ease;
}
.forum-board-item + .forum-board-item{border-top:1px solid rgba(255,255,255,.06);}
.forum-board-item:hover{background:rgba(255,255,255,.022);}
.forum-board-primary{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
  padding:19px 20px;
}
.forum-board-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#dff7ff;
  font-size:22px;
  text-decoration:none;
  background:linear-gradient(145deg,rgba(14,165,233,.15),rgba(52,211,153,.06));
  border:1px solid rgba(125,211,252,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.forum-board-item:hover .forum-board-icon{border-color:rgba(125,211,252,.3);background:linear-gradient(145deg,rgba(14,165,233,.21),rgba(52,211,153,.08));}
.forum-board-content{min-width:0;}
.forum-board-title{
  display:inline-block;
  max-width:100%;
  color:#f4f8ff;
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  text-decoration:none;
}
.forum-board-title:hover{color:var(--accent-2);}
.forum-board-desc{
  margin:5px 0 8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.forum-board-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  color:#73839f;
  font-size:10.5px;
}
.forum-board-meta strong{color:#b9c9df;font-weight:800;}
.forum-board-meta-dot{color:#42516b;}
.forum-board-last{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 24px;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:15px 16px;
  border-left:1px solid rgba(255,255,255,.055);
  background:rgba(2,8,16,.17);
}
.forum-board-avatar{
  width:36px;
  height:36px;
  display:block;
  overflow:hidden;
  border-radius:50%;
  border:1px solid rgba(125,211,252,.22);
  background:#101927;
}
.forum-board-avatar img{display:block;width:100%;height:100%;object-fit:cover;}
.forum-board-last-content{min-width:0;display:flex;flex-direction:column;}
.forum-board-last-label{
  color:#667790;
  font-size:8.5px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.075em;
  margin-bottom:3px;
}
.forum-board-last-title{
  color:#dcecff;
  font-size:11.5px;
  line-height:1.35;
  font-weight:750;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.forum-board-last-title:hover{color:var(--accent-2);}
.forum-board-last-meta{
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:3px;
  color:#74839d;
  font-size:9.5px;
  white-space:nowrap;
  overflow:hidden;
}
.forum-board-last-meta a{color:#79d6fa;font-weight:700;text-decoration:none;overflow:hidden;text-overflow:ellipsis;}
.forum-board-last-meta a:hover{color:#fff;}
.forum-board-last-meta span{color:#43516a;}
.forum-board-go{
  width:24px;
  height:30px;
  display:grid;
  place-items:center;
  color:#53647e;
  font-size:22px;
  line-height:1;
  text-decoration:none;
  transition:color .16s ease,transform .16s ease;
}
.forum-board-item:hover .forum-board-go{color:var(--accent-2);transform:translateX(2px);}
.forum-board-empty-icon{width:36px;height:36px;display:grid;place-items:center;color:#44536d;font-size:19px;}
.forum-board-empty{color:#71809a;font-size:10.5px;}

@media(max-width:1050px){
  .forum-board-item{grid-template-columns:minmax(0,1fr) 250px;}
  .forum-board-primary{padding:17px 16px;gap:13px;}
  .forum-board-last{padding:14px 13px;}
}
@media(max-width:820px){
  .forum-board-item{grid-template-columns:1fr;}
  .forum-board-last{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.045);
    padding:11px 15px 12px 76px;
    background:rgba(2,8,16,.11);
  }
  .forum-board-primary{padding:16px 15px;}
}
@media(max-width:560px){
  .forum-directory > .between{flex-direction:row !important;align-items:center !important;}
  .forum-board-primary{padding:14px 12px;gap:11px;align-items:flex-start;}
  .forum-board-icon{width:40px;height:40px;flex-basis:40px;border-radius:8px;font-size:19px;}
  .forum-board-title{font-size:13.5px;}
  .forum-board-desc{font-size:10.5px;line-height:1.45;margin:4px 0 7px;}
  .forum-board-meta{font-size:9.5px;}
  .forum-board-last{
    grid-template-columns:30px minmax(0,1fr) 18px;
    gap:8px;
    padding:10px 12px 11px 63px;
  }
  .forum-board-avatar{width:30px;height:30px;}
  .forum-board-empty-icon{width:30px;height:30px;font-size:16px;}
  .forum-board-last-label{font-size:7.5px;}
  .forum-board-last-title{font-size:10.5px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
  .forum-board-last-meta{font-size:8.8px;flex-wrap:wrap;white-space:normal;}
  .forum-board-go{width:18px;font-size:19px;}
}
@media(max-width:390px){
  .forum-directory > .between{flex-direction:column !important;align-items:flex-start !important;}
  .forum-board-last{padding-left:12px;}
  .forum-board-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
}

/* ===== Działy forum v8 — jeden box, bez boxów w boxie ===== */
.forum-directory .forum-board-list{
  display:block;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(14,22,37,.82),rgba(8,14,25,.76));
  box-shadow:0 18px 42px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.018);
}

.forum-board-item,
.forum-board-item + .forum-board-item{
  border:0;
}

.forum-board-item{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.72fr);
  min-width:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
  box-shadow:none;
  transition:background .16s ease;
}

/* zamiast kresek: miękka przerwa optyczna */
.forum-board-item + .forum-board-item::before{
  content:"";
  position:absolute;
  left:78px;
  right:18px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.055) 16%,rgba(255,255,255,.055) 84%,transparent);
  opacity:.55;
  pointer-events:none;
}

.forum-board-item:hover{
  transform:none;
  border:0;
  background:linear-gradient(90deg,rgba(14,165,233,.045),rgba(14,165,233,.014) 55%,transparent);
  box-shadow:none;
}

.forum-board-primary{
  padding:20px 18px 20px 20px;
  gap:15px;
  min-width:0;
}

.forum-board-icon{
  width:46px;
  height:46px;
  flex-basis:46px;
  border-radius:9px;
  border:0;
  background:linear-gradient(145deg,rgba(14,165,233,.18),rgba(45,212,191,.075));
  box-shadow:inset 0 0 0 1px rgba(125,211,252,.10);
  transition:transform .16s ease,background .16s ease;
}
.forum-board-item:hover .forum-board-icon{
  transform:translateY(-1px);
  border-color:transparent;
  background:linear-gradient(145deg,rgba(14,165,233,.25),rgba(45,212,191,.105));
}

.forum-board-content{min-width:0;}
.forum-board-title{
  font-size:15.5px;
  line-height:1.3;
  letter-spacing:-.01em;
}
.forum-board-desc{
  margin:4px 0 9px;
  color:#8795aa;
  font-size:11.5px;
  line-height:1.55;
}
.forum-board-meta{
  gap:8px;
  font-size:10px;
  color:#66758d;
}
.forum-board-meta span:not(.forum-board-meta-dot){
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  padding:0;
}
.forum-board-meta strong{color:#c4d2e5;}
.forum-board-meta-dot{opacity:.4;}

/* ostatni post jest częścią tego samego wiersza, bez osobnego boxa */
.forum-board-last{
  position:relative;
  margin:0;
  padding:17px 18px 17px 20px;
  min-width:0;
  border:0;
  border-left:1px solid rgba(255,255,255,.045);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  grid-template-columns:36px minmax(0,1fr) 22px;
  gap:10px;
  align-self:stretch;
  align-content:center;
}

.forum-board-avatar{
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(125,211,252,.16);
}
.forum-board-last-label{
  font-size:8px;
  color:#5f708a;
  letter-spacing:.085em;
}
.forum-board-last-title{
  font-size:11.5px;
  color:#dce9f7;
  line-height:1.35;
}
.forum-board-last-meta{
  margin-top:2px;
  font-size:9.5px;
  color:#6f7e95;
}
.forum-board-go{
  width:22px;
  height:28px;
  border-radius:6px;
  background:transparent;
  color:#53627a;
}
.forum-board-item:hover .forum-board-go{
  background:transparent;
  color:var(--accent-2);
  transform:translateX(2px);
}
.forum-board-empty-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.018);
}

@media(max-width:1050px){
  .forum-board-item{grid-template-columns:minmax(0,1fr) 245px;}
  .forum-board-primary{padding:18px 15px 18px 17px;}
  .forum-board-last{padding:15px 14px 15px 16px;}
}

@media(max-width:820px){
  .forum-board-item{grid-template-columns:1fr;}
  .forum-board-item + .forum-board-item::before{left:16px;right:16px;}
  .forum-board-primary{padding:16px 15px 10px;}
  .forum-board-last{
    margin:0;
    padding:7px 15px 15px 76px;
    border-left:0;
    grid-template-columns:32px minmax(0,1fr) 20px;
    gap:9px;
  }
  .forum-board-avatar{width:32px;height:32px;}
}

@media(max-width:560px){
  .forum-directory .forum-board-list{border-radius:9px;}
  .forum-board-item + .forum-board-item::before{left:12px;right:12px;opacity:.38;}
  .forum-board-primary{padding:14px 12px 8px;gap:10px;align-items:flex-start;}
  .forum-board-icon{width:39px;height:39px;flex-basis:39px;border-radius:8px;font-size:18px;}
  .forum-board-title{font-size:13.5px;}
  .forum-board-desc{
    font-size:10.5px;
    line-height:1.45;
    margin:3px 0 7px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .forum-board-meta{font-size:9px;gap:5px;flex-wrap:wrap;}
  .forum-board-last{
    padding:6px 12px 13px 61px;
    grid-template-columns:30px minmax(0,1fr) 18px;
    gap:8px;
  }
  .forum-board-avatar{width:30px;height:30px;}
  .forum-board-last-label{font-size:7.5px;}
  .forum-board-last-title{
    font-size:10.5px;
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .forum-board-last-meta{font-size:8.8px;flex-wrap:wrap;white-space:normal;}
  .forum-board-go{width:18px;font-size:19px;}
}

@media(max-width:390px){
  .forum-directory > .between{flex-direction:column !important;align-items:flex-start !important;}
  .forum-board-last{padding:6px 11px 13px 11px;}
  .forum-board-primary{padding:13px 11px 8px;}
}


/* ===== Bilard.online v13 — nagłówki sekcji 1:1 jak Działy forum ===== */
.forum-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
  padding:0 0 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.forum-section-heading .mrp-tag{margin:0 0 5px;}
.forum-section-heading h3{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.015em;}

/* Ostatnio aktywne tematy: nagłówek poza boxem */
.forum-latest-panel{min-width:0;}
.forum-latest-panel .quick-card{
  margin:0;
  min-width:0;
}
.forum-latest-heading{margin-bottom:16px;}

/* Online: zwykły box — bez pseudo-elementów i bez sztucznego przesuwania */
.online-section-heading{margin-top:18px;}
.online-panel{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  margin-bottom:18px;
  box-shadow:var(--shadow);
}
.online-panel::before{content:none !important;display:none !important;}
.online-panel-head{display:none !important;}
.online-intro{margin:0 0 14px;}

@media(max-width:760px){
  .forum-section-heading{align-items:flex-start;margin-bottom:12px;padding-bottom:11px;}
  .forum-section-heading h3{font-size:18px;}
  .online-section-heading{margin-top:14px;}
  .online-panel{padding:14px;}
}
@media(max-width:520px){
  .online-section-heading{flex-direction:column;}
  .online-section-heading .chip-btn{align-self:flex-start;}
}


/* ===== Bilard.online v15 — Aktywność 1:1 jak Działy forum ===== */
.forum-latest-panel .forum-latest-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 8px !important;
  padding:0 2px 12px !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  background:transparent !important;
}
.forum-latest-panel .forum-latest-heading .mrp-tag{
  margin-bottom:5px !important;
}
.forum-latest-panel .forum-latest-heading h3{
  margin:0 !important;
  font-size:20px !important;
  line-height:normal !important;
  letter-spacing:-.015em !important;
}
.forum-latest-panel .quick-card{
  margin:0 !important;
}
@media(max-width:560px){
  .forum-latest-panel .forum-latest-heading{
    align-items:flex-start !important;
    gap:10px !important;
  }
  .forum-latest-panel .forum-latest-heading h3{
    font-size:18px !important;
    margin:2px 0 0 !important;
  }
}


/* ===== Bilard.online — footer premium v2 ===== */
.bo-footer{
  position:relative;
  overflow:hidden;
  margin-top:28px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  background:
    radial-gradient(circle at 7% 0%,rgba(14,165,233,.12),transparent 32%),
    linear-gradient(180deg,rgba(14,22,37,.80),rgba(7,12,21,.90));
  box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.018);
}
.bo-footer::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-115px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(14,165,233,.11),transparent 68%);
  pointer-events:none;
}
.bo-footer-main{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:24px 26px 22px;
}
.bo-footer-brand{min-width:0;max-width:620px;}
.bo-footer-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#fff;
}
.bo-footer-logo:hover{color:#fff;}
.bo-footer-logo img{
  width:42px;
  height:42px;
  flex:0 0 42px;
  filter:drop-shadow(0 7px 16px rgba(14,165,233,.20));
}
.bo-footer-logo span{display:flex;flex-direction:column;min-width:0;}
.bo-footer-logo strong{
  font-size:18px;
  line-height:1.15;
  letter-spacing:.01em;
}
.bo-footer-logo small{
  margin-top:3px;
  color:#7f91aa;
  font-size:11px;
  line-height:1.2;
}
.bo-footer-brand p{
  margin:12px 0 0;
  color:#8292aa;
  font-size:12px;
  line-height:1.6;
}
.bo-footer-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.bo-footer-nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 10px;
  border-radius:7px;
  color:#aebbd0;
  font-size:12px;
  font-weight:700;
  border:1px solid transparent;
  background:transparent;
}
.bo-footer-nav a:hover{
  color:#fff;
  background:rgba(14,165,233,.08);
  border-color:rgba(14,165,233,.16);
}
.bo-footer-bottom{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:13px 26px 15px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#64748b;
  font-size:10.5px;
  line-height:1.5;
}
.bo-footer-bottom strong{
  color:#9fb0c7;
  font-weight:700;
}
.bo-footer-engine{white-space:nowrap;}

/* stara stopka nie jest już używana */
.mrp-footer{display:none !important;}

@media(max-width:820px){
  .bo-footer-main{
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
    padding:22px 20px 20px;
  }
  .bo-footer-nav{
    justify-content:flex-start;
    width:100%;
  }
  .bo-footer-bottom{padding:13px 20px 15px;}
}
@media(max-width:560px){
  .bo-footer{margin-top:22px;border-radius:9px;}
  .bo-footer-main{padding:18px 16px 17px;gap:16px;}
  .bo-footer-logo img{width:38px;height:38px;flex-basis:38px;}
  .bo-footer-logo strong{font-size:16px;}
  .bo-footer-logo small{font-size:10px;}
  .bo-footer-brand p{font-size:11px;margin-top:10px;}
  .bo-footer-nav{gap:4px 2px;}
  .bo-footer-nav a{padding:6px 8px;min-height:31px;font-size:11px;}
  .bo-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    padding:12px 16px 14px;
    font-size:9.5px;
  }
  .bo-footer-engine{white-space:normal;}
}

/* ===== Bilard.online — stopka w panelu Aktywność forum ===== */
.forum-inline-footer{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.07);
}
.forum-inline-footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.forum-inline-footer-brand img{
  width:34px;
  height:34px;
  flex:0 0 34px;
  filter:drop-shadow(0 5px 12px rgba(14,165,233,.16));
}
.forum-inline-footer-brand > div{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.forum-inline-footer-brand strong{
  color:#f4f8ff;
  font-size:13px;
  line-height:1.2;
}
.forum-inline-footer-brand span{
  margin-top:2px;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.3;
}
.forum-inline-footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:4px 14px;
  margin-top:12px;
}
.forum-inline-footer-nav a{
  color:#91a4bd;
  font-size:10.5px;
  font-weight:700;
  text-decoration:none;
}
.forum-inline-footer-nav a:hover{color:var(--accent-2);}
.forum-inline-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:13px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.045);
  color:#617087;
  font-size:9.5px;
  line-height:1.45;
}
.forum-inline-footer-bottom strong{
  color:#8ea1ba;
  font-weight:700;
}
/* wyłącz starsze wersje stopki, jeśli ich CSS nadal jest w pliku */
.bo-footer,.mrp-footer{display:none !important;}

@media(max-width:620px){
  .forum-inline-footer{margin-top:14px;padding-top:14px;}
  .forum-inline-footer-brand img{width:30px;height:30px;flex-basis:30px;}
  .forum-inline-footer-brand strong{font-size:12px;}
  .forum-inline-footer-brand span{font-size:9px;}
  .forum-inline-footer-nav{gap:6px 12px;margin-top:10px;}
  .forum-inline-footer-nav a{font-size:10px;}
  .forum-inline-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    margin-top:11px;
    padding-top:10px;
    font-size:9px;
  }
}


/* ===== Bilard.online — live statystyki gry w pasku forum ===== */
.game-stats-strip{
  align-items:stretch;
}
.game-stats-strip .game-live-stat{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:14px 16px;
}
.game-stat-icon{
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(14,165,233,.10);
  border:1px solid rgba(14,165,233,.18);
  font-size:18px;
  line-height:1;
}
.game-stat-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.game-stats-strip .game-stat-copy b{
  display:block;
  margin:0 0 2px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:17px;
  line-height:1.2;
}
.game-stats-strip .game-stat-copy span{
  color:#dbeafe;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}
.game-stat-copy small{
  display:block;
  margin-top:2px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.game-stats-offline .game-stat-icon{
  opacity:.65;
}

@media(max-width:1000px){
  .game-stats-strip .game-live-stat{min-height:72px;}
}

@media(max-width:760px){
  .game-stats-strip{
    grid-template-columns:1fr 1fr !important;
    gap:8px;
    padding:10px;
  }
  .game-stats-strip .game-live-stat{
    min-height:68px;
    padding:11px 12px;
    gap:10px;
  }
  .game-stat-icon{
    flex-basis:32px;
    width:32px;
    height:32px;
    border-radius:8px;
    font-size:16px;
  }
  .game-stats-strip .game-stat-copy b{font-size:15px;}
  .game-stats-strip .game-stat-copy span{font-size:11px;}
  .game-stat-copy small{font-size:9px;}
}

@media(max-width:430px){
  .game-stats-strip{grid-template-columns:1fr !important;}
  .game-stats-strip .game-live-stat{min-height:0;}
}

/* ===== Bilard.online — LIVE stats premium cards v2 ===== */
.game-stats-strip{
  position:relative;
  overflow:visible;
  gap:10px;
  padding:0;
  margin:18px 0 24px;
  background:transparent;
  border:0;
  box-shadow:none;
}
.game-stats-strip .game-live-stat{
  position:relative;
  overflow:hidden;
  min-height:112px;
  padding:17px 17px 16px;
  align-items:flex-start;
  gap:13px;
  border-radius:12px;
  background:linear-gradient(145deg,rgba(15,24,34,.96),rgba(8,14,21,.96));
  border:1px solid rgba(255,255,255,.075);
  box-shadow:0 10px 26px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.025);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.game-stats-strip .game-live-stat::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:2px;
  background:var(--stat-accent,#20d96b);
  opacity:.85;
}
.game-stats-strip .game-live-stat::after{
  content:"";
  position:absolute;
  width:90px;height:90px;right:-35px;top:-40px;
  border-radius:50%;
  background:var(--stat-glow,rgba(32,217,107,.12));
  filter:blur(8px);
  pointer-events:none;
}
.game-stats-strip .game-live-stat:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--stat-accent,#20d96b) 42%,transparent);
  box-shadow:0 14px 32px rgba(0,0,0,.25);
}
.game-stats-strip .game-live-stat:nth-child(1){--stat-accent:#2ee879;--stat-glow:rgba(46,232,121,.14)}
.game-stats-strip .game-live-stat:nth-child(2){--stat-accent:#f2bd3d;--stat-glow:rgba(242,189,61,.16)}
.game-stats-strip .game-live-stat:nth-child(3){--stat-accent:#ff654d;--stat-glow:rgba(255,101,77,.14)}
.game-stats-strip .game-live-stat:nth-child(4){--stat-accent:#45a3ff;--stat-glow:rgba(69,163,255,.14)}
.game-stat-icon{
  position:relative;z-index:1;
  flex:0 0 42px;width:42px;height:42px;
  border-radius:11px;
  background:color-mix(in srgb,var(--stat-accent,#20d96b) 10%,transparent);
  border:1px solid color-mix(in srgb,var(--stat-accent,#20d96b) 32%,transparent);
  box-shadow:inset 0 0 18px color-mix(in srgb,var(--stat-accent,#20d96b) 8%,transparent);
  font-size:20px;
}
.game-stat-copy{position:relative;z-index:1;flex:1;padding-top:1px}
.game-stats-strip .game-stat-copy b{
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.45px;
  margin:0 0 5px;
  color:#f7fbff;
}
.game-stats-strip .game-stat-copy span{
  color:var(--stat-accent,#2ee879);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.55px;
}
.game-stat-copy small{
  margin-top:7px;
  padding-top:7px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#8796a6;
  font-size:10px;
  line-height:1.35;
  white-space:normal;
}
.game-stats-strip .game-live-stat:nth-child(2){
  border-color:rgba(242,189,61,.22);
  background:linear-gradient(145deg,rgba(36,29,15,.92),rgba(12,15,19,.97));
}
.game-stats-strip .game-live-stat:nth-child(2) .game-stat-copy b{font-size:21px}
.game-stats-offline .game-live-stat{filter:saturate(.55);opacity:.78}

@media(max-width:1000px){
  .game-stats-strip{grid-template-columns:1fr 1fr !important}
  .game-stats-strip .game-live-stat{min-height:104px}
}
@media(max-width:760px){
  .game-stats-strip{grid-template-columns:1fr 1fr !important;gap:8px;padding:0}
  .game-stats-strip .game-live-stat{min-height:100px;padding:14px;gap:10px;border-radius:10px}
  .game-stat-icon{flex-basis:36px;width:36px;height:36px;border-radius:9px;font-size:17px}
  .game-stats-strip .game-stat-copy b{font-size:21px}
  .game-stats-strip .game-live-stat:nth-child(2) .game-stat-copy b{font-size:18px}
  .game-stat-copy small{font-size:9px;margin-top:5px;padding-top:5px}
}
@media(max-width:480px){
  .game-stats-strip{grid-template-columns:1fr !important}
  .game-stats-strip .game-live-stat{min-height:0;align-items:center}
  .game-stat-copy small{white-space:normal}
}

/* ===== Bilard.online — LIVE dane w hero zamiast osobnego paska ===== */
.game-stats-strip{display:none !important;}
.live-hero{position:relative;overflow:hidden;}
.live-hero::after{
  content:"";
  position:absolute;
  width:330px;height:330px;
  right:-110px;top:-150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(34,197,94,.11),rgba(14,165,233,.04) 45%,transparent 70%);
  pointer-events:none;
}
.live-hero-main,.live-hero-sidebox{position:relative;z-index:1;}
.live-server-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:29px;
  padding:6px 11px;
  border:1px solid rgba(34,197,94,.20);
  background:rgba(34,197,94,.07);
  color:#9be9b5;
  letter-spacing:.45px;
}
.live-server-dot{
  width:7px;height:7px;flex:0 0 7px;border-radius:50%;
  background:#94a3b8;
  box-shadow:0 0 0 4px rgba(148,163,184,.08);
}
.live-server-badge.is-online .live-server-dot{
  background:#31df76;
  box-shadow:0 0 0 4px rgba(49,223,118,.10),0 0 13px rgba(49,223,118,.55);
}
.live-server-badge.is-online{color:#72e99b;}
.live-hero-title{margin-top:15px;margin-bottom:8px;}
.live-hero-lead{max-width:730px;}
.live-hero-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:20px;
  padding:13px 0;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.live-hero-fact{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:3px 16px;
  border-right:1px solid rgba(255,255,255,.065);
}
.live-hero-fact:first-child{padding-left:0;}
.live-hero-fact:last-child{border-right:0;padding-right:0;}
.live-hero-fact-icon{
  flex:0 0 31px;
  width:31px;height:31px;
  display:grid;place-items:center;
  border-radius:9px;
  background:rgba(14,165,233,.08);
  border:1px solid rgba(14,165,233,.13);
  font-size:15px;
}
.live-hero-fact > div{min-width:0;display:flex;flex-direction:column;}
.live-hero-fact strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f8fbff;
  font-size:18px;
  line-height:1.08;
  letter-spacing:-.25px;
}
.live-hero-fact span:not(.live-hero-fact-icon){
  margin-top:3px;
  color:#7f91a8;
  font-size:9.5px;
  font-weight:700;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.42px;
}
.live-hero-fact:nth-child(1) .live-hero-fact-icon{background:rgba(46,232,121,.08);border-color:rgba(46,232,121,.15);}
.live-hero-fact:nth-child(2) .live-hero-fact-icon{background:rgba(242,189,61,.08);border-color:rgba(242,189,61,.17);}
.live-hero-fact:nth-child(3) .live-hero-fact-icon{background:rgba(255,101,77,.08);border-color:rgba(255,101,77,.15);}
.live-hero-fact:nth-child(4) .live-hero-fact-icon{background:rgba(69,163,255,.08);border-color:rgba(69,163,255,.15);}
.live-hero-actions{margin-top:18px;}
.live-side-head{display:flex;align-items:center;justify-content:space-between;gap:14px;}
.live-side-head h3{margin:2px 0 0;}
.live-side-kicker{
  display:block;
  color:#718299;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.8px;
}
.live-side-online{
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 7px;border-radius:999px;
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.16);
  color:#63df8e;
  font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.55px;
}
.live-side-online::before{content:"";width:5px;height:5px;border-radius:50%;background:#32db73;box-shadow:0 0 8px rgba(50,219,115,.6);}
.live-side-platform{
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#75869c;
  font-size:9.5px;
  line-height:1.45;
}
.live-hero-offline .live-server-badge{border-color:rgba(248,113,113,.16);background:rgba(248,113,113,.055);color:#f0a0a0;}
.live-hero-offline .live-server-dot{background:#f87171;box-shadow:0 0 0 4px rgba(248,113,113,.08);}

@media(max-width:1050px){
  .live-hero-facts{grid-template-columns:1fr 1fr;row-gap:12px;}
  .live-hero-fact:nth-child(2){border-right:0;}
  .live-hero-fact:nth-child(3){padding-left:0;}
}
@media(max-width:680px){
  .live-server-badge{font-size:9px;line-height:1.25;}
  .live-hero-title{margin-top:12px;}
  .live-hero-facts{grid-template-columns:1fr 1fr;gap:0;margin-top:16px;padding:10px 0;}
  .live-hero-fact{padding:7px 10px;gap:8px;border-right:0;}
  .live-hero-fact:nth-child(odd){padding-left:0;border-right:1px solid rgba(255,255,255,.055);}
  .live-hero-fact:nth-child(even){padding-right:0;}
  .live-hero-fact-icon{width:27px;height:27px;flex-basis:27px;border-radius:8px;font-size:13px;}
  .live-hero-fact strong{font-size:15px;}
  .live-hero-fact span:not(.live-hero-fact-icon){font-size:8.5px;}
  .live-hero-actions{margin-top:15px;}
}
@media(max-width:390px){
  .live-hero-facts{grid-template-columns:1fr;}
  .live-hero-fact,.live-hero-fact:nth-child(odd),.live-hero-fact:nth-child(even){padding:8px 0;border-right:0;}
  .live-hero-fact + .live-hero-fact{border-top:1px solid rgba(255,255,255,.045);}
}

/* =====================================================================
   BILARD.ONLINE — CONNECTED PLAYER PROFILE
   ===================================================================== */
.player-profile-shell{width:100%;max-width:1320px;margin:0 auto 34px}.player-profile-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px;margin-bottom:14px;border:1px solid rgba(101,130,160,.2);border-radius:16px;background:radial-gradient(circle at 78% 15%,rgba(14,165,233,.12),transparent 31%),radial-gradient(circle at 8% 100%,rgba(34,197,94,.08),transparent 34%),linear-gradient(145deg,rgba(15,23,34,.96),rgba(8,14,22,.98));box-shadow:0 20px 60px rgba(0,0,0,.2)}
.player-profile-hero:after{content:"8";position:absolute;right:155px;top:-65px;font-weight:900;font-size:230px;line-height:1;color:rgba(255,255,255,.018);pointer-events:none}.player-profile-identity{display:flex;align-items:center;gap:22px;min-width:0;position:relative;z-index:1}.player-profile-avatar-wrap{position:relative;flex:0 0 auto}.player-profile-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;background:#07101b;border:3px solid #172638;box-shadow:0 0 0 5px rgba(14,165,233,.08),0 16px 35px rgba(0,0,0,.32)}.player-profile-online-dot{position:absolute;right:5px;bottom:6px;width:19px;height:19px;border-radius:50%;background:#526173;border:4px solid #0d1723}.player-profile-online-dot.is-linked{background:#22c55e;box-shadow:0 0 16px rgba(34,197,94,.7)}
.player-profile-titlebox{min-width:0}.player-profile-kicker{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:11px;font-weight:800;letter-spacing:.1em;color:#7f93a8}.profile-sync-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 10px rgba(34,197,94,.8)}.profile-sync-dot.offline{background:#64748b;box-shadow:none}.player-profile-titlebox h1{margin:0;color:#f7fbff;font-size:34px;line-height:1.08;letter-spacing:-.035em}.player-profile-handle{margin-top:5px;color:#8395a8;font-size:14px}.player-profile-badges{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px}.profile-rank-badge,.profile-game-badge,.profile-role-badge{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:800}.profile-rank-badge{color:var(--rank-color,#38bdf8);border:1px solid color-mix(in srgb,var(--rank-color,#38bdf8) 35%,transparent);background:color-mix(in srgb,var(--rank-color,#38bdf8) 10%,transparent)}.profile-rank-badge img{max-height:17px;max-width:85px}.profile-game-badge{color:#8df5b1;border:1px solid rgba(34,197,94,.22);background:rgba(34,197,94,.07)}.profile-role-badge{color:#f1c96e;border:1px solid rgba(245,185,61,.22);background:rgba(245,185,61,.07)}
.player-rating-panel{position:relative;z-index:1;min-width:170px;padding:17px 22px;text-align:center;border-left:1px solid rgba(255,255,255,.08)}.player-rating-panel .player-rating-label{display:block;color:#8395a8;font-size:10px;font-weight:800;letter-spacing:.16em}.player-rating-panel strong{display:inline-block;margin-top:2px;color:#f5c24b;font-size:42px;line-height:1;font-weight:900;letter-spacing:-.04em;text-shadow:0 0 25px rgba(245,194,75,.16)}.player-rating-panel>span:last-child{display:block;margin-top:5px;color:#9aaabd;font-size:11px;font-weight:800}.player-rating-panel.is-offline strong{color:#617386}
.player-game-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:28px}.player-stat{display:flex;align-items:center;gap:13px;padding:16px 17px;border:1px solid rgba(100,128,158,.16);border-radius:12px;background:linear-gradient(145deg,rgba(16,26,38,.91),rgba(9,16,25,.94))}.player-stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;font-size:16px;font-weight:900;background:#101c29}.player-stat div{display:flex;flex-direction:column}.player-stat strong{font-size:21px;line-height:1;color:#eef7ff}.player-stat div span{margin-top:5px;color:#75889d;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.055em}.player-stat-win .player-stat-icon{color:#55e781;background:rgba(34,197,94,.1)}.player-stat-loss .player-stat-icon{color:#ff7373;background:rgba(239,68,68,.09)}.player-stat-rate .player-stat-icon{color:#f4c95b;background:rgba(245,185,61,.09)}.player-stat-games .player-stat-icon{color:#52b8ff;background:rgba(14,165,233,.1)}
.player-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:22px}.player-profile-main{min-width:0}.player-section{margin-bottom:28px}.player-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px 11px;margin-bottom:11px;border-bottom:1px solid rgba(117,143,170,.16)}.player-section-head h2{margin:2px 0 0;color:#eef6ff;font-size:18px}.profile-live-state{display:inline-flex;align-items:center;gap:7px;color:#7e9388;font-size:11px}.profile-live-state i{display:block;width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px rgba(34,197,94,.65)}.profile-small-link{color:#65bdf3;font-size:11px;text-decoration:none}.profile-small-link:hover{color:#b2ddfa}
.player-about-card,.player-signature-card{padding:19px 20px;border-radius:13px;border:1px solid rgba(105,135,166,.16);background:linear-gradient(145deg,rgba(15,24,35,.9),rgba(9,15,23,.92))}.player-bio{color:#b2c0ce;line-height:1.7;font-size:14px}.player-winrate-block{margin-top:19px;padding-top:17px;border-top:1px solid rgba(255,255,255,.055)}.player-winrate-top{display:flex;justify-content:space-between;gap:15px;margin-bottom:7px;color:#76899d;font-size:11px}.player-winrate-top strong{color:#bfeeca}.player-winrate-track{height:7px;overflow:hidden;border-radius:99px;background:#07101a}.player-winrate-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#20c768,#19a8e7);box-shadow:0 0 12px rgba(34,197,94,.25)}
.player-match-list{display:flex;flex-direction:column;gap:7px}.player-match-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(101,130,159,.13);border-radius:11px;background:rgba(12,20,30,.78);transition:.16s ease}.player-match-row:hover{border-color:rgba(79,158,211,.24);background:rgba(15,25,37,.9);transform:translateY(-1px)}.player-match-result{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-size:12px;font-weight:900}.player-match-result.win{color:#6cf398;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.17)}.player-match-result.loss{color:#ff8585;background:rgba(239,68,68,.09);border:1px solid rgba(239,68,68,.15)}.player-match-result.draw{color:#9db0c3;background:rgba(148,163,184,.08)}.player-match-info{display:flex;flex-direction:column;min-width:0}.player-match-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dce8f3;font-size:13px}.player-match-info span{margin-top:3px;color:#718499;font-size:10px}.player-match-score{display:flex;align-items:center;gap:7px;min-width:65px;justify-content:flex-end}.player-match-score strong{color:#edf5fc;font-size:17px}.player-match-score span{color:#566a7e}.profile-empty-state{padding:24px;border:1px dashed rgba(115,143,171,.18);border-radius:12px;color:#71869a;text-align:center;font-size:13px}
.player-profile-sidebar{display:flex;flex-direction:column;gap:14px}.profile-side-card{padding:17px;border-radius:13px;border:1px solid rgba(105,135,166,.16);background:linear-gradient(145deg,rgba(15,24,35,.91),rgba(9,15,23,.94))}.profile-side-title{margin-bottom:14px;color:#e4eef7;font-size:13px;font-weight:800}.profile-forum-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.profile-forum-stats div{padding:11px 5px;border-radius:9px;background:rgba(4,11,18,.45);text-align:center}.profile-forum-stats strong{display:block;color:#edf6fd;font-size:18px}.profile-forum-stats span{display:block;margin-top:4px;color:#6e8296;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.profile-side-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055);color:#708397;font-size:11px}.profile-side-meta strong{color:#afbecc;font-size:11px}.profile-message-btn,.profile-save-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:9px 13px;border-radius:9px;border:1px solid rgba(14,165,233,.24);background:rgba(14,165,233,.08);color:#8ed5ff;text-decoration:none;font-weight:800;font-size:12px;cursor:pointer}.profile-message-btn:hover,.profile-save-btn:hover{background:rgba(14,165,233,.13);border-color:rgba(14,165,233,.4)}.profile-edit-card .form-group{margin-bottom:13px}.profile-edit-card label{font-size:11px}.profile-edit-card textarea,.profile-edit-card input[type=file]{font-size:12px}.profile-signature-editor{min-height:90px}.player-signature-card{overflow:hidden}
@media(max-width:900px){.player-profile-grid{grid-template-columns:1fr}.player-profile-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.player-game-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.player-profile-hero{align-items:flex-start;padding:22px 18px;flex-direction:column}.player-profile-identity{align-items:flex-start}.player-profile-avatar{width:86px;height:86px}.player-profile-titlebox h1{font-size:27px}.player-rating-panel{width:100%;display:flex;align-items:baseline;gap:7px;min-width:0;padding:13px 0 0;text-align:left;border-left:0;border-top:1px solid rgba(255,255,255,.07)}.player-rating-panel .player-rating-label{margin-right:auto}.player-rating-panel strong{font-size:30px}.player-rating-panel>span:last-child{display:inline}.player-game-stats{grid-template-columns:repeat(2,1fr);gap:7px}.player-stat{padding:13px 12px}.player-stat-icon{width:34px;height:34px}.player-stat strong{font-size:18px}.player-profile-sidebar{display:flex}.player-section-head{align-items:flex-start;flex-direction:column}.player-match-row{grid-template-columns:34px minmax(0,1fr) auto}}
@media(max-width:430px){.player-profile-identity{gap:13px}.player-profile-avatar{width:70px;height:70px}.player-profile-titlebox h1{font-size:22px}.player-profile-kicker{font-size:9px}.player-profile-badges{gap:5px}.profile-rank-badge,.profile-game-badge,.profile-role-badge{font-size:9px;padding:4px 7px}.player-game-stats{grid-template-columns:1fr 1fr}.player-stat{gap:9px}.player-stat div span{font-size:9px}.player-match-score{min-width:51px}.player-match-info strong{font-size:12px}.player-profile-hero:after{display:none}}

/* ===== Bilard.online — THREAD MODERN v1 ===== */
.thread-page{width:100%;max-width:1320px;margin:0 auto 30px}.thread-crumbs{display:flex;align-items:center;gap:8px;min-width:0;margin:3px 0 13px;color:#65758f;font-size:11px}.thread-crumbs a{color:#8ca0bd;text-decoration:none}.thread-crumbs a:hover{color:var(--accent-2)}.thread-crumbs strong{color:#c9d7e9;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-crumbs span{color:#3e4d64}
.thread-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin-bottom:24px;overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:linear-gradient(115deg,rgba(14,165,233,.085),rgba(10,17,29,.9) 38%,rgba(4,10,18,.96));box-shadow:0 16px 42px rgba(0,0,0,.16)}.thread-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#38bdf8,#14b8a6)}.thread-hero-copy{position:relative;min-width:0}.thread-kicker,.thread-section-label{color:#55d5ff;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.14em}.thread-title-row{display:flex;gap:6px;margin-top:7px}.thread-status{display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.thread-status.pinned{color:#f9d77c;background:rgba(245,158,11,.09);border:1px solid rgba(245,158,11,.2)}.thread-status.locked{color:#ff9b9b;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.18)}.thread-hero h1{margin:7px 0 8px;color:#f5f9ff;font-size:clamp(23px,3vw,34px);line-height:1.15;letter-spacing:-.035em}.thread-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#7889a3;font-size:11px}.thread-meta a{color:#9bdffc;font-weight:700;text-decoration:none}.thread-meta-dot{width:3px;height:3px;border-radius:50%;background:#46546a}.thread-hero-actions{position:relative;display:flex;align-items:center;gap:7px;flex:0 0 auto}.thread-icon-btn,.thread-reply-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border-radius:7px;text-decoration:none;font-size:11px;font-weight:800;transition:.16s ease}.thread-icon-btn{color:#b8c6d9;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075)}.thread-icon-btn:hover{color:#fff;border-color:rgba(56,189,248,.24);background:rgba(56,189,248,.07)}.thread-reply-btn{color:#06111a;background:linear-gradient(135deg,#62d8ff,#2ab9ea);border:1px solid rgba(123,226,255,.5);box-shadow:0 8px 22px rgba(14,165,233,.14)}.thread-reply-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.thread-posts-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:0 2px 11px;margin-bottom:0;border-bottom:1px solid rgba(255,255,255,.085)}.thread-posts-head h2{margin:3px 0 0;color:#eaf2fc;font-size:17px;letter-spacing:-.015em}.thread-post-count{display:grid;place-items:center;min-width:28px;height:24px;padding:0 8px;border-radius:6px;color:#9fdfff;background:rgba(14,165,233,.07);border:1px solid rgba(14,165,233,.15);font-size:10px;font-weight:800}
.thread-modern-list{display:flex;flex-direction:column;gap:12px;padding-top:12px}.thread-post{display:grid!important;grid-template-columns:190px minmax(0,1fr);padding:0!important;overflow:hidden;border:1px solid rgba(255,255,255,.07)!important;border-radius:10px!important;background:linear-gradient(180deg,rgba(16,25,40,.82),rgba(9,15,26,.86))!important;box-shadow:0 12px 34px rgba(0,0,0,.12)!important}.thread-author{display:flex!important;flex-direction:column;align-items:center!important;text-align:center;padding:22px 16px!important;border-right:1px solid rgba(255,255,255,.055);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008))}.thread-avatar-link{position:relative;display:block;width:72px;height:72px;margin-bottom:10px}.thread-avatar-link .avatar{width:72px!important;height:72px!important;object-fit:cover;border-radius:50%!important;border:2px solid #17273a;box-shadow:0 0 0 2px rgba(72,196,239,.18),0 10px 24px rgba(0,0,0,.22)}.thread-online-dot{position:absolute;right:2px;bottom:3px;width:11px;height:11px;border-radius:50%;background:#34d399;border:2px solid #0d1725;box-shadow:0 0 8px rgba(52,211,153,.35)}.thread-author-main{display:flex;flex-direction:column;align-items:center;min-width:0}.thread-author-name{max-width:100%;color:#f0f6ff;font-size:14px;font-weight:850;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.thread-author-name:hover{color:#6edcff}.thread-rank{margin-top:6px!important;padding:4px 7px!important;border-radius:5px!important;font-size:8.5px!important}.thread-role{margin-top:5px;color:#71819a;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.thread-author-details{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:16px;padding-top:12px;border-top:1px solid rgba(255,255,255,.055)}.thread-author-details span{min-width:0}.thread-author-details span+span{border-left:1px solid rgba(255,255,255,.05)}.thread-author-details small,.thread-author-details b{display:block}.thread-author-details small{color:#56657b;font-size:7.5px;text-transform:uppercase;letter-spacing:.09em}.thread-author-details b{margin-top:3px;color:#9aaac0;font-size:9px;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.thread-post-body{display:flex!important;flex-direction:column;min-width:0;padding:0!important}.thread-post-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.05);color:#6f8098;font-size:9.5px}.thread-post-date{display:flex;align-items:center;gap:7px}.thread-post-dot{width:5px;height:5px;border-radius:50%;background:#38bdf8;box-shadow:0 0 8px rgba(56,189,248,.35)}.thread-post-number a{color:#566981;text-decoration:none;font-weight:800}.thread-post-number a:hover{color:#62d8ff}.thread-post-content{flex:1;min-height:120px;padding:23px 22px!important;color:#d7e0ec;font-size:13.5px;line-height:1.78}.thread-post-content p:first-child{margin-top:0}.thread-post-content p:last-child{margin-bottom:0}.thread-post-content blockquote{margin:16px 0;padding:12px 15px;border:0;border-left:3px solid rgba(56,189,248,.55);border-radius:0 7px 7px 0;background:rgba(56,189,248,.045);color:#aebed2}.thread-post-content a{color:#63d4ff}.thread-post-body>.post-upload-image,.thread-post-body>.thread-attachments,.thread-post-body>.signature{margin-left:22px;margin-right:22px}.thread-attachments{margin-top:4px;padding:12px;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:rgba(0,0,0,.09)}.thread-attachments-title{margin-bottom:8px;color:#687b95;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.thread-post-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px;padding:13px 2px;border-top:1px solid rgba(255,255,255,.055)}.thread-post-footer .reaction-btn,.thread-post-footer .chip-btn{min-height:30px;padding:0 9px;border-radius:6px!important;font-size:9.5px}.thread-post-footer .reaction-btn{display:inline-flex;align-items:center;gap:6px;color:#8fa0b7;background:transparent;border:1px solid rgba(255,255,255,.065)}.thread-post-footer .reaction-btn.active{color:#ff9da7;border-color:rgba(251,113,133,.22);background:rgba(251,113,133,.06)}.thread-post-footer .reaction-btn b{color:#dce8f5}.thread-post-tools{display:flex;gap:5px}.thread-post-tools .chip-btn{display:inline-flex;align-items:center;color:#8798af;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);text-decoration:none}.thread-post-tools .chip-btn:hover{color:#fff;border-color:rgba(56,189,248,.2)}.thread-post-tools .chip-btn.danger:hover{color:#ff9a9a;border-color:rgba(239,68,68,.18)}.thread-edited{padding:0 22px 12px;color:#4f5e73;font-size:8.5px;text-align:right}.thread-bottom-reply{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:17px 19px;border:1px solid rgba(255,255,255,.065);border-radius:9px;background:rgba(255,255,255,.018)}.thread-bottom-reply strong,.thread-bottom-reply span{display:block}.thread-bottom-reply strong{color:#dce7f4;font-size:12px}.thread-bottom-reply span{margin-top:3px;color:#65758c;font-size:10px}
@media(max-width:900px){.thread-hero{align-items:flex-start;flex-direction:column}.thread-hero-actions{width:100%;flex-wrap:wrap}.thread-post{grid-template-columns:145px minmax(0,1fr)}.thread-author{padding:18px 10px!important}.thread-avatar-link,.thread-avatar-link .avatar{width:60px!important;height:60px!important}}
@media(max-width:680px){.thread-page{max-width:100%}.thread-crumbs{padding:0 2px}.thread-hero{padding:18px 16px;margin-bottom:19px}.thread-hero h1{font-size:24px}.thread-icon-btn span{display:none}.thread-post{display:block!important}.thread-author{display:grid!important;grid-template-columns:50px minmax(0,1fr) auto;gap:10px;align-items:center!important;text-align:left;padding:12px 13px!important;border-right:0;border-bottom:1px solid rgba(255,255,255,.05)}.thread-avatar-link,.thread-avatar-link .avatar{width:46px!important;height:46px!important;margin:0}.thread-author-main{align-items:flex-start}.thread-rank{margin-top:4px!important}.thread-author-details{display:block;width:auto;margin:0;padding:0;border:0}.thread-author-details span:first-child{display:none}.thread-author-details span+span{border:0}.thread-author-details small{text-align:right}.thread-author-details b{font-size:10px}.thread-post-top{min-height:36px;padding:0 13px}.thread-post-content{min-height:80px;padding:17px 14px!important;font-size:13px;line-height:1.7}.thread-post-body>.post-upload-image,.thread-post-body>.thread-attachments,.thread-post-body>.signature{margin-left:14px;margin-right:14px}.thread-post-footer{margin:0 13px;padding:11px 0;align-items:flex-start}.thread-post-tools{flex-wrap:wrap;justify-content:flex-end}.thread-edited{padding:0 14px 10px}.thread-bottom-reply{align-items:flex-start;flex-direction:column}.thread-bottom-reply .thread-reply-btn{width:100%}}
@media(max-width:430px){.thread-meta{gap:5px}.thread-meta-dot{display:none}.thread-meta>span{width:100%}.thread-hero-actions{display:grid;grid-template-columns:auto auto 1fr}.thread-reply-btn{padding:0 10px}.thread-post-footer{flex-direction:column}.thread-post-tools{width:100%;justify-content:flex-start}.thread-author{grid-template-columns:44px minmax(0,1fr) auto}.thread-avatar-link,.thread-avatar-link .avatar{width:40px!important;height:40px!important}.thread-posts-head h2{font-size:15px}}

/* ===== Bilard.online — category.php modern v1 ===== */
.category-modern-head{margin:0 0 16px;padding:4px 2px 0}.category-modern-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#60718c;font-size:11px;font-weight:700}.category-modern-breadcrumb a{color:#7d91ae;text-decoration:none}.category-modern-breadcrumb a:hover{color:var(--accent-2)}.category-modern-breadcrumb span{color:#3c4b62}.category-modern-breadcrumb strong{color:#9aabc3;font-weight:700}.category-modern-titlebar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.10)}.category-modern-titlecopy{display:flex;align-items:center;gap:15px;min-width:0}.category-modern-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:1px solid rgba(56,189,248,.18);border-radius:10px;background:linear-gradient(145deg,rgba(14,165,233,.12),rgba(255,255,255,.025));font-size:22px;box-shadow:inset 0 1px rgba(255,255,255,.04)}.category-modern-titlecopy .mrp-tag{margin:0 0 3px}.category-modern-titlecopy h1{margin:0;color:#f5f9ff;font-size:28px;line-height:1.15;letter-spacing:-.025em}.category-modern-titlecopy p{margin:6px 0 0;color:#8392aa;font-size:12.5px;line-height:1.45;max-width:760px}.category-new-thread{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px}.category-new-thread span{font-size:17px;line-height:1}.category-modern-summary{display:flex;align-items:center;gap:10px;padding:10px 0 0;color:#65758e;font-size:10.5px}.category-modern-summary b{color:#a9bad0}.category-modern-summary i{width:3px;height:3px;border-radius:50%;background:#3f5069}
.category-thread-shell{overflow:visible;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:linear-gradient(180deg,rgba(17,27,44,.74),rgba(8,15,27,.70));box-shadow:0 18px 45px rgba(0,0,0,.15)}.category-thread-row{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 76px minmax(205px,255px) 54px;align-items:center;gap:14px;padding:15px 16px;border-bottom:1px solid rgba(255,255,255,.055);transition:background .18s ease,border-color .18s ease}.category-thread-row:last-child{border-bottom:0}.category-thread-row:hover{background:linear-gradient(90deg,rgba(14,165,233,.045),rgba(255,255,255,.015))}.category-thread-row.is-pinned{background:linear-gradient(90deg,rgba(245,158,11,.035),transparent 45%)}.category-thread-avatar{width:42px;height:42px;display:block;border-radius:50%;overflow:hidden;border:1px solid rgba(125,211,252,.18);background:#101927;box-shadow:0 0 0 3px rgba(56,189,248,.035)}.category-thread-avatar img,.category-thread-last img{width:100%;height:100%;display:block;object-fit:cover}.category-thread-main{min-width:0}.category-thread-flags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:4px}.category-flag{display:inline-flex;align-items:center;padding:3px 6px;border-radius:5px;font-size:7.5px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.category-flag.pinned{color:#fbd38d;background:rgba(245,158,11,.09);border:1px solid rgba(245,158,11,.16)}.category-flag.locked{color:#fda4af;background:rgba(244,63,94,.08);border:1px solid rgba(244,63,94,.14)}.category-thread-main h2{margin:0;min-width:0;font-size:14px;line-height:1.35;font-weight:780}.category-thread-main h2 a{color:#eaf3ff;text-decoration:none}.category-thread-main h2 a:hover{color:#7dd3fc}.category-thread-byline{display:flex;align-items:center;gap:5px;margin-top:5px;color:#65758d;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-thread-byline a{color:#8aa1be;text-decoration:none;font-weight:700}.category-thread-byline a:hover{color:#fff}.category-thread-byline span{color:#35445b}.category-thread-count{text-align:center;border-left:1px solid rgba(255,255,255,.05);border-right:1px solid rgba(255,255,255,.05)}.category-thread-count strong{display:block;color:#dce9f8;font-size:14px;line-height:1.1}.category-thread-count span{display:block;margin-top:3px;color:#60718b;font-size:8px;text-transform:uppercase;letter-spacing:.06em}.category-thread-last{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center}.category-thread-last img{width:32px;height:32px;border-radius:50%;border:1px solid rgba(125,211,252,.16);background:#101927}.category-thread-last div{min-width:0;display:flex;flex-direction:column}.category-thread-last small{color:#52627b;font-size:7px;font-weight:850;letter-spacing:.07em}.category-thread-last a{margin-top:2px;color:#a8c9df;font-size:10px;font-weight:750;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-thread-last a:hover{color:#7dd3fc}.category-thread-last span{margin-top:1px;color:#64748b;font-size:8.5px}.category-thread-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.category-thread-open{width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.025);color:#70839e;text-decoration:none;font-size:20px;line-height:1;transition:.16s}.category-thread-row:hover .category-thread-open{border-color:rgba(56,189,248,.18);color:#7dd3fc;transform:translateX(2px)}.category-thread-menu{position:relative}.category-thread-menu summary{width:28px;height:28px;display:grid;place-items:center;cursor:pointer;list-style:none;color:#63738c;font-size:10px}.category-thread-menu summary::-webkit-details-marker{display:none}.category-thread-menu>div{position:absolute;right:0;top:31px;z-index:20;min-width:110px;padding:5px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#0b1422;box-shadow:0 12px 30px rgba(0,0,0,.35)}.category-thread-menu a{display:block;padding:7px 9px;border-radius:5px;color:#b8c8dc;font-size:10px;text-decoration:none}.category-thread-menu a:hover{background:rgba(255,255,255,.05);color:#fff}.category-thread-menu a.danger{color:#fda4af}.category-modern-empty{padding:52px 20px;text-align:center}.category-modern-empty>div{font-size:28px;opacity:.7}.category-modern-empty h3{margin:10px 0 5px;color:#e9f3ff}.category-modern-empty p{margin:0 0 16px;color:#71819a;font-size:12px}
@media(max-width:900px){.category-thread-row{grid-template-columns:42px minmax(0,1fr) 64px 46px}.category-thread-last{grid-column:2 / 4;padding-top:9px;border-top:1px dashed rgba(255,255,255,.045)}.category-thread-actions{grid-column:4;grid-row:1 / 3}.category-thread-count{border-right:0}}
@media(max-width:620px){.category-modern-titlebar{align-items:flex-start}.category-modern-titlecopy{align-items:flex-start}.category-modern-icon{width:40px;height:40px;flex-basis:40px;font-size:19px}.category-modern-titlecopy h1{font-size:21px}.category-modern-titlecopy p{font-size:11px}.category-new-thread{padding:9px 10px;font-size:10px}.category-modern-summary{font-size:9.5px}.category-thread-shell{border-radius:9px}.category-thread-row{grid-template-columns:38px minmax(0,1fr) 34px;gap:10px;padding:13px 11px}.category-thread-avatar{width:36px;height:36px}.category-thread-main h2{font-size:12.5px}.category-thread-byline{font-size:8.7px}.category-thread-count{grid-column:2;display:flex;align-items:baseline;gap:4px;justify-content:flex-start;text-align:left;border:0}.category-thread-count strong{font-size:11px}.category-thread-count span{font-size:7.5px}.category-thread-last{grid-column:2 / 4;grid-row:auto;padding-top:8px}.category-thread-actions{grid-column:3;grid-row:1 / 3;align-self:center}.category-thread-last img{width:28px;height:28px}.category-thread-last{grid-template-columns:28px minmax(0,1fr)}.category-thread-last small{display:none}}
@media(max-width:430px){.category-modern-titlebar{flex-direction:column;gap:12px}.category-new-thread{align-self:flex-start}.category-modern-summary{flex-wrap:wrap}.category-thread-row{grid-template-columns:34px minmax(0,1fr) 28px}.category-thread-avatar{width:32px;height:32px}.category-thread-last{grid-column:1 / 4;margin-left:44px}.category-thread-count{grid-column:2}.category-thread-actions{grid-column:3}.category-thread-open{width:26px;height:26px}.category-thread-menu summary{width:26px;height:26px}}

/* ===== Bilard.online — Thread v2 / original post + replies + quick reply ===== */
.thread-page{width:100%;min-width:0;margin:0 auto 30px}
.thread-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:2px 2px 12px;color:#71819b;font-size:11px}
.thread-crumbs a{color:#8ba0bf}.thread-crumbs a:hover{color:#fff}.thread-crumbs strong{color:#cbd8e9;font-weight:700;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:25px 27px;margin-bottom:25px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:linear-gradient(115deg,rgba(13,26,44,.96),rgba(8,15,27,.94) 60%,rgba(10,38,48,.82));box-shadow:0 18px 45px rgba(0,0,0,.20)}
.thread-hero:after{content:"";position:absolute;right:-70px;top:-120px;width:290px;height:290px;border-radius:50%;background:radial-gradient(circle,rgba(52,211,153,.15),transparent 67%);pointer-events:none}
.thread-hero-copy,.thread-hero-actions{position:relative;z-index:1}.thread-hero-copy{min-width:0}.thread-kicker,.thread-section-label{display:block;color:#5fd8ad;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;margin-bottom:7px}
.thread-hero h1{margin:0;color:#fff;font-size:clamp(25px,3vw,39px);line-height:1.12;letter-spacing:-.025em;overflow-wrap:anywhere}.thread-title-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:5px}.thread-status{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.055em;padding:5px 7px;border-radius:6px}.thread-status.pinned{color:#dffef2;background:rgba(52,211,153,.10);border:1px solid rgba(52,211,153,.20)}.thread-status.locked{color:#ffe7e7;background:rgba(255,126,126,.09);border:1px solid rgba(255,126,126,.18)}
.thread-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px;color:#8394ad;font-size:11.5px}.thread-meta a{color:#a9dff5;font-weight:700}.thread-meta-dot{width:3px;height:3px;border-radius:50%;background:#485a74}
.thread-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.thread-icon-btn,.thread-reply-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 12px;border-radius:7px;font-size:11px;font-weight:800;text-decoration:none}.thread-icon-btn{color:#c9d8ea;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075)}.thread-icon-btn:hover{color:#fff;background:rgba(255,255,255,.065)}.thread-reply-btn{color:#05140f;background:linear-gradient(135deg,#53e4aa,#20bf8a);border:1px solid rgba(105,255,195,.30);box-shadow:0 8px 24px rgba(32,191,138,.13)}.thread-reply-btn:hover{color:#03120d;filter:brightness(1.06);transform:translateY(-1px)}
.thread-op-section,.thread-replies-section{margin-bottom:25px}.modern-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0 2px 11px;margin-bottom:11px;border-bottom:1px solid rgba(255,255,255,.09)}.modern-section-head h2{margin:0;color:#f5f9ff;font-size:19px;line-height:1.2;letter-spacing:-.015em}.modern-section-head .thread-section-label{margin-bottom:4px}.thread-post-count{display:grid;place-items:center;min-width:31px;height:26px;padding:0 8px;border-radius:7px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);color:#aabbd2;font-size:10px;font-weight:800}
.thread-modern-list{display:grid;gap:11px}.thread-post{display:grid;grid-template-columns:185px minmax(0,1fr);gap:0;padding:0!important;overflow:hidden;border-radius:11px!important;border:1px solid rgba(255,255,255,.07)!important;background:linear-gradient(180deg,rgba(16,25,41,.88),rgba(9,15,26,.91))!important;box-shadow:0 12px 34px rgba(0,0,0,.13)!important}.thread-op-card{border-color:rgba(52,211,153,.14)!important;box-shadow:0 15px 42px rgba(0,0,0,.16),inset 3px 0 rgba(52,211,153,.55)!important}.thread-reply-card{transition:border-color .18s ease,transform .18s ease}.thread-reply-card:hover{border-color:rgba(125,211,252,.14)!important;transform:translateY(-1px)}
.thread-author{padding:19px 16px!important;border-right:1px solid rgba(255,255,255,.06)!important;border-bottom:0!important;background:linear-gradient(180deg,rgba(14,165,233,.035),rgba(255,255,255,.012))!important;text-align:center}.thread-avatar-link{position:relative;display:inline-block;margin-bottom:10px}.thread-avatar-link .avatar{width:66px;height:66px;border-radius:50%!important;display:block;object-fit:cover;border:2px solid rgba(125,211,252,.24);box-shadow:0 0 0 4px rgba(14,165,233,.045)}.thread-online-dot{position:absolute;right:2px;bottom:4px;width:10px;height:10px;border-radius:50%;background:#40dc9f;border:2px solid #101a2a;box-shadow:0 0 9px rgba(64,220,159,.35)}.thread-author-main{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.thread-author-name{color:#f1f7ff;font-size:13.5px;font-weight:850}.thread-author-name:hover{color:#7dd3fc}.thread-role{color:#8ea0b9;font-size:10px;text-transform:capitalize}.thread-rank{padding:4px 7px;border-radius:5px;font-size:9px;line-height:1}.thread-rank .rank-image{max-height:17px}.thread-author-details{display:grid;grid-template-columns:1fr 1fr;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.055)}.thread-author-details span{display:flex;flex-direction:column;gap:2px}.thread-author-details span+span{border-left:1px solid rgba(255,255,255,.055)}.thread-author-details small{color:#687993;font-size:7.5px;text-transform:uppercase;letter-spacing:.08em}.thread-author-details b{color:#b8c7da;font-size:9.5px;font-weight:750;text-transform:capitalize}
.thread-post-body{min-width:0;padding:0!important}.thread-post-top{height:43px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.012)}.thread-post-date{display:flex;align-items:center;gap:7px;color:#7f91ab;font-size:10px}.thread-post-dot{width:5px;height:5px;border-radius:50%;background:#4fdbaa;box-shadow:0 0 0 3px rgba(79,219,170,.055)}.thread-post-number a{color:#7588a4;font-size:10px;font-weight:800}.thread-post-number a:hover{color:#fff}.thread-post-content{min-height:105px;padding:21px 20px 23px;color:#dbe5f2;font-size:14px;line-height:1.78;overflow-wrap:anywhere}.thread-op-card .thread-post-content{font-size:14.5px;color:#e5edf7}.thread-post-content p:first-child{margin-top:0}.thread-post-content p:last-child{margin-bottom:0}.thread-post-content .bb-quote{border-radius:0 8px 8px 0;background:rgba(14,165,233,.055);border-left-width:3px}.thread-post-content .bb-code{border-radius:8px;background:#07101c}
.thread-attachments{margin:0 20px 15px;padding:12px 0 0;border-top:1px solid rgba(255,255,255,.055)}.thread-attachments-title{color:#7f91a9;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px}.thread-post .signature-box{margin:0 20px 8px;padding:13px 0;border-top:1px dashed rgba(255,255,255,.055);color:#90a4be;font-size:11.5px}.thread-post-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:51px;padding:9px 16px;border-top:1px solid rgba(255,255,255,.055);background:rgba(2,7,14,.16)}.thread-post-footer form{margin:0}.thread-post .reaction-btn,.thread-post .chip-btn{min-height:31px;padding:6px 9px;border-radius:6px;font-size:9.5px;box-shadow:none}.thread-post .reaction-btn{background:transparent}.thread-post .reaction-btn:hover,.thread-post .reaction-btn.active{background:rgba(255,105,135,.07);border-color:rgba(255,105,135,.17);color:#ffc1cd}.thread-post-tools{gap:5px}.thread-post-tools .danger{color:#ff9b9b}.thread-edited{padding:0 18px 9px;text-align:right;color:#62728b;font-size:8.5px}
.thread-no-replies{display:flex;align-items:center;gap:14px;padding:18px 19px;border:1px dashed rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.012)}.thread-no-replies-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:rgba(52,211,153,.07);color:#59d9ad;font-size:18px}.thread-no-replies div{display:flex;flex-direction:column;gap:3px}.thread-no-replies strong{font-size:12.5px}.thread-no-replies span:not(.thread-no-replies-icon){color:#7c8da6;font-size:10.5px}
.thread-inline-reply{margin-top:28px;overflow:hidden;border:1px solid rgba(52,211,153,.13);border-radius:12px;background:linear-gradient(180deg,rgba(15,27,39,.84),rgba(8,15,25,.92));box-shadow:0 16px 40px rgba(0,0,0,.13)}.thread-inline-reply-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.055);background:linear-gradient(90deg,rgba(52,211,153,.055),transparent 65%)}.thread-inline-reply-head h2{margin:0;color:#fff;font-size:18px}.thread-inline-reply-head p{margin:4px 0 0;color:#778aa4;font-size:10.5px}.thread-inline-reply-head .thread-section-label{margin-bottom:4px}.thread-inline-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;border:1px solid rgba(125,211,252,.18)}.thread-inline-avatar img{width:100%;height:100%;object-fit:cover}.thread-quick-form{padding:16px 18px 17px}.thread-quick-editor{border-radius:9px!important;border-color:rgba(255,255,255,.07)!important;background:#08111e!important}.thread-quick-editor .wysiwyg-toolbar{padding:8px 9px;gap:5px}.thread-quick-editor .wysiwyg-toolbar button{padding:6px 9px;border-radius:5px!important;font-size:10px}.thread-quick-editor .wysiwyg-editor{min-height:145px;padding:15px;font-size:13px;line-height:1.7}.thread-quick-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.thread-upload-control{position:relative;display:grid;grid-template-columns:25px auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:9px 11px;border-radius:7px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.018);cursor:pointer}.thread-upload-control>span{grid-row:1/3;font-size:17px}.thread-upload-control b{font-size:10.5px;color:#cfdbea}.thread-upload-control small{font-size:8.5px;color:#65768f}.thread-upload-control input{position:absolute;inset:0;opacity:0;cursor:pointer}.thread-upload-control:hover{border-color:rgba(125,211,252,.16);background:rgba(125,211,252,.025)}.thread-quick-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.05);color:#6e809a;font-size:9.5px}.thread-quick-actions strong{color:#bcd2e8}.thread-send-reply{min-height:37px!important;padding:8px 14px!important;border-radius:7px!important;background:linear-gradient(135deg,#4bdda7,#1db483)!important;color:#04120d!important;font-size:10.5px!important;box-shadow:0 8px 22px rgba(29,180,131,.11)!important}.thread-send-reply span{font-size:14px}.thread-login-reply{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:25px;padding:16px 18px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.018)}.thread-login-reply>div{display:flex;flex-direction:column;gap:3px}.thread-login-reply strong{font-size:12px}.thread-login-reply span{color:#7789a3;font-size:10px}
@media(max-width:900px){.thread-hero{align-items:flex-start;flex-direction:column}.thread-hero-actions{justify-content:flex-start}.thread-post{grid-template-columns:1fr}.thread-author{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;text-align:left;gap:11px;padding:12px 14px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important}.thread-avatar-link{margin:0}.thread-avatar-link .avatar{width:54px;height:54px}.thread-author-main{align-items:flex-start}.thread-author-details{display:flex;margin:0;padding:0;border:0}.thread-author-details span{min-width:50px;text-align:center}.thread-author-details span+span{border-left:1px solid rgba(255,255,255,.055)}.thread-post-content{min-height:90px}}
@media(max-width:620px){.thread-page{margin-bottom:20px}.thread-crumbs{font-size:9.5px}.thread-hero{padding:18px 15px;margin-bottom:20px;border-radius:10px}.thread-hero h1{font-size:25px}.thread-meta{gap:6px;font-size:10px}.thread-meta-dot{display:none}.thread-hero-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.thread-hero-actions .thread-reply-btn{grid-column:1/-1}.modern-section-head{padding-bottom:9px}.modern-section-head h2{font-size:17px}.thread-author{grid-template-columns:48px minmax(0,1fr);padding:11px 12px!important}.thread-avatar-link .avatar{width:46px;height:46px}.thread-author-details{grid-column:2;justify-content:flex-start}.thread-author-details span{min-width:55px}.thread-post-top{height:38px;padding:0 13px}.thread-post-content{padding:17px 14px 19px;font-size:13px;line-height:1.7}.thread-op-card .thread-post-content{font-size:13.2px}.thread-post-footer{padding:8px 11px;align-items:flex-start;flex-direction:column}.thread-post-tools{width:100%}.thread-quick-form{padding:12px}.thread-inline-reply-head{padding:15px 13px}.thread-quick-options{grid-template-columns:1fr}.thread-quick-actions{align-items:stretch;flex-direction:column}.thread-send-reply{width:100%}.thread-login-reply{align-items:flex-start;flex-direction:column}}

\n\n/* ===== Bilard.online — Thread v3 / unified topic ===== */\n.thread-topic-shell{\n  position:relative;overflow:hidden;margin:0 0 28px;\n  border:1px solid rgba(255,255,255,.08);border-radius:13px;\n  background:linear-gradient(145deg,rgba(12,22,36,.98),rgba(7,14,24,.985));\n  box-shadow:0 20px 55px rgba(0,0,0,.22);\n}\n.thread-topic-shell:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#35d49a,#42c9ff 55%,transparent);opacity:.9;z-index:3}\n.thread-topic-shell .thread-hero{margin:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(115deg,rgba(18,38,52,.78),rgba(8,16,27,.34) 62%,rgba(17,55,54,.28));padding:24px 26px 20px}\n.thread-topic-shell .thread-hero:before{display:none}.thread-topic-shell .thread-hero:after{opacity:.72}\n.thread-topic-shell .thread-op-section{margin:0;border-top:1px solid rgba(255,255,255,.065)}\n.thread-topic-shell .thread-op-card{margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}\n.thread-topic-shell .thread-op-card:before{display:none!important}\n.thread-topic-shell .thread-author{background:rgba(255,255,255,.018)!important}\n.thread-topic-shell .thread-post-body{background:transparent}\n.thread-topic-shell .thread-post-top{background:rgba(255,255,255,.012);border-bottom-color:rgba(255,255,255,.045)}\n.thread-topic-shell .thread-post-content{padding-top:24px;padding-bottom:27px;font-size:14px;line-height:1.82;color:#dce6f3}\n.thread-topic-shell .thread-post-footer{border-top-color:rgba(255,255,255,.055)}\n.thread-topic-shell .thread-post-number a{color:#72dfbb}\n.thread-topic-shell .thread-online-dot{box-shadow:0 0 0 3px #0b1522,0 0 14px rgba(52,211,153,.4)}\n.thread-replies-section{margin-top:2px}\n.thread-replies-section .modern-section-head{margin-bottom:13px}\n.thread-replies-section .thread-reply-card{border-radius:10px!important;background:linear-gradient(145deg,rgba(12,20,32,.96),rgba(7,13,22,.98))!important}\n@media(max-width:620px){\n .thread-topic-shell{border-radius:10px;margin-bottom:22px}\n .thread-topic-shell .thread-hero{padding:18px 14px 16px}\n .thread-topic-shell .thread-op-card{border-radius:0!important}\n .thread-topic-shell .thread-post-content{padding:18px 14px 21px;font-size:13.2px}\n}\n
/* ===== Bilard.online — Thread v4 / clean glass layout ===== */
/* Nowy układ bez pionowych akcentów po lewej stronie. */
.thread-page{max-width:1320px;margin:0 auto 34px}
.thread-topic-shell{
  margin:0 0 30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.075);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(15,24,39,.94),rgba(8,14,24,.97));
  box-shadow:0 18px 52px rgba(0,0,0,.20);
}
.thread-topic-shell:before{display:none!important;content:none!important}
.thread-topic-shell .thread-hero,
.thread-hero{
  position:relative;
  margin:0!important;
  padding:26px 28px 22px!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 88% 15%,rgba(56,189,248,.10),transparent 26%),
    radial-gradient(circle at 68% 110%,rgba(52,211,153,.07),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));
  box-shadow:none!important;
}
.thread-hero:before,.thread-topic-shell .thread-hero:before{display:none!important;content:none!important}
.thread-hero:after{content:"";position:absolute;left:28px;right:28px;bottom:0;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.035) 72%,transparent);pointer-events:none}
.thread-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:3px;color:#75d9fb;font-size:9px;letter-spacing:.15em}
.thread-kicker:before{content:"●";font-size:7px;color:#39d6a2;text-shadow:0 0 9px rgba(57,214,162,.45)}
.thread-hero h1{margin:8px 0 9px!important;font-size:clamp(25px,3vw,37px)!important;letter-spacing:-.035em;color:#f5f9ff}
.thread-meta{font-size:10.5px!important;color:#71839d}
.thread-meta a{color:#9eddf6!important}
.thread-title-row{margin-top:7px}
.thread-status{border-radius:999px!important;padding:4px 8px!important}
.thread-hero-actions{gap:6px!important}
.thread-icon-btn,.thread-reply-btn{min-height:36px!important;border-radius:7px!important;padding:0 12px!important;font-size:10px!important}
.thread-icon-btn{background:rgba(255,255,255,.025)!important;border-color:rgba(255,255,255,.065)!important}
.thread-reply-btn{background:linear-gradient(135deg,#55d7ff,#2abbe9)!important;color:#03121b!important;box-shadow:0 8px 20px rgba(25,168,215,.12)!important}

/* Pierwszy post i odpowiedzi: autor w poziomym nagłówku, treść pełnej szerokości. */
.thread-topic-shell .thread-op-section{margin:0!important;border:0!important}
.thread-topic-shell .thread-op-card,
.thread-reply-card,
.thread-post{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:0!important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(14,23,37,.88),rgba(8,14,24,.93))!important;
  box-shadow:0 12px 34px rgba(0,0,0,.12)!important;
}
.thread-topic-shell .thread-op-card{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.thread-post:before,.thread-op-card:before,.thread-reply-card:before{display:none!important;content:none!important}

.thread-author,
.thread-topic-shell .thread-author{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  width:100%;
  padding:14px 18px!important;
  text-align:left!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
  background:rgba(255,255,255,.018)!important;
}
.thread-avatar-link{width:46px!important;height:46px!important;margin:0!important}
.thread-avatar-link .avatar{width:46px!important;height:46px!important;border-radius:50%!important;border:1px solid rgba(125,211,252,.24)!important;box-shadow:0 0 0 3px rgba(56,189,248,.035),0 8px 18px rgba(0,0,0,.18)!important}
.thread-online-dot{right:0!important;bottom:1px!important;width:10px!important;height:10px!important;border-width:2px!important}
.thread-author-main{align-items:flex-start!important;justify-content:center;min-width:0}
.thread-author-name{font-size:13.5px!important;line-height:1.2}
.thread-rank{margin-top:4px!important}
.thread-role{margin-top:3px!important}
.thread-author-details{
  display:flex!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  gap:0;
}
.thread-author-details span{min-width:64px;padding:0 10px;text-align:center}
.thread-author-details span+span{border-left:1px solid rgba(255,255,255,.055)!important}
.thread-author-details small{font-size:7px!important;color:#55647a!important}
.thread-author-details b{font-size:9px!important;color:#9fb0c5!important;margin-top:2px!important}

.thread-post-body,.thread-topic-shell .thread-post-body{display:flex!important;flex-direction:column!important;background:transparent!important}
.thread-post-top{
  min-height:36px!important;
  height:auto!important;
  padding:0 18px!important;
  border-bottom:0!important;
  background:rgba(255,255,255,.008)!important;
}
.thread-post-date{font-size:9px!important;color:#677991!important}
.thread-post-dot{background:#43d7aa!important;box-shadow:0 0 0 3px rgba(67,215,170,.045)!important}
.thread-post-number a{color:#63758d!important;font-size:9px!important}
.thread-post-content,.thread-topic-shell .thread-post-content{
  min-height:110px!important;
  padding:14px 22px 25px!important;
  font-size:14px!important;
  line-height:1.82!important;
  color:#dce5f0!important;
}
.thread-op-card .thread-post-content{font-size:14.4px!important;color:#e6edf6!important}
.thread-post-content blockquote,.thread-post-content .bb-quote{
  margin:15px 0!important;
  padding:13px 15px!important;
  border:1px solid rgba(56,189,248,.10)!important;
  border-left:1px solid rgba(56,189,248,.10)!important;
  border-radius:8px!important;
  background:rgba(56,189,248,.045)!important;
  color:#afc1d5!important;
}
.thread-post-content .bb-code{border-radius:8px!important}
.thread-post .signature-box{margin:0 22px 8px!important;padding:13px 0!important}
.thread-attachments{margin:0 22px 14px!important}
.thread-post-footer{
  min-height:48px!important;
  margin:0!important;
  padding:9px 18px!important;
  border-top:1px solid rgba(255,255,255,.05)!important;
  background:rgba(2,8,15,.14)!important;
}
.thread-post .reaction-btn,.thread-post .chip-btn{border-radius:6px!important;background:rgba(255,255,255,.018)}
.thread-edited{padding:0 18px 9px!important}

/* Odpowiedzi jako jedna spokojna sekcja, bez ciężkich separatorów. */
.thread-replies-section{margin-top:28px!important}
.modern-section-head{margin-bottom:12px!important;padding:0 2px 10px!important;border-bottom:1px solid rgba(255,255,255,.075)!important}
.modern-section-head h2{font-size:18px!important;margin:3px 0 0!important}
.thread-post-count{border-radius:999px!important;background:rgba(56,189,248,.065)!important}
.thread-modern-list{gap:11px!important;padding-top:0!important}
.thread-replies-section .thread-reply-card{background:linear-gradient(180deg,rgba(13,22,35,.86),rgba(8,14,23,.92))!important}
.thread-replies-section .thread-reply-card:hover{border-color:rgba(125,211,252,.13)!important}

/* Szybka odpowiedź spójna z nowym wątkiem. */
.thread-inline-reply{
  margin-top:26px!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(14,23,36,.88),rgba(8,14,23,.94))!important;
  box-shadow:0 14px 38px rgba(0,0,0,.14)!important;
}
.thread-inline-reply-head{padding:16px 18px!important;background:rgba(255,255,255,.014)!important;border-bottom:1px solid rgba(255,255,255,.055)!important}
.thread-inline-reply-head h2{font-size:17px!important}
.thread-quick-form{padding:15px 17px 17px!important}
.thread-quick-editor{border-radius:8px!important;background:#08111c!important}
.thread-send-reply{border-radius:7px!important}

@media(max-width:900px){
  .thread-hero,.thread-topic-shell .thread-hero{align-items:flex-start!important;flex-direction:column!important}
  .thread-author,.thread-topic-shell .thread-author{grid-template-columns:46px minmax(0,1fr) auto!important;padding:12px 14px!important}
  .thread-avatar-link,.thread-avatar-link .avatar{width:44px!important;height:44px!important}
}
@media(max-width:620px){
  .thread-topic-shell{border-radius:10px!important;margin-bottom:22px!important}
  .thread-hero,.thread-topic-shell .thread-hero{padding:18px 14px 15px!important}
  .thread-hero:after{left:14px;right:14px}
  .thread-hero h1{font-size:25px!important}
  .thread-author,.thread-topic-shell .thread-author{grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;padding:11px 12px!important}
  .thread-avatar-link,.thread-avatar-link .avatar{width:40px!important;height:40px!important}
  .thread-author-details{grid-column:2!important;justify-content:flex-start!important}
  .thread-author-details span{min-width:56px!important;padding:0 8px!important}
  .thread-post-top{padding:0 13px!important}
  .thread-post-content,.thread-topic-shell .thread-post-content{padding:13px 14px 20px!important;font-size:13.2px!important}
  .thread-post-footer{padding:8px 11px!important;align-items:flex-start!important;flex-direction:column!important}
  .thread-post-tools{width:100%!important}
  .thread-inline-reply{border-radius:10px!important}
}

/* =========================================================
   BILARD.ONLINE THREAD V5 — COMMUNITY / IPS INSPIRED
   układ inspirowany przekazanym screenem, bez tabel i bez lewej linii
   ========================================================= */
.thread-page{max-width:1320px!important;margin:0 auto!important;padding:0 18px 42px!important}
.thread-crumbs{margin:18px 0 24px!important;color:#71839a!important}
.thread-topic-shell{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;margin:0 0 34px!important}
.thread-hero{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:27px 30px!important;border:1px solid rgba(126,151,180,.13)!important;border-radius:12px 12px 0 0!important;background:#0f1924!important;box-shadow:0 18px 50px rgba(0,0,0,.16)!important}
.thread-hero:before,.thread-hero:after{display:none!important}
.thread-kicker{display:none!important}
.thread-title-row{gap:10px!important}
.thread-hero h1{margin:0!important;font-size:30px!important;line-height:1.2!important;letter-spacing:-.55px!important;color:#f4f7fb!important;font-weight:780!important}
.thread-meta{position:absolute!important;left:-1px!important;right:-1px!important;top:100%!important;min-height:62px!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 30px!important;border:1px solid rgba(126,151,180,.13)!important;border-top-color:rgba(126,151,180,.10)!important;border-radius:0 0 12px 12px!important;background:#111d29!important;color:#8294aa!important;font-size:13px!important}
.thread-meta a{color:#c8d4e2!important;font-weight:700!important}.thread-meta-dot{width:3px!important;height:3px!important;background:#52657c!important;box-shadow:none!important}
.thread-hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.thread-icon-btn,.thread-reply-btn{height:38px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:8px!important;background:#1b2735!important;color:#b9c6d5!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important}
.thread-reply-btn{background:linear-gradient(180deg,#1994f4,#0876d4)!important;color:white!important;border-color:rgba(75,174,255,.28)!important}
.thread-op-section{margin-top:86px!important}
.thread-op-section>.thread-section-head{display:none!important}
.thread-post,.thread-op-card,.thread-reply-card{display:block!important;overflow:hidden!important;border:1px solid rgba(126,151,180,.13)!important;border-left:1px solid rgba(126,151,180,.13)!important;border-radius:12px!important;background:#101b26!important;box-shadow:0 12px 38px rgba(0,0,0,.12)!important}
.thread-post:before,.thread-post:after,.thread-op-card:before,.thread-reply-card:before{display:none!important}
.thread-author,.thread-topic-shell .thread-author{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;gap:13px!important;padding:20px 22px!important;border:0!important;border-bottom:1px solid rgba(126,151,180,.10)!important;background:#101b26!important}
.thread-avatar-link,.thread-avatar-link .avatar{width:46px!important;height:46px!important;border-radius:50%!important}
.thread-avatar-link .avatar{border:2px solid rgba(255,255,255,.10)!important;box-shadow:0 4px 15px rgba(0,0,0,.22)!important}
.thread-online-dot{width:10px!important;height:10px!important;right:0!important;bottom:1px!important;border:2px solid #101b26!important}
.thread-author-main{min-width:0!important}.thread-author-name{font-size:14px!important;font-weight:780!important;color:#f0f5fa!important}.thread-role{font-size:11px!important;color:#8294aa!important}.thread-rank{display:inline-flex!important;margin-top:4px!important;padding:2px 7px!important;border-radius:5px!important;font-size:9px!important}
.thread-author-details{display:flex!important;align-items:center!important;gap:7px!important;color:#75889f!important;font-size:10px!important}.thread-author-details span{padding:5px 8px!important;border:1px solid rgba(255,255,255,.045)!important;border-radius:6px!important;background:rgba(255,255,255,.018)!important}
.thread-post-body{display:block!important;background:#101b26!important}
.thread-post-top{height:42px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 22px!important;border-bottom:1px solid rgba(126,151,180,.08)!important;background:#0d1721!important}
.thread-post-date{font-size:11px!important;color:#7f91a6!important}.thread-post-dot{display:none!important}.thread-post-number a{font-size:11px!important;color:#6f8299!important;font-weight:700!important}
.thread-post-content,.thread-topic-shell .thread-post-content{min-height:150px!important;padding:28px 26px 34px!important;font-size:15px!important;line-height:1.8!important;color:#c8d3df!important;background:#101b26!important}
.thread-op-card .thread-post-content{font-size:15px!important;color:#d7e0ea!important}
.thread-post-content p{margin:0 0 18px!important}.thread-post-content p:last-child{margin-bottom:0!important}
.thread-post-content blockquote,.thread-post-content .bb-quote{border:1px solid rgba(126,151,180,.12)!important;border-left:1px solid rgba(126,151,180,.12)!important;border-radius:8px!important;background:#0c1620!important;padding:16px 18px!important;color:#aebdcd!important}
.thread-post .signature-box{margin:0 26px!important;padding:17px 0!important;border-top:1px solid rgba(126,151,180,.08)!important;color:#71849b!important}
.thread-attachments{margin:0 26px 18px!important}
.thread-post-footer{min-height:52px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 18px!important;border-top:1px solid rgba(126,151,180,.09)!important;background:#0d1721!important}
.thread-post .reaction-btn,.thread-post .chip-btn{min-height:32px!important;border:1px solid rgba(126,151,180,.09)!important;border-radius:7px!important;background:#15212e!important;color:#8fa1b6!important;box-shadow:none!important}
.thread-post .reaction-btn:hover,.thread-post .chip-btn:hover{background:#1a2a39!important;color:#dce6f1!important;border-color:rgba(66,168,255,.20)!important}
.thread-edited{padding:0 22px 12px!important;background:#0d1721!important;color:#667a91!important;font-size:10px!important}
.thread-replies-section{margin-top:30px!important}.modern-section-head{display:flex!important;align-items:end!important;justify-content:space-between!important;margin:0 0 13px!important;padding:0 2px 11px!important;border-bottom:1px solid rgba(126,151,180,.13)!important}.thread-section-label{font-size:10px!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#4fa9ef!important;font-weight:800!important}.modern-section-head h2{margin:3px 0 0!important;font-size:20px!important;color:#edf3f9!important}.thread-post-count{min-width:28px!important;height:28px!important;display:grid!important;place-items:center!important;padding:0 9px!important;border:1px solid rgba(126,151,180,.10)!important;border-radius:7px!important;background:#111d29!important;color:#8497ad!important;font-size:11px!important}
.thread-modern-list{display:grid!important;gap:14px!important}.thread-replies-section .thread-reply-card{background:#101b26!important}.thread-replies-section .thread-reply-card:hover{border-color:rgba(88,172,240,.20)!important;transform:none!important}
.thread-inline-reply{margin-top:28px!important;overflow:hidden!important;border:1px solid rgba(126,151,180,.13)!important;border-radius:12px!important;background:#101b26!important;box-shadow:0 12px 38px rgba(0,0,0,.12)!important}.thread-inline-reply-head{padding:18px 22px!important;border-bottom:1px solid rgba(126,151,180,.10)!important;background:#0f1924!important}.thread-inline-reply-head h2{font-size:18px!important}.thread-quick-form{padding:18px 22px 22px!important}.thread-quick-editor{overflow:hidden!important;border:1px solid rgba(126,151,180,.13)!important;border-radius:9px!important;background:#0b1520!important}.thread-send-reply{height:40px!important;padding:0 17px!important;border-radius:8px!important;background:linear-gradient(180deg,#1994f4,#0876d4)!important;box-shadow:none!important}
@media(max-width:760px){.thread-page{padding:0 10px 28px!important}.thread-hero{padding:20px 17px!important;align-items:flex-start!important;flex-direction:column!important}.thread-hero h1{font-size:24px!important}.thread-meta{position:static!important;margin:20px -17px -20px!important;padding:14px 17px!important;min-height:0!important;border-width:1px 0 0!important;border-radius:0 0 11px 11px!important;flex-wrap:wrap!important}.thread-op-section{margin-top:16px!important}.thread-hero-actions{width:100%!important;justify-content:flex-start!important}.thread-author,.thread-topic-shell .thread-author{grid-template-columns:44px minmax(0,1fr)!important;padding:15px!important}.thread-avatar-link,.thread-avatar-link .avatar{width:42px!important;height:42px!important}.thread-author-details{grid-column:2!important;justify-content:flex-start!important;flex-wrap:wrap!important}.thread-post-top{padding:0 15px!important}.thread-post-content,.thread-topic-shell .thread-post-content{padding:20px 16px 26px!important;font-size:14px!important}.thread-post-footer{align-items:flex-start!important;flex-direction:column!important;padding:10px 13px!important}.thread-post-tools{width:100%!important;flex-wrap:wrap!important}.thread-quick-form{padding:14px!important}}

/* =========================================================
   BILARD.ONLINE — THREAD V6 / FOCUS
   autorski, nowoczesny, lekki widok dyskusji
   ========================================================= */
.thread-v6{width:min(1320px,calc(100% - 28px));margin:18px auto 42px}
.thread-v6-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#64758d;font-size:11px;min-width:0;white-space:nowrap;overflow:hidden}.thread-v6-breadcrumb a{color:#8092aa}.thread-v6-breadcrumb a:hover{color:var(--accent-2)}.thread-v6-breadcrumb span{color:#39495f}.thread-v6-breadcrumb strong{color:#a8b6c8;overflow:hidden;text-overflow:ellipsis}
.thread-v6-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:10px 2px 22px;border-bottom:1px solid rgba(255,255,255,.085);margin-bottom:18px}.thread-v6-head-main{min-width:0}.thread-v6-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:#7d91aa;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.thread-v6-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.08)}.thread-v6-head h1{margin:0;color:#f3f7fb;font-size:clamp(28px,3.2vw,43px);line-height:1.08;letter-spacing:-.035em;font-weight:800;overflow-wrap:anywhere}.thread-v6-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;color:#71839b;font-size:11.5px}.thread-v6-meta a{color:#9ecfed;font-weight:750}.thread-v6-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid rgba(52,211,153,.18);border-radius:6px;background:rgba(52,211,153,.07);color:#8be3bb;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.thread-v6-badge-lock{border-color:rgba(248,113,113,.18);background:rgba(248,113,113,.06);color:#f2a0a0}.thread-v6-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.thread-v6-action,.thread-v6-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 13px;border:1px solid rgba(255,255,255,.07);border-radius:7px;background:rgba(255,255,255,.025);color:#9aabc0;font-size:11px;font-weight:750;text-decoration:none;box-shadow:none;transition:.16s ease}.thread-v6-action:hover{color:#fff;background:rgba(255,255,255,.045);border-color:rgba(125,211,252,.16)}.thread-v6-primary{padding:0 16px;border-color:rgba(14,165,233,.24);background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;box-shadow:0 9px 24px rgba(2,132,199,.18)}.thread-v6-primary:hover{color:#fff;transform:translateY(-1px);filter:brightness(1.06)}
.thread-v6-post{overflow:hidden;margin:0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:linear-gradient(180deg,rgba(15,24,38,.90),rgba(10,17,29,.93));box-shadow:0 16px 44px rgba(0,0,0,.14)}.thread-v6-post-op{border-color:rgba(125,211,252,.11);box-shadow:0 18px 52px rgba(0,0,0,.17)}.thread-v6-post-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.012)}.thread-v6-user{display:flex;align-items:center;gap:11px;min-width:0}.thread-v6-avatar{position:relative;display:block;width:44px;height:44px;flex:0 0 44px;border-radius:50%;overflow:visible}.thread-v6-avatar img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.10);background:#111b29;box-shadow:0 7px 18px rgba(0,0,0,.20)}.thread-v6-avatar>span{position:absolute;right:-1px;bottom:1px;width:10px;height:10px;border-radius:50%;background:#34d399;border:2px solid #0d1725}.thread-v6-user-copy{min-width:0}.thread-v6-user-line{display:flex;align-items:center;gap:7px;min-width:0}.thread-v6-user-name{color:#edf4fb;font-size:13.5px;font-weight:800;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-v6-user-name:hover{color:#7dd3fc}.thread-v6-rank{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border:1px solid rgba(255,255,255,.07);border-radius:5px;color:#8495aa;background:rgba(255,255,255,.025);font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.thread-v6-post-meta{margin-top:3px;color:#62738a;font-size:9.5px}.thread-v6-anchor{flex:0 0 auto;color:#586b83;font-size:10px;font-weight:800;text-decoration:none}.thread-v6-anchor:hover{color:#7dd3fc}
.thread-v6-content{min-height:130px;padding:26px 22px 30px;color:#d4dde7;font-size:14.5px;line-height:1.82;word-break:break-word}.thread-v6-post-op .thread-v6-content{min-height:160px;font-size:15px;color:#dbe4ed}.thread-v6-content p:first-child{margin-top:0}.thread-v6-content p:last-child{margin-bottom:0}.thread-v6-content a{color:#6fd3ff}.thread-v6-content blockquote,.thread-v6-content .bb-quote{margin:16px 0;padding:14px 16px;border:1px solid rgba(125,211,252,.10);border-radius:8px;background:rgba(8,18,30,.72);color:#aebdcd}.thread-v6-content pre,.thread-v6-content .bb-code{margin:16px 0;padding:14px 16px;border:1px solid rgba(255,255,255,.06);border-radius:8px;background:#07111c;color:#c9e5f6;overflow:auto}.thread-v6-upload{display:block;max-width:min(100% - 44px,720px);margin:0 22px 18px;border:1px solid rgba(255,255,255,.07);border-radius:8px}.thread-v6-attachments{margin:0 22px 18px;padding:13px;border:1px solid rgba(255,255,255,.055);border-radius:8px;background:rgba(255,255,255,.015)}.thread-v6-attachments>strong{display:block;margin-bottom:8px;color:#7f91aa;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.thread-v6-post .signature-box{margin:2px 22px 0;padding:15px 0;border-top:1px solid rgba(255,255,255,.055);color:#7588a1}
.thread-v6-post-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 14px;border-top:1px solid rgba(255,255,255,.055);background:rgba(5,12,21,.36)}.thread-v6-post-foot form{margin:0}.thread-v6-like{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#75879d;font-size:10px;box-shadow:none}.thread-v6-like:hover{background:rgba(255,255,255,.025);color:#aab9ca}.thread-v6-like.active{color:#ff9fa8;background:rgba(244,63,94,.055);border-color:rgba(244,63,94,.11)}.thread-v6-like b{color:#b7c4d2}.thread-v6-tools{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.thread-v6-tools a{display:inline-flex;align-items:center;min-height:29px;padding:0 8px;border-radius:5px;color:#71849b;font-size:9.5px;font-weight:700;text-decoration:none}.thread-v6-tools a:hover{color:#e5eef8;background:rgba(255,255,255,.03)}.thread-v6-tools a.danger:hover{color:#ff9e9e}.thread-v6-edited{padding:0 16px 10px;color:#485a70;font-size:8.5px;text-align:right;background:rgba(5,12,21,.36)}
.thread-v6-replies{margin-top:28px}.thread-v6-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px 11px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.075)}.thread-v6-section-head span{display:block;color:#4aaedc;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.thread-v6-section-head h2{margin:3px 0 0;color:#e8eef5;font-size:18px;letter-spacing:-.02em}.thread-v6-section-head>b{display:grid;place-items:center;min-width:28px;height:25px;padding:0 8px;border:1px solid rgba(255,255,255,.07);border-radius:6px;background:rgba(255,255,255,.02);color:#7f91a7;font-size:10px}.thread-v6-list{display:flex;flex-direction:column;gap:11px}.thread-v6-empty{display:flex;align-items:center;gap:12px;padding:18px;border:1px dashed rgba(255,255,255,.075);border-radius:9px;color:#73859c;background:rgba(255,255,255,.01)}.thread-v6-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(14,165,233,.07);color:#62c8ef}.thread-v6-empty strong,.thread-v6-empty small{display:block}.thread-v6-empty strong{color:#aebdcd;font-size:12px}.thread-v6-empty small{margin-top:3px;font-size:10px}
.thread-v6-quick{margin-top:28px;overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:linear-gradient(180deg,rgba(15,24,38,.88),rgba(10,17,29,.92));box-shadow:0 16px 44px rgba(0,0,0,.13)}.thread-v6-quick-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid rgba(255,255,255,.055)}.thread-v6-quick-head h2{margin:2px 0 0;color:#eaf1f8;font-size:16px}.thread-v6-quick-label{color:#5faed2;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.thread-v6-quick-form{padding:16px 18px 18px}.thread-v6-editor{border:1px solid rgba(255,255,255,.065)!important;border-radius:8px!important;background:#08131f!important;box-shadow:none!important}.thread-v6-editor .wysiwyg-toolbar{padding:8px!important;gap:5px!important;border-bottom:1px solid rgba(255,255,255,.05)!important;background:rgba(255,255,255,.015)!important}.thread-v6-editor .wysiwyg-toolbar button{min-width:30px;height:30px;padding:0 8px!important;border-radius:5px!important;border-color:rgba(255,255,255,.06)!important;background:rgba(255,255,255,.02)!important;color:#8294aa!important;font-size:10px!important}.thread-v6-editor .wysiwyg-editor{min-height:150px!important;padding:15px!important;font-size:13.5px!important}.thread-v6-quick-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.thread-v6-uploaders{display:flex;gap:7px;flex-wrap:wrap}.thread-v6-uploaders label{position:relative;display:inline-flex;align-items:center;height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.06);border-radius:6px;background:rgba(255,255,255,.02);color:#7d8ea4;font-size:9.5px;font-weight:700;cursor:pointer}.thread-v6-uploaders input{position:absolute;inset:0;opacity:0;cursor:pointer}.thread-v6-send{height:38px;padding:0 15px;border-radius:7px!important;background:linear-gradient(135deg,#0ea5e9,#0284c7)!important;color:#fff!important;font-size:11px!important;box-shadow:0 8px 20px rgba(2,132,199,.16)!important}.thread-v6-login{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px;padding:17px 18px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.015)}.thread-v6-login strong,.thread-v6-login span{display:block}.thread-v6-login strong{color:#dce6ef;font-size:12px}.thread-v6-login span{margin-top:3px;color:#6c7e94;font-size:10px}.thread-v6-login>a{display:inline-flex;align-items:center;height:36px;padding:0 13px;border-radius:7px;background:#0ea5e9;color:#fff;font-size:10px;font-weight:800}
@media(max-width:820px){.thread-v6-head{align-items:flex-start;flex-direction:column}.thread-v6-actions{justify-content:flex-start}.thread-v6-content{padding:22px 18px 26px}.thread-v6-upload{max-width:calc(100% - 36px);margin-left:18px;margin-right:18px}.thread-v6-attachments,.thread-v6-post .signature-box{margin-left:18px;margin-right:18px}}
@media(max-width:560px){.thread-v6{width:min(100%,calc(100% - 16px));margin-top:10px}.thread-v6-breadcrumb{margin-bottom:14px}.thread-v6-head{gap:16px;padding-bottom:17px}.thread-v6-head h1{font-size:28px}.thread-v6-actions{width:100%;display:grid;grid-template-columns:auto auto 1fr}.thread-v6-action span{display:none}.thread-v6-primary{padding:0 10px}.thread-v6-post-head{padding:13px}.thread-v6-avatar{width:40px;height:40px;flex-basis:40px}.thread-v6-user-line{align-items:flex-start;flex-direction:column;gap:3px}.thread-v6-rank{min-height:18px}.thread-v6-content,.thread-v6-post-op .thread-v6-content{min-height:90px;padding:18px 14px 22px;font-size:13.5px;line-height:1.75}.thread-v6-upload{max-width:calc(100% - 28px);margin:0 14px 14px}.thread-v6-attachments,.thread-v6-post .signature-box{margin-left:14px;margin-right:14px}.thread-v6-post-foot{align-items:flex-start;flex-direction:column;padding:8px 10px}.thread-v6-tools{width:100%}.thread-v6-quick-head{padding:13px}.thread-v6-quick-form{padding:12px}.thread-v6-quick-bottom{align-items:stretch;flex-direction:column}.thread-v6-send{width:100%}.thread-v6-login{align-items:flex-start;flex-direction:column}.thread-v6-login>a{width:100%;justify-content:center}}

/* =========================================================
   Bilard.online — CATEGORY V3 / modern responsive topic feed
   ========================================================= */
.catx-head{
  margin:0 0 22px;
  padding:4px 2px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.catx-breadcrumb{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-bottom:18px;color:#71809b;font-size:12px;
}
.catx-breadcrumb a{color:#8ea0bd}.catx-breadcrumb a:hover{color:#fff}
.catx-breadcrumb span{color:#45526a}.catx-breadcrumb strong{color:#c9d7ea;font-weight:700}
.catx-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.catx-title-wrap{display:flex;align-items:center;gap:16px;min-width:0}
.catx-category-icon{
  width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;
  border-radius:12px;background:rgba(14,165,233,.09);border:1px solid rgba(125,211,252,.16);
  font-size:24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.catx-title-copy{min-width:0}.catx-eyebrow{display:block;margin-bottom:4px;color:#6ecdf5;font-size:10px;font-weight:850;letter-spacing:.11em}
.catx-title-copy h1{margin:0;color:#f4f8ff;font-size:clamp(27px,3.2vw,40px);line-height:1.08;letter-spacing:-.035em}
.catx-title-copy p{max-width:760px;margin:8px 0 0;color:#8fa0bd;font-size:13px;line-height:1.6}
.catx-new{flex:0 0 auto;padding:10px 15px!important;font-size:13px}
.catx-summary{display:flex;align-items:center;gap:9px;margin:14px 0 0 68px;color:#71809b;font-size:11px}
.catx-summary b{color:#dceafa}.catx-summary-dot{width:4px;height:4px;border-radius:50%;background:#46556f}

.catx-list{display:grid;gap:10px;margin-bottom:22px}
.catx-topic{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,340px);
  align-items:center;gap:22px;min-width:0;padding:17px 18px;
  border:1px solid rgba(255,255,255,.065);border-radius:11px;
  background:linear-gradient(180deg,rgba(18,27,43,.66),rgba(11,18,30,.62));
  box-shadow:0 9px 28px rgba(0,0,0,.10);overflow:visible;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.catx-topic:hover{
  transform:translateY(-1px);border-color:rgba(83,194,240,.19);
  background:linear-gradient(180deg,rgba(20,31,49,.78),rgba(12,20,33,.72));
  box-shadow:0 13px 34px rgba(0,0,0,.15);
}
.catx-topic.is-pinned{background:linear-gradient(180deg,rgba(52,211,153,.045),rgba(12,20,33,.70));border-color:rgba(52,211,153,.12)}
.catx-topic.is-locked{opacity:.9}
.catx-topic-main{display:flex;align-items:center;gap:14px;min-width:0}
.catx-avatar{
  width:44px;height:44px;flex:0 0 44px;border-radius:50%;overflow:hidden;
  background:#101827;border:1px solid rgba(125,211,252,.18);box-shadow:0 0 0 3px rgba(14,165,233,.035)
}
.catx-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.catx-topic-copy{min-width:0}
.catx-flags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 5px}
.catx-flag{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:8.5px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.catx-pin{color:#86efc4;background:rgba(52,211,153,.08);border:1px solid rgba(52,211,153,.16)}
.catx-lock{color:#ffd98a;background:rgba(255,209,102,.07);border:1px solid rgba(255,209,102,.14)}
.catx-topic-title{margin:0;min-width:0;font-size:15px;line-height:1.35;font-weight:780;letter-spacing:-.01em}
.catx-topic-title a{display:block;color:#edf5ff;overflow-wrap:anywhere}
.catx-topic-title a:hover{color:#86dcff}
.catx-topic-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px;color:#71819c;font-size:10.5px;line-height:1.45}
.catx-topic-meta a{color:#9bc9e6;font-weight:700}.catx-topic-meta a:hover{color:#fff}.catx-topic-meta b{color:#aebed4;font-weight:750}.catx-meta-dot{color:#3e4c63}

.catx-topic-side{display:grid;grid-template-columns:minmax(0,1fr) 32px auto;align-items:center;gap:10px;min-width:0}
.catx-last{display:flex;align-items:center;gap:10px;min-width:0}
.catx-last>img{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;background:#101827;border:1px solid rgba(255,255,255,.07)}
.catx-last-copy{min-width:0;line-height:1.25}.catx-last-copy small{display:block;margin-bottom:2px;color:#5e6f89;font-size:7.5px;font-weight:850;letter-spacing:.09em}
.catx-last-copy div{min-width:0}.catx-last-copy a{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7e8f8;font-size:10.5px;font-weight:750}
.catx-last-copy a:hover{color:#7dd3fc}.catx-last-copy span{display:block;margin-top:2px;color:#6f7f99;font-size:9.5px;white-space:nowrap}
.catx-open{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:#687995;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);font-size:16px}
.catx-topic:hover .catx-open{color:#bcecff;border-color:rgba(14,165,233,.18);background:rgba(14,165,233,.06)}
.catx-menu{position:relative}.catx-menu summary{list-style:none;width:30px;height:30px;display:grid;place-items:center;cursor:pointer;color:#677893;border-radius:7px}
.catx-menu summary::-webkit-details-marker{display:none}.catx-menu summary:hover{color:#fff;background:rgba(255,255,255,.045)}
.catx-menu-pop{position:absolute;right:0;top:36px;z-index:20;min-width:120px;padding:6px;border-radius:9px;background:#0b1321;border:1px solid rgba(255,255,255,.09);box-shadow:0 18px 45px rgba(0,0,0,.38)}
.catx-menu-pop a{display:block;padding:8px 9px;border-radius:6px;color:#dce9f7;font-size:11px}.catx-menu-pop a:hover{background:rgba(255,255,255,.05)}.catx-menu-pop a.danger{color:#ff9d9d}
.catx-empty{text-align:center;padding:44px 20px;border:1px dashed rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.015)}
.catx-empty-icon{font-size:28px;margin-bottom:8px}.catx-empty h3{margin:0 0 7px;font-size:17px}.catx-empty p{margin:0 0 16px;color:#8292ad;font-size:12px}

@media(max-width:980px){
  .catx-topic{grid-template-columns:1fr;gap:12px;padding:16px}
  .catx-topic-side{grid-template-columns:minmax(0,1fr) 32px auto;margin-left:58px;padding-top:10px;border-top:1px solid rgba(255,255,255,.045)}
}
@media(max-width:680px){
  .catx-head{padding-bottom:15px;margin-bottom:16px}
  .catx-head-row{align-items:flex-start;flex-direction:column;gap:14px}
  .catx-title-wrap{align-items:flex-start;gap:12px}
  .catx-category-icon{width:43px;height:43px;flex-basis:43px;font-size:20px;border-radius:9px}
  .catx-title-copy h1{font-size:27px}.catx-title-copy p{font-size:11.5px;margin-top:6px}
  .catx-new{width:100%;justify-content:center}
  .catx-summary{margin-left:55px;font-size:10px;flex-wrap:wrap}
  .catx-topic{padding:14px 13px;gap:11px;border-radius:10px}
  .catx-topic-main{align-items:flex-start;gap:11px}
  .catx-avatar{width:39px;height:39px;flex-basis:39px}
  .catx-topic-title{font-size:14px}.catx-topic-meta{font-size:9.5px;gap:5px}
  .catx-topic-side{margin-left:50px;grid-template-columns:minmax(0,1fr) 30px auto;gap:7px}
  .catx-last>img{width:30px;height:30px;flex-basis:30px}.catx-last-copy a{font-size:10px}.catx-last-copy span{font-size:8.8px}
}
@media(max-width:430px){
  .catx-breadcrumb{margin-bottom:14px}
  .catx-summary{margin-left:0}
  .catx-topic-side{margin-left:0}
  .catx-last>img{display:none}
  .catx-topic-meta .catx-meta-dot:nth-of-type(2){display:none}
}

/* ===== Bilard.online — breadcrumb sync category/thread ===== */
.catx-breadcrumb,
.thread-v6-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:18px;
  margin:0 0 18px;
  padding:0;
  font-size:12px;
  line-height:1.4;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
}
.catx-breadcrumb a,
.thread-v6-breadcrumb a{
  color:#8ea0bd;
  flex:0 0 auto;
}
.catx-breadcrumb a:hover,
.thread-v6-breadcrumb a:hover{color:var(--accent-2)}
.catx-breadcrumb span,
.thread-v6-breadcrumb span{
  color:#45526a;
  flex:0 0 auto;
}
.catx-breadcrumb strong,
.thread-v6-breadcrumb strong{
  color:#c9d7ea;
  font-weight:700;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:560px){
  .catx-breadcrumb,
  .thread-v6-breadcrumb{
    min-height:17px;
    margin-bottom:14px;
    font-size:11px;
    gap:7px;
  }
}

/* ===== Bilard.online — category width sync with thread-v6 ===== */
.catx-head,
.catx-list{
  width:min(1320px,calc(100% - 28px));
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:560px){
  .catx-head,
  .catx-list{
    width:min(100%,calc(100% - 16px));
  }
}
