/* ============================================================
   KingChief-style skin. Loaded after site.css: repoints the palette
   and type, then styles the kc-* home components.
   ============================================================ */
:root {
  /* emo: near-black with a red undertone, blood red + hot pink accents.
     (the --purple* names are kept so every rule that uses them picks up the new colours) */
  --bg: #070304; --bg-2: #0d0507; --panel: #13070a; --panel-2: #1b0a0f;
  --line: rgba(225,29,72,.16); --line-2: rgba(255,45,122,.34);
  --fg: #f6eef0; --muted: #b3969d;
  --pink: #e11d48; --pink-2: #ff4f8a; --pink-deep: #881337; --tail: #e11d48;
  --amber: #f5c542; --cyan: #ff6b9a; --gold: #f5c542;
  --purple: #e11d48; --purple-lt: #ff6b9a; --purple-dk: #881337; --magenta: #ff2d7a;
  --kick-green: #53fc18; --red: #e5484d;
  --f-disp: "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-title: "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-brush: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body { background: var(--bg); }
.grain { display: none; }
#bg .bg-aurora {
  background:
    radial-gradient(620px 620px at 0% 0%, rgba(136,19,55,.42), transparent 70%),
    radial-gradient(520px 520px at 100% 30%, rgba(255,45,122,.16), transparent 70%),
    radial-gradient(460px 460px at 30% 100%, rgba(69,10,26,.55), transparent 70%),
    radial-gradient(ellipse at 50% 0%, rgba(225,29,72,.15), transparent 60%);
}
#bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(225,29,72,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(225,29,72,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 75%);
}
#sakura { display: none; }

/* ---------- header ---------- */
.topbar { background: rgba(11,6,22,.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 8px 24px; }
.brand .mark { display: none; }
.brand .bname {
  font-family: var(--f-disp); font-weight: 900; font-size: 20px; letter-spacing: .02em; font-style: normal;
  background: linear-gradient(90deg, #ffd6e2, #ff6b9a 55%, #e11d48); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav a {
  font-family: var(--f-disp); font-size: 13.5px; font-weight: 700; letter-spacing: 0; text-transform: none;
  color: var(--muted); padding: 6px 12px; border-radius: 9px; border: 0;
}
.nav a:hover { color: var(--fg); background: var(--panel); }
.nav a.on { color: var(--fg); background: var(--panel-2); }
.nav a.on::before { content: none; }
.acct { font-family: var(--f-body); }
.acct .bal {
  background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.35); color: #f5c542;
  font-weight: 800; padding: 5px 12px; border-radius: 8px;
}
.acct .bal .cur-unit { color: #f5c542; }

/* ---------- generic components ---------- */
.btn { font-family: var(--f-disp); font-weight: 800; letter-spacing: .02em; text-transform: none; border-radius: 12px; }
.btn:not(.ghost):not(.red) { background: linear-gradient(135deg, var(--purple), var(--purple-dk)); border-color: transparent; color: #fff; }
.btn:hover { box-shadow: 0 4px 26px rgba(136,19,55,.42); }
.btn.ghost { background: var(--panel); border: 1px solid var(--line); color: var(--fg); }
.btn.ghost:hover { border-color: var(--purple); color: var(--fg); }
.panel, .block .io-card, .cd-card, .feature-card, .stat-tile, .key-cmd, .social-card, .clip {
  border-radius: 18px; border-color: var(--line);
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
}
.page-head { border-bottom-color: var(--line); }
.page-head h1 { font-family: var(--f-title); font-weight: 900; font-style: normal; text-transform: none; letter-spacing: .01em; }
.block-head { border-bottom-color: var(--line); }
.block-head h2 { font-family: var(--f-disp); font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--purple-lt); }
.golive { background: linear-gradient(90deg, #881337, #ff2d7a); border: 0; color: #fff; font-family: var(--f-disp); letter-spacing: .12em; }
.golive .dot { background: #fff; box-shadow: 0 0 9px #fff; }
.site-foot { border-top-color: var(--line); }

/* ---------- home: hero ---------- */
.view:has(> .kc-hero) { max-width: none; padding-left: 0; padding-right: 0; padding-top: 0; }
.view:has(> .kc-hero) > :not(.kc-hero):not(.kc-stats) { max-width: 1060px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.kc-hero { position: relative; isolation: isolate; padding: 88px 24px 64px; text-align: center; overflow: hidden; }
.kc-hero-bg {
  position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 50%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 50%, transparent 100%);
}
.kc-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,4,14,.55) 0%, rgba(7,3,4,.2) 55%, var(--bg) 100%); }
.kc-hero.is-live .kc-hero-bg { animation: kc-live-pulse 3s ease-in-out infinite; }
@keyframes kc-live-pulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }

.kc-avatar-wrap { position: relative; display: inline-block; }
.kc-avatar {
  width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--purple); object-fit: cover; display: block;
  background: var(--panel); animation: kc-glow 3s ease-in-out infinite;
}
.kc-avatar-ph { display: flex; align-items: center; justify-content: center; font-size: 54px; color: var(--purple-lt); }
@keyframes kc-glow { 0%,100% { box-shadow: 0 0 50px rgba(225,29,72,.5); } 50% { box-shadow: 0 0 90px rgba(255,45,122,.75); } }
.kc-avatar-wrap.is-live .kc-avatar { border-color: var(--red); border-width: 5px; animation: kc-glow-live 1.6s ease-in-out infinite; }
@keyframes kc-glow-live { 0%,100% { box-shadow: 0 0 50px rgba(229,72,77,.55); } 50% { box-shadow: 0 0 100px rgba(229,72,77,.9); } }
.kc-live-tag {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); display: none;
  background: var(--red); color: #fff; padding: 3px 14px; border-radius: 20px; font-size: 11.5px; font-weight: 900; letter-spacing: .1em; border: 3px solid var(--bg);
}
.kc-avatar-wrap.is-live .kc-live-tag { display: block; animation: kc-blink 1.4s infinite; }
@keyframes kc-blink { 50% { opacity: .55; } }

