:root {
  --bg: #0a1736;
  --bg-2: #0e1d45;
  --card: #122452;
  --card-2: #172c60;
  --line: #24407a;
  --text: #e6ebf5;
  --muted: #9aa6bc;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --type-title: 15px;
  --type-topic: 13px;
  --type-stat: 12px;
  --type-meta: 13px;
  --accent: #f5b301;
  --accent-2: #ffcf4d;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 10% -10%, #1a3470 0%, transparent 60%), var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 100vh;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 800; color: var(--text); letter-spacing: -.02em; font-synthesis: none; }
h1 { font-size: 24px; line-height: 1.25; }
h2 { font-size: var(--type-title); line-height: 1.3; }
h3 { font-size: var(--type-title); line-height: 1.35; }
.table { font-size: var(--type-meta); font-weight: 500; }
.table th { font-size: var(--type-stat); font-weight: 800; color: var(--muted); text-transform: none; letter-spacing: 0; }
.table td { color: var(--text); }
.table td b, .table td strong { font-weight: 800; color: var(--text); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
.container { width: min(1240px, 94vw); margin: 0 auto; }
svg.ico { display: block; flex: none; overflow: visible; vector-effect: non-scaling-stroke; }
.muted { color: var(--muted); }
.small-text { font-size: 13px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 20, 50, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 10px; height: 64px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff8a00); color: #111; font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 179, 1, .35);
}
.brand-text span { color: var(--accent); }
.brand.small { font-size: 17px; margin-bottom: 6px; }
.brand.has-logo { flex: none; height: auto; }
.brand-logo { display: block; height: 42px; width: auto; max-width: 160px; object-fit: contain; }
.brand.small.has-logo { height: 40px; }
.logo-setting { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.brand-admin { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.brand-admin-preview { padding: 8px 14px; border-radius: 14px; background: #0b1228; border: 1px solid rgba(255,255,255,.08); }
.logo-preview { display: grid; place-items: center; min-width: 220px; height: 70px; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 10px; background: rgba(8, 20, 50, .9); }
.logo-preview img { max-height: 100%; max-width: 260px; object-fit: contain; }
.mainnav { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; min-width: 0; }
.mainnav a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; padding: 7px 8px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 13px; }
.nav-crown { height: 20px; width: auto; display: block; flex: none; background: transparent; object-fit: contain; pointer-events: none; }
.mainnav a:hover, .mainnav a.active { background: var(--card); color: var(--text); }
.search { flex: 1; max-width: 360px; margin-left: auto; }
.search input {
  width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); outline: none;
}
.search input:focus { border-color: var(--accent); }
.userbox { display: flex; align-items: center; gap: 10px; }
.nav-logout { display: none; }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  transition: .15s ease;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff9d00); color: #111; border: 0; }
.btn-primary:hover { filter: brightness(1.08); color: #111; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-promo-sync { border-color: var(--accent-2); color: var(--accent-2); font-weight: 600; }
.btn-promo-sync:hover:not(:disabled) { background: rgba(56, 189, 248, 0.12); }
.btn-promo-sync:disabled { opacity: 0.65; }

/* Ticker */
.ticker { background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 40px; }
.ticker-label {
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .55; } }
.ticker-viewport { flex: 1; overflow: hidden; min-width: 0; }
.ticker[hidden] { display: none; }
.ticker-track { display: flex; width: max-content; gap: 36px; white-space: nowrap; animation: ticker-loop 45s linear infinite; font-size: 13px; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-track b { color: var(--accent-2); }
.ticker-track a { color: var(--text); }
.ticker-track a:hover { color: var(--accent-2); }
@keyframes ticker-loop { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 18px)); } }
@keyframes scroll { from { transform: translateX(30%); } to { transform: translateX(-100%); } }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 26px 0 50px; }
.view { min-width: 0; }
.layout.wide { grid-template-columns: 1fr; }
.layout.wide .sidebar { display: none; }
.layout.wide.tv-layout.container { width: min(1680px, 99vw); }
.layout.wide.admin-layout.container { width: min(1680px, 99vw); }

/* Hero */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 34px;
  background: linear-gradient(120deg, #1d2a47 0%, #141c2b 55%), var(--card);
  border: 1px solid var(--line); margin-bottom: 22px; box-shadow: var(--shadow);
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, .25), transparent 70%);
}
.hero h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.5px; }
.hero p { margin: 0 0 18px; color: var(--muted); max-width: 560px; }
.hero-stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 22px; color: var(--accent-2); }
.hero-stats div span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }

.hero-ad { padding: 0; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(135deg, rgba(18, 36, 82, .98) 0%, rgba(10, 23, 54, .98) 48%, rgba(14, 29, 69, .98) 100%); box-shadow: 0 18px 48px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hero-ad::after { display: none; }
.hero-ad-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(245, 179, 1, .14), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, .08), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.hero-ad-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  gap: 28px 36px; align-items: center; padding: 28px 32px 26px;
}
.hero-ad-main { min-width: 0; }
.hero-ad-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 18px; border-radius: 16px; text-align: center;
  background: linear-gradient(160deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .25);
}
.hero-ad-logo { display: grid; place-items: center; width: 100%; min-height: 72px; padding: 8px; }
.hero-ad-logo-img { display: block; max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45)); }
.hero-ad-logo-fallback { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.hero-ad-logo-fallback .brand-text span { color: var(--accent); }
.hero-ad-brand-tag { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ad-page { display: flex; flex-direction: column; gap: 0; }
.ad-page .breadcrumb { margin-bottom: 12px; }
.hero-ad-badge {
  display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px;
  background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .35); color: var(--accent-2);
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.hero-ad h1 { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.2; }
.hero-ad p { margin: 0; max-width: 520px; font-size: var(--type-meta); font-weight: 500; line-height: 1.55; color: var(--muted); }
.hero-ad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.hero-ad-note { opacity: .85; }
.hero-ad-stats {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none;
}
.hero-ad-stats .hero-stat {
  flex: 1 1 120px; max-width: 200px; padding: 14px 16px; border-radius: 12px; text-align: left;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hero-ad-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-ad-stats span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) {
  .hero-ad-inner { grid-template-columns: 1fr; padding: 22px 18px 20px; }
  .hero-ad-brand { order: -1; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 14px 16px; }
  .hero-ad-logo { min-height: 0; width: auto; flex: none; }
  .hero-ad-logo-img { max-height: 48px; }
  .hero-ad-brand-tag { text-align: left; max-width: 120px; line-height: 1.35; }
}
@media (max-width: 640px) {
  .hero-ad-stats .hero-stat { flex: 1 1 calc(50% - 8px); max-width: none; }
}
.ad-page .form-card { scroll-margin-top: 88px; }

/* Cards / sections */
.section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; overflow: hidden; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--card-2); border-bottom: 1px solid var(--line);
}
.section-head h2 { margin: 0; font-size: var(--type-title); font-weight: 800; letter-spacing: -.015em; color: var(--text); }
.section-head h2::before { content: ""; display: inline-block; width: 4px; height: 14px; background: var(--accent); border-radius: 2px; margin-right: 10px; vertical-align: -1px; }

.forum-row, .thread-row {
  display: grid; grid-template-columns: 52px 1fr 110px 220px; gap: 14px; align-items: center;
  padding: 11px 20px; border-bottom: 1px solid var(--line); transition: background .15s;
}
.forum-row:last-child, .thread-row:last-child { border-bottom: 0; }
.forum-row:hover, .thread-row:hover { background: rgba(255, 255, 255, .02); }
.forum-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.forum-title { font-weight: 700; font-size: var(--type-topic); color: var(--text); letter-spacing: -.01em; line-height: 1.35; }
.forum-desc { color: var(--muted); font-size: var(--type-meta); font-weight: 500; margin-top: 3px; }
.forum-counts { text-align: center; font-size: var(--type-stat); color: var(--muted); font-weight: 500; line-height: 1.45; }
.forum-counts b { display: block; color: var(--text); font-size: var(--type-stat); font-weight: 800; }
.forum-counts span { color: var(--muted); font-weight: 500; }
.last-post { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: var(--type-stat); font-weight: 500; color: var(--muted); }
.last-post .lp-text { min-width: 0; }
.last-post .lp-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; font-size: var(--type-topic); color: var(--text); display: block; letter-spacing: -.01em; }

