@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Oswald:wght@500;600;700&family=Roboto+Mono:wght@400;500&display=swap");

:root {
  --black: #0b0e0d;
  --ink: #161b18;
  --paper: #d9ddd2;
  --paper-deep: #b8c0b2;
  --line: rgba(30, 38, 31, .18);
  --line-light: rgba(224, 231, 214, .15);
  --olive: #788952;
  --olive-bright: #a7bd68;
  --rust: #b9603e;
  --amber: #d5a34c;
  --muted: #657067;
  --mono: Consolas, "Courier New", monospace;
  --display: Impact, "Arial Narrow", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: auto; padding: 25px 5vw; color: #e2e8dc; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--black); font-size: 21px; font-weight: 800; border: 1px solid var(--olive-bright); background: var(--olive-bright); clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.logo-copy { display: grid; gap: 1px; }
.logo-copy strong { font-size: 20px; font-weight: 800; letter-spacing: .07em; line-height: .8; }
.logo-copy small, .form-index, .eyebrow, .section-kicker, .hero-coordinate, .ticker, .mono-note { font-family: var(--mono); }
.logo-copy small { color: #9ca997; font-size: 8px; letter-spacing: .12em; }
.site-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 44px; font-size: 15px; }
.site-nav a { position: relative; color: #afb9a8; transition: color .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: #f0f3e9; }
.site-nav a.is-active::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; background: var(--olive-bright); }
.header-button { display: flex; align-items: center; gap: 9px; padding: 10px 13px; color: var(--black); font-family: var(--mono); font-size: 10px; border: 1px solid var(--olive-bright); background: var(--olive-bright); transition: .2s ease; }
.header-button:hover { color: #fff; border-color: var(--rust); background: var(--rust); }
.header-button span { font-size: 15px; line-height: 0; }
.hero { position: relative; display: flex; align-items: center; min-height: min(760px, 88vh); overflow: hidden; color: #e7ede0; background: var(--black); }
.hero-backdrop {
  position: absolute;
  inset: -2%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(3, 5, 6, .72) 0%, rgba(3, 5, 6, .28) 25%, rgba(3, 5, 6, .08) 62%, rgba(3, 5, 6, .48) 100%),
    url("/assets/hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(.82) contrast(1.04);
  transform: scale(1.01);
}
.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 5, 6, .42) 0%, transparent 19%, transparent 66%, rgba(3, 5, 6, .94) 100%),
    linear-gradient(90deg, rgba(3, 5, 6, .22) 0%, transparent 18%, transparent 82%, rgba(3, 5, 6, .38) 100%);
}
.hero-noise { display: none; }
.hero-copy { position: relative; z-index: 2; width: min(600px, calc(100% - 64px)); margin-left: max(32px, calc((100% - 1280px) / 2)); padding-top: 80px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #acb899; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.status-light, .pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--olive-bright); box-shadow: 0 0 0 4px rgba(167, 189, 104, .15); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(78px, 12vw, 172px); font-weight: 700; letter-spacing: -.025em; line-height: .78; text-transform: uppercase; }
h1 em, h2 em { color: var(--rust); font-style: normal; }
.hero-lede { max-width: 355px; margin-bottom: 30px; color: #b2bcae; font-size: 21px; line-height: 1.14; }
.hero-actions { display: flex; gap: 17px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 42px; padding: 11px 16px; border: 1px solid transparent; font-family: var(--mono); font-size: 10px; letter-spacing: .01em; transition: .2s ease; }
.button span { color: var(--rust); font-size: 15px; }
.button-primary { color: var(--black); background: var(--olive-bright); }
.button-primary:hover { color: #fff; border-color: var(--rust); background: var(--rust); }
.button-primary:hover span { color: #fff; }
.button-quiet { color: #b9c3b4; border-color: rgba(210, 224, 196, .3); background: transparent; }
.button-quiet:hover { color: #fff; border-color: var(--olive-bright); }
.hero-coordinate { position: absolute; z-index: 2; right: 3.5vw; bottom: 46px; display: grid; gap: 4px; color: #758371; font-size: 9px; letter-spacing: .08em; text-align: right; }
.hero-coordinate strong { color: #c2ceb7; font-size: 11px; font-weight: 400; }
.hero-coordinate small { color: var(--rust); font-size: 8px; }
.hero-stamp, .hero-scanline { position: absolute; z-index: 2; }
.hero-stamp { right: 8vw; top: 40%; color: rgba(214, 227, 194, .5); font-family: var(--mono); font-size: 12px; line-height: .9; letter-spacing: .12em; transform: rotate(-9deg); }
.hero-stamp span { color: var(--rust); font-size: 8px; }
.hero-scanline { display: none; }
.ticker { display: flex; align-items: center; gap: 26px; min-height: 48px; padding: 0 5vw; color: #c2cbbd; background: #1c241c; font-size: 9px; letter-spacing: .04em; }
.ticker-label { display: flex; align-items: center; gap: 9px; color: var(--olive-bright); white-space: nowrap; }
.ticker-items { display: flex; flex: 1; justify-content: space-between; gap: 20px; overflow: hidden; }
.ticker-items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-items b { margin-right: 5px; color: var(--rust); font-size: 8px; font-weight: 500; }
.ticker-time { color: #788476; white-space: nowrap; }
.section { max-width: 1340px; margin: auto; padding: 105px 5vw; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-kicker { margin-bottom: 13px; color: var(--rust); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
h2 { margin-bottom: 0; font-size: clamp(52px, 7vw, 96px); font-weight: 600; letter-spacing: -.025em; line-height: .8; text-transform: uppercase; }
.section-aside { display: grid; gap: 22px; min-width: 280px; }
.section-aside p { margin-bottom: 0; color: #697669; font-family: var(--mono); font-size: 10px; line-height: 1.7; text-align: right; }
.filter-row { display: flex; justify-content: flex-end; gap: 5px; }
.filter-chip { padding: 8px 10px; color: #717d6e; border: 1px solid var(--line); background: transparent; font-family: var(--mono); font-size: 9px; transition: .2s ease; }
.filter-chip:hover, .filter-chip.is-active { color: var(--black); border-color: var(--olive); background: var(--olive); }
.streamer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.streamer-card { position: relative; min-height: 390px; overflow: hidden; color: #e6ede1; background: #192019; }
.streamer-cover { position: absolute; inset: 0; background-position: center; background-size: cover; filter: saturate(.55) contrast(1.1); transition: transform .5s ease, filter .5s ease; }
.streamer-card:hover .streamer-cover { filter: saturate(.8) contrast(1.1); transform: scale(1.04); }
.streamer-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(9,12,10,.14), rgba(9,12,10,.92) 86%); }
.streamer-overlay { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 390px; padding: 18px; }
.card-top, .card-bottom, .streamer-meta, .admin-card-actions { display: flex; align-items: center; }
.card-top { justify-content: space-between; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: #f3f6ec; background: rgba(12, 17, 13, .75); font-family: var(--mono); font-size: 9px; }
.live-tag::before { width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--rust); }
.live-tag.is-soon::before { background: var(--amber); }
.live-tag.is-offline::before { background: #71806e; }
.live-tag.is-unknown::before { background: #8c958f; }
.platform-tag { color: #bfcab7; font-family: var(--mono); font-size: 9px; }
.card-bottom { align-items: end; justify-content: space-between; gap: 12px; }
.streamer-meta { align-items: end; gap: 11px; min-width: 0; }
.streamer-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 50px; height: 50px; overflow: hidden; color: var(--black); font-size: 28px; font-weight: 700; background: var(--olive-bright); }
.streamer-avatar-image, .admin-card-avatar-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.streamer-info { min-width: 0; }
.streamer-info h3 { overflow: hidden; margin: 0 0 3px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: .85; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.streamer-info p { overflow: hidden; margin: 0; color: #afbba9; font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.card-arrow { display: grid; flex: 0 0 auto; place-items: center; width: 35px; height: 35px; color: var(--black); background: var(--olive-bright); transition: .2s ease; }
.streamer-card:hover .card-arrow { color: #fff; background: var(--rust); transform: translate(2px, -2px); }
.streamer-description { max-width: 260px; margin: 11px 0 0; color: #b4beb0; font-family: var(--mono); font-size: 9px; line-height: 1.5; }
.loading-state, .empty-state { padding: 50px; color: var(--muted); border: 1px dashed var(--line); font-family: var(--mono); font-size: 11px; text-align: center; }
.about-section { display: grid; grid-template-columns: 1fr .9fr 1.2fr; align-items: center; gap: 40px; max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #c4cabb; }
.about-mark { color: #a8b09e; font-size: min(26vw, 360px); font-weight: 700; line-height: .5; transform: translateY(-8px); }
.about-copy h2 { font-size: clamp(60px, 8vw, 110px); }
.about-text { max-width: 375px; }
.about-text > p:first-child { margin-bottom: 26px; color: #495649; font-size: 24px; line-height: 1.03; }
.mono-note { color: var(--rust); font-size: 9px; line-height: 1.6; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 5vw; color: #899581; background: var(--black); font-family: var(--mono); font-size: 9px; }
.footer-brand { color: #d1dacb; letter-spacing: .08em; }.footer-brand span { color: var(--rust); }.footer-note { color: #657365; }.footer-admin { color: var(--olive-bright); }.footer-admin:hover { color: #fff; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: 340px; padding: 13px 16px; color: #e7efdf; border-left: 3px solid var(--rust); background: #1b241c; font-family: var(--mono); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* Curator panel */
.admin-header { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); background: #c7cec0; }
.admin-header .logo-mark { color: #dce4d5; background: var(--ink); border-color: var(--ink); }
.admin-header .logo-copy strong { color: var(--ink); }
.admin-header .logo-copy small { color: #64715f; }
.header-button-muted { color: var(--ink); border-color: var(--ink); background: transparent; }
.header-button-muted:hover { color: #fff; background: var(--ink); }
.admin-header-note { display: flex; align-items: center; gap: 9px; margin-left: auto; margin-right: 30px; color: #5d6a59; font-family: var(--mono); font-size: 9px; }
.admin-header-note .status-light { width: 6px; height: 6px; box-shadow: none; }
.admin-main { max-width: 1340px; margin: auto; padding: 78px 5vw 100px; }
.admin-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.admin-intro h1 { margin-bottom: 0; color: var(--ink); font-size: clamp(70px, 9vw, 130px); }
.admin-intro-text { max-width: 300px; margin: 0 5% 8px 0; color: #5e6a5d; font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: 18px; margin-top: 30px; }
.editor-panel { padding: 24px; background: #e4e9df; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.panel-heading h2, .admin-list-section h2 { font-size: 42px; line-height: .85; }
.form-index { color: #778473; font-size: 9px; letter-spacing: .1em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: #637060; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.field small { color: #9aa697; font-size: 8px; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 11px; color: var(--ink); border: 1px solid #bdc7b9; border-radius: 0; outline: 0; background: #f1f4ed; font-family: var(--mono); font-size: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(120, 137, 82, .12); }
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 9px; color: var(--ink-soft); }
.field input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; color: var(--black); border: 0; background: var(--olive-bright); font-family: var(--mono); font-size: 9px; cursor: pointer; }
.avatar-preview, .banner-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); background: #0d1012; }
.avatar-preview[hidden], .banner-preview[hidden] { display: none; }
.avatar-preview img { display: block; width: 72px; height: 72px; object-fit: cover; background: var(--olive-bright); }
.banner-preview img { display: block; width: min(220px, 100%); height: 88px; object-fit: cover; background: var(--olive-bright); }
.avatar-preview-info, .banner-preview-info { display: grid; align-content: center; gap: 10px; min-width: 0; }
.avatar-preview-info strong, .banner-preview-info strong { overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.admin-side { display: grid; align-content: start; gap: 18px; }
.side-note { display: flex; gap: 13px; padding: 18px; color: #d6decf; background: #1d281f; }
.side-note-mark { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; color: var(--black); background: var(--amber); font-family: var(--mono); font-size: 13px; }
.side-note strong { display: block; margin-bottom: 8px; color: #e9f0e2; font-size: 19px; font-weight: 500; }
.side-note p { margin: 0; color: #a3b09f; font-family: var(--mono); font-size: 9px; line-height: 1.6; }
code { color: var(--olive-bright); }
.admin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.admin-stats div { display: grid; gap: 12px; padding: 17px; background: #dfe5da; }
.admin-stats span { color: #74806f; font-family: var(--mono); font-size: 9px; }.admin-stats strong { color: var(--ink); font-size: 44px; font-weight: 500; line-height: .7; }
.admin-list-section { margin-top: 80px; }
.admin-list { margin-top: 28px; border-top: 1px solid var(--line); }
.admin-card { display: grid; grid-template-columns: 48px minmax(130px, 1fr) 90px 110px auto; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.admin-card-avatar { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; color: var(--black); font-size: 23px; background: var(--olive-bright); }
.admin-card-info { display: grid; gap: 4px; min-width: 0; }.admin-card-info strong { overflow: hidden; font-size: 25px; font-weight: 500; line-height: .8; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }.admin-card-info span { overflow: hidden; color: #72806e; font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-status { color: var(--rust); font-family: var(--mono); font-size: 9px; }.admin-status.soon { color: var(--amber); }.admin-status.offline { color: #7c887a; }
.admin-platform { color: #71806e; font-family: var(--mono); font-size: 9px; }
.admin-card-actions { justify-content: flex-end; gap: 8px; }.delete-button { padding: 8px 9px; color: #8d5a4d; border: 1px solid rgba(185, 96, 62, .3); background: transparent; font-family: var(--mono); font-size: 9px; }.delete-button:hover { color: #fff; background: var(--rust); }
@media (max-width: 850px) {
  .site-header { padding: 20px 5vw; }.site-nav { display: none; }.header-button { padding: 9px; font-size: 0; }.header-button span { font-size: 16px; }.hero { min-height: 700px; }.hero-copy { padding-top: 100px; }.hero-stamp { display: none; }.ticker-items span:nth-child(2) { display: none; }.section { padding-top: 75px; padding-bottom: 75px; }.section-heading, .admin-intro { align-items: start; flex-direction: column; }.section-aside { width: 100%; }.section-aside p { text-align: left; }.filter-row { justify-content: flex-start; }.streamer-grid { grid-template-columns: 1fr 1fr; }.about-section { grid-template-columns: 1fr 1fr; }.about-mark { display: none; }.about-text { grid-column: 1 / -1; }.admin-header-note { display: none; }.admin-main { padding-top: 55px; }.admin-layout { grid-template-columns: 1fr; }.admin-side { grid-template-columns: 1fr 1fr; }.admin-card { grid-template-columns: 42px minmax(120px, 1fr) 90px auto; }.admin-platform { display: none; }
}
@media (max-width: 560px) {
  .logo-copy small { font-size: 7px; }.hero { min-height: 640px; }.hero-copy { margin-left: 5vw; }.hero-lede { font-size: 18px; }.hero-actions { align-items: start; flex-direction: column; }.hero-coordinate { right: 3.5vw; bottom: 25px; font-size: 8px; }.ticker { gap: 14px; padding: 0 5vw; }.ticker-label { font-size: 8px; }.ticker-items span { display: none; }.ticker-items span:first-child { display: block; }.ticker-time { display: none; }.section-heading { margin-bottom: 28px; }.section-aside { min-width: 0; }.streamer-grid { grid-template-columns: 1fr; }.streamer-card, .streamer-overlay { min-height: 350px; }.about-section { grid-template-columns: 1fr; }.about-copy h2 { font-size: 66px; }.about-text { grid-column: auto; }.about-text > p:first-child { font-size: 21px; }.site-footer { align-items: start; flex-direction: column; }.admin-intro h1 { font-size: 83px; }.admin-intro-text { margin: 0; }.editor-panel { padding: 17px; }.form-grid { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.form-actions { align-items: stretch; flex-direction: column; }.form-actions .button { width: 100%; }.admin-side { grid-template-columns: 1fr; }.admin-card { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }.admin-status { display: none; }.admin-list-section { margin-top: 55px; }.admin-card-info strong { font-size: 22px; }
}
:root {
  --paper: #07090b;
  --white: #101318;
  --ink: #e9efe7;
  --ink-soft: #9ca6a0;
  --muted: #7f8882;
  --line: rgba(255, 255, 255, 0.08);
}

body {
  background: #07090b;
  color: var(--ink);
}

.site-footer,
.section,
.about-section,
.admin-main {
  background: #07090b;
}

.site-header {
  background: transparent;
}

.hero > *:not(.hero-backdrop) {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    min-height: 72vh;
  }

  .hero-backdrop {
    background-position: 66% center;
    transform: scale(1.06);
  }
}
   


.ticker {
  background: #0d1012;
  color: #c8d0c5;
}

.streamer-card,
.panel,
.editor-panel,
.side-note,
.admin-stats div,
.field input,
.field select,
.field textarea,
.category-tag,
.filter-chip {
  background: #111418;
  color: var(--ink);
  border-color: var(--line);
}

.command-row,
.feed-item,
.command-list,
.admin-list,
.admin-stats {
  border-color: var(--line);
}

.admin-header {
  background: #0b0e10;
}

.admin-header-note,
.footer-note,
.stat-footnote,
.command-info span,
.command-usage,
.feed-item div span,
.server-label,
.brand-caption,
.logo-copy small {
  color: var(--muted);
}

.edit-button {
  padding: 8px 9px;
  color: var(--olive-bright);
  border: 1px solid rgba(167, 189, 104, .35);
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
}

.edit-button:hover {
  color: var(--black);
  background: var(--olive-bright);
}

.button .button-label {
  color: inherit;
  font-size: inherit;
}

.admin-card-actions {
  flex-wrap: wrap;
}

.auth-page {
  min-height: 100vh;
  color: var(--ink);
  background: #07090b;
}

.auth-header {
  position: absolute;
  color: #e2e8dc;
  border-bottom: 0;
  background: transparent;
}

.auth-header .header-button-muted {
  color: #cbd5c5;
  border-color: rgba(203, 213, 197, .35);
}

.auth-header .header-button-muted:hover {
  color: #07090b;
  background: #cbd5c5;
}

.auth-main,
.role-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 130px 5vw 80px;
  background:
    radial-gradient(circle at 78% 25%, rgba(96, 112, 74, .16), transparent 35%),
    linear-gradient(135deg, #030506 0%, #080b0d 52%, #111815 100%);
}

.auth-panel,
.role-panel {
  width: min(820px, 100%);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(203, 213, 197, .14);
  background: rgba(10, 14, 15, .78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.auth-tabs {
  display: grid;
  gap: 8px;
  border-bottom: 0;
}

.auth-panel h1,
.role-panel h1 {
  margin-bottom: 24px;
  color: #e9efe7;
  font-size: clamp(64px, 10vw, 132px);
  line-height: .8;
}

.auth-lede {
  max-width: 430px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.auth-message {
  min-height: 18px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.auth-message.is-error {
  color: #d68466;
}

.auth-message.is-warning {
  color: var(--amber);
}

.auth-user {
  display: grid;
  gap: 5px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 2px solid var(--olive-bright);
  background: rgba(167, 189, 104, .08);
}

.auth-user strong {
  color: #e9efe7;
  font-size: 20px;
  font-weight: 500;
}

.auth-user span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.auth-tabs {
  margin-bottom: 24px;
}

.auth-tab {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px 15px;
  color: #e9efe7;
  border: 1px solid rgba(203, 213, 197, .16);
  background: #111418;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.auth-tab:hover,
.auth-tab.is-active {
  border-color: var(--olive-bright);
  background: #182019;
  transform: translateX(2px);
}

.auth-tab strong {
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.auth-tab span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}

.auth-tab.is-disabled {
  color: #59625d;
}

.auth-form {
  display: grid;
  gap: 17px;
  max-width: 430px;
}

.auth-form .button {
  justify-self: start;
  margin-top: 6px;
}

.auth-form-note {
  margin: -3px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}

.role-picker {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.role-picker h2 {
  margin-bottom: 24px;
  color: #e9efe7;
  font-size: clamp(38px, 6vw, 64px);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.role-choice {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 150px;
  padding: 17px;
  color: #dce5d8;
  border: 1px solid rgba(203, 213, 197, .16);
  background: #111418;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.role-choice:hover:not(:disabled) {
  border-color: var(--olive-bright);
  background: #182019;
  transform: translateY(-2px);
}

.role-choice strong {
  font-size: 24px;
  font-weight: 500;
  line-height: .9;
}

.role-choice span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.role-choice:disabled,
.role-choice.is-disabled {
  cursor: not-allowed;
  opacity: .42;
}

.text-button {
  margin-top: 22px;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
}

.text-button:hover {
  color: #e9efe7;
}

.role-panel {
  width: min(760px, 100%);
}

.role-panel .auth-lede {
  margin-bottom: 28px;
}

.role-panel .button {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .role-grid {
    grid-template-columns: 1fr;
  }

  .role-choice {
    min-height: 0;
  }

  .admin-card-actions {
    justify-content: flex-start;
  }
}

[hidden] {
  display: none !important;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.auth-forms {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

/* News */
.news-section {
  border-top: 1px solid var(--border);
  background: #090c0e;
}

.news-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.news-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.news-item-index {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
}

.news-item-body {
  min-width: 0;
  max-width: 860px;
}

.news-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.news-item-status,
.news-admin-publish-status {
  color: var(--accent);
}

.news-item-body h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 37px;
  line-height: .95;
  text-transform: uppercase;
}

.news-item-body p {
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.news-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.news-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.news-item.is-featured {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.news-editor-panel {
  margin-bottom: 28px;
}

.news-publish-field {
  align-content: start;
}

.checkbox-field {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  color: var(--text-primary) !important;
  font-family: var(--body) !important;
  font-size: 12px !important;
  text-transform: none !important;
}

.checkbox-field input {
  width: 17px !important;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.checkbox-field > span {
  color: var(--text-primary) !important;
  font-family: var(--body) !important;
  font-size: 12px !important;
  text-transform: none !important;
}

.news-photo-upload-preview,
.news-admin-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.news-photo-upload-item {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.news-photo-upload-item img,
.news-admin-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.news-photo-upload-item .delete-button {
  min-width: 0;
  overflow: hidden;
  padding: 6px 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-admin-list {
  margin-top: 0;
}

.news-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.news-admin-info {
  min-width: 0;
}

.news-admin-info strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: var(--display);
  font-size: 29px;
  line-height: .95;
  text-transform: uppercase;
}

.news-admin-info p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.news-admin-publish-status.is-draft {
  color: var(--warning);
}

.image-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 5, .86);
}

.image-editor-dialog {
  width: min(1040px, 100%);
  max-height: min(900px, 94vh);
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--border-active);
  background: #0d1113;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55);
}

.image-editor-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.image-editor-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 58px);
  line-height: .9;
}

.image-editor-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--body);
  font-size: 25px;
  line-height: 1;
}

.image-editor-close:hover {
  color: var(--bg-primary);
  border-color: var(--accent);
  background: var(--accent);
}

.image-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
  align-items: start;
  gap: 22px;
}

.image-editor-stage {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  border: 1px solid var(--border);
  background: #050708;
  touch-action: none;
}

.image-editor-stage:active {
  cursor: grabbing;
}

.image-editor-stage img {
  position: absolute;
  max-width: none;
  user-select: none;
  transform-origin: center center;
  will-change: left, top, width, height, transform;
}

.image-editor-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(221, 235, 202, .85);
  box-shadow: 0 0 0 9999px rgba(2, 4, 5, .42);
}

.image-editor-controls {
  display: grid;
  align-content: start;
  gap: 15px;
}

.editor-range {
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.editor-range input {
  width: 100%;
  accent-color: var(--accent);
}

.image-editor-control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.image-editor-control-row .button,
.image-editor-controls > .button {
  width: 100%;
}

.image-editor-help {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
}

.image-editor-actions {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

body.is-image-editor-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .news-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .news-item.is-featured {
    padding-left: 12px;
  }

  .news-item-body h3 {
    font-size: 29px;
  }

  .news-item-body p {
    font-size: 13px;
  }

  .news-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-photo-upload-preview,
  .news-admin-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-admin-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .social-link-row {
    grid-template-columns: 24px 92px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .social-links {
    max-width: 62%;
  }

  .image-editor-modal {
    padding: 12px;
  }

  .image-editor-dialog {
    padding: 17px;
  }

  .image-editor-layout {
    grid-template-columns: 1fr;
  }

  .image-editor-stage {
    min-height: 0;
  }
}

.auth-form {
  max-width: 520px;
}

.auth-tab.is-warning span {
  color: var(--amber);
}

@media (max-width: 700px) {
  .auth-tabs {
    grid-template-columns: 1fr;
  }
}

/* ZONE TERMINAL v2: presentation layer only */
:root {
  --bg-primary: #080b0a;
  --bg-secondary: #101513;
  --bg-panel: #171d1a;
  --bg-panel-hover: #202823;
  --border: #343b36;
  --border-active: #6d7a45;
  --accent: #a7b86a;
  --accent-hover: #bdcc7d;
  --rust: #b96243;
  --rust-hover: #cc7655;
  --text-primary: #e1e2d7;
  --text-secondary: #a7aaa0;
  --text-muted: #6f7770;
  --success: #a7b86a;
  --warning: #c49a55;
  --danger: #b96243;
  --info: #778c8a;
  --overlay: rgba(0, 0, 0, .58);
  --black: var(--bg-primary);
  --ink: var(--text-primary);
  --paper: var(--bg-primary);
  --paper-deep: var(--text-secondary);
  --line: rgba(52, 59, 54, .9);
  --line-light: rgba(167, 184, 106, .2);
  --olive: var(--border-active);
  --olive-bright: var(--accent);
  --amber: var(--warning);
  --muted: var(--text-muted);
  --mono: "Roboto Mono", "Cascadia Mono", Consolas, monospace;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { border-radius: 2px; }
html { background: var(--bg-primary); overflow-x: hidden; }
body {
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: var(--body);
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; }
button, a, input, select, textarea { min-width: 0; }
button, input, select, textarea { font-family: var(--body); }
h1, h2, h3, .logo-copy strong, .admin-card-info strong, .role-choice strong, .auth-tab strong {
  font-family: var(--display);
  letter-spacing: 0;
}
h1, h2, h3 { font-weight: 700; }

.site-header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 32px;
  color: var(--text-primary);
}
.logo { gap: 10px; }
.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--bg-primary);
  border-color: var(--accent);
  background: var(--accent);
}
.logo-copy strong { color: var(--text-primary); font-size: 21px; }
.logo-copy small { color: var(--text-muted); font-family: var(--mono); font-size: 8px; }
.site-nav { gap: 28px; margin-right: 32px; font-family: var(--body); font-size: 13px; }
.site-nav a { color: var(--text-secondary); }
.site-nav a:hover, .site-nav a.is-active { color: var(--accent); }
.site-nav a.is-active::after { bottom: -9px; height: 1px; background: var(--accent); }
.header-button {
  min-height: 36px;
  padding: 9px 13px;
  color: var(--bg-primary);
  border-color: var(--accent);
  background: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}
.header-button:hover { color: var(--bg-primary); border-color: var(--accent-hover); background: var(--accent-hover); }

.hero {
  min-height: min(780px, 88vh);
  background: var(--bg-primary);
}
.hero-backdrop {
  inset: -1%;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 10, .97) 0%, rgba(8, 11, 10, .78) 36%, rgba(8, 11, 10, .25) 76%, rgba(8, 11, 10, .56) 100%),
    linear-gradient(180deg, rgba(8, 11, 10, .55) 0%, transparent 24%, transparent 68%, rgba(8, 11, 10, .97) 100%),
    url("/assets/hero-bg.png");
  filter: saturate(.72) contrast(1.08);
  transform: scale(1.015);
}
.hero-backdrop::after { opacity: .55; }
.hero-copy {
  width: min(650px, calc(100% - 64px));
  margin-left: max(32px, calc((100% - 1280px) / 2));
  padding-top: 72px;
}
.eyebrow, .section-kicker { color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.status-light, .pulse { width: 7px; height: 7px; background: var(--accent); box-shadow: none; }
.status-light, .pulse, .live-tag::before { border-radius: 50%; }
h1 {
  margin-bottom: 26px;
  color: var(--text-primary);
  font-size: 128px;
  line-height: .84;
}
h1 em, h2 em { color: var(--rust); }
.hero-lede { max-width: 460px; margin-bottom: 34px; color: var(--text-secondary); font-family: var(--body); font-size: 17px; line-height: 1.35; }
.hero-lede, .section-aside p, .about-text p, .auth-lede, .admin-intro-text, .streamer-description { overflow-wrap: anywhere; }
.hero-actions { gap: 10px; }
.button {
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.button span { color: var(--rust); }
.button-primary { color: var(--bg-primary); border-color: var(--accent); background: var(--accent); }
.button-primary:hover { color: var(--bg-primary); border-color: var(--accent-hover); background: var(--accent-hover); transform: translateY(-1px); }
.button-quiet { color: var(--text-primary); border-color: var(--border); background: transparent; }
.button-quiet:hover { color: var(--accent); border-color: var(--border-active); background: rgba(32, 40, 35, .65); }
.hero-coordinate { right: max(32px, calc((100% - 1280px) / 2)); bottom: 38px; max-width: 220px; color: var(--text-muted); font-family: var(--mono); }
.hero-coordinate strong { color: var(--text-secondary); }
.hero-coordinate small { color: var(--rust); }
.hero-stamp { color: rgba(167, 184, 106, .34); font-family: var(--mono); }
.hero-stamp span { color: var(--rust); }

.ticker {
  min-height: 50px;
  padding: 8px max(32px, calc((100% - 1280px) / 2));
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  font-family: var(--mono);
}
.ticker-label { color: var(--accent); }
.ticker-label { flex: 0 0 auto; min-width: 0; }
.ticker-label span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-items b { color: var(--rust); }
.ticker-time { color: var(--text-muted); }

.section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 32px;
  background: var(--bg-primary);
}
.section-heading { margin-bottom: 36px; }
.section-heading > * { min-width: 0; }
h2 { color: var(--text-primary); font-size: 72px; line-height: .88; }
.section-aside { min-width: 270px; }
.section-aside p { color: var(--text-secondary); font-family: var(--body); font-size: 13px; }
.filter-row { gap: 6px; }
.filter-chip {
  padding: 8px 11px;
  color: var(--text-muted);
  border-color: var(--border);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
}
.filter-chip:hover, .filter-chip.is-active { color: var(--bg-primary); border-color: var(--accent); background: var(--accent); }
.streamer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.streamer-card {
  min-height: 0;
  min-width: 0;
  aspect-ratio: 16 / 11;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  transition: border-color .2s ease, background .2s ease;
}
.streamer-card:hover { border-color: var(--border-active); background: var(--bg-panel-hover); }
.streamer-cover { filter: saturate(.52) contrast(1.12); }
.streamer-cover::after { background: linear-gradient(180deg, rgba(8, 11, 10, .12) 28%, rgba(8, 11, 10, .96) 100%); }
.streamer-overlay { min-height: 0; padding: 16px; }
.card-top, .card-bottom, .streamer-meta { min-width: 0; }
.card-top > *, .card-bottom > *, .streamer-meta > * { min-width: 0; }
.live-tag { padding: 5px 7px; color: var(--text-primary); border: 1px solid rgba(167, 184, 106, .24); background: rgba(8, 11, 10, .74); }
.live-tag::before { background: var(--accent); box-shadow: none; }
.live-tag.is-soon::before { background: var(--warning); }
.live-tag.is-offline::before, .live-tag.is-unknown::before { background: var(--text-muted); }
.platform-tag, .streamer-info p, .streamer-description { color: var(--text-secondary); }
.streamer-meta { gap: 10px; }
.streamer-avatar { width: 46px; height: 46px; color: var(--bg-primary); background: var(--accent); }
.streamer-info h3 { font-size: 28px; line-height: .9; }
.card-arrow { width: 34px; height: 34px; color: var(--bg-primary); background: var(--accent); }
.streamer-card:hover .card-arrow { color: var(--bg-primary); background: var(--accent-hover); transform: translate(1px, -1px); }
.streamer-description { font-family: var(--body); font-size: 12px; line-height: 1.4; }
.streamer-info p { max-width: 100%; }
.social-links-fields {
  display: grid;
  gap: 8px;
}

.social-link-row {
  display: grid;
  grid-template-columns: 28px 110px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.social-link-row select,
.social-link-row input {
  min-width: 0;
}

.social-link-index {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9px;
}

.social-remove-button {
  width: 38px;
  min-width: 38px;
  padding: 8px 5px;
  text-align: center;
}

.social-add-button {
  justify-self: start;
  margin-top: 3px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: 52%;
}

.social-link {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 23px;
  padding: 0 5px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: rgba(8, 11, 10, .72);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.social-link:hover {
  color: var(--bg-primary);
  border-color: var(--accent);
  background: var(--accent);
}

.social-link-tiktok:hover { border-color: #d7edf0; background: #d7edf0; }
.social-link-twitch:hover { border-color: #a78bfa; background: #a78bfa; }
.social-link-youtube:hover { border-color: #e76b5c; background: #e76b5c; }
.social-link-rutube:hover { border-color: #f1a34a; background: #f1a34a; }
.social-link-kick:hover { border-color: #8dcc63; background: #8dcc63; }
.loading-state, .empty-state { padding: 44px; color: var(--text-muted); border-color: var(--border); background: var(--bg-secondary); }

.about-section {
  display: grid;
  max-width: none;
  width: 100%;
  padding: 96px max(32px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.about-mark { color: rgba(167, 184, 106, .12); }
.about-text > p:first-child { color: var(--text-secondary); font-family: var(--body); font-size: 20px; line-height: 1.25; }
.mono-note { color: var(--rust); }
.site-footer { padding: 24px max(32px, calc((100vw - 1280px) / 2)); border-top: 1px solid var(--border); background: var(--bg-primary); }
.footer-brand { color: var(--text-primary); }
.footer-note { color: var(--text-muted); }
.footer-admin { color: var(--accent); }

/* Auth and role routes */
.auth-page { min-height: 100vh; color: var(--text-primary); background: var(--bg-primary); }
.auth-header { position: absolute; background: transparent; }
.auth-main, .role-main {
  min-height: 100vh;
  padding: 132px 32px 80px;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, .95), rgba(8, 11, 10, .7)),
    url("/assets/hero-bg.png") center / cover no-repeat;
}
.auth-panel, .role-panel {
  width: min(920px, 100%);
  min-width: 0;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--border);
  background: rgba(16, 21, 19, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}
.auth-panel h1, .role-panel h1 { color: var(--text-primary); font-size: 112px; }
.auth-lede { color: var(--text-secondary); font-family: var(--body); font-size: 15px; line-height: 1.5; }
.auth-tabs { gap: 8px; margin-bottom: 20px; }
.auth-tab, .role-choice {
  min-width: 0;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.auth-tab:hover, .auth-tab.is-active, .role-choice:hover:not(:disabled) { border-color: var(--border-active); background: var(--bg-panel-hover); transform: translateY(-1px); }
.auth-tab strong, .role-choice strong { font-size: 24px; }
.auth-tab strong, .auth-tab span, .role-choice strong, .role-choice span { overflow-wrap: anywhere; }
.auth-tab span, .role-choice span { color: var(--text-muted); font-family: var(--mono); }
.auth-forms { border-color: var(--border); }
.auth-form { gap: 14px; }
.field > span { color: var(--text-secondary); }
.field small { color: var(--text-muted); }
.field input, .field select, .field textarea {
  color: var(--text-primary);
  border-color: var(--border);
  background: var(--bg-secondary);
  font-family: var(--body);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(167, 184, 106, .14); }
.auth-message { color: var(--text-muted); }
.auth-message.is-error { color: var(--danger); }
.auth-message.is-warning { color: var(--warning); }
.auth-user { border-left-color: var(--accent); background: rgba(167, 184, 106, .08); }
.auth-user strong { color: var(--text-primary); font-family: var(--display); }
.auth-user span { color: var(--text-muted); }
.role-picker { border-color: var(--border); }
.role-picker h2 { color: var(--text-primary); }
.role-choice { min-height: 170px; }
.text-button { color: var(--text-muted); }
.text-button:hover { color: var(--accent); }

/* Owner panel */
.admin-header { position: relative; color: var(--text-primary); border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.admin-header .logo-mark { color: var(--bg-primary); border-color: var(--accent); background: var(--accent); }
.admin-header .logo-copy strong { color: var(--text-primary); }
.admin-header .logo-copy small, .admin-header-note { color: var(--text-muted); }
.header-button-muted { color: var(--text-primary); border-color: var(--border); background: transparent; }
.header-button-muted:hover { color: var(--bg-primary); border-color: var(--accent); background: var(--accent); }
.admin-main { max-width: 1280px; padding: 72px 32px 100px; background: var(--bg-primary); }
.admin-main { width: 100%; margin: 0 auto; }
.admin-intro { border-color: var(--border); }
.admin-intro h1 { color: var(--text-primary); font-size: 104px; }
.admin-intro-text { color: var(--text-secondary); font-family: var(--body); font-size: 13px; line-height: 1.55; }
.admin-layout { gap: 20px; }
.editor-panel, .side-note, .admin-stats div { border: 1px solid var(--border); background: var(--bg-panel); }
.editor-panel { padding: 24px; }
.panel-heading h2, .admin-list-section h2 { color: var(--text-primary); }
.form-index { color: var(--text-muted); }
.field input[type="file"]::file-selector-button { color: var(--bg-primary); background: var(--accent); }
.avatar-preview, .banner-preview { border-color: var(--border); background: var(--bg-secondary); }
.avatar-preview-info strong, .banner-preview-info strong { color: var(--text-primary); }
.side-note { color: var(--text-secondary); }
.side-note-mark { color: var(--bg-primary); background: var(--warning); }
.side-note strong { color: var(--text-primary); font-family: var(--display); }
.side-note p { color: var(--text-muted); }
.admin-stats { gap: 1px; background: var(--border); }
.admin-stats div { border: 0; }
.admin-stats span { color: var(--text-muted); }
.admin-stats strong { color: var(--accent); font-family: var(--display); }
.admin-list { border-color: var(--border); }
.admin-card { border-color: var(--border); }
.admin-card-avatar { color: var(--bg-primary); background: var(--accent); }
.admin-card-info strong { color: var(--text-primary); }
.admin-card-info span, .admin-platform { color: var(--text-muted); }
.admin-status { color: var(--rust); }
.admin-status.soon { color: var(--warning); }
.admin-status.offline { color: var(--text-muted); }
.edit-button { color: var(--accent); border-color: rgba(167, 184, 106, .4); }
.edit-button:hover { color: var(--bg-primary); background: var(--accent); }
.delete-button { color: var(--danger); border-color: rgba(185, 98, 67, .45); }
.delete-button:hover { color: var(--text-primary); background: var(--danger); }
.toast { border-left-color: var(--accent); background: var(--bg-panel-hover); }

@media (max-width: 900px) {
  .site-header { padding: 20px 24px; }
  .site-nav { gap: 16px; margin-right: 18px; }
  .hero-copy { width: calc(100% - 48px); margin-left: 24px; }
  h1 { font-size: 96px; }
  h2 { font-size: 64px; }
  .section { padding-right: 24px; padding-left: 24px; }
  .streamer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { padding-right: 24px; padding-left: 24px; }
  .admin-main { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 700px) {
  .site-header { padding: 18px 20px; }
  .site-nav { display: none; }
  .header-button { min-height: 34px; padding: 8px 10px; font-size: 0; }
  .header-button span { font-size: 16px; }
  .hero { min-height: 680px; }
  .hero-copy { width: calc(100% - 40px); margin-left: 20px; padding-top: 76px; }
  h1 { max-width: 100%; font-size: 72px; }
  .hero-lede { max-width: 350px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(280px, 100%); }
  .hero-actions .button { width: 100%; }
  .hero-coordinate { right: 20px; bottom: 26px; max-width: 150px; font-size: 8px; }
  .ticker { gap: 14px; min-height: 56px; padding: 8px 20px; font-size: 8px; }
  .ticker-items span:not(:first-child) { display: none; }
  .ticker-time { display: none; }
  .section { padding: 72px 20px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .section-aside { width: 100%; }
  .section-aside p { text-align: left; }
  .filter-row { justify-content: flex-start; }
  .streamer-grid { grid-template-columns: 1fr; }
  .streamer-card { aspect-ratio: 16 / 11; }
  .about-section { grid-template-columns: 1fr; padding: 72px 20px; }
  .about-mark { display: none; }
  .about-text { grid-column: auto; }
  .site-footer { align-items: start; flex-direction: column; padding: 24px 20px; }
  .auth-main, .role-main { padding: 112px 20px 48px; }
  .auth-panel, .role-panel { padding: 28px 20px; }
  .auth-panel h1, .role-panel h1 { font-size: 72px; }
  .auth-tabs, .role-grid { grid-template-columns: 1fr; }
  .role-choice { min-height: 0; }
  .admin-main { padding: 56px 20px 80px; }
  .admin-intro { align-items: start; flex-direction: column; gap: 22px; padding-bottom: 34px; }
  .admin-intro h1 { font-size: 72px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .admin-card { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .admin-status, .admin-platform { display: none; }
}