.kc-name { margin: 22px 0 0; font-family: var(--f-title); font-size: clamp(44px, 8vw, 76px); font-weight: 900; line-height: 1; letter-spacing: .01em; }
.kc-crown {
  background: linear-gradient(90deg, #ffd6e2, var(--purple-lt), var(--magenta), #e11d48, #ffd6e2); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: kc-shine 5s linear infinite;
}
@keyframes kc-shine { to { background-position: 300% center; } }
.kc-verified { color: var(--kick-green); font-size: .45em; vertical-align: middle; }
.kc-tagline { margin: 10px 0 0; color: var(--purple-lt); font-size: 18px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.kc-status { margin: 16px auto 0; max-width: 620px; color: var(--muted); font-size: 15px; min-height: 1.4em; }
.kc-viewers { color: var(--red); font-weight: 800; }
.kc-cat { color: var(--gold); font-weight: 600; }

.kc-cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.kc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 12px;
  font-weight: 800; font-size: 16px; transition: transform .12s, filter .12s;
}
.kc-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.kc-btn-kick { background: var(--kick-green); color: #000; box-shadow: 0 4px 26px rgba(83,252,24,.3); }
.kc-btn-gold { background: linear-gradient(135deg, #f5c542, #e6a817); color: #000; box-shadow: 0 4px 26px rgba(245,197,66,.35); font-weight: 900; }
.kc-btn-ghost { background: var(--panel); color: var(--fg); border: 1px solid var(--line); }

/* ---------- home: stats bar ---------- */
.kc-stats {
  display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 56px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(19,7,10,.65); backdrop-filter: blur(10px);
}
.kc-stat { flex: 1; min-width: 150px; max-width: 280px; text-align: center; padding: 18px 8px; border-right: 1px solid var(--line); }
.kc-stat:last-child { border-right: 0; }
.kc-stat b { display: block; font-size: 26px; font-weight: 900; line-height: 1; color: var(--fg); }
.kc-stat b.gold { color: var(--gold); }
.kc-stat b.kick { color: var(--kick-green); }
.kc-stat b.purple { color: var(--purple-lt); }
.kc-stat span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

/* ---------- home: feature cards ---------- */
.kc-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 40px; }
.kc-feat {
  position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 26px 24px;
  background: linear-gradient(160deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 18px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.kc-feat:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 0 8px 40px rgba(225,29,72,.2); }
.kc-feat-ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 16px; }
.kc-i-gold { background: rgba(245,197,66,.14); }
.kc-i-purple { background: rgba(225,29,72,.18); }
.kc-i-red { background: rgba(229,72,77,.16); }
.kc-i-kick { background: rgba(83,252,24,.12); }
.kc-i-blue { background: rgba(56,189,248,.14); }
.kc-feat-title { font-size: 18px; font-weight: 900; }
.kc-feat-desc { flex: 1; margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.kc-feat-cta { margin-top: 16px; font-size: 13px; font-weight: 800; color: var(--purple-lt); }
.kc-feat:hover .kc-feat-cta { color: var(--magenta); }

@media (max-width: 640px) {
  .kc-hero { padding: 56px 16px 44px; }
  .kc-avatar { width: 120px; height: 120px; }
  .kc-btn { padding: 12px 20px; font-size: 15px; }
  .kc-stat { min-width: 50%; border-bottom: 1px solid var(--line); }
  .view:has(> .kc-hero) > :not(.kc-hero):not(.kc-stats) { padding-left: 16px; padding-right: 16px; }
}

/* ---------- casino: pump ---------- */
.pump-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; gap: 18px; }
.pump-balloon {
  --s: 1; width: 110px; height: 130px; border-radius: 50% 50% 48% 48%; transform: scale(var(--s)); transition: transform .18s ease-out;
  background: radial-gradient(circle at 35% 30%, #ffc2d4, var(--purple) 45%, var(--purple-dk) 100%);
  box-shadow: 0 0 40px rgba(225,29,72,.5); display: flex; align-items: center; justify-content: center; margin: 40px 0;
}
.pump-balloon span { font-weight: 900; font-size: 20px; color: #fff; transform: scale(calc(1 / var(--s))); }
.pump-balloon.popped { animation: pump-pop .35s ease-out forwards; background: radial-gradient(circle, var(--red), transparent 70%); box-shadow: none; }
@keyframes pump-pop { 0% { transform: scale(calc(var(--s) * 1.15)); } 100% { transform: scale(calc(var(--s) * 1.5)); opacity: .25; } }
.pump-stage select, .bet-panel select { width: 100%; padding: 8px; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; }

/* ---------- fishing ---------- */
.fish-top { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 18px; align-items: stretch; margin-bottom: 36px; }
.fish-cast-card { text-align: center; padding: 26px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel), var(--bg-2)); }
.fish-bobber { font-size: 54px; margin-bottom: 14px; }
.fish-bobber.casting { animation: fish-cast .9s ease-in-out; }
@keyframes fish-cast { 0% { transform: rotate(0); } 30% { transform: rotate(-35deg) translateY(-8px); } 60% { transform: rotate(20deg) translateY(10px); } 100% { transform: rotate(0); } }
.fish-ready { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.fish-result { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fish-stats { margin: 0; border-radius: 18px; border: 1px solid var(--line); align-items: center; }
.fish-gear { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fish-card {
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 16px 10px; min-width: 150px;
  border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel), var(--bg-2));
}
.fish-card.locked { filter: grayscale(1); opacity: .45; }
.fish-emoji { font-size: 34px; }
.fish-rarity { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fish-val { font-size: 12px; color: var(--muted); }
.fish-count { font-size: 12px; color: var(--fg); font-weight: 800; }
.fish-exp { font-size: 11px; white-space: nowrap; color: #4fd8ff; font-weight: 700; }
.trip-haul { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.trip-haul .fish-card { padding: 8px 4px; width: auto; min-width: 0; }
.trip-haul .fish-card b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.trip-haul .fish-emoji { font-size: 26px; }
#tripResult { margin-top: 0; justify-content: center; }
.r-leg { border-color: rgba(245,197,66,.6); } .r-leg .fish-rarity { color: var(--gold); }
.r-epic { border-color: rgba(255,45,122,.55); } .r-epic .fish-rarity { color: var(--magenta); }
.r-rare { border-color: rgba(56,189,248,.5); } .r-rare .fish-rarity { color: #38bdf8; }
.r-unc .fish-rarity { color: var(--kick-green); }
.r-com .fish-rarity { color: var(--muted); }
@media (max-width: 720px) { .fish-top { grid-template-columns: 1fr; } }
.kc-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }

/* ---------- stocks ---------- */
.stk-summary { margin: 0 0 24px; border-radius: 18px; border: 1px solid var(--line); }
.stk-login { text-align: center; margin-bottom: 24px; }
.stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.stk-card { padding: 18px 18px 14px; border-radius: 18px; border: 1px solid var(--line); border-top: 3px solid var(--c); background: linear-gradient(160deg, var(--panel), var(--bg-2)); }
.stk-head { display: flex; align-items: baseline; gap: 8px; } .stk-head b { font-size: 17px; font-weight: 900; color: var(--c); }
.stk-price { margin-top: 4px; font-size: 28px; font-weight: 900; }
.stk-price small { font-size: 13px; font-weight: 800; } .stk-price .up { color: var(--kick-green); } .stk-price .down { color: var(--red); }
.stk-spark { display: block; width: 100%; height: 48px; margin: 8px 0; }
.stk-meta, .stk-top { font-size: 12px; }
.stk-trade { display: flex; gap: 6px; margin-top: 10px; }
.stk-trade input { flex: 1; min-width: 0; padding: 7px 10px; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; }
.stk-top { margin-top: 8px; }

/* ---------- profile ---------- */
.prof-hero { display: flex; align-items: center; gap: 22px; margin: 10px 0 26px; }
.prof-avatar {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900; color: #fff; border: 3px solid var(--purple);
  background: linear-gradient(135deg, var(--purple-dk), var(--magenta)); box-shadow: 0 0 40px rgba(225,29,72,.45);
}
.prof-name { margin: 0; font-size: clamp(28px, 5vw, 42px); font-weight: 900; }
.prof-title { margin: 4px 0 0; color: var(--purple-lt); font-weight: 700; }
.prof-stats { margin: 0 0 24px; border-radius: 18px; border: 1px solid var(--line); }
.podium-name:hover, .lb-list a:hover b { color: var(--purple-lt); }

@media (max-width: 640px) {
  .topbar { padding: 8px 12px; gap: 10px; }
  .acct { gap: 6px; min-width: 0; }
  .acct .bal { padding: 4px 8px; }
  .acct .bal .cur-unit, .acct-trigger .lvlpill { display: none; }
  .acct-trigger b { display: inline-block; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}

/* ---------- creator dashboard (/dashboard) ---------- */
body.dash-mode .view { max-width: none; padding: 0; }
body.dash-mode .site-foot, body.dash-mode .dock, body.dash-mode #bg { display: none; }
body.dash-mode { background: #0a0714; }
.dash-mode .staff-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 0; min-height: calc(100vh - 56px); }
.dash-mode .staff-nav {
  position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #0d0a1a; border-right: 1px solid var(--line);
}
.dash-mode .staff-nav button, .dash-mode .staff-nav a {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 12px; border-radius: 9px; border: 1px solid transparent;
  background: none; color: var(--muted); font: 600 13.5px var(--f-body); letter-spacing: 0; text-transform: none; cursor: pointer;
}
.dash-mode .staff-nav i { width: 18px; text-align: center; font-style: normal; font-size: 14px; }
.dash-mode .staff-nav button:hover, .dash-mode .staff-nav a:hover { color: var(--fg); background: var(--panel); }
.dash-mode .staff-nav button.on { color: var(--kick-green); background: rgba(83,252,24,.08); border-color: rgba(83,252,24,.35); }
.staff-nav-sec { margin: 14px 12px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--muted); opacity: .7; }
.staff-nav-who { margin: auto 12px 0; padding-top: 14px; font-size: 11.5px; color: var(--muted); }
.dash-mode .staff-main { padding: 16px 18px 40px; min-width: 0; }

.dash-topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 8px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.dash-topbar-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--purple-lt); }
.dash-blur { filter: blur(5px); font-size: 12.5px; color: var(--muted); user-select: none; transition: filter .15s; }
.dash-blur:hover { filter: none; user-select: text; }
.dash-topbar-spacer { flex: 1; }
.dash-status { font-size: 11px; font-weight: 900; letter-spacing: .1em; padding: 3px 10px; border-radius: 20px; background: var(--panel-2); color: var(--muted); }
.dash-status.on { background: rgba(229,72,77,.18); color: var(--red); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr); gap: 14px; align-items: start; }
.dash-col { display: grid; gap: 14px; min-width: 0; }
.dash-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dcard, .dash-mode .staff-main .io-card { background: #120e22; border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden; min-width: 0; }
.dash-mode .staff-main .io-card { padding: 14px; }
.dcard-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.dcard-head h3 { margin: 0; font-size: 13.5px; font-weight: 800; }
.dcard-ico { font-size: 14px; }
.dchip { margin-left: auto; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 20px; background: rgba(225,29,72,.16); color: var(--purple-lt); }
.dchip.on { background: rgba(83,252,24,.12); color: var(--kick-green); }
.dcard-body { padding: 12px 14px; max-height: 340px; overflow-y: auto; }
.dstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.dstats b { display: block; font-size: 22px; font-weight: 900; } .dstats b.kick { color: var(--kick-green); }
.dstats span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drow { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 13px; border-top: 1px solid rgba(225,29,72,.08); }
.drow:first-child { border-top: 0; }
.drow > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.drow small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.drow > .muted { flex-shrink: 0; font-size: 12px; }
.dlabel { margin: 12px 0 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.dempty { margin: 18px 0; text-align: center; color: var(--muted); font-size: 12.5px; }
.dx { flex-shrink: 0; background: none; border: 0; color: var(--red); cursor: pointer; font-size: 13px; padding: 0 4px; }
.dcard-chat .dcard-body { max-height: none; }
.dcard-chat .stream-chat-feed { height: 460px; overflow-y: auto; }
.dchat-send { display: flex; gap: 8px; margin-top: 10px; }
.dchat-send input { flex: 1; min-width: 0; padding: 9px 12px; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-radius: 9px; }
.dchat-send .kc-btn { padding: 8px 18px; font-size: 14px; }
@media (max-width: 1300px) { .dash-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dash-col-wide { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .dash-mode .staff-shell { grid-template-columns: 1fr; }
  .dash-mode .staff-nav { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .dash-mode .staff-nav button, .dash-mode .staff-nav a { width: auto; }
  .staff-nav-sec, .staff-nav-who { display: none; }
  .dash-grid, .dash-row3 { grid-template-columns: minmax(0, 1fr); }
  .dstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dash-row3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.dchip { white-space: nowrap; }
.dcard-head h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dsrc { margin: -6px 2px 0; font-size: 11.5px; color: var(--muted); } .dsrc .ok { color: var(--kick-green); } .dsrc .bad { color: var(--red); }
/* keep the header (and its account dropdown) above page content - site.css flattens it to z-index 1 */
.topbar { position: sticky; top: 0; z-index: 60; }

/* ================= polish pass: icons, activity feed, casino tabs, sound grid ================= */
.ico { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.14em; }
.ico.sm { width: 13px; height: 13px; }
.kc-feat-ico .ico { width: 24px; height: 24px; }
.kc-i-gold { color: var(--gold); } .kc-i-purple { color: var(--purple-lt); } .kc-i-red { color: #ff6b70; }
.kc-i-kick { color: var(--kick-green); } .kc-i-blue { color: #5cc8fa; }

/* live activity: one clean line */
.live-activity-bar { gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 13px; }
.live-activity-bar .lab { font-family: var(--f-disp); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-lt); white-space: nowrap; }
.live-activity-bar .txt { flex: 1; min-width: 0; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-activity-bar .txt b { font-weight: 700; }
.live-activity-bar .when { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* recent feed */
.ticker { gap: 2px; font-size: 13px; }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-family: var(--f-body); letter-spacing: 0; }
.ticker li:nth-child(odd) { background: rgba(255,255,255,.025); }
.ticker li .ico { color: var(--purple-lt); width: 15px; height: 15px; }
.ticker li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker li b { font-weight: 700; }
.ticker li time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.ticker li.empty { color: var(--muted); }

/* key commands: 4 even columns on desktop */
@media (min-width: 900px) { .key-cmds { grid-template-columns: repeat(4, 1fr); } }

/* schedule */
.sched .tm small { color: var(--purple-lt); font-size: 10px; margin-right: 2px; }
.sched-note { margin: 10px 0 0; font-size: 11px; color: var(--muted); }

/* casino game tabs */
.game-tabs { gap: 8px; }
.game-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-size: 13px;
  letter-spacing: .04em; text-transform: none; font-family: var(--f-body); font-weight: 700; border-radius: 12px;
}
.game-tabs button .ico { width: 18px; height: 18px; }
.game-tabs button:hover { color: var(--fg); border-color: var(--line-2); }
.game-tabs button.on { color: #fff; border-color: var(--purple); background: linear-gradient(160deg, rgba(225,29,72,.32), rgba(255,45,122,.16)); box-shadow: 0 4px 20px rgba(225,29,72,.22); }
.bet-panel .chips button { padding: 9px 6px; font-size: 12px; }
@media (max-width: 640px) {
  .game-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .game-tabs button { flex-shrink: 0; }
}

/* sound effects */
.sfx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.sfx-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(19,7,10,.6); color: var(--muted); }
.sfx-search:focus-within { border-color: var(--purple); }
.sfx-search .ico { width: 17px; height: 17px; }
.sfx-search input { flex: 1; min-width: 0; padding: 12px 0; background: none; border: 0; outline: 0; color: var(--fg); font: 14px var(--f-body); }
.sfx-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.sfx-cats button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(19,7,10,.6); color: var(--muted); font: 700 12px var(--f-body); cursor: pointer; }
.sfx-cats button:hover { color: var(--fg); }
.sfx-cats button.on { color: #fff; border-color: var(--purple); background: rgba(225,29,72,.24); }
.sfx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.sfx {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px;
  background: linear-gradient(160deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s;
}
.sfx:hover { border-color: var(--purple); transform: translateY(-2px); }
.sfx.off { opacity: .4; }
.sfx.reject { animation: reject .3s; border-color: var(--bad); }
.sfx-play {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(225,29,72,.16); color: var(--purple-lt); transition: background .15s, color .15s;
}
.sfx-play:hover { background: var(--purple); color: #fff; }
.sfx-play .ico { width: 15px; height: 15px; margin-left: 2px; }
.sfx-main { flex: 1; min-width: 0; }
.sfx-main .nm { font-weight: 700; font-size: 14px; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfx-main .ct { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.sfx[data-cat="ai"] .sfx-main .ct .ico { color: var(--purple-lt); }
.sfx .buy { flex-shrink: 0; }
.sfx-empty { grid-column: 1 / -1; padding: 20px 0; }
.sfx-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* casino stage: a lit table instead of an empty box */
.game-stage {
  border-radius: 16px; min-height: 340px;
  background: radial-gradient(ellipse at 50% 40%, rgba(225,29,72,.20), transparent 62%), linear-gradient(160deg, var(--panel), var(--bg-2));
}
.bet-panel { border-radius: 16px; }
.coin:not(.coin-gold):not(.coin-silver) {
  width: 132px; height: 132px; font-size: 44px; border: 0; color: #3b2400;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, #f5c542 45%, #b9861a 100%);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.18), inset 0 -8px 16px rgba(0,0,0,.25), 0 10px 40px rgba(245,197,66,.25);
}
.game-stage #flip, .game-stage .btn:not(.ghost) { min-width: 160px; padding: 13px 28px; font-size: 13px; border-radius: 12px; }

/* ================= grouped nav + gothic headings ================= */
:root { --f-goth: "Grenze Gotisch", "Old English Text MT", Georgia, serif; }

/* headings that carry the vibe; body/UI text stays clean */
.kc-name, .page-head h1, .brand .bname { font-family: var(--f-goth); font-weight: 700; letter-spacing: .01em; text-transform: none; }
.kc-name { font-size: clamp(56px, 10vw, 96px); font-weight: 900; line-height: .95; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); }
.brand .bname { font-size: 26px; letter-spacing: .02em; }
.kc-feat-title { font-family: var(--f-goth); font-size: 23px; font-weight: 700; letter-spacing: .01em; }

.nav { flex-wrap: nowrap; }
.nav-group { position: relative; }
.nav-grp-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 12px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font-family: var(--f-disp); font-weight: 700; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--muted);
}
.nav-grp-btn .caret { width: 13px; height: 13px; transition: transform .15s; }
.nav-group:hover .nav-grp-btn, .nav-group.open .nav-grp-btn { color: var(--fg); background: var(--panel); }
.nav-group.on .nav-grp-btn { color: var(--fg); background: var(--panel-2); }
.nav-group.open .caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 180px; padding: 6px; z-index: 60;
  display: none; flex-direction: column; gap: 2px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* hover bridge */
.nav-menu a { border-radius: 10px; }
@media (hover: hover) { .nav-group:hover .nav-menu { display: flex; } }
.nav-group.open .nav-menu { display: flex; }

@media (max-width: 820px) {
  .nav { flex-wrap: wrap; }
  .nav-group { width: 100%; }
  .nav-grp-btn { pointer-events: none; padding: 10px 14px 2px; font-size: 10.5px; opacity: .7; background: none !important; } /* just a section label on phones */
  .nav-grp-btn .caret { display: none; }
  .nav-menu { position: static; display: flex; min-width: 0; padding: 4px 0 4px 10px; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; }
  .nav-menu::before { display: none; }
  .brand .bname { font-size: 22px; }
}

/* Live page: Kick's own chat embedded next to the player */
.live-wrap.with-chat { grid-template-columns: 1fr 360px; }
.live-chat.live-chat-kick { height: auto; padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 14px; background: #0b0b0e; }
.live-chat-kick iframe { width: 100%; height: min(72vh, 640px); border: 0; display: block; }
.live-chat-open { display: block; padding: 8px 12px; font-size: 12px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.live-chat-open:hover { color: var(--fg); }
@media (max-width: 860px) { .live-chat-kick iframe { height: 460px; } }

.r-elite { border-color: rgba(34,224,140,.6); box-shadow: 0 0 14px rgba(34,224,140,.15); } .r-elite .fish-rarity { color: #22e08c; }
.r-myth { border-color: rgba(176,107,255,.75); box-shadow: 0 0 18px rgba(176,107,255,.3); } .r-myth .fish-rarity { color: #c79bff; }
.r-secret { border-color: #ffc700; box-shadow: 0 0 22px rgba(255,199,0,.4); background: linear-gradient(160deg, rgba(255,199,0,.12), transparent 60%); }
.r-secret .fish-rarity { background: linear-gradient(90deg, #ff4d6d, #ffb000, #3dff8a, #22c8ff, #b06bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r-leg { box-shadow: 0 0 16px rgba(245,197,66,.2); }
.fish-card.locked.r-secret .fish-emoji, .fish-card.locked.r-myth .fish-emoji { filter: grayscale(1) brightness(.35); }

.r-ultra { border: 2px solid transparent; background: linear-gradient(var(--panel, #160a20), var(--panel, #160a20)) padding-box, linear-gradient(135deg, #22e08c, #22c8ff, #b06bff, #ff2fb0, #ffc700) border-box; box-shadow: 0 0 26px rgba(34,200,255,.35); }
.r-ultra .fish-rarity { background: linear-gradient(90deg, #22e08c, #22c8ff, #b06bff, #ff2fb0, #ffc700); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r-ultra .fish-emoji { animation: nessieBob 3s ease-in-out infinite; }
@keyframes nessieBob { 50% { transform: translateY(-4px) rotate(-4deg); } }

.exp-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px; border: 1px solid rgba(34,200,255,.35); border-radius: 14px; background: linear-gradient(160deg, rgba(10,60,110,.35), rgba(10,10,30,.2)); box-shadow: inset 0 0 40px rgba(34,200,255,.08); }
.exp-odds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.exp-odds li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line, #3a1a4a); border-radius: 8px; background: rgba(0,0,0,.25); }
.exp-odds li .fish-rarity { flex: 0 0 120px; }
.exp-odds li .exp-fish { flex: 1; font-size: 18px; letter-spacing: 2px; }
.exp-odds li b { font-size: 13px; }
@media (max-width: 720px) { .exp-card { grid-template-columns: 1fr; } }

.exp-odds li .exp-pay { font-size: 11.5px; white-space: nowrap; }

.stk-mood { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; border: 1px solid var(--line, #3a1a4a); background: rgba(0,0,0,.25); font-size: 12.5px; }
.stk-mood b { font-size: 14px; letter-spacing: .06em; }
.stk-mood span { color: var(--muted, #b896cc); }
.stk-mood-active { border-color: rgba(83,252,24,.45); }
.stk-mood-hype { border-color: rgba(255,90,61,.7); box-shadow: 0 0 16px rgba(255,90,61,.25); }
.stk-mood-frenzy { border-color: #ffc700; box-shadow: 0 0 22px rgba(255,199,0,.35); animation: stkPulse 1.4s ease-in-out infinite; }
@keyframes stkPulse { 50% { box-shadow: 0 0 8px rgba(255,199,0,.15); } }

.rank-jump { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; text-align: center; font-weight: 700; color: #000; background: linear-gradient(90deg, #ffc700, #ffe066, #ffc700); box-shadow: 0 0 18px rgba(255,199,0,.45); }

/* ---------- Kraken raid bar (every page) ---------- */
.kraken-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 900; width: min(560px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(40,10,70,.96), rgba(8,20,45,.96)); border: 1px solid rgba(168,85,247,.7); box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 30px rgba(168,85,247,.35); color: #fff; }
.kraken-bar.hit { animation: krShake .25s; }
.kraken-bar.won { border-color: rgba(245,197,66,.85); box-shadow: 0 10px 40px rgba(0,0,0,.6), 0 0 34px rgba(245,197,66,.45); }
.kraken-bar.lost { border-color: rgba(120,140,170,.6); }
.kr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.kr-title { font-weight: 800; letter-spacing: .08em; font-size: 15px; }
.kr-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #f5c542; }
.kr-hp { position: relative; height: 18px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.kr-hp i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #e11d48, #a855f7); transition: width .3s ease; }
.kr-hp b { position: relative; display: block; text-align: center; font-size: 11px; line-height: 18px; text-shadow: 0 1px 2px #000; }
.kr-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.kr-top { flex: 1; font-size: 12px; min-width: 0; }
.kr-last { font-size: 12px; color: #ff9db5; font-weight: 700; } .kr-last.crit { color: #f5c542; }
.kr-go { padding: 8px 14px; }
.kr-note { margin: 8px 0 0; font-size: 11.5px; color: rgba(255,255,255,.65); }
.kr-res { margin: 0; font-size: 13px; line-height: 1.6; }
@keyframes krShake { 0%,100% { transform: translateX(-50%); } 30% { transform: translateX(calc(-50% - 4px)); } 70% { transform: translateX(calc(-50% + 4px)); } }
@media (prefers-reduced-motion: reduce) { .kraken-bar.hit { animation: none; } .kr-hp i { transition: none; } }

/* ---------- weekly fishing tournament ---------- */
.tourney .block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tn-ends { font-size: 12px; font-variant-numeric: tabular-nums; }
.tn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tn-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 80px; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.tn-row:nth-child(1) { border-color: rgba(245,197,66,.55); background: rgba(245,197,66,.08); }
.tn-row.me { border-color: rgba(79,216,255,.6); }
.tn-place { font-weight: 800; text-align: center; }
.tn-name { color: var(--fg); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.tn-name:hover { text-decoration: underline; }
.tn-fish { font-size: 18px; letter-spacing: 2px; white-space: nowrap; }
.tn-score { text-align: right; font-variant-numeric: tabular-nums; color: var(--gold); }
.tn-mine { margin-top: 8px; }
.tn-last { margin: 10px 0 0; font-size: 12.5px; }
.cpill.tn-badge { border-color: rgba(245,197,66,.7); color: var(--gold); vertical-align: middle; }
@media (max-width: 520px) { .tn-row { grid-template-columns: 28px minmax(0, 1fr) 64px; } .tn-fish { display: none; } }

/* ---------- daily quests + streak (home) ---------- */
.quests .block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.qs-reset { font-size: 12px; }
.qs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 14px; }
.qs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.qs-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.qs-row.done { opacity: .6; } .qs-row.done .qs-text { text-decoration: line-through; }
.qs-bonus { border-style: dashed; } .qs-bonus.done { opacity: 1; border-color: rgba(245,197,66,.6); }
.qs-text { font-size: 13px; min-width: 0; }
.qs-bar { display: block; height: 4px; margin-top: 5px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.qs-bar i { display: block; height: 100%; background: linear-gradient(90deg, #22c55e, #4fd8ff); }
.qs-reward { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; } .qs-reward b { display: block; color: var(--gold); font-size: 13px; }
.qs-streak { padding: 12px; border-radius: 12px; text-align: center; background: linear-gradient(160deg, rgba(255,120,40,.14), rgba(255,255,255,.03)); border: 1px solid rgba(255,140,60,.35); }
.qs-streak p { margin: 6px 0 0; font-size: 12px; }
.qs-fire { font-size: 26px; } .qs-fire b { font-size: 30px; } .qs-fire span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qs-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.qs-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.12); }
.qs-dots i.on { background: #ff8a3d; box-shadow: 0 0 8px rgba(255,138,61,.7); }
.qs-dots i.big { width: 16px; height: 16px; margin-top: -2px; border: 1px solid rgba(245,197,66,.7); }
@media (max-width: 640px) { .qs-grid { grid-template-columns: 1fr; } }

/* ---------- animated WR sub badges ---------- */
.wr-badge { width: 18px; height: 18px; vertical-align: -4px; margin-right: 5px; image-rendering: auto; flex: none; }
.wr-badge.big { width: 30px; height: 30px; vertical-align: -6px; margin: 0 6px 0 4px; }
.lc-msg .wr-badge { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }

/* ---------- dashboard: Transactions + TTS Ban List tabs ---------- */
.tx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tx-bar input[type=text], .tx-bar #txUser { flex: 1; min-width: 160px; }
.tx-chk { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.seg button { background: none; border: 0; color: var(--muted); padding: 6px 12px; font: 700 12.5px var(--f-body); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: rgba(83,252,24,.1); color: var(--kick-green); }
.tx-sum { margin-bottom: 12px; padding: 12px; border-radius: 14px; background: #120e22; border: 1px solid var(--line); }
.tx-sum b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-neg { color: var(--red); } .tx-table .kick, .tx-sum .kick { color: var(--kick-green); }
.tx-wrap { max-height: calc(100vh - 300px); overflow: auto; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tx-table th { position: sticky; top: 0; z-index: 1; background: #171129; text-align: left; padding: 9px 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tx-table td { padding: 7px 14px; border-top: 1px solid rgba(225,29,72,.08); white-space: nowrap; }
.tx-table tbody tr:hover { background: rgba(255,255,255,.03); }
.tx-table .dempty { white-space: normal; }
.tx-why { display: inline-block; padding: 1px 8px; border-radius: 20px; background: var(--panel-2); font-size: 11.5px; font-weight: 700; }
.ban-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ban-body { max-height: none; }
.ban-note { font-size: 12px; margin: 0 0 10px; line-height: 1.45; }
.ban-list { margin-top: 10px; max-height: 60vh; overflow-y: auto; }
.ban-row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-top: 1px solid rgba(225,29,72,.08); font-size: 13px; }
.ban-row:first-child { border-top: 0; }
.ban-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .ban-grid { grid-template-columns: minmax(0, 1fr); } .tx-table td, .tx-table th { padding: 7px 8px; } }

/* ---------- dashboard: section bar across the top instead of a sidebar ---------- */
.hub { min-height: calc(100vh - 56px); }
.hub-top { position: sticky; top: 56px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: rgba(13,10,26,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hub-cats { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hub-cats::-webkit-scrollbar { display: none; }
.hub-cats button { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #120e22; color: var(--muted); font: 800 13.5px var(--f-body); cursor: pointer; transition: transform .12s, color .12s, border-color .12s, background .12s; }
.hub-cats button i { font-style: normal; font-size: 16px; }
.hub-cats button:hover { color: var(--fg); transform: translateY(-1px); }
.hub-cats button.on { color: #0a0714; background: var(--kick-green); border-color: var(--kick-green); box-shadow: 0 0 18px rgba(83,252,24,.35); }
.hub-links { display: flex; gap: 4px; flex-shrink: 0; }
.hub-links a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #120e22; text-decoration: none; font-size: 15px; }
.hub-links a:hover { border-color: var(--line-2); }
.hub-subs { display: flex; gap: 4px; padding: 10px 18px 0; overflow-x: auto; scrollbar-width: none; }
.hub-subs::-webkit-scrollbar { display: none; }
.hub-subs button { flex-shrink: 0; padding: 6px 14px; border-radius: 20px; border: 1px solid transparent; background: none; color: var(--muted); font: 700 12.5px var(--f-body); cursor: pointer; }
.hub-subs button:hover { color: var(--fg); background: var(--panel); }
.hub-subs button.on { color: var(--kick-green); background: rgba(83,252,24,.08); border-color: rgba(83,252,24,.35); }
.hub .staff-main { padding: 14px 18px 40px; min-width: 0; }
@media (max-width: 640px) {
  .hub-top { padding: 8px 10px; }
  .hub-cats button { padding: 8px 11px; }
  .hub-cats button span { display: none; }
  .hub-cats button.on span { display: inline; }
  .hub-links a { width: 32px; height: 32px; }
  .hub-subs, .hub .staff-main { padding-left: 10px; padding-right: 10px; }
}