/* Forum groups (home) */
.latest { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; overflow: hidden; }
.latest-head { display: flex; align-items: stretch; justify-content: space-between; background: #111; border-bottom: 3px solid #ff8a00; }
.latest-tabs { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.latest-tab {
  border: 0; cursor: pointer; font: inherit;
  display: grid; place-items: center; padding: 0 18px; min-height: 46px;
  background: #1c1c1c; color: #b8c4d6; font-size: 14px; font-weight: 800; letter-spacing: .2px;
  border-right: 1px solid rgba(255, 255, 255, .06); transition: background .15s, color .15s;
}
.latest-tab:hover { color: #fff; background: #252525; }
.latest-tab.on { background: linear-gradient(135deg, #ffa31a, #ff7a00); color: #fff; }
.lt-empty { list-style: none; padding: 18px 14px; text-align: center; color: var(--muted); font-size: 13px; }
.lt-empty a { color: var(--accent-2); font-weight: 700; }
.latest-tools { display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.lt-btn { width: 32px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--card-2); color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lt-btn .ico { width: 16px; height: 16px; opacity: .92; }
.lt-btn:hover { border-color: #ff8a00; color: #ffb340; }
.lt-btn:hover .ico { opacity: 1; }
.lt-btn.spin { animation: ltspin .6s linear; }
@keyframes ltspin { to { transform: rotate(360deg); } }
.latest.collapsed .latest-body { display: none; }
.latest-body { padding: 8px; }
.lt-notice { display: block; margin-bottom: 4px; padding: 9px 16px; border-radius: 4px; background: linear-gradient(90deg, #2a0008, #8f0d22 50%, #2a0008); border: 1px solid #ff2b3a; color: #fff; font-size: 13.5px; font-weight: 700; text-align: center; box-shadow: 0 0 10px rgba(255, 43, 58, .55), inset 0 0 14px rgba(255, 70, 90, .28); text-shadow: 0 0 6px rgba(255, 255, 255, .45); }
a.lt-notice:hover { background: linear-gradient(90deg, #4a0010, #c41430 50%, #4a0010); color: #fff; box-shadow: 0 0 16px rgba(255, 43, 58, .85), inset 0 0 16px rgba(255, 90, 110, .4); }
/* lt-list-v5 */
.lt-colhead, .lt-row {
  display: grid;
  grid-template-columns: 22px 26px minmax(0, 1fr) 64px 94px;
  grid-template-areas: "num status main time user";
  gap: 0 8px; align-items: center;
  padding: 0 12px;
}
.lt-colhead {
  min-height: 28px; margin-top: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
}
.lt-colhead .lt-col.num { grid-area: num; text-align: center; }
.lt-colhead .lt-col.st { grid-area: status; }
.lt-colhead .lt-col.main { grid-area: main; display: flex; align-items: center; gap: 12px; min-width: 0; }
.lt-colhead .lt-col-tag { flex: 0 0 auto; max-width: 42%; }
.lt-colhead .lt-col-title { flex: 1 1 auto; min-width: 0; }
.lt-colhead .lt-col.time { grid-area: time; text-align: right; }
.lt-colhead .lt-col.user { grid-area: user; text-align: right; }
.lt-main {
  grid-area: main; display: flex; align-items: center; gap: 10px;
  min-width: 0; justify-content: flex-start;
}
.lt-list { list-style: none; margin: 0; padding: 0; }
.lt-row {
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 12px;
}
.lt-row.alt { background: rgba(255, 255, 255, .018); }
.lt-row.new { background: rgba(255, 138, 0, .06); box-shadow: inset 3px 0 0 #ff8a00; }
.lt-row:hover { background: rgba(255, 138, 0, .1); }
.lt-num { grid-area: num; color: var(--muted); font-size: 10px; font-weight: 600; text-align: center; justify-self: center; opacity: .75; }
.lt-num.top { display: grid; place-items: center; height: 16px; min-width: 16px; border-radius: 3px; background: linear-gradient(135deg, #ffa31a, #ff7a00); color: #fff; font-weight: 800; font-size: 9px; opacity: 1; }
.lt-status {
  grid-area: status; display: inline-flex; align-items: center; justify-content: center; gap: 1px;
  width: 26px; min-width: 26px;
}
.lt-status-ph { display: block; width: 6px; height: 1px; opacity: 0; }
.lt-status .tag.pin-ico, .lt-status .tag.lock-ico { margin: 0; padding: 0; background: transparent; border: 0; font-size: 11px; line-height: 1; }
.lt-meta {
  flex: 0 0 auto; max-width: min(240px, 44vw);
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 5px;
  overflow: hidden;
}
.lt-tags-wrap { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 5px; min-width: 0; overflow: hidden; }
.lt-meta .tag { margin: 0; flex: 0 0 auto; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: .2px; vertical-align: middle; text-transform: uppercase; line-height: 1.2; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-meta .tag.lt-more { max-width: none; background: rgba(255, 255, 255, .08); color: var(--muted); border: 1px solid rgba(255, 255, 255, .12); font-size: 9.5px; padding: 3px 6px; font-weight: 800; }
.lt-prefix { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; max-width: 132px; padding: 3px 8px 3px 5px; border-radius: 5px; background: var(--pc); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); line-height: 1.2; }
.lt-prefix .ico { width: 13px; height: 13px; padding: 2px; border-radius: 3px; background: rgba(0, 0, 0, .25); box-sizing: content-box; flex: none; }
.lt-prefix .lt-plogo { width: 20px; height: 20px; object-fit: contain; flex: none; border-radius: 3px; background: rgba(0, 0, 0, .28); padding: 2px; box-sizing: border-box; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.lt-prefix-thread { vertical-align: middle; margin: 0 8px 4px 0; }
.lt-title {
  flex: 1 1 auto; min-width: 0; color: var(--text); font-size: var(--type-topic); font-weight: 700; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none;
  font-synthesis: none; letter-spacing: -.01em;
}
.lt-title.lt-caps { font-size: 11.5px; letter-spacing: .01em; font-weight: 600; color: #dce3ef; }
.lt-title:hover { color: var(--accent-2); }
.lt-time { grid-area: time; color: var(--muted); font-size: 10px; text-align: right; white-space: nowrap; justify-self: end; opacity: .85; }
.lt-user {
  grid-area: user; font-size: 10.5px; font-weight: 600; text-align: right; justify-self: end;
  min-width: 0; max-width: 94px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9aa8bc;
}
@media (max-width: 900px) {
  .lt-colhead, .lt-row { grid-template-columns: 20px 24px minmax(0, 1fr) 58px 82px; gap: 0 6px; padding: 0 8px; }
  .lt-meta { max-width: min(200px, 48vw); }
  .lt-meta .tag { font-size: 10px; padding: 3px 7px; }
  .lt-prefix { font-size: 11px; max-width: 110px; }
  .lt-title { font-size: 12px; }
  .lt-title.lt-caps { font-size: 10.5px; }
  .lt-colhead { display: none; }
}
/* tag-mobil */
@media (max-width: 720px) {
  .lt-colhead { display: none; }
  .lt-row {
    grid-template-columns: 20px 24px minmax(0, 1fr) 58px;
    grid-template-areas: "num status main time";
    row-gap: 3px; padding: 6px 8px;
  }
  .lt-user { display: none; }
  .lt-main { flex-wrap: wrap; gap: 4px 8px; align-items: flex-start; }
  .lt-meta { max-width: 100%; }
  .lt-title { flex: 1 1 100%; font-size: 12px; font-weight: 600; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .lt-title.lt-caps { font-size: 11px; }
  .lt-notice { text-align: center; padding: 8px 12px; }
}
/* tag-mobil-son */
.fgroup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.fgroup-head { position: relative; display: flex; align-items: center; background: #111; border-radius: var(--radius) var(--radius) 0 0; min-height: 46px; }
.fgroup-ico { position: relative; display: grid; place-items: center; width: 52px; align-self: stretch; background: linear-gradient(145deg, #ffb020, #ff7a00); font-size: 22px; border-top-left-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.fgroup-ico::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-bottom: 0; border-top-color: #ff7a00; }
.fgroup-head h2 { flex: 1; margin: 0; padding: 0 16px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.fgroup-toggle { align-self: stretch; width: 48px; border: 0; background: linear-gradient(145deg, #ffb020, #ff7a00); color: #fff; cursor: pointer; border-top-right-radius: var(--radius); line-height: 1; padding: 0; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.fgroup-toggle .ico-chevron { width: 22px; height: 22px; stroke-width: 2.5; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); transition: transform .22s ease; }
.fgroup-toggle:hover { filter: brightness(1.08); }
.fgroup.collapsed .fgroup-toggle { border-bottom-right-radius: var(--radius); border-radius: 0 var(--radius) var(--radius) 0; }
.fgroup.collapsed .fgroup-toggle .ico-chevron { transform: rotate(180deg); }
.fgroup.collapsed .fgroup-body { display: none; }
.fgroup.collapsed .fgroup-head { border-radius: var(--radius); }
.fgroup.collapsed .fgroup-ico { border-bottom-left-radius: var(--radius); }
.fgroup.collapsed .fgroup-ico::after { display: none; }
.fgroup-body { padding: 4px 0; }

.fcat { display: grid; grid-template-columns: 44px 1fr 22px 290px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); transition: background .15s; }
.fcat.has-link { grid-template-columns: 44px 1fr auto 22px 290px; }
.fcat:last-child { border-bottom: 0; }
.fcat:hover { background: rgba(255, 255, 255, .02); }
.fcat-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #111; border: 2px solid #ff8a00; font-size: 20px; overflow: hidden; flex: none; }
.fcat-icon img { width: 100%; height: 100%; object-fit: contain; }
.fcat-icon.sm { width: 34px; height: 34px; font-size: 16px; }
.fcat-icon { background: radial-gradient(circle at 30% 25%, #262b36, #0e1117 70%); border: 1.5px solid rgba(255, 138, 0, .75); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .35); color: #ff9500; transition: .15s; }
.fcat:hover .fcat-icon { border-color: #ffa31a; color: #ffb340; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .35), 0 0 12px rgba(255, 138, 0, .35); }
.fcat-icon .ico { width: 21px; height: 21px; stroke-width: 2.25; color: #ffb340; }
.fcat-icon:has(img) { border: 0; border-radius: 6px; background: none; box-shadow: none; overflow: visible; }
.fcat-icon:has(img) img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.fcat-icon:has(.flag) { border: 0; background: none; padding: 2px; box-shadow: none; }
.fcat:hover .fcat-icon:has(.flag), .fcat:hover .fcat-icon:has(img) { box-shadow: none; transform: scale(1.06); }
.fcat-icon .flag { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .08); }
.lt-prefix .flag { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.fcat-icon.sm .ico { width: 17px; height: 17px; }
.fgroup-ico .ico { width: 26px; height: 26px; color: #fff; stroke-width: 2.35; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.page-head h1.cat-title { display: flex; align-items: center; gap: 12px; }
.fcat-title { display: inline-flex; align-items: center; gap: 8px; font-size: var(--type-title); font-weight: 800; color: var(--text); letter-spacing: -.015em; }
.fcat.fresh .fcat-title { color: var(--text); }
.fcat-title:hover { color: var(--accent-2); }
.fcat-check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #4b5567; color: #fff; flex: none; margin-left: 2px; }
.fcat-check .ico { width: 11px; height: 11px; stroke-width: 3; }
.fcat.fresh .fcat-check { background: #ff9500; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.fcat-stats { font-size: var(--type-stat); font-weight: 800; color: var(--text); margin-top: 3px; line-height: 1.45; }
.fcat-stats span { font-weight: 500; color: var(--muted); }
.fcat-subs { display: flex; flex-wrap: wrap; gap: 6px 40px; margin-top: 8px; padding-left: 12px; }
.fcat-subs a { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.fcat-subs a::before { content: ""; position: absolute; left: -12px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.fcat-subs .fcat-check { width: 15px; height: 15px; background: #ff9500; }
.fcat-subs .fcat-check .ico { width: 9px; height: 9px; }
.fcat-go { display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border-radius: 6px; background: linear-gradient(180deg, #ffb03a, #ff8a00); border: 1px solid rgba(0, 0, 0, .45); box-shadow: none; color: #fff; font-weight: 700; font-size: 9px; letter-spacing: .2px; white-space: nowrap; text-shadow: 0 1px 0 rgba(0, 0, 0, .2); transition: filter .15s; line-height: 1.15; max-height: 22px; }
.fcat-go:hover { filter: brightness(1.05); }
.fcat-rss { font-size: 13px; opacity: .45; filter: sepia(1) saturate(4) hue-rotate(-10deg); }
.fcat-last { display: flex; gap: 8px; align-items: center; min-width: 0; font-size: 12px; }
.fcat-last .avatar { width: 28px; height: 28px; border-radius: 6px; font-size: 12px; flex: none; }
.fcat-last-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fcat-last-text > a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; font-size: var(--type-topic); color: var(--text); letter-spacing: -.01em; }
.prefix { display: inline-block; padding: 1px 7px; margin-right: 5px; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 800; line-height: 17px; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); vertical-align: 1px; }
@media (max-width: 1024px) {
  .fcat, .fcat.has-link { grid-template-columns: 44px 1fr auto; }
  .fcat-rss { display: none; }
  .fcat-last { grid-column: 2 / -1; }
}

.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 14px; color: #fff;
}
.avatar.has-img { background: var(--bg-2); overflow: hidden; }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-picker { display: flex; align-items: center; gap: 16px; }
.ap-current { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; border: 2px solid var(--accent); background: #111; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.ap-current img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-actions label { cursor: pointer; }

.modal-backdrop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); animation: fadeIn .15s; }
@keyframes fadeIn { from { opacity: 0; } }
.av-modal { width: min(520px, 100%); background: #141414; border: 1px solid #262626; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.av-modal-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; border-bottom: 1px solid #262626; }
.av-modal-head b { display: block; font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.av-modal-head small { color: #8b97ad; font-size: 12px; }
.av-modal-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(245, 179, 1, .12); border: 1px solid rgba(245, 179, 1, .35); font-size: 18px; }
.av-close { margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #2c2c2c; background: #1c1c1c; color: #cfd6e4; font-size: 16px; cursor: pointer; }
.av-close:hover { background: #262626; }
.av-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 24px 16px; }
.av-tile { position: relative; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid #262626; background: #1c1c1c; cursor: pointer; transition: transform .15s, border-color .15s; }
.av-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-tile:hover { transform: translateY(-2px); border-color: #555; }
.av-tile.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(245, 179, 1, .35); }
.av-tile.selected::after { content: "✓"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #111; font-weight: 900; font-size: 15px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.av-cancel { display: block; width: calc(100% - 32px); margin: 0 16px 16px; padding: 16px; border-radius: 12px; border: 1px solid #262626; background: #1a1a1a; color: #cfd6e4; font: 800 14px Inter, sans-serif; letter-spacing: 1px; cursor: pointer; }
.av-cancel:hover { background: #222; }
@media (max-width: 480px) { .av-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.avatar.lg { width: 84px; height: 84px; font-size: 32px; }
.avatar.md { width: 56px; height: 56px; font-size: 22px; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .4px; margin-right: 6px; vertical-align: 2px;
}
.tag.pin { background: rgba(245, 179, 1, .15); color: var(--accent-2); }
.tag.pin.pin-ico, .tag.lock.lock-ico { text-transform: none; letter-spacing: 0; padding: 1px 6px; font-size: 13px; line-height: 1.2; }
.lt-meta .tag.pin.pin-ico, .lt-meta .tag.lock.lock-ico { padding: 0 4px; font-size: 12px; margin: 0; vertical-align: middle; }
.tag.hot { background: rgba(239, 68, 68, .15); color: #ff7b7b; }
.tag.lock { background: rgba(139, 151, 173, .15); color: var(--muted); }
.tag.poll { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
.tag.analiz { background: rgba(59, 130, 246, .15); color: #7fb0ff; }
.tag.won { background: rgba(34, 197, 94, .15); color: #5ee08e; }

.role { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; }
.role.admin { background: rgba(239, 68, 68, .18); color: #ff8a8a; }
.role.mod { background: rgba(34, 197, 94, .18); color: #6ee79b; }
.role.vip { background: rgba(245, 179, 1, .18); color: var(--accent-2); }
.role.bot { background: rgba(20, 184, 166, .18); color: #5eead4; }
.role.sponsor { background: linear-gradient(135deg, #ffc629, #ff8a00); color: #1a1200; }
.role.uye { background: rgba(139, 151, 173, .18); color: var(--muted); }

.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-2); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.25; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--type-meta); font-weight: 500; }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip.active, .chip:hover { border-color: var(--accent); color: var(--text); }

/* Thread / posts */
.post { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post-author { padding: 22px 16px; text-align: center; background: var(--card-2); border-right: 1px solid var(--line); }
.post-author .avatar { margin: 0 auto 10px; }
.post-author .name { font-weight: 800; display: block; margin-bottom: 6px; }
.post-author .meta { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.post-body { padding: 18px 22px; display: flex; flex-direction: column; min-width: 0; }
.post-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.post-content { flex: 1; word-wrap: break-word; }
.post-content p { margin: 0 0 12px; }
.post-content blockquote.post-quote { margin: 0 0 14px; padding: 10px 12px 10px 14px; border-left: 3px solid var(--accent); background: rgba(10, 23, 54, .65); border-radius: 0 10px 10px 0; color: var(--text); }
.post-content blockquote.post-quote .bq-author { font-size: 12px; font-weight: 800; color: var(--accent-2); margin-bottom: 6px; letter-spacing: .02em; }
.post-content blockquote.post-quote .bq-text { font-size: 13px; line-height: 1.5; color: var(--muted); white-space: normal; word-break: break-word; }
.post-content blockquote.post-quote blockquote { display: none; }
.post-content blockquote:not(.post-quote) { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--line); background: var(--bg-2); border-radius: 0 8px 8px 0; color: var(--muted); }
.post-actions { display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end; }
.like-btn.liked { border-color: var(--red); color: #ff8a8a; }
.signature { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-style: italic; }

.prediction {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
}
.prediction div span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.prediction div b { font-size: 15px; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-card.narrow { max-width: 460px; margin: 20px auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* Rich text editor */
.rte { border: 1px solid var(--line); border-top: 3px solid #ff8a00; border-radius: 4px; background: var(--bg-2); }
.rte-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1px; padding: 4px 6px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.rte-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 1px; height: 28px; min-width: 28px; padding: 0 6px; border: 0; border-radius: 4px; background: none; color: #aab6cc; cursor: pointer; font-size: 14px; font-family: inherit; }
.rte-bar button:hover, .rte-bar button.active { background: rgba(255, 138, 0, .15); color: #ffb340; }
.rte-bar .ico { width: 16px; height: 16px; }
.rte-bar .caret .ico { width: 10px; height: 10px; }
.rte-bar .sep { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }
.rte-bar .grow { flex: 1; }
.rte-dd { position: relative; }
.rte-pop { display: none; position: absolute; top: 100%; left: 0; z-index: 40; margin-top: 4px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.rte-dd.open .rte-pop { display: grid; }
.rte-pop.colors { grid-template-columns: repeat(6, 22px); gap: 5px; }
.rte-pop.colors button { width: 22px; height: 22px; min-width: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .25); }
.rte-pop.colors button:hover { transform: scale(1.15); background: inherit; }
.rte-pop.emojis { grid-template-columns: repeat(8, 32px); gap: 2px; }
.rte-pop.emojis button { font-size: 18px; padding: 0; }
.rte-pop.list { min-width: 150px; gap: 2px; }
.rte-pop.list button { justify-content: flex-start; gap: 8px; width: 100%; height: auto; padding: 6px 10px; white-space: nowrap; }
.rte textarea { display: block; width: 100%; min-height: 220px; margin: 0; padding: 12px 14px; border: 0; border-radius: 0; background: transparent; color: var(--text); font: inherit; resize: vertical; box-shadow: none; }
.rte textarea:focus { outline: none; }
.rte-preview { min-height: 220px; padding: 12px 14px; }
.rte [hidden] { display: none !important; }

/* Post content formatting */
.post-img { display: block; max-width: 100%; margin: 8px 0; border-radius: 6px; }
/* muzik-onizle */
.post-content .media-embed { margin: 10px 0 14px; max-width: min(100%, 560px); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0a0f18; }
.post-content .media-embed-stage { position: relative; width: 100%; background: #000; }
.post-content .media-embed-yt .media-embed-stage { aspect-ratio: 16 / 9; min-height: 180px; }
.post-content .media-embed-stage iframe { width: 100%; height: 100%; border: 0; display: block; min-height: inherit; }
.post-content .media-embed-yt .media-embed-stage iframe { position: absolute; inset: 0; min-height: 0; }
.post-content .media-embed-stage-spotify { height: 152px; }
.post-content .media-embed-stage-sc { height: 166px; }
.post-content .media-embed-stage-apple { height: 175px; }
.post-content .media-foot { display: flex; justify-content: flex-end; padding: 6px 10px; background: rgba(0, 0, 0, .25); border-top: 1px solid var(--line); }
.post-content .media-open { font-size: 11px; font-weight: 700; color: var(--accent-2); }
.post-content .media-cap { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pc-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.pc-code { margin: 6px 0; padding: 10px 12px; border-radius: 6px; background: #081128; border: 1px solid var(--line); font: 13px/1.5 Consolas, monospace; white-space: pre-wrap; overflow-x: auto; }
.post-content ul { margin: 6px 0; padding-left: 22px; }
.bq-author { display: block; margin-bottom: 4px; color: var(--accent-2); font-size: 12px; }

/* New thread page */
.info-bar { display: flex; align-items: stretch; height: 40px; margin-bottom: 12px; border-radius: 6px; overflow: hidden; background: #0a1022; border: 1px solid var(--line); }
.ib-ico { display: grid; place-items: center; width: 46px; flex: none; background: linear-gradient(135deg, #ffa31a, #ff7a00); color: #111; border-radius: 0 50% 50% 0; }
.ib-ico .ico { width: 20px; height: 20px; }
.ib-track { flex: 1; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.ib-track span { display: inline-block; padding-left: 100%; font-size: 13px; font-weight: 700; animation: ibscroll 24s linear infinite; }
.ib-track b { margin-right: 8px; color: #ff9500; }
.info-bar:hover .ib-track span { animation-play-state: paused; }
@keyframes ibscroll { to { transform: translateX(-100%); } }
.crumbs { display: flex; align-items: stretch; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); font-size: 12.5px; overflow: hidden; }
.crumbs a { position: relative; display: flex; align-items: center; padding: 9px 14px 9px 22px; color: var(--muted); }
.crumbs a:first-child { padding-left: 14px; }
.crumbs a::after { content: ""; position: absolute; right: -8px; top: 50%; z-index: 1; width: 15px; height: 15px; background: var(--card); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs a:last-of-type { color: var(--text); font-weight: 600; }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs-map { display: grid; place-items: center; margin-left: auto; padding: 0 14px; color: var(--muted); }
.nt-h1 { margin: 0 0 12px; font-size: 22px; font-weight: 500; }
.nt-form { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: visible; }
.nt-top { padding: 16px; }
.nt-title-input { width: 100%; margin-bottom: 16px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); color: var(--text); font-size: 18px; font-family: inherit; }
.nt-title-input:focus { outline: none; border-color: #ff8a00; }
.nt-rows { border-top: 1px solid var(--line); }
.nt-row { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--line); }
.nt-row[hidden] { display: none; }
.nt-label { padding: 14px 16px; background: rgba(0, 0, 0, .14); color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; }
.nt-row > div { min-width: 0; padding: 12px 16px; }
.nt-row select { width: 100%; max-width: 420px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); color: var(--text); font: inherit; font-size: 14px; }
.nt-row select:focus { outline: none; border-color: #ff8a00; }
.nt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nt-actions .btn .ico, .nt-submit .btn .ico { width: 15px; height: 15px; }
.nt-file { cursor: pointer; }
.nt-hint { margin-top: 6px; color: var(--muted); font-size: 12px; }
.nt-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-tag input { display: none; }
.nt-tag span { display: inline-block; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); color: var(--tc, var(--text)); font-size: 12px; font-weight: 700; cursor: pointer; transition: .15s; }
.nt-tag input:checked + span { border-color: var(--tc, #ff8a00); background: color-mix(in srgb, var(--tc, #ff8a00) 18%, transparent); box-shadow: 0 0 0 1px var(--tc, #ff8a00); }
.nt-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.nt-check input { width: auto; accent-color: #ff8a00; }
.nt-attach { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-attach:not(:empty) { margin-top: 10px; }
.nt-thumb { position: relative; width: 74px; height: 74px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.nt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .75); color: #fff; font-size: 11px; cursor: pointer; }
.nt-submit { display: flex; justify-content: center; padding: 14px; background: rgba(0, 0, 0, .16); border-radius: 0 0 8px 8px; }
@media (max-width: 720px) {
  .nt-row { grid-template-columns: 1fr; }
  .nt-label { padding-bottom: 0; background: none; text-align: left; }
  .crumbs a:not(:first-child):not(:last-of-type) { display: none; }
}

/* Telegram admin bot */
.tg-admin { margin-top: 8px; padding: 4px 16px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(34, 158, 217, .06); }
.tg-admins { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-admins .chip { display: inline-flex; align-items: center; gap: 6px; }
.tg-admins button { border: 0; background: none; color: #ff8a8a; cursor: pointer; font-size: 12px; }
.tg-pair { margin: 4px 0 10px; padding: 10px 14px; border-radius: 8px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); font-size: 14px; }
.tg-pair code { padding: 2px 8px; border-radius: 5px; background: #0b1530; color: #4ade80; font-size: 15px; font-weight: 800; letter-spacing: 1px; }

/* Chat room */
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
.note-btn { position: relative; }
.note-btn .nav-badge { position: absolute; top: -6px; right: -6px; margin: 0; }
/* bildiri-yer */
.note-slot { position: relative; }
.note-pop { position: absolute; top: calc(100% + 8px); right: 0; width: min(320px, 82vw); max-height: 360px; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 50; padding: 6px; }
.note-item { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 10px; border-radius: 8px; cursor: pointer; }
.note-item b, .note-item small { display: block; }
.note-item small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.note-item.unread b { color: var(--accent-2); }
.note-empty { padding: 16px; text-align: center; color: var(--muted); }
/* bildiri-sil */
.note-tools { display: flex; gap: 6px; padding: 2px 2px 6px; }
.note-tool { flex: 1; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); border-radius: 8px; padding: 6px 8px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.note-row { display: flex; align-items: stretch; }
.note-row .note-item { flex: 1; min-width: 0; }
.note-x { flex: none; width: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; border-radius: 8px; }
.note-x:hover { color: #ff2b3a; }
/* bildiri-sil-son */
/* bildiri-mobil */
@media (max-width: 760px) {
  .note-slot { position: static; }
  .userbox { position: relative; }
  .note-pop { left: 0; right: 0; top: calc(100% + 8px); width: auto; max-height: min(420px, 62vh); z-index: 80; overflow: auto; }
  .note-tools { flex-direction: column; }
  .note-tool { width: 100%; white-space: normal; }
  .note-row { width: 100%; min-width: 0; }
  .note-item, .note-item b, .note-item small { white-space: normal; overflow-wrap: anywhere; }
  .note-x { align-self: flex-start; margin-top: 6px; }
}
/* bildiri-mobil-son */
/* ikon-sec */
.icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-opt { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; color: var(--text); cursor: pointer; padding: 0; }
.icon-opt .ico, .icon-opt .flag { width: 22px; height: 22px; }
.icon-opt.on, .icon-opt:hover { border-color: var(--accent); color: var(--accent); }
/* konu-tasi */
.move-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.move-bar label { font-weight: 800; }
.move-bar select { min-width: min(100%, 280px); max-width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
/* konu-icine */
.move-bar + .move-bar { margin-top: -6px; }
/* konu-tasi-son */
/* ikon-sec-son */
/* bildiri-yer-son */
.nav-badge[hidden] { display: none; }
.chat { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #111; border-bottom: 3px solid #ff8a00; }
.chat-head b { flex: 1; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.chat-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: rgba(34, 197, 94, .15); color: #4ade80; font-size: 11px; font-weight: 800; }
.chat-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
.chat-motd { display: flex; align-items: center; gap: 10px; padding: 9px 18px; background: rgba(245, 179, 1, .1); border-bottom: 1px solid var(--line); color: #ffe7a3; font-size: 13px; font-weight: 600; }
.chat-motd .ico { width: 18px; height: 18px; flex: none; color: var(--accent); }
.chat-pin { flex: none; padding: 10px 14px; background: linear-gradient(180deg, rgba(245, 179, 1, .16), rgba(245, 179, 1, .06)); border-bottom: 1px solid rgba(245, 179, 1, .35); }
.chat-pin-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.chat-pin-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffd86a; }
.chat-pin-un { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 6px; border-radius: 4px; }
.chat-pin-un:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.chat-pin-body { font-size: 13px; line-height: 1.45; }
.chat-pin-body time { margin-left: 8px; }
.chat-pin-text { margin-top: 4px; color: var(--text); word-break: break-word; }
.chat-list { height: min(62vh, 560px); overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; scroll-behavior: smooth; }
.chat-list .empty { margin: auto; }
.chat-day { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.chat-day::before, .chat-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chat-sys { align-self: center; margin: 4px 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 12px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; padding: 5px 6px; border-radius: 10px; }
.chat-msg:hover { background: rgba(255, 255, 255, .03); }
.chat-msg.hit { background: rgba(245, 179, 1, .1); box-shadow: inset 3px 0 0 var(--accent); }
.chat-av .avatar { width: 34px; height: 34px; }
.chat-bubble { flex: 1; min-width: 0; }
.chat-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.chat-meta .uname { font-weight: 800; }
.chat-meta .role { font-size: 10px; padding: 1px 6px; }
.chat-meta time { color: var(--muted); font-size: 11px; }
.chat-acts { display: inline-flex; gap: 2px; margin-left: auto; opacity: 0; transition: opacity .15s; }
.chat-msg:hover .chat-acts { opacity: 1; }
.chat-acts button { width: 26px; height: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--card-2); color: var(--muted); font-size: 12px; cursor: pointer; }
.chat-acts button:hover { color: var(--text); border-color: var(--accent); }
.chat-text { margin-top: 2px; font-size: 14px; line-height: 1.5; color: #dde4f2; overflow-wrap: anywhere; }
.chat-text a { color: var(--accent-2); text-decoration: underline; }
.chat-msg.mine .chat-text { color: #fff; }
.chat-mention { color: var(--accent-2); font-weight: 800; }
.mention-box { position: absolute; z-index: 30; left: 8px; right: 8px; bottom: calc(100% - 36px); background: var(--card); border: 1px solid var(--line); border-radius: 10px; max-height: 220px; overflow: auto; }
.mention-box button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 8px 12px; cursor: pointer; font-weight: 700; }
.mention-box button:hover { background: rgba(255,255,255,.06); }
.chat-closed { padding: 16px 18px; border-top: 1px solid var(--line); background: var(--card-2); color: var(--muted); font-size: 14px; text-align: center; }
.chat-closed a { color: var(--accent-2); font-weight: 700; }
.chat-form { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--card-2); }
.chat-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; outline: none; }
.chat-form input:focus { border-color: var(--accent); }
.chat-emoji .btn { padding: 8px 10px; font-size: 17px; }
.chat-emoji .rte-pop { top: auto; bottom: 100%; margin: 0 0 6px; }
.chat-left { width: 30px; text-align: right; }
/* chat-admin-menu */
.chat-ctx { position: fixed; z-index: 250; min-width: 196px; max-width: min(240px, calc(100vw - 20px)); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(0, 0, 0, .5); padding: 6px; }
.chat-ctx-head { padding: 8px 10px 10px; font-size: 12px; font-weight: 800; color: var(--accent-2); border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-ctx-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; font-weight: 600; padding: 10px 10px; border-radius: 9px; cursor: pointer; text-align: left; }
.chat-ctx-item span:first-child { width: 22px; text-align: center; flex: none; }
.chat-ctx-item:hover, .chat-ctx-item:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.chat-ctx-item.danger { color: #ff9a9a; }
@media (max-width: 760px) {
  .chat-list { height: 60vh; padding: 10px 8px; }
  .chat-acts { opacity: 1; }
  .chat-left { display: none; }
  .chat-form { padding: 10px; gap: 6px; }
  .chat-form .btn-primary { padding: 10px 12px; }
  .chat-emoji .rte-pop.emojis { grid-template-columns: repeat(6, 32px); }
  .chat-meta .role { display: none; }
  .chat-ctx-item { min-height: 44px; }
}

/* Sidebar */
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.widget h3 { margin: 0; padding: 13px 18px; font-size: var(--type-title); font-weight: 800; letter-spacing: -.015em; color: var(--text); background: var(--card-2); border-bottom: 1px solid var(--line); }
.widget h3.w-crowned { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.w-crowned .crown { height: 22px; width: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(59, 130, 246, .45)); }
.widget-body { padding: 14px 18px; }
.widget-list { list-style: none; margin: 0; padding: 0; }
.widget-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--type-stat); font-weight: 500; color: var(--muted); }
.widget-list li:last-child { border-bottom: 0; }
.widget-list .rank { width: 22px; font-weight: 800; color: var(--accent); }
.widget-list .grow { flex: 1; min-width: 0; }
.widget-list .grow a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; font-size: var(--type-title); color: var(--text); letter-spacing: -.015em; }
.widget-list .grow .muted { font-size: var(--type-stat); font-weight: 500; }
.online-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.online-dots a { font-size: 13px; font-weight: 600; }
.online-dots a::after { content: ","; color: var(--muted); }
.online-dots a:last-child::after { content: ""; }
/* Members / profile */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 18px; }
.member-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; transition: .15s; }
.member-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.member-card .avatar { margin: 0 auto 10px; }
.profile-cover { height: 140px; background: linear-gradient(120deg, #2a3b66, #f5b30133); }
.profile-head { display: flex; gap: 20px; align-items: flex-end; padding: 0 24px 20px; margin-top: -42px; flex-wrap: wrap; }
.profile-head .avatar { border: 4px solid var(--card); }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.profile-stats div { padding: 16px; text-align: center; border-right: 1px solid var(--line); }
.profile-stats div:last-child { border-right: 0; }
.profile-stats b { display: block; font-size: 20px; color: var(--accent-2); }
.profile-stats span { font-size: 12px; color: var(--muted); }

.rules ol { padding-left: 20px; margin: 0; }
.rules li { margin-bottom: 12px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 100%; padding: 16px; }
.mail-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; }
/* mail-pro */
.mail-side, .mail-pane { background: var(--card); border: 1px solid var(--line); border-radius: 14px; min-width: 0; overflow: hidden; }
.mail-side-head, .mail-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mail-count { margin-left: auto; background: var(--bg-2); color: var(--muted); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.mail-list { list-style: none; margin: 0; padding: 6px; max-height: min(70vh, 640px); overflow: auto; }
.mail-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 10px; border-radius: 10px; color: inherit; }
.mail-list a:hover, .mail-list .on a { background: var(--bg-2); }
.mail-list .avatar { width: 40px; height: 40px; grid-row: 1 / span 2; }
.mail-who { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.mail-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-who time { margin-left: auto; color: var(--muted); font-size: 11px; flex: none; }
.mail-preview { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-list .unread b { color: var(--accent-2); }
.mail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; }
.mail-person { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.mail-person .avatar { width: 40px; height: 40px; flex: none; }
.mail-person b, .mail-person small { display: block; }
.mail-person small { color: var(--muted); font-size: 12px; }
.mail-head select { margin-left: auto; max-width: 240px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.mail-pane { display: flex; flex-direction: column; min-height: 480px; }
.mail-thread { flex: 1; overflow: auto; max-height: min(58vh, 520px); padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.mail-day, .mail-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 8px; }
.mail-bubble { max-width: min(78%, 460px); padding: 10px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.mail-bubble.mine { margin-left: auto; background: #1d3a78; border-color: #2d5098; }
.mail-bubble .who { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.mail-bubble time { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.mail-compose { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); }
.mail-compose textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 120px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.mail-emoji { position: relative; flex: none; }
.mail-emoji .btn, .mail-emoji > button { padding: 8px 10px; font-size: 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.mail-emoji .rte-pop { top: auto; bottom: 100%; margin: 0 0 6px; }
@media (max-width: 760px) {
  .mail-pane { min-height: 0; }
  .mail-thread { max-height: 46vh; }
  .mail-head { flex-wrap: wrap; }
  .mail-head select { width: 100%; max-width: none; }
}
/* mail-pro-son */

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--card-2); border: 1px solid var(--accent); padding: 12px 20px; border-radius: 12px;
  box-shadow: var(--shadow); transition: .3s; z-index: 100; font-weight: 600;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 30px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.footer-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.footer-inner > p { grid-column: 1 / -1; margin: 0; }
/* tg-strip — sponsorlar ile En Yeniler arası */
.tg-strip { min-height: 42px; padding: 6px 0 10px; margin-bottom: 2px; }
.tg-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 12px;
  padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(36, 161, 222, .22);
  background: linear-gradient(90deg, rgba(36, 161, 222, .07), rgba(36, 161, 222, .02));
}
.tg-strip-title {
  flex: 0 1 auto; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: #6ec5f0; line-height: 1.3; max-width: 100%;
}
.tg-strip-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 auto; justify-content: flex-start; }
.tg-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 12px; border-radius: 999px;
  background: rgba(12, 26, 62, .85); border: 1px solid rgba(36, 161, 222, .45); color: var(--text);
  text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s, background .15s, border-color .15s, color .15s; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.tg-chip-label { line-height: 1; }
.tg-chip-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(36, 161, 222, .2); color: #29a7e1; flex: none; }
.tg-chip-ico svg { width: 13px; height: 13px; display: block; }
.tg-chip:hover { background: #24a1de; border-color: #5bc4f7; color: #fff; transform: translateY(-1px); }
.tg-chip:hover .tg-chip-ico { background: rgba(255, 255, 255, .2); color: #fff; }
@media (max-width: 640px) {
  .tg-strip-inner { flex-direction: column; align-items: flex-start; }
  .tg-strip-links { width: 100%; }
}

/* Banners */
.banner-slot:not(:empty) { padding-top: 20px; }
.banner-slot .side-ads { max-width: 340px; margin: 0 auto 8px; }
.banner-slot.bottom:not(:empty) { padding: 0 0 26px; }
.banner-zone {
  display: grid; grid-template-columns: repeat(2, minmax(0, 468px)); justify-content: space-between;
  grid-auto-flow: row dense; gap: 10px; max-width: 1000px; margin: 0 auto 22px;
}
.banner-slot .banner-zone { margin-bottom: 0; }
.banner { position: relative; display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: .15s; }
.banner:hover { border-color: var(--accent); transform: translateY(-1px); }
.banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner.b-1000 { grid-column: 1 / -1; aspect-ratio: 1000 / 50; }
.banner.b-468 { aspect-ratio: 468 / 60; width: 100%; }
.banner.b-300 { aspect-ratio: 1; width: 100%; max-width: 300px; margin: 0 auto; background: #0c1a3e; }
.banner.b-300 img { object-fit: contain; }
.banner.placeholder.b-300 { flex-direction: column; }
.side-ads-list { display: grid; gap: 10px; padding: 12px; }
.side-slider { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 0 auto; }
.side-slider .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.side-slider .slide.active { opacity: 1; visibility: visible; }
.side-slider .slide:hover { transform: none; }
.slider-dots { display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #3a4560; cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.active { width: 22px; background: var(--accent); }
.banner.placeholder {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px;
  border: 1px dashed #3a4a6b; color: var(--muted); font-size: 13px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px), var(--bg-2);
}
.banner.placeholder b { color: var(--accent-2); }
.banner.placeholder:hover { color: var(--text); }
.sponsors .sponsor-body { padding: 16px; }
.sponsor-head { display: grid; grid-template-columns: 1fr auto 1fr; }
.sponsor-head > a { justify-self: end; }
.sponsor-head h2 { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 1.5px; }
.sponsor-head h2::before { display: none; }
.sponsor-head .crown { height: 26px; width: auto; filter: drop-shadow(0 2px 6px rgba(59, 130, 246, .45)); }
@media (max-width: 760px) {
  .sponsor-head { grid-template-columns: 1fr; justify-items: center; }
  .sponsor-head > span, .sponsor-head > a { display: none; }
}
.banner-slot .section { margin-bottom: 0; }
.sponsors .banner-zone { margin: 0 auto; }

/* Home layout: sponsors lead the main column */
.main-col { min-width: 0; }
.main-col .banner-slot:not(:empty) { padding-top: 0; margin-bottom: 22px; }
.main-col .sponsors { background: #0c1a3e; border-color: var(--line); }
.sponsor-tabhead { position: relative; display: flex; justify-content: center; background: #111; border-bottom: 1px solid #1c2230; }
.sponsor-tab { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 22px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.sponsor-tab .crown { height: 24px; width: auto; filter: drop-shadow(0 2px 6px rgba(59, 130, 246, .45)); }
.sponsor-cta { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; }
.sponsor-cta:hover { color: var(--accent-2); }
@media (max-width: 760px) { .sponsor-cta { display: none; } }

/* Sidebar user card */
.user-card .widget-body { display: flex; gap: 14px; align-items: flex-start; }
.uc-av .avatar { width: 64px; height: 64px; border-radius: 6px; }
.uc-info { flex: 1; min-width: 0; }
.uc-name { display: block; font-weight: 800; font-size: 15px; }
.uc-role { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.uc-stats { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin: 0; font-size: 12px; }
.uc-stats dt { color: var(--muted); }
.uc-stats dd { margin: 0; text-align: right; font-weight: 700; }
/* Advertise — reklam formatlari (2. referans: kompakt kart, onizleme yok) */
.ad-formats-section .ad-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.ad-format {
  display: flex; flex-direction: column; gap: 10px; min-height: 148px;
  background: rgba(8, 18, 45, .85); border: 1px solid rgba(36, 64, 122, .95); border-radius: 12px; padding: 16px 16px 14px;
}
.ad-format-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 0; }
.ad-format-head b { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.25; letter-spacing: -.01em; }
.ad-format-badge {
  flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: rgba(59, 130, 246, .16); color: #8bb8ff;
  border: 1px solid rgba(59, 130, 246, .35); white-space: nowrap;
}
.ad-format-badge.pkg { background: rgba(59, 130, 246, .22); color: #a8caff; font-size: 10px; letter-spacing: .06em; }
.ad-format-desc { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--muted); flex: 1; }
.ad-format-stat { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text); }
.ad-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ad-dot.ok { background: var(--green); box-shadow: 0 0 0 2px rgba(34, 197, 94, .25); }
.ad-dot.wait { background: var(--accent); box-shadow: 0 0 0 2px rgba(245, 179, 1, .25); }
.ad-dot.warn { background: var(--accent-2); box-shadow: 0 0 0 2px rgba(255, 207, 77, .2); }
@media (max-width: 1024px) { .ad-formats-section .ad-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ad-formats-section .ad-formats { grid-template-columns: 1fr; padding: 14px; } }
.ad-frame, .banner-preview {
  display: grid; place-items: center; width: 100%; border: 1px dashed #3a4a6b; border-radius: 8px;
  color: var(--muted); font-size: 12px; font-weight: 700; overflow: hidden; background: var(--card);
}
.pv-1000 { aspect-ratio: 1000 / 50; max-width: 1000px; }
.pv-468 { aspect-ratio: 468 / 60; max-width: 468px; }
.pv-300 { aspect-ratio: 1; max-width: 300px; }
.banner-preview { min-height: 36px; }
.banner-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Admin */
/* admin-ui-v3 */
.admin-shell { max-width: none; margin: 0; width: 100%; }
.admin-dash { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 48px; }
.admin-nav {
  display: flex; flex-direction: column; align-items: stretch;
  position: sticky; top: 78px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 8px; max-height: calc(100vh - 96px); overflow-x: hidden; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.admin-nav-brand { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); flex: none; }
.admin-nav-brand b { display: block; font-size: 15px; color: var(--text); letter-spacing: .02em; }
.admin-nav-brand span { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.admin-nav-group { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 12px 4px; opacity: .85; }
.admin-nav-group { flex: none; width: 100%; }
.admin-nav-link {
  display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
  padding: 9px 12px; margin: 1px 0; border-radius: 8px; border-left: 3px solid transparent;
  color: var(--muted); font-weight: 600; font-size: 13px; transition: .12s; line-height: 1.35;
}
.admin-nav-out { flex: none; width: 100%; box-sizing: border-box; }
.admin-nav-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.admin-nav-link.active { background: rgba(255,255,255,.06); color: var(--text); border-left-color: var(--accent); box-shadow: none; }
.admin-nav-ico { width: 20px; text-align: center; flex: none; font-size: 14px; opacity: .9; }
.admin-nav-label { flex: 1; min-width: 0; }
.admin-forum-setup { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 340px) !important; align-items: start; margin-bottom: 22px; gap: 18px; }
.admin-forum-setup .icon-pick { max-height: 200px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); gap: 6px; }
.admin-forum-setup #groupForm { align-self: start; }
.admin-body .form-card h3 { font-size: 16px; margin-bottom: 14px; }
.admin-body .field label { font-size: 12px; font-weight: 700; color: var(--muted); }
.admin-top .chip { background: var(--card); border: 1px solid var(--line); font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.admin-nav-out { display: block; margin: 12px 8px 4px; padding: 10px 12px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px dashed var(--line); }
.admin-nav-out:hover { color: var(--accent-2); border-color: var(--accent); }
.admin-main { min-width: 0; }
.admin-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.admin-top h1 { margin: 0 0 4px; font-size: 22px; }
.admin-top-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .form-card { margin-bottom: 22px; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.admin-body .section, .admin-panel { margin-bottom: 22px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.admin-body .table-wrap { border: 0; border-radius: 0; background: var(--card); }
.admin-body .table thead th { position: sticky; top: 0; background: var(--card-2); z-index: 1; }
.admin-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  transition: transform .15s, border-color .15s, box-shadow .15s; text-decoration: none;
}
.admin-tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); color: inherit; }
.admin-tile-ico { display: block; font-size: 22px; line-height: 1; }
.admin-tile b { display: block; font-size: 14px; line-height: 1.3; width: 100%; }
.admin-tile .small-text { display: block; line-height: 1.35; width: 100%; overflow-wrap: anywhere; }
.admin-stat-row { margin-bottom: 22px; }
.admin-dm-convs { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
.admin-dm-conv {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: inherit; font-size: 13px;
}
.admin-dm-conv:hover { border-color: var(--accent); }
.admin-dm-conv .small-text { flex: 1 1 100%; margin-left: 0; }
.admin-dm-thread { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: min(70vh, 640px); overflow: auto; background: var(--bg); }
.admin-dm-table .admin-dm-preview { max-width: 320px; }
.admin-tabs { display: none; }
@media (max-width: 1100px) {
  .admin-dash { grid-template-columns: 1fr; }
  .admin-nav { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .admin-nav-brand, .admin-nav-group, .admin-nav-out { width: 100%; }
  .admin-nav-link { width: auto; flex: 1 1 calc(50% - 6px); min-width: 160px; max-width: 100%; }
  .admin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stat-cards { grid-template-columns: 1fr; }
  .admin-tiles { grid-template-columns: 1fr; }
  .admin-nav-link { flex: 1 1 100%; }
}
/* admin-dash */
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #111; font-size: 11px; font-weight: 800; text-align: center; line-height: 18px; margin-left: 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.stat-card span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.stat-card b { font-size: 24px; color: var(--accent-2); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.thumb { display: block; border-radius: 6px; border: 1px solid var(--line); object-fit: cover; background: var(--bg-2); }
.thumb.t-1000 { width: 200px; aspect-ratio: 20 / 1; }
.thumb.t-468 { width: 140px; aspect-ratio: 468 / 60; }
.thumb.t-300 { width: 70px; aspect-ratio: 1; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.status { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status.on { background: rgba(34, 197, 94, .15); color: #5ee08e; }
.status.off { background: rgba(139, 151, 173, .15); color: var(--muted); }
.status.wait { background: rgba(245, 179, 1, .15); color: var(--accent-2); }
.btn.danger { border-color: rgba(239, 68, 68, .5); color: #ff8a8a; }
.btn.danger:hover { background: rgba(239, 68, 68, .12); }
.tg-bot { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.tg-bot summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.tg-bot[open] summary { margin-bottom: 8px; }
.mini-input {
  padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: 13px; outline: none;
}
.mini-input:focus { border-color: var(--accent); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.form-actions { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.switch, .field label.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--text) !important; }
.switch input { display: none; }
.switch span { width: 40px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; flex-shrink: 0; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { left: 21px; }

/* Presence */
.av-wrap { position: relative; display: inline-block; flex-shrink: 0; }
.online-dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--card); }
.avatar.lg + .online-dot { width: 18px; height: 18px; right: 6px; bottom: 6px; border-width: 3px; }
.avatar.md + .online-dot { width: 14px; height: 14px; right: 2px; bottom: 2px; }
.member-card .av-wrap, .post-author .av-wrap { display: block; width: max-content; margin: 0 auto 10px; }
.member-card .av-wrap .avatar { margin: 0; }
.presence { font-size: 12px; color: var(--muted); }
.presence.on { color: var(--green); font-weight: 700; }
.uname { font-weight: 600; }
.uname.admin { color: #ff6b6b; font-weight: 800; }
.uname.mod { color: #5b9dff; font-weight: 800; }
.uname.vip { color: var(--accent-2); font-weight: 700; }
.uname.bot { color: #5eead4; font-weight: 800; }
.bot-log { list-style: none; margin: 0; padding: 6px 16px; }
.bot-log li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.bot-log li:last-child { border-bottom: 0; }
.bot-log li.err span:last-child { color: #ff8a8a; }
.bot-log a { color: var(--accent-2); }
.uname.sponsor { color: #ffc629; font-weight: 800; text-shadow: 0 0 8px rgba(255, 198, 41, .35); }
.uname.uye { color: var(--text); }
.staff-list { list-style: none; margin: 0; padding: 0; }
.staff-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.staff-list li:last-child { border-bottom: 0; }
.staff-list .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.online-list { font-size: 13px; line-height: 1.9; display: block; }
.online-list a { display: inline; }
.online-list a::after { content: ", "; color: var(--muted); font-weight: 400; }
.online-list a:last-child::after { content: none; }
.online-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.widget h3 .count { vertical-align: 1px; }

/* Ranking widget */
.left-rail { display: none; }
.rank-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.rank-head { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 10px; background: #151a24; border-bottom: 3px solid var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; text-align: center; }
.rank-head .crown { height: 24px; flex: none; }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 6px; margin: 18px 12px 6px; padding: 0 4px 12px; border-radius: 12px; background: linear-gradient(180deg, transparent 22%, var(--card-2) 22%); }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 4px; border-radius: 12px; text-align: center; min-width: 0; }
.pod.p1 { background: linear-gradient(180deg, #243049, var(--card-2)); padding-top: 26px; margin-top: -8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pod-logo { position: relative; width: 70px; height: 70px; border-radius: 50%; border: 3px solid #ff8a00; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.pod.p1 .pod-logo { width: 82px; height: 82px; border-color: var(--accent); }
.pod-logo img, .rl-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pod-crown { position: absolute; left: 50%; top: -34px; width: 50px; transform: translateX(-50%) rotate(-4deg); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); z-index: 2; }
.pod-no { position: absolute; right: -4px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: #111; color: #fff; border: 2px solid #fff; font: 800 11px/18px Inter, sans-serif; font-style: normal; text-align: center; }
.pod-name { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-cup { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.pod.empty { visibility: hidden; }
.stars { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.stars i { color: #3a4560; font-style: normal; }
.rank-list { list-style: none; margin: 0; padding: 8px 12px 14px; display: grid; gap: 8px; }
.rl-row { display: grid; grid-template-columns: 16px 38px minmax(86px, 1fr) minmax(0, 92px) auto; align-items: center; gap: 6px; padding: 6px 7px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); color: #fff; transition: transform .15s, border-color .15s; }
a.rl-row:hover { transform: translateX(3px); border-color: var(--accent); }
.rl-no { font-weight: 800; font-size: 13px; color: var(--accent); }
.rl-logo { display: inline-block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; flex: none; }
.rl-logo.lg { width: 64px; height: 64px; border-color: var(--accent); }
.rl-name { font-weight: 800; font-style: italic; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.rl-rate { max-width: 92px; min-width: 0; padding: 3px 6px; border-radius: 8px; background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .35); color: var(--accent-2); font-weight: 800; font-size: 9px; line-height: 1.15; text-align: center; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rl-amt { background: linear-gradient(135deg, var(--accent), #ff8a00); color: #111; border-radius: 999px; padding: 5px 8px; font-weight: 800; font-size: 12px; font-style: italic; min-width: 48px; text-align: center; }
@media (min-width: 1880px) {
  .rank-in-sidebar .side-ads,
  .rank-in-sidebar .rank-widget { display: block; }
}

/* kule */
.size-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); text-align: left; cursor: pointer; }
.size-pick b { font-size: 14px; }
.size-pick span { color: var(--muted); font-size: 11px; line-height: 1.3; }
.size-pick.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: rgba(245, 179, 1, .12); }
.pv-160 { aspect-ratio: 160 / 600; max-width: 160px; }
.thumb.t-160 { width: 36px; height: 120px; object-fit: contain; }
.tower-list { display: grid; gap: 8px; width: 100%; }
.tower-slider.tower-fade { position: relative; width: 100%; height: 0; min-height: 0; overflow: hidden; }
.tower-frame { object-fit: cover; }
.tower-slider.tower-fade .slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.tower-slider.tower-fade .slide.active { opacity: 1; visibility: visible; }
.tower-slider.tower-fade .slide:hover { transform: none; }
.banner.b-160 { position: relative; width: 100%; height: 100%; background: #0c1a3e; overflow: hidden; }
.banner.b-160:hover { transform: none; }
.banner.b-160 img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; }
.tower-flush { object-fit: cover; }
.banner-preview.pv-160 { width: auto; height: auto; max-width: 280px; aspect-ratio: auto; place-items: center; overflow: hidden; }
.banner-preview.pv-160 img { width: auto; height: auto; max-width: 280px; max-height: 520px; object-fit: contain; object-position: center; }
.tower-safe { max-width: 160px; }
@media (min-width: 1680px) {
  body:not(.guest) .left-rail:not(:empty) { /* banner-acik */
    display: block;
    position: fixed;
    z-index: 30;
    top: 154px;
    width: min(320px, calc((100vw - 1240px) / 2 - 36px));
    max-width: calc((100vw - 1240px) / 2 - 36px);
    overflow: hidden;
    left: max(12px, calc((100vw - 1240px) / 2 - min(320px, calc((100vw - 1240px) / 2 - 36px)) - 20px));
  }
  body:not(.guest) .left-rail.tower-ready:not(:empty) { /* kule-stable */
    transition: opacity .12s ease;
  }
}
/* kule-son */

/* Responsive */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { min-width: 0; }
  .forum-row, .thread-row { grid-template-columns: 46px 1fr 90px; }
  .last-post { display: none; }
}
@media (max-width: 760px) {
  .pager { padding: 12px 4px; }
  .mail-split, .layout[style*="280px"] { grid-template-columns: minmax(0, 1fr) !important; }
  .page-head { flex-direction: column; align-items: stretch; }
  .breadcrumb, .member-card, .post-author .name { overflow-wrap: anywhere; }
  .container { width: calc(100% - 20px); }
  .topbar-inner { gap: 8px; height: 58px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .topbar .brand.has-logo { height: 40px; min-width: 0; flex-shrink: 1; }
  .topbar .brand-logo { max-width: 160px; }
  .mainnav, .search { display: none; }
  .userbox { gap: 6px; margin-left: auto; }
  .userbox .ub-txt, #logoutBtn { display: none; }
  .userbox .btn-sm:not(.auth-btn) { padding: 0; width: 34px; height: 34px; justify-content: center; font-size: 16px; }
  .userbox .auth-btn { width: auto; height: 36px; padding: 0 12px; font-size: 13px; white-space: nowrap; border-radius: 10px; }
  .userbox .avatar { width: 34px; height: 34px; }
  .burger { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 18px; }
  .topbar.menu-open .topbar-inner { flex-wrap: wrap; height: auto; min-height: 58px; padding: 10px 0 12px; }
  .topbar.menu-open .mainnav { display: flex; flex-direction: column; order: 10; width: 100%; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
  .topbar.menu-open .mainnav a, .nav-logout { padding: 11px 12px; border-radius: 8px; }
  .topbar.menu-open .search { display: block; order: 11; flex-basis: 100%; max-width: none; margin: 4px 0 0; }
  .nav-logout:not([hidden]) { display: block; text-align: left; border: 0; background: rgba(239, 68, 68, .12); color: #ff8a8a; font: 700 14px Inter, sans-serif; cursor: pointer; }
  .post { grid-template-columns: 1fr; }
  .post-author { display: flex; gap: 12px; align-items: center; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .post-author .avatar { margin: 0; }
  .post-author .meta { display: none; }
  .forum-row, .thread-row { grid-template-columns: 40px 1fr; }
  .forum-counts { display: none; }
  .grid-2, .grid-4, .prediction { grid-template-columns: 1fr 1fr; }
  .banner-zone { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 10px 18px; }

  .ticker-inner { height: 36px; gap: 10px; }
  .ticker-label { font-size: 10px; padding: 3px 6px; }
  .ticker-track { font-size: 12.5px; }

  .layout { gap: 16px; padding: 14px 0 34px; }
  .main-col .banner-slot:not(:empty) { margin-bottom: 16px; }
  .sponsors .sponsor-body { padding: 10px; }
  .banner-zone { gap: 6px; }
  .banner.b-1000 { border-radius: 5px; }
  .sponsor-tab { font-size: 12.5px; padding: 7px 12px; }
  .sponsor-tab .crown { height: 20px; }

  .latest, .fgroup, .section, .widget { margin-bottom: 16px; }
  .latest-tab { padding: 0 14px; }
  .lt-row { padding: 5px 6px; min-height: 34px; }
  .lt-notice { font-size: 12.5px; padding: 7px 10px; }

  .fgroup-head h2 { font-size: 14px; padding: 0 12px; line-height: 1.3; }
  .fgroup-ico { width: 44px; }
  .fcat, .fcat.has-link { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 6px 10px; padding: 11px 12px; }
  .fcat-icon { width: 38px; height: 38px; }
  .fcat-title { font-size: 14px; }
  .fcat-subs { gap: 6px 28px; }
  .fcat-go { padding: 3px 7px; font-size: 9px; max-height: 20px; }
  .fcat-last { grid-column: 2 / -1; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .06); }

  .section-head { padding: 12px 14px; flex-wrap: wrap; }
  .page-head h1 { font-size: 21px; }
  .post-body { padding: 14px; }
  .form-card { padding: 16px; }
  .table { font-size: 13px; }
  .table td, .table th { padding: 10px; }
  .toast { width: max-content; max-width: calc(100% - 24px); text-align: center; }
  .avatar-picker { flex-wrap: wrap; }
}
.seo-card { background: #14161c; border: 1px solid rgba(216, 172, 68, .28); border-radius: 18px; padding: 18px 18px 8px; margin-bottom: 22px; }
.seo-head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; letter-spacing: .4px; }
.seo-shield { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #5b4dff; font-size: 18px; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seo-card label { font-size: 11px; letter-spacing: .8px; color: #9aa3b5; }
.seo-card textarea, .seo-card input { background: #0c0e14; border-radius: 14px; }
.pt-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(216, 172, 68, .16); color: #f5d78e; border: 1px solid rgba(216, 172, 68, .45); font-weight: 800; font-size: 13px; }
.gold { color: #f5d78e; }
.pt-admin { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.pt-admin input { width: 76px; }

@media (max-width: 760px) { .seo-grid { grid-template-columns: 1fr; } }
.auth-card { max-width: 440px; margin: 28px auto; padding: 28px 22px; }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-tabs a { flex: 1; text-align: center; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-weight: 800; background: transparent; }
.auth-tabs a.on { background: linear-gradient(135deg, var(--accent), #ff9d00); color: #111; border-color: transparent; }
.auth-card .field input { min-height: 46px; font-size: 16px; }
.auth-submit { width: 100%; justify-content: center; min-height: 46px; margin-top: 8px; }
.auth-age { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.4; margin: 4px 0 12px; }
.auth-age input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
body.guest .mainnav, body.guest .search, body.guest .burger, body.guest .ticker, body.guest .sidebar, body.guest .left-rail, body.guest .banner-slot, body.guest .footer-links { display: none !important; }
body.guest .layout { display: block; }
body.guest .topbar-inner { height: auto; min-height: 58px; padding: 8px 0; }
@media (max-width: 760px) {
  .auth-card { margin: 8px auto 20px; padding: 18px 14px; }
  body.guest .topbar .brand-logo { max-width: 132px; }
  body.guest .userbox { gap: 8px; }
}
@media (max-width: 520px) {
  .grid-2, .grid-4, .prediction, .form-card .grid-4[style] { grid-template-columns: 1fr !important; }
  .field input, .field select { min-width: 0; }
  .section:has(> .table) { overflow-x: auto; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .members-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .profile-head { padding: 0 16px 16px; gap: 14px; }
  .row-actions { flex-wrap: wrap; }
}
/* mac-skor */
.mainnav a { padding: 7px 8px; font-size: 13px; }
.search { max-width: 160px; }
.score-strip { margin: 0 0 16px; }
.score-strip-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.score-strip-head h2 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.score-strip-head a { color: var(--accent-2); font-weight: 700; font-size: 13px; }
.score-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.score-card { flex: none; width: 220px; background: linear-gradient(180deg, #152a5c, #101f48); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; color: inherit; }
.score-card.live { border-color: rgba(239,68,68,.55); }
.score-card-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.score-card.live .score-card-top b { color: #ff5d5d; }
.score-side { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 26px; }
.score-side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13px; }
.score-side strong { font-variant-numeric: tabular-nums; min-width: 12px; text-align: right; }
.score-tabs { display: flex; gap: 8px; margin: 0 0 14px; }
.score-tabs button { flex: 1; padding: 10px 8px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.score-tabs button.on { background: linear-gradient(135deg, var(--accent), #ff9d00); color: #111; border-color: transparent; }
.score-day { margin: 16px 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.score-league { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.score-league h3 { margin: 0; padding: 10px 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.score-league h3 i { width: 3px; height: 14px; background: var(--accent); border-radius: 2px; display: block; }
.score-match { display: grid; grid-template-columns: 64px minmax(0,1fr) 72px minmax(0,1fr); gap: 8px; align-items: center; padding: 11px 14px; border-top: 1px solid rgba(255,255,255,.05); }
.score-when { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 13px; color: var(--muted); }
.score-match.in .score-when { color: #ff5d5d; }
.score-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.score-team.away { flex-direction: row-reverse; text-align: right; }
.score-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-num { text-align: center; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 18px; }
.score-match.pre .score-num { color: var(--muted); font-size: 13px; }
.score-crest, .score-letter { width: 22px; height: 22px; object-fit: contain; flex: none; }
.score-letter { display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent-2); }
.score-empty { padding: 22px 12px; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .score-match { grid-template-columns: 52px minmax(0,1fr) 58px minmax(0,1fr); padding: 10px; gap: 6px; }
  .score-card { width: 200px; }
}
/* mac-skor-son */
/* bilet */
.mainnav a { padding: 7px 8px; font-size: 13px; }
.search { max-width: 160px; }
.bilet-hero, .bilet-state { text-align: center; }
.bilet-hero { padding: 28px 16px; margin-bottom: 16px; border-radius: 16px; background: linear-gradient(180deg, #152a5c, #101f48); border: 1px solid var(--line); }
.bilet-hero-img { max-width: 820px; margin: 0 auto 18px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.bilet-hero-img img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.bilet-img-prev { margin-top: 10px; min-height: 120px; border-radius: 12px; border: 1px dashed var(--line); background: var(--bg-2); display: grid; place-items: center; overflow: hidden; padding: 8px; }
.bilet-img-prev img { max-width: 100%; max-height: 220px; border-radius: 8px; object-fit: contain; display: block; }
.bilet-kicker { letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-size: 12px; font-weight: 800; }
.bilet-count { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1.15; margin: 8px 0; }
.bilet-box { padding: 18px; }
.bilet-form, .bilet-state { text-align: left; }
.bilet-form h2, .bilet-state > b { margin: 0 0 12px; }
.bilet-proof { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.bilet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 12px; }
.bilet-no { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: #fff; font-weight: 800; cursor: pointer; }
.bilet-no.taken, .bilet-no:disabled { opacity: .35; cursor: default; }
.bilet-past { list-style: none; margin: 0; padding: 8px 16px 14px; }
.bilet-past li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bilet-past li:last-child { border-bottom: 0; }
.bilet-text { white-space: pre-wrap; margin: 10px auto 0; max-width: 680px; line-height: 1.55; text-align: center; }
.bilet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* bilet-son */

/* ub-fit */
html, body { overflow-x: hidden; }
@media (min-width: 761px) {
  .topbar-inner { gap: 10px; height: 64px; min-width: 0; }
  .brand-logo { height: 42px; max-width: 160px; }
  .mainnav { gap: 2px; min-width: 0; }
  .mainnav a { padding: 7px 8px; font-size: 13px; gap: 4px; }
  .nav-crown { height: 20px; }
  .search { flex: 1 1 120px; width: auto; min-width: 0; max-width: 160px; }
  .search input { height: 36px; padding: 0 12px; border-radius: 10px; }
  .userbox { display: flex; align-items: center; gap: 6px; flex: none; }
  .userbox .btn, .userbox .pt-chip { height: 36px; padding: 0 10px; border-radius: 10px; white-space: nowrap; flex: none; font-size: 13px; line-height: 1; box-sizing: border-box; }
  .userbox .avatar { width: 36px; height: 36px; flex: none; }
}
/* ub-fit-son */
/* bn-row */
.bn-list { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.bn-card { display: grid; grid-template-columns: 220px minmax(160px, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .18); }
.bn-shot { width: 220px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #070d1c; }
.bn-shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.bn-shot.s-300 { width: 72px; height: 72px; }
.bn-shot.s-160 { width: 48px; height: 120px; }
.bn-meta { min-width: 0; }
.bn-meta b, .bn-meta a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.bn-move { display: flex; flex-direction: column; gap: 6px; }
.bn-card .row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 900px) { .bn-card { grid-template-columns: 72px minmax(0, 1fr); } .bn-shot, .bn-shot.s-160 { width: 72px; height: 48px; } .bn-move, .bn-card .row-actions { grid-column: 1 / -1; flex-direction: row; } }
/* bn-row-son */
/* mob-puan */
.nav-points { display: none; }
@media (max-width: 760px) {
  .userbox .pt-chip { display: none; }
  .topbar.menu-open .mainnav { align-items: stretch; }
  .topbar.menu-open .nav-points:not([hidden]) { display: flex; align-items: center; align-self: stretch; width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 10px 12px; border-radius: 10px; background: rgba(216, 172, 68, .16); color: #f5d78e; border: 1px solid rgba(216, 172, 68, .45); font-weight: 800; font-size: 14px; }
}
/* mob-puan-son */
/* logo-acik */
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; height: auto; min-height: 58px; padding: 8px 0; align-items: center; }
  .topbar .brand, .topbar .brand.has-logo { order: 0; flex: 1 1 auto; min-width: 0; max-width: calc(100% - 52px); overflow: hidden; }
  .topbar .brand-logo { max-width: 100%; height: 36px; }
  .burger { order: 1; margin-left: auto; flex: none; }
  .userbox { order: 2; flex: 1 1 100%; width: 100%; margin: 6px 0 0; justify-content: flex-start; }
}
/* rank-yuru */
.pod-no { width: auto; height: auto; padding: 0; background: transparent; border: 0; border-radius: 0; line-height: 1; text-shadow: 0 1px 2px #000; }
.pod-cup { display: none; }
.rank-escalator { max-height: 268px; overflow: hidden; }
.rank-roll { animation: rank-up 16s linear infinite; }
.rank-escalator:hover .rank-roll { animation-play-state: paused; }
@keyframes rank-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .rank-roll { animation: none; } }
/* rank-yuru-son */
/* puan-stil */
.pt-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.pt-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.pt-box span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.pt-box b { display: block; margin-top: 4px; font-size: 22px; }
.pt-bar { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.pt-bar u { display: block; height: 100%; background: linear-gradient(90deg, #ffa31a, #ff7a00); }
.pt-wheel-box { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px; }
.pt-stage { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.pt-wheel { width: 100%; height: 100%; border-radius: 50%; border: 6px solid #111; box-shadow: 0 0 0 3px #ff8a00, 0 10px 30px rgba(0, 0, 0, .45); }
.pt-pin { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); z-index: 2; border: 11px solid transparent; border-top: 18px solid #ff2b3a; }
.pt-side { min-width: 0; }
.pt-side .btn { margin-bottom: 12px; }
.pt-promo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pt-promo input { flex: 1 1 160px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.pt-legend { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px 12px; }
.pt-legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pt-legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.pt-legend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-legend b { color: var(--muted); font-size: 12px; }
.pt-rewards, .pt-mine { list-style: none; margin: 0; padding: 0; }
.pt-rewards li, .pt-mine li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.pt-rewards li:last-child, .pt-mine li:last-child { border-bottom: 0; }
.pt-cost { flex: none; min-width: 108px; font-weight: 800; color: var(--accent-2); }
.pt-mine li b { flex: 1 1 160px; min-width: 0; }
.pt-mine li .muted { font-size: 12px; }
@media (max-width: 760px) {
  .pt-top { grid-template-columns: minmax(0, 1fr); }
  .pt-wheel-box { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .pt-stage { width: 220px; height: 220px; }
  .pt-rewards li, .pt-mine li { padding: 12px 14px; }
  .pt-cost { min-width: 0; }
}
/* puan-stil-son */
/* puan-gizle */
body.pt-off [data-nav="puan"], body.pt-off .nav-points, body.pt-off .pt-chip { display: none !important; }
/* puan-gizle-son */
/* kafa-kucuk */
@media (min-width: 761px) {
  .topbar-inner { gap: 8px; }
  .userbox { gap: 5px; }
  .userbox .ub-txt { display: none; }
  .userbox .btn:not(.auth-btn) { width: 34px; height: 34px; padding: 0; justify-content: center; font-size: 15px; border-radius: 10px; flex: none; }
  .userbox .btn-primary:not(.auth-btn) { width: auto; padding: 0 11px; font-size: 13px; }
  .userbox .btn-primary:not(.auth-btn) .ub-txt { display: inline; }
  .userbox .auth-btn { width: auto !important; min-width: 88px; height: 34px; padding: 0 14px; font-size: 13px; font-weight: 800; white-space: nowrap; } /* kafa-giris */
  .userbox .avatar { width: 34px; height: 34px; }
  .userbox .pt-chip { height: 34px; padding: 0 10px; font-size: 12px; }
  #logoutBtn { font-size: 0; }
  #logoutBtn::before { content: "🚪"; font-size: 14px; line-height: 1; }
  .search { position: relative; flex: none; width: 34px; max-width: 34px; height: 34px; margin-left: auto; }
  .search::before { content: "🔍"; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: .75; pointer-events: none; z-index: 2; }
  .search input { position: absolute; right: 0; top: 0; width: 34px; height: 34px; padding: 0 28px 0 0; border-radius: 10px; transition: width .18s ease, padding .18s ease; }
  .search:focus-within { z-index: 30; }
  .search:focus-within input { width: 260px; padding: 0 28px 0 12px; }
  .search:not(:focus-within) input::placeholder { color: transparent; }
}
@media (min-width: 761px) and (max-width: 1240px) {
  .topbar-inner { gap: 6px; }
  .brand-logo { height: 38px; max-width: 136px; }
  .mainnav { gap: 0; }
  .mainnav a { padding: 6px 6px; font-size: 12px; gap: 3px; }
  .nav-crown { height: 17px; }
  .userbox .btn-primary:not(.auth-btn) { width: 34px; padding: 0; }
  .userbox .btn-primary:not(.auth-btn) .ub-txt { display: none; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .brand-logo { height: 34px; max-width: 112px; }
  .mainnav a { padding: 5px 4px; font-size: 11.5px; gap: 2px; }
  .nav-crown { height: 15px; }
  .userbox { gap: 4px; }
  .userbox .btn:not(.auth-btn), .userbox .btn-primary:not(.auth-btn) { width: 32px; height: 32px; }
  .userbox .avatar { width: 32px; height: 32px; }
  .userbox .pt-chip { height: 32px; padding: 0 8px; font-size: 11.5px; }
  .search, .search input { width: 32px; max-width: 32px; height: 32px; }
}
/* kafa-kucuk-son */
/* cark-stil */
.pt-wheel-box { grid-template-columns: 320px minmax(0, 1fr); gap: 26px; }
.pt-stage { width: 300px; height: 300px; }
.pt-rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, #8a6a1f, #f3dc9b 12%, #d8ac44 25%, #8a6a1f 38%, #f3dc9b 52%, #d8ac44 65%, #8a6a1f 78%, #f3dc9b 92%, #8a6a1f);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
.pt-rim::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0b1228; box-shadow: inset 0 0 18px rgba(0, 0, 0, .7); }
.pt-wheel {
  position: absolute; inset: 11px; width: auto; height: auto; border: 0; border-radius: 50%;
  box-shadow: none; overflow: visible; transform-origin: 50% 50%; will-change: transform;
}
.pt-wheel text { paint-order: stroke; stroke: rgba(255, 255, 255, .5); stroke-width: 2.2px; stroke-linejoin: round; }
.pt-pin {
  position: absolute; left: 50%; top: -9px; z-index: 4; transform: translateX(-50%);
  border: 10px solid transparent; border-top: 22px solid #ffd060;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .65));
}
.pt-hub {
  position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 3px solid #d8ac44; background: radial-gradient(circle at 36% 28%, #243357, #0a1126 72%);
  color: #f5d78e; font: 800 14px/1 inherit; letter-spacing: .08em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 0 14px rgba(0, 0, 0, .5);
  transition: transform .14s ease, box-shadow .14s ease;
}
.pt-hub:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 10px 24px rgba(0, 0, 0, .6), 0 0 0 4px rgba(216, 172, 68, .22); }
.pt-hub:active:not(:disabled) { transform: translate(-50%, -50%) scale(.96); }
.pt-hub:disabled { cursor: default; color: #8b94a8; border-color: rgba(216, 172, 68, .35); }
.pt-stage.spinning .pt-hub { color: #8b94a8; }
.pt-stage.landed .pt-rim { animation: pt-glow 1.1s ease-out 2; }
@keyframes pt-glow { 0%, 100% { box-shadow: 0 22px 46px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .35); } 50% { box-shadow: 0 0 34px 6px rgba(255, 208, 96, .55), inset 0 0 0 2px rgba(0, 0, 0, .35); } }
.pt-left { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.pt-left b { color: #f5d78e; font-size: 18px; }
.pt-slice-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: start; }
.pt-slices { display: flex; flex-direction: column; gap: 6px; }
.pt-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) 92px 104px 38px; gap: 8px; align-items: center; }
.pt-row.pt-head { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; }
.pt-dot { width: 14px; height: 14px; border-radius: 4px; display: block; }
.pt-row input { width: 100%; min-width: 0; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; box-sizing: border-box; }
.sl-pcwrap { position: relative; display: block; }
.sl-pcwrap b { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; pointer-events: none; }
.sl-pcwrap input { padding-right: 24px; }
.pt-row [data-sdel] { padding: 0; width: 34px; height: 34px; justify-content: center; }
.pt-prev { background: #0b1228; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; place-items: center; }
.pt-prev svg { position: static; inset: auto; width: 100%; height: auto; max-width: 160px; }
.pt-slice-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.pt-sum { margin-left: auto; font-size: 13px; color: var(--muted); }
.pt-off-sum { color: #ff6b6b; }
@media (max-width: 900px) {
  .pt-slice-wrap { grid-template-columns: minmax(0, 1fr); }
  .pt-prev { order: -1; }
  .pt-row { grid-template-columns: 14px minmax(0, 1fr) 74px 86px 34px; gap: 6px; }
}
@media (max-width: 760px) {
  .pt-wheel-box { grid-template-columns: minmax(0, 1fr); }
  .pt-stage { width: min(300px, 86vw); height: min(300px, 86vw); }
  .pt-hub { width: 74px; height: 74px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pt-stage.landed .pt-rim { animation: none; } }
/* cark-stil-son */
/* odul-stil */
.pt-wallet { margin-left: auto; font-size: 13px; color: var(--muted); }
.pt-wallet b { color: #f5d78e; font-size: 16px; font-variant-numeric: tabular-nums; }
.pt-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; padding: 16px 18px 18px; }
.pt-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, #16305f, #101f48);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.pt-card::before { content: ""; position: absolute; left: -30%; top: -60%; width: 90%; height: 120%; background: radial-gradient(circle, rgba(255, 255, 255, .13), transparent 68%); pointer-events: none; }
.pt-card.k-nakit { background: linear-gradient(180deg, #16402c, #0d2419); }
.pt-card.k-spin { background: linear-gradient(180deg, #3a2250, #1c1030); }
.pt-card.can { border-color: rgba(216, 172, 68, .6); box-shadow: 0 0 0 1px rgba(216, 172, 68, .22), 0 14px 30px rgba(0, 0, 0, .38); }
.pt-card.can:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(216, 172, 68, .35), 0 18px 36px rgba(0, 0, 0, .45); }
.pt-card-top { display: flex; align-items: center; gap: 8px; }
.pt-ico { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .09); font-size: 19px; }
.pt-kind { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .62); }
.pt-ok { margin-left: auto; flex: none; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #15110a; background: linear-gradient(135deg, var(--accent), #ff9d00); padding: 4px 9px; border-radius: 999px; }
.pt-card h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.pt-price { display: flex; align-items: baseline; gap: 5px; }
.pt-price b { font-size: 25px; font-weight: 800; color: #f5d78e; font-variant-numeric: tabular-nums; line-height: 1; }
.pt-price span { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.pt-prog { height: 7px; border-radius: 999px; background: rgba(0, 0, 0, .38); overflow: hidden; }
.pt-prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #ff9d00); }
.pt-need { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .6); }
.pt-card.can .pt-need { color: #8ce0ae; font-weight: 700; }
.pt-buy { margin-top: auto; justify-content: center; font-weight: 800; }
.pt-buy:disabled { opacity: .5; cursor: default; }
@media (max-width: 560px) { .pt-shop { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 14px; } .pt-wallet { margin: 4px 0 0; } }
.pt-card .pt-thumb { width: 100%; height: 88px; border-radius: 10px; overflow: hidden; margin: 0 0 8px; background: rgba(0, 0, 0, .25); display: grid; place-items: center; }
.pt-card .pt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* pt-adm-rewards */
.pt-adm-rewards { display: grid; gap: 12px; margin-top: 8px; }
.pt-adm-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.pt-adm-prev { width: 120px; height: 80px; border-radius: 10px; border: 1px dashed var(--line); background: var(--card); display: grid; place-items: center; overflow: hidden; font-size: 11px; color: var(--muted); text-align: center; padding: 6px; }
.pt-adm-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-adm-fields { display: grid; gap: 8px; }
.pt-adm-fields input, .pt-adm-fields select { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; }
.pt-adm-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pt-adm-upload .btn { font-size: 12px; }
@media (max-width: 720px) { .pt-adm-row { grid-template-columns: 1fr; } .pt-adm-prev { width: 100%; height: 100px; } }
/* odul-stil-son */
/* onay-stil */
.vr-tick {
  display: inline-grid; place-items: center; width: 16px; height: 16px; vertical-align: middle; margin-left: 5px;
  font-size: 10px; font-style: normal; font-weight: 900; line-height: 1;
  color: #06243f; background: linear-gradient(145deg, #5fc8ff, #1d8ddb);
  border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(10, 24, 46, .55), 0 2px 5px rgba(0, 0, 0, .3);
  flex-shrink: 0;
}
.name .vr-tick, .uname .vr-tick, .lt-user .vr-tick, b .vr-tick { margin-left: 6px; }
h1 .vr-tick { width: 20px; height: 20px; font-size: 12px; }
.vr-line { margin-left: 8px; font-size: 12px; font-weight: 700; color: #6fc6f5; }
.vr-line::before { content: "✔"; display: inline-block; margin-right: 4px; }
.vr-link { font-size: 12px; font-weight: 700; color: var(--accent); }
.vr-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px;
  font-size: 12.5px; font-weight: 800; color: #1b1205; white-space: nowrap;
  background: linear-gradient(135deg, #ffd25e, #ff9d00); border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 157, 0, .25);
}
.vr-chip::before { content: "🛡"; font-size: 13px; }
.vr-chip:hover { filter: brightness(1.06); }
.vr-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; }
.vr-gate h3 { margin: 0 0 4px; font-size: 17px; }
.vr-gate p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 54ch; }
.vr-gate .btn { margin-left: auto; }
.vr-ico {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 22px;
  border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
}
.vr-ico.ok { color: #06243f; background: linear-gradient(145deg, #5fc8ff, #1d8ddb); border-color: transparent; font-weight: 900; }
.vr-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.vr-steps { list-style: none; margin: 0; padding: 18px; display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.vr-steps li { display: flex; gap: 13px; }
.vr-steps b {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
  font-size: 13px; color: #1b1205; background: linear-gradient(135deg, #ffd25e, #ff9d00);
}
.vr-steps h4 { margin: 3px 0 3px; font-size: 14.5px; }
.vr-steps p { margin: 0; font-size: 13px; color: var(--muted); }
.vr-steps code { padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .3); color: #ffd98a; font-weight: 700; }
.vr-form { display: grid; gap: 10px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.vr-form label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.vr-form input {
  width: 100%; height: 56px; text-align: center; letter-spacing: .34em; font-size: 24px; font-weight: 800;
  color: #fff; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px;
}
.vr-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 157, 0, .16); }
.vr-form .btn { justify-content: center; height: 46px; font-weight: 800; }
.vr-form p { margin: 0; }
.vr-done { display: grid; justify-items: center; gap: 10px; padding: 34px 20px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.vr-done h2 { margin: 4px 0 0; }
.vr-done p { margin: 0; color: var(--muted); font-size: 14px; }
.vr-done .btn { margin-top: 8px; }
@media (max-width: 860px) { .vr-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .vr-gate { flex-direction: column; align-items: flex-start; } .vr-gate .btn { margin: 0; } }
@media (max-width: 1060px) { .vr-chip { height: 32px; } }
/* onay-stil-son */
/* uye-sayfa */
.au-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 18px 0; }
.au-pager .btn { min-width: 34px; justify-content: center; padding: 0 9px; height: 32px; font-weight: 700; }
.au-pager .btn.on { background: linear-gradient(135deg, var(--accent), #ff9d00); border-color: transparent; color: #1b1205; }
.au-pager .btn:disabled { opacity: .4; cursor: default; }
.au-gap { color: var(--muted); padding: 0 2px; }
.au-info { margin-left: auto; color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .au-pager { padding: 10px 12px 0; } .au-info { margin: 4px 0 0; width: 100%; } }
/* uye-sayfa-son */
/* puan-uyari */
.pt-warn {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid rgba(255, 43, 58, .5);
  background: linear-gradient(90deg, rgba(255, 43, 58, .22), rgba(255, 43, 58, .08));
  box-shadow: 0 0 0 1px rgba(255, 43, 58, .12), 0 10px 24px rgba(0, 0, 0, .28);
}
.pt-warn p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #ffe9eb; }
.pt-warn p b { color: #fff; }
.pt-warn-ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #ff2b3a; color: #fff; font-size: 16px; font-weight: 900; }
.pt-warn .btn { margin-left: auto; flex: none; }
.pt-warn.ok { border-color: rgba(34, 197, 94, .45); background: linear-gradient(90deg, rgba(34, 197, 94, .2), rgba(34, 197, 94, .07)); box-shadow: none; }
.pt-warn.ok p { color: #dcffe9; }
.pt-warn.ok .pt-warn-ico { background: linear-gradient(145deg, #5fc8ff, #1d8ddb); color: #06243f; }
@media (max-width: 620px) { .pt-warn { flex-wrap: wrap; } .pt-warn .btn { margin: 2px 0 0 44px; } }
/* puan-uyari-son */
/* giris-yasal */
/* yasal-ust */
/* yasal-yan */
/* yasal-mavi */
/* yasal-satir */
/* yasal-cumle */
.gate-box {
  max-width: 1180px; margin: 0 auto 6px;
  display: grid; grid-template-columns: minmax(180px, .9fr) minmax(260px, 1.35fr) minmax(180px, .9fr);
  gap: 10px; align-items: stretch;
}
.gate-warn {
  background: #123a73; color: #fff; border-radius: 14px; padding: 10px 12px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}
.gate-warn h2 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 0 8px; font-size: 15px; letter-spacing: .07em; font-weight: 900; color: #fff;
}
.gate-bang {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 900; line-height: 1; color: #fff;
}
.gate-legal {
  color: #fff; font-size: 11.5px; line-height: 1.5; font-weight: 600;
  display: flex; flex-direction: column; align-items: stretch; gap: 5px;
}
.gate-legal span { display: block; color: #fff; white-space: normal; }
.gate-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .24); min-width: 0; }
.gate-card header {
  display: flex; align-items: center; gap: 8px; background: #f5c400; color: #111;
  font-weight: 800; letter-spacing: .04em; padding: 8px 10px; font-size: 12px;
}
.gate-ico {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 7px; background: #111; color: #f5c400; font-weight: 900; font-size: 13px;
}
.gate-ico.mail { font-size: 12px; }
.gate-body { padding: 10px 12px; color: #222; font-size: 12.5px; line-height: 1.5; word-spacing: .06em; }
.gate-body p { margin: 0 0 6px; }
.gate-body p:last-child { margin: 0; }
.gate-body a { color: #0b3d91; font-weight: 700; word-break: break-word; }
body.guest .layout { padding: 8px 0 20px; }
body.guest .footer { padding: 14px 0; }
body.guest .auth-card { margin: 8px auto 12px; padding: 18px 18px; }
body.guest .auth-card h1 { font-size: 22px; }
@media (max-width: 900px) {
  .gate-box { grid-template-columns: 1fr; margin: 0 auto 8px; }
  .gate-warn { order: -1; padding: 10px 12px; }
  .gate-warn h2 { font-size: 16px; }
}
/* giris-yasal-son */
/* anket-stil */
.tag.poll { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
.anket {
  margin: 0 0 16px; padding: 16px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.anket h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-2); }
.anket > p { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.ank-list { display: grid; gap: 8px; }
.ank-pick {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; font-weight: 700;
}
.ank-pick:has(input:checked) { border-color: var(--accent); background: rgba(245, 179, 1, .08); }
.ank-pick input { width: auto; accent-color: #ff8a00; }
.ank-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden;
}
.ank-opt.on { border-color: var(--accent); }
.ank-bar { position: absolute; inset: 0 auto 0 0; background: rgba(245, 179, 1, .22); }
.ank-opt b, .ank-opt em { position: relative; }
.ank-opt em { color: var(--muted); font-style: normal; font-weight: 700; white-space: nowrap; }
.ank-meta { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.ank-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ank-edit { display: grid; gap: 8px; margin: 10px 0; }
.ank-edit input, #nPollQ { width: 100%; max-width: 480px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); color: var(--text); font: inherit; }
#nPollBox { margin-top: 10px; }
/* anket-stil-son */
/* tv-stil */
/* tv-pro */
.tv-page { display: grid; gap: 14px; }
.tv-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tv-tools input { min-width: 200px; flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.tv-stage:not(.tv-stage-chat) { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.tv-player { background: #070d1c; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.tv-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(90deg, #0b1530, #12224a); border-bottom: 1px solid var(--line); }
.tv-now { flex: 1; min-width: 0; display: grid; }
.tv-now b, .tv-now small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-now b { font-size: 15px; }
.tv-now small { color: var(--muted); font-size: 12px; }
.tv-top em { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: #c62828; border-radius: 6px; padding: 3px 8px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.tv-top em:empty { display: none; }
.tv-top em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tv-pulse 1.4s infinite; }
@keyframes tv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.tv-shell {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  display: grid; grid-template-rows: 1fr; min-height: 0;
}
.tv-shell video { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; display: block; }
.tv-shell .tv-frame {
  width: 100%; height: 100%; min-height: 0; border: 0; display: block; background: #000;
}
.tv-fail, .tv-empty { padding: 28px 16px; text-align: center; color: var(--muted); }
.tv-shell .tv-empty { position: absolute; inset: 0; display: grid; place-content: center; }
.tv-side { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-height: min(80vh, 760px); display: flex; flex-direction: column; }
.tv-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--card-2); border-bottom: 1px solid var(--line); }
.tv-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 12px 8px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.tv-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.tv-tabs strong { color: var(--accent-2); font-size: 12px; }
.tv-livedot { font-size: 10px; color: #fff; background: #c62828; border-radius: 999px; padding: 1px 7px; }
.tv-grid { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px; overflow: auto; align-content: start; }
.tv-logo { width: 64px; height: 40px; border-radius: 8px; background: #f3f5fa; display: grid; place-items: center; padding: 4px 6px; flex: none; overflow: hidden; }
.tv-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tv-logo .tv-ph { width: 100%; height: 100%; background: transparent; }
.tv-logo.sm { width: 54px; height: 34px; }
.tv-logo.sm:empty { display: none; }
.tv-card { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); color: var(--text); cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.tv-card .tv-logo { grid-row: 1 / span 2; }
.tv-ph { display: grid; place-items: center; color: #667; font-style: normal; }
.tv-card b { font-size: 13px; line-height: 1.25; }
.tv-card small { color: var(--muted); font-size: 11px; }
.tv-card:hover, .tv-match:hover { border-color: var(--line); transform: translateY(-1px); }
.tv-card.on, .tv-match.on { border-color: var(--accent); background: rgba(245, 179, 1, .08); }
.tv-live { position: absolute; top: 6px; right: 6px; font-size: 9px; font-weight: 800; color: #fff; background: #c62828; padding: 2px 5px; border-radius: 4px; }
.tv-star { position: absolute; top: 4px; left: 4px; z-index: 1; color: var(--accent); font-size: 12px; text-shadow: 0 0 4px #000; }
.tv-match { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: var(--bg-2); color: var(--text); cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.tv-match.live { border-left: 3px solid #ff2b3a; }
.tv-mlogo { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.tv-mlogo img { width: 32px; height: 32px; object-fit: contain; }
.tv-mtext { display: grid; min-width: 0; }
.tv-mtext b { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.tv-mtext b i { color: var(--muted); font-style: normal; font-weight: 600; font-size: 11px; }
.tv-mtext small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-when { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent-2); white-space: nowrap; }
.tv-match.live .tv-when { color: #fff; background: #c62828; padding: 2px 7px; border-radius: 6px; }
@media (max-width: 900px) {
  .tv-stage:not(.tv-stage-chat) { grid-template-columns: 1fr; }
  .tv-side { max-height: none; min-height: 0; }
  /* Kanallar: mobilde tek sütun liste — üst üste binme yok */
  .tv-grid:not(.tv-grid-mac) {
    grid-template-columns: 1fr;
    gap: 8px;
    align-content: start;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tv-grid:not(.tv-grid-mac) .tv-card {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    justify-items: stretch;
    text-align: left;
    min-height: 56px;
    width: 100%;
  }
  .tv-grid:not(.tv-grid-mac) .tv-card .tv-logo {
    grid-row: 1 / span 2;
    width: 52px;
    height: 36px;
  }
  .tv-grid:not(.tv-grid-mac) .tv-card b,
  .tv-grid:not(.tv-grid-mac) .tv-card small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* nf-404 */
.no-hit { grid-column: 1 / -1; text-align: center; padding: 34px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.no-hit-ico { font-size: 34px; width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: rgba(245,179,1,.12); }
.no-hit b { display: block; font-size: 17px; margin-bottom: 6px; word-break: break-word; }
.no-hit p { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.no-hit-act { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nf-page { min-height: 62vh; display: grid; place-items: center; padding: 30px 12px; }
.nf-card { width: min(460px, 100%); text-align: center; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 38px 28px; box-shadow: var(--shadow); }
.nf-code { font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -2px; background: linear-gradient(135deg, var(--accent-2), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-card h1 { margin: 12px 0 8px; font-size: 24px; }
.nf-card p { color: var(--muted); margin: 0 0 12px; }
.nf-count b { color: var(--accent-2); font-size: 18px; }
.nf-bar { height: 6px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; margin: 6px 0 22px; }
.nf-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--red)); transform-origin: left; animation: nfBar 3s linear forwards; }
@keyframes nfBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 600px) { .nf-code { font-size: 72px; } .nf-card { padding: 30px 18px; } }
/* kule-sabit */
.banner.b-160 img, .left-rail .banner.b-160 img { object-fit: fill; object-position: center; }
.left-rail .banner.b-160 { background: transparent; }
/* tv-reklam */
.tv-banner-strip { width: 100%; background: #050a14; border-bottom: 1px solid var(--line); }
.tv-banner-strip .banner.b-1000.tv-strip-ad,
.tv-banner-strip .banner.placeholder.b-1000 { width: 100%; max-width: 100%; aspect-ratio: 1000 / 50; border-radius: 0; margin: 0; display: block; }
.tv-banner-strip .banner.b-1000 img,
.tv-banner-strip .banner.b-1000 video { width: 100%; height: 100%; object-fit: fill; display: block; }
.tv-ads { margin-top: 0; border-top: 1px solid var(--line); border-radius: 0; background: linear-gradient(160deg, var(--card-2), var(--card)); padding: 10px 12px 12px; }
.tv-ads .tv-banner-strip { border: 0; border-radius: 10px; overflow: hidden; margin-top: 6px; }
.tv-ads .tv-banner-strip .banner.b-1000 { border-radius: 10px; }
.tv-ads-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; }
.tv-ads-head span { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.tv-ads-head a { color: var(--muted); font-weight: 600; }
.tv-ads-head a:hover { color: var(--accent-2); }
.tv-ads .banner-zone { margin: 0; }
.tv-ad-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 90px; border: 2px dashed rgba(245,179,1,.45); border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(245,179,1,.05) 0 12px, transparent 12px 24px); text-align: center; padding: 14px; transition: border-color .2s, background-color .2s; }
.tv-ad-empty b { font-size: 17px; color: var(--accent-2); }
.tv-ad-empty span { color: var(--muted); font-size: 13px; }
.tv-ad-empty:hover { border-color: var(--accent); background-color: rgba(245,179,1,.06); }
/* tv-reklam-admin */
.tv-ad-list { display: grid; gap: 10px; }
.tv-ad { display: block; position: relative; width: 100%; aspect-ratio: 1000 / 50; border-radius: 10px; overflow: hidden; background: #0c1a3e; transition: transform .2s, box-shadow .2s; }
.tv-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.tv-ad:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.tv-ad-prev { width: 100%; max-width: 1000px; aspect-ratio: 1000 / 50; border: 1px dashed var(--line); border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: #0c1a3e; }
.tv-ad-prev img { width: 100%; height: 100%; object-fit: fill; display: block; }
.bn-shot.tv-ad-shot { width: min(100%, 420px); aspect-ratio: 1000 / 50; height: auto; }
.bn-shot.tv-ad-shot img { width: 100%; height: 100%; object-fit: fill; }
@media (max-width: 600px) { .bn-shot.tv-ad-shot { width: 100%; } }
/* ad-video-stil */
.banner video { display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; background: #0c1a3e; }
.banner.b-160 video, .left-rail .banner.b-160 video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }
/* kule-vid-dikey */
.left-rail .banner.b-160 .tower-vid-fit { position: absolute; inset: 0; overflow: hidden; background: #0c1a3e; }
.left-rail .banner.b-160 .tower-vid-fit video { inset: auto; width: auto; height: auto; object-fit: contain; max-width: none !important; }
.banner.b-1000 video { aspect-ratio: 1000 / 50; height: auto; }
.banner.b-468 video { aspect-ratio: 468 / 60; height: auto; }
.banner.b-300 video { aspect-ratio: 1; height: auto; }
.tv-ad video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; }
.tv-ad-prev video, .banner-preview video { width: 100%; height: 100%; object-fit: fill; display: block; }
.bn-shot video { max-width: 100%; max-height: 100%; display: block; }
/* ad-video-oran */
.sponsors .banner.b-vid-h { aspect-ratio: 320 / 102; max-width: 468px; width: 100%; }
.sponsors .banner.b-vid-h video { object-fit: contain; background: #0c1a3e; }
.tv-ad.tv-vid-h { aspect-ratio: 320 / 102; max-width: min(100%, 640px); margin: 0 auto; }
.tv-ad.tv-vid-h video { position: absolute; inset: 0; object-fit: contain; background: #0c1a3e; }
/* tv-sohbet */
.tv-chat { margin-top: 4px; }
.tv-chat .chat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.tv-chat .chat-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.tv-chat .chat-head b { flex: 1; min-width: 120px; }
.tv-chat .chat-list { max-height: min(42vh, 360px); }
.tv-chat .chat-form { padding: 10px 12px; }
@media (max-width: 760px) { .tv-chat .chat-list { max-height: 280px; } }
/* tv-ui-v4 */
/* tv-sohbet-sol */
.layout.tv-layout .tv-page .tv-stage.tv-stage-chat {
  display: grid;
  /* sohbet biraz geniş · oynatıcı orta kolon daralır */
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(240px, 272px);
  grid-template-areas: "tvchat tvplay tvside";
  align-items: start;
  gap: 12px;
}
.layout.tv-layout .tv-chat-side {
  grid-area: tvchat; margin-top: 0; min-height: 0; min-width: 0; width: 100%;
  display: flex; flex-direction: column; position: sticky; top: 78px;
  max-height: calc(100vh - 88px); order: 0 !important;
}
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-player {
  grid-area: tvplay; min-width: 0; display: flex; flex-direction: column; width: 100%;
}
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-side {
  grid-area: tvside; min-width: 0;
  max-height: calc(100vh - 88px); height: auto; align-self: start;
}
.layout.tv-layout .tv-stage.tv-stage-chat .tv-shell {
  flex: none; width: 100%; aspect-ratio: 16 / 9; max-height: none; height: auto;
}
.layout.tv-layout .tv-stage.tv-stage-chat .tv-ads {
  flex: none; margin-top: 0; border-top: 1px solid var(--line);
  min-height: 0; padding: 10px 12px 12px;
}
.layout.tv-layout .tv-stage.tv-stage-chat .tv-ad-empty { min-height: 50px; aspect-ratio: 1000 / 50; }
.layout.tv-layout .tv-player > .tv-banner-strip:first-child { flex: none; border-radius: 16px 16px 0 0; overflow: hidden; }
.layout.tv-layout .tv-chat-side .chat-tv-col {
  flex: 1; display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 88px);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 16px; overflow: hidden;
  background: linear-gradient(168deg, var(--card-2), var(--card)); box-shadow: var(--shadow);
}
.layout.tv-layout .tv-chat-side .chat-head-col { flex: none; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 12px 10px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(198, 40, 40, .1), transparent 70%); }
.layout.tv-layout .tv-chat-side .chat-head-col b { flex: none; font-size: 15px; letter-spacing: .02em; width: 100%; }
.layout.tv-layout .tv-chat-side .chat-tv-tag { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.layout.tv-layout .tv-chat-side .chat-head-col .muted { width: 100%; font-size: 12px; }
.layout.tv-layout .tv-chat-side .chat-head-col .btn { align-self: stretch; width: auto; min-width: 72px; margin-top: 4px; }
.layout.tv-layout .tv-chat-side .chat-motd { flex: none; font-size: 12px; }
.layout.tv-layout .tv-chat-side .chat-list { flex: 1; min-height: 0; max-height: min(56vh, 520px); overflow-y: auto; }
.layout.tv-layout .tv-chat-side .chat-mod-hint { margin: 0; padding: 0 12px 8px; font-size: 11px; line-height: 1.35; color: var(--muted); border-bottom: 1px dashed var(--line); }
.layout.tv-layout .tv-chat-side .chat-closed.chat-mod-on { background: rgba(245, 179, 1, .08); border-top-color: rgba(245, 179, 1, .35); color: var(--text); font-size: 12px; }
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-grid { max-height: min(52vh, 480px); }
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card { grid-template-columns: 48px 1fr; column-gap: 8px; padding: 8px 10px; min-height: 0; }
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-logo { width: 48px; height: 32px; }
.layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card b { font-size: 12px; line-height: 1.25; }
.layout.tv-layout .tv-chat-side .chat-closed { flex: none; }
.layout.tv-layout .tv-chat-side .chat-form { flex: none; margin-top: auto; border-top: 1px solid var(--line); padding: 10px; background: var(--card-2); }
@media (max-width: 980px) {
  .layout.tv-layout .tv-page .tv-stage.tv-stage-chat {
    grid-template-columns: 1fr;
    grid-template-areas: "tvplay" "tvchat" "tvside";
  }
  .layout.tv-layout .tv-chat-side, .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side { position: static; max-height: none; }
  .layout.tv-layout .tv-stage.tv-stage-chat .tv-shell { min-height: 0; max-height: none; }
  .layout.tv-layout .tv-chat-side .chat-tv-col { max-height: none; }
  .layout.tv-layout .tv-chat-side .chat-list { max-height: min(36vh, 340px); }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side {
    max-height: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-grid {
    max-height: min(50vh, 420px);
    flex: 1;
    min-height: 120px;
    grid-template-columns: 1fr;
  }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 56px;
    width: 100%;
  }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card .tv-logo {
    grid-row: 1 / span 2;
    width: 52px;
    height: 36px;
  }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card b,
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-card small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 760px) {
  .layout.tv-layout .tv-chat-side .chat-form { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }
  .layout.tv-layout .tv-chat-side .chat-form .btn-primary { grid-column: 1 / -1; width: 100%; }
}
/* tv-stil-son */
/* mobil-tam */
img, video, svg, iframe { max-width: 100%; }
.post-content img { height: auto; }
.sponsors .banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sponsors .banner.b-300 img { object-fit: contain; }
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .container { width: calc(100% - 16px); }
  .topbar { padding-top: env(safe-area-inset-top); }
  body.guest .topbar-inner { flex-wrap: nowrap; gap: 8px; min-height: 52px; padding: 6px 0; }
  body.guest .topbar .brand, body.guest .topbar .brand.has-logo { max-width: min(42vw, 160px); flex: 0 1 auto; }
  body.guest .topbar .brand-logo { height: 32px; max-width: 100%; }
  body.guest .userbox { order: 1; flex: none; width: auto; margin: 0 0 0 auto; gap: 6px; justify-content: flex-end; }
  body.guest .userbox .auth-btn { min-width: 0; height: 34px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
  body.guest .layout { padding: 6px 0 16px; }
  body.guest .auth-card { margin: 6px auto 10px; padding: 16px 12px; }
  body.guest .auth-card h1 { font-size: 20px; }
  .gate-box { gap: 8px; }
  .gate-warn { padding: 8px 10px; }
  .gate-warn h2 { font-size: 14px; margin-bottom: 6px; }
  .gate-legal { font-size: 11px; line-height: 1.45; gap: 4px; }
  .gate-card header { font-size: 11px; padding: 7px 8px; }
  .gate-body { padding: 8px 10px; font-size: 12px; }
  input, select, textarea { font-size: 16px !important; }
  .toolbar { width: 100%; }
  .toolbar .btn { flex: 1 1 auto; justify-content: center; min-height: 40px; }
  .page-head h1 { font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
  .breadcrumb { font-size: 12px; }
  .post-actions { flex-wrap: wrap; justify-content: flex-start; }
  .post-content, .chat-text, .forum-title, .lt-title { overflow-wrap: anywhere; }
  .admin-tabs { -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .table-wrap, .section:has(> .table) { -webkit-overflow-scrolling: touch; }
  .move-bar, .move-bar select { width: 100%; }
  .score-match { grid-template-columns: 44px minmax(0, 1fr) 48px minmax(0, 1fr); gap: 4px; padding: 8px; }
  .score-team span { font-size: 12px; }
  .score-num { font-size: 15px; }
  .anket { padding: 12px; }
  .ank-opt { flex-wrap: wrap; }
  .pt-stage { width: min(220px, 72vw); height: min(220px, 72vw); }
  .pt-hub { width: 70px; height: 70px; font-size: 12px; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .profile-head { flex-direction: column; align-items: flex-start; }
  .hero { padding: 16px; }
  .hero h1 { font-size: 22px; }
  .footer { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
  .footer-inner { gap: 10px; }
  .mail-app, .mail-split { display: block; }
  .chat-form { padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .fcat-go { padding: 2px 6px; font-size: 8px; max-height: 18px; }
  .nt-title-input { font-size: 16px; }
  .nt-actions { flex-wrap: wrap; }
  .widget-body { overflow-wrap: anywhere; }
  .rank-escalator { max-height: 220px; }
  .banner, .banner-slot img { max-width: 100%; }
  .tv-page .page-head { flex-direction: column; align-items: stretch; gap: 8px; }
  .tv-tools { width: 100%; flex-direction: column; align-items: stretch; }
  .tv-tools input, .tv-tools .btn { width: 100%; min-width: 0; }
  .layout.tv-layout .tv-stage.tv-stage-chat { gap: 10px; }
  .layout.tv-layout .tv-chat-side .chat-head-col { padding: 10px 12px; }
  .layout.tv-layout .tv-chat-side .chat-list { max-height: min(40vh, 340px) !important; height: auto; }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side { border-radius: 12px; max-height: none; }
  .layout.tv-layout .tv-stage.tv-stage-chat > .tv-side .tv-grid { max-height: min(48vh, 380px); }
  .layout.tv-layout .tv-stage.tv-stage-chat .tv-ads { margin-top: 10px; padding: 10px; }
  .admin-dash { gap: 10px; padding-bottom: 24px; }
  .admin-top { margin-bottom: 14px; padding-bottom: 12px; }
  .admin-top-meta .chip { font-size: 11px; }
  .admin-body .form-card, .admin-body .section { margin-bottom: 14px; }
  .admin-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-tile { padding: 12px; }
  .main-col, .view { min-width: 0; overflow-x: clip; }
  .sponsors, .banner-zone { min-width: 0; }
  .form-card { padding: 14px 12px; }
  .grid-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) {
  .members-grid, .stat-cards, .profile-stats { grid-template-columns: 1fr; }
  .userbox .auth-btn { padding: 0 8px; font-size: 11.5px; }
  .gate-legal { font-size: 10.5px; }
}
/* mobil-tam-son */
