/* CWA Reborn: the public site, sign-in and account shells, and the public pages (docs/design/web-ui.md,
   docs/design/site-pages.md). Needs cwa.css first. Sections:
   SHELLS  containers, header, banners, footer, inner page header, sections, home hero, auth shell, account shell, error page
   PAGES   shared page pieces, home, news, features and games, items, staff, support/download/community, long text, status,
           maintenance */

/* ---------------------------------------------------------------------------------------- containers */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s-6); }
.container.narrow { max-width: 760px; }
.container.wide { max-width: 1320px; }
.site-main { display: block; padding: var(--s-8) 0 var(--s-16); min-height: 60vh; overflow-x: clip; }
.site-main > .container > :first-child { margin-top: 0; }
@media (max-width: 640px) { .container { padding: 0 var(--s-4); } .site-main { padding: var(--s-5) 0 var(--s-10); } }

/* ---------------------------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 11, 22, 0.78); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-6); min-height: 64px; }
.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { margin: 0; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text-2); font-size: 14.5px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.primary-nav a svg { width: 18px; height: 18px; display: none; }
.primary-nav a:hover { color: var(--text); background: rgba(148, 176, 230, 0.08); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--text); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 12px rgba(255, 194, 51, 0.6); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; margin-left: auto; }
.nav-toggle { display: none; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(21, 35, 61, 0.7); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 600; }
.account-chip:hover { border-color: var(--line-strong); background: var(--bg-high); }
.account-chip .avatar { width: 30px; height: 30px; font-size: 12px; }
.account-chip > svg { width: 16px; height: 16px; color: var(--text-muted); transition: transform 0.15s var(--ease); }
details[open] > .account-chip > svg { transform: rotate(180deg); }
.account-chip .name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: var(--s-2) var(--s-4) var(--s-4); background: var(--bg-page); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3); }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { display: flex; height: 46px; padding: 0 var(--s-3); font-size: 16px; }
  .primary-nav a svg { display: inline; color: var(--text-muted); }
  .primary-nav a[aria-current="page"] { background: rgba(255, 194, 51, 0.08); }
  .primary-nav a[aria-current="page"]::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .header-inner { gap: var(--s-3); }
}
@media (max-width: 520px) {
  .header-actions .btn.cta .label, .header-actions .signin .label { display: none; }
  .header-actions .btn.cta, .header-actions .signin { width: 38px; padding: 0; }
  .account-chip .name { display: none; }
  .account-chip { padding: 0 8px 0 4px; }
  .wordmark-text .wm-a, .wordmark-text .wm-b { font-size: 19px; }
}

/* ---------------------------------------------------------------------------------------- banners */
.site-banner { position: relative; z-index: 40; display: flex; justify-content: center; align-items: center; gap: var(--s-3); padding: 9px var(--s-4); font-size: 14px; text-align: center; color: var(--text); border-bottom: 1px solid rgba(255, 194, 51, 0.25); background: linear-gradient(90deg, rgba(255, 157, 28, 0.08), rgba(255, 194, 51, 0.16), rgba(255, 157, 28, 0.08)); }
.site-banner svg { width: 18px; height: 18px; color: var(--gold); }
.site-banner.maint { border-bottom-color: rgba(251, 191, 36, 0.4); background: repeating-linear-gradient(-45deg, rgba(251, 191, 36, 0.14) 0 14px, rgba(251, 191, 36, 0.06) 14px 28px); }
.site-banner.maint svg { color: var(--warn); }
.site-banner a { color: var(--gold); font-weight: 600; }

/* ---------------------------------------------------------------------------------------- footer */
.site-footer { margin-top: var(--s-12); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 17, 32, 0.7), rgba(5, 9, 18, 0.95)); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s-8); padding: var(--s-12) 0 var(--s-10); }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: var(--s-3); max-width: 34ch; }
.footer-col h2 { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: condensed; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 var(--s-2); }
.footer-col a { color: var(--text-2); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bar { border-top: 1px solid var(--line); padding: var(--s-5) 0; }
.footer-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-6); color: var(--text-muted); font-size: 13px; }
.footer-bar p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------------------------------- inner page header */
.page-hero { position: relative; padding: var(--s-10) 0 var(--s-8); margin: 0 0 var(--s-6); border-bottom: 1px solid var(--line); overflow: hidden; }
.site-main > .page-hero:first-child, .site-main > .container > .page-hero:first-child { margin-top: calc(var(--s-8) * -1); }
.page-hero h1 { font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(34px, 5vw, var(--fs-4xl)); line-height: 1; margin: 0 0 var(--s-3); }
.page-hero .lead { margin: 0; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.page-hero.slashed::after { content: ""; position: absolute; right: -40px; top: 18%; width: 340px; height: 26px; background: linear-gradient(90deg, transparent, rgba(210, 58, 58, 0.55) 30%, rgba(210, 58, 58, 0.75)); transform: rotate(-12deg) skewX(-24deg); border-radius: 3px; opacity: 0.7; pointer-events: none; }
.page-hero.slashed::before { content: ""; position: absolute; right: 30px; top: calc(18% + 40px); width: 200px; height: 12px; background: linear-gradient(90deg, transparent, rgba(210, 58, 58, 0.5)); transform: rotate(-12deg) skewX(-24deg); border-radius: 2px; opacity: 0.6; pointer-events: none; }

/* ---------------------------------------------------------------------------------------- sections */
.section { margin: 0 0 var(--s-12); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-2) var(--s-4); margin: 0 0 var(--s-5); }
.section-head .section-title { margin: 0; }
.section-head p { margin: var(--s-1) 0 0; color: var(--text-muted); }
.section-head a { font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------------------------------------- home hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--s-8); padding: var(--s-10) 0 var(--s-12); }
.hero-copy { position: relative; z-index: 1; }
.hero-title { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(42px, 6.6vw, 76px); line-height: 0.96; margin: 0 0 var(--s-5); }
.hero-title .accent { display: block; background: linear-gradient(180deg, #ffd25a, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; margin-bottom: var(--s-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0 0 var(--s-5); }
.hero-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, 0.35), rgba(56, 212, 255, 0.08) 45%, transparent 70%); filter: blur(10px); }
.hero-art img { position: relative; width: min(460px, 100%); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65)); animation: cwa-float 7s ease-in-out infinite; }
.hero-slash { position: absolute; z-index: 0; pointer-events: none; border-radius: 3px; background: linear-gradient(90deg, rgba(210, 58, 58, 0), rgba(210, 58, 58, 0.8) 40%, #e04646); transform: rotate(-14deg) skewX(-26deg); opacity: 0.75; }
.hero-slash.s1 { width: 58%; height: 30px; right: -6%; bottom: 26%; }
.hero-slash.s2 { width: 36%; height: 14px; right: 6%; bottom: calc(26% - 34px); opacity: 0.55; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: var(--s-6) 0 var(--s-8); gap: var(--s-4); }
  .hero-art { order: -1; min-height: 0; }
  .hero-art img { width: min(300px, 76vw); }
  .hero-slash { display: none; }
}

/* feature tiles on the public pages */
.feature { display: flex; flex-direction: column; gap: var(--s-2); }
.feature .card-icon { margin: 0 0 var(--s-1); }
.feature h3 { margin: 0; font-size: var(--fs-md); }
.feature p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------------------------------------------------------------------------------------- auth shell */
.auth-body { display: flex; flex-direction: column; min-height: 100vh; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-6); }
.auth-main { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; padding: var(--s-4) var(--s-4) var(--s-10); }
.auth-main > * { width: 100%; max-width: 440px; }
.auth-main > .card, .auth-card { background: rgba(15, 26, 46, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(148, 176, 230, 0.2); border-radius: var(--r-lg); box-shadow: var(--highlight), var(--shadow-3); padding: var(--s-8); margin: 0 auto var(--s-4); }
.auth-card h1 { justify-content: center; font-size: var(--fs-xl); margin-bottom: var(--s-5); }
.auth-card button[type="submit"] { width: 100%; min-height: 44px; }
.auth-main .alert { max-width: 440px; }
.auth-foot { padding: var(--s-5) var(--s-6); text-align: center; color: var(--text-muted); font-size: 13px; }
.auth-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-4); margin-bottom: var(--s-2); }
.auth-foot a { color: var(--text-2); }
.auth-switch { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: var(--s-4); }
@media (max-width: 520px) { .auth-card { padding: var(--s-6) var(--s-5); } .auth-top { padding: var(--s-3) var(--s-4); } }

/* ---------------------------------------------------------------------------------------- account shell */
.account-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.account-side { position: sticky; top: 88px; }
.account-who { display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-2) var(--s-4); margin-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.account-who strong { display: block; font-size: 15px; }
.account-who span { font-size: 12.5px; color: var(--text-muted); }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-nav li { margin: 0; }
.side-nav a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 var(--s-3); border-radius: var(--r-sm); color: var(--text-2); font-weight: 550; font-size: 14.5px; text-decoration: none; }
.side-nav a svg { width: 18px; height: 18px; color: var(--text-muted); }
.side-nav a:hover { background: rgba(148, 176, 230, 0.07); color: var(--text); }
.side-nav a[aria-current="page"] { background: rgba(37, 99, 235, 0.16); color: var(--text); box-shadow: inset 2px 0 0 var(--blue-hi); }
.side-nav a[aria-current="page"] svg { color: var(--blue-hi); }
.account-content { min-width: 0; }
@media (max-width: 860px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .account-side { position: static; }
  .account-who { display: none; }
  .side-nav ul { flex-direction: row; overflow-x: auto; border-bottom: 1px solid var(--line); gap: 0; }
  .side-nav a { border-radius: var(--r-sm) var(--r-sm) 0 0; white-space: nowrap; }
  .side-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); background: none; }
}

/* ---------------------------------------------------------------------------------------- error page */
.error-page { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-12) 0; }
.error-code { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; font-size: clamp(96px, 18vw, 168px); line-height: 0.9; letter-spacing: 0.02em; background: linear-gradient(180deg, #f3f6fd 10%, #6f84ad); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.error-code::after { content: ""; position: absolute; left: -6%; right: -6%; top: 52%; height: 12px; background: linear-gradient(90deg, transparent, rgba(210, 58, 58, 0.85) 25%, rgba(224, 70, 70, 0.9) 75%, transparent); transform: rotate(-8deg) skewX(-24deg); border-radius: 2px; }
.error-page h1 { margin: var(--s-6) 0 var(--s-2); font-size: var(--fs-2xl); }
.error-page p { color: var(--text-2); max-width: 52ch; }
.error-page .btn-group { justify-content: center; margin-top: var(--s-4); }

/* maintenance (bare) page */
.bare-main { display: flex; flex-direction: column; align-items: center; padding: var(--s-12) var(--s-4); }
.bare-main > * { width: 100%; max-width: 520px; }

/* =====================================================================================================================
   PAGES: the public site pages (src/site-pages.ts). Shared pieces first, then one block per page.
   ===================================================================================================================== */

/* ---------------------------------------------------------------------------------------- shared page pieces */
/* main column and a sticky side column (How to play, Support, Download) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-8); align-items: start; }
.split-main { min-width: 0; }
.split-main > .card:last-child { margin-bottom: 0; }
.split-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--s-4); }
.split-aside > .card, .split-aside > .alert { margin: 0; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } .split-aside { position: static; } }

/* a small card title (h2 inside a plain card), optionally with an icon tile beside it */
.card-title { font-size: var(--fs-md); margin: 0 0 var(--s-3); }
.card-title-row { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); }
.card-title-row .card-icon { margin: 0; width: 36px; height: 36px; }
.card-title-row .card-icon svg { width: 19px; height: 19px; }
.card-title-row .card-title { margin: 0; }
.help-card p { color: var(--text-2); font-size: 14.5px; }

/* counts above a list, "read more" links, the contact text from the settings */
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-4); margin: 0 0 var(--s-3); }
.result-count { margin: 0; color: var(--text-muted); font-size: 14px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue-hi); }
.read-more svg { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
a.read-more:hover svg, .news-card:hover .read-more svg { transform: translateX(3px); }
.contact-text { white-space: pre-line; overflow-wrap: anywhere; color: var(--text); }
.section-title .count { margin-left: var(--s-3); padding: 1px 9px; border-radius: var(--r-pill); background: var(--bg-high); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); }
.sep { color: var(--text-muted); opacity: 0.7; }

/* pagination links carry an icon and a word ("Older"): keep them on one line */
.pagination a, .pagination span { grid-auto-flow: column; gap: 6px; }

/* green check list (requirements) and numbered check list (Download) */
.check-list { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; gap: var(--s-2); }
.check-list li { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; color: var(--text-2); font-size: 14.5px; }
.check-list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.checklist { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { counter-increment: step; display: flex; align-items: center; gap: var(--s-3); margin: 0; color: var(--text-2); }
.checklist li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-high); border: 1px solid var(--line-strong); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 14px; }

/* the feature card (Home, Features) and the game card share the icon + badge top row */
.feature-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); margin: 0 0 var(--s-2); }
.feature-top .card-icon { margin: 0; }
.feature .pill, .game-card .pill { flex: none; }

/* the numbered steps: a row of cards (Home) and a vertical timeline (How to play) */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.stepper-step { position: relative; margin: 0; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(21, 35, 61, 0.55), rgba(15, 26, 46, 0.92) 120px), var(--bg-raised); box-shadow: var(--highlight), var(--shadow-2); }
.stepper-step:not(:last-child)::after { content: ""; position: absolute; top: 39px; right: calc(var(--s-4) * -1 - 1px); width: calc(var(--s-4) + 2px); height: 2px; background: linear-gradient(90deg, var(--gold-deep), rgba(255, 157, 28, 0.2)); }
.stepper-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 var(--s-4); }
.stepper-num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #ffd25a, var(--gold) 45%, var(--gold-deep)); color: #1d1304; font-family: var(--font-display); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 4px rgba(255, 194, 51, 0.12), 0 6px 16px -6px rgba(255, 157, 28, 0.7); }
.stepper-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--cyan); background: rgba(56, 212, 255, 0.1); border: 1px solid rgba(56, 212, 255, 0.22); }
.stepper-icon svg { width: 21px; height: 21px; }
.stepper-step h3 { margin: 0 0 var(--s-2); font-size: var(--fs-md); }
.stepper-step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 960px) { .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stepper-step::after { display: none; } }
@media (max-width: 560px) { .stepper { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } }

.vsteps { list-style: none; margin: 0; padding: 0; }
.vstep { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); margin: 0; padding: 0 0 var(--s-5); }
.vstep:last-child { padding-bottom: 0; }
.vstep-marker { position: relative; display: flex; justify-content: center; padding-top: var(--s-5); }
.vstep:not(:last-child) .vstep-marker::after { content: ""; position: absolute; top: calc(var(--s-5) + 40px); bottom: calc(var(--s-5) * -1 + 6px); left: 50%; width: 2px; transform: translateX(-1px); background: linear-gradient(180deg, rgba(255, 157, 28, 0.55), var(--line)); border-radius: 2px; }
.vstep-body { margin: 0; }
.vstep-title { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); }
.vstep-title h3 { margin: 0; font-size: var(--fs-lg); }
.vstep-body p { color: var(--text-2); }
.vstep-body .btn-group { margin-top: var(--s-1); }
.step-note { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: rgba(148, 176, 230, 0.06); border: 1px solid var(--line); font-size: 14px; }
.step-note svg { width: 17px; height: 17px; margin-top: 2px; color: var(--gold); }
@media (max-width: 520px) {
  .vstep { grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); }
  .vstep .stepper-num { width: 28px; height: 28px; font-size: 14px; }
  .vstep:not(:last-child) .vstep-marker::after { top: calc(var(--s-5) + 34px); }
}

/* the band: a wide call to action (Home community band, Community Discord) */
.band { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-8); margin: 0 0 var(--s-8); padding: var(--s-8) var(--s-10); overflow: hidden; border: 1px solid rgba(96, 165, 250, 0.3); border-radius: var(--r-lg); background: radial-gradient(520px 220px at 100% 0%, rgba(59, 130, 246, 0.26), transparent 70%), linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 26, 46, 0.94) 62%), var(--bg-raised); box-shadow: var(--highlight), var(--shadow-2); }
.band::after { content: ""; position: absolute; right: -60px; bottom: 18px; width: 300px; height: 14px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(210, 58, 58, 0.55)); transform: rotate(-12deg) skewX(-24deg); pointer-events: none; }
.band:last-child { margin-bottom: 0; }
.band-copy { position: relative; z-index: 1; max-width: 56ch; }
.band h2 { margin: 0 0 var(--s-2); font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: 0.03em; font-size: var(--fs-2xl); line-height: 1.05; }
.band p { margin: 0; color: var(--text-2); }
.band-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 640px) { .band { padding: var(--s-6) var(--s-5); } .band-actions { width: 100%; } .band-actions .btn { flex: 1 1 auto; } }

/* ---------------------------------------------------------------------------------------- home */
.home-hero { grid-template-areas: "copy art" "copy status"; grid-template-rows: minmax(0, 1fr) auto; padding: var(--s-12) 0 var(--s-10); row-gap: 0; }
.home-hero .hero-copy { grid-area: copy; }
.home-hero .hero-art { grid-area: art; min-height: 300px; }
.home-hero .hero-art::before { width: 70%; }
.home-hero .hero-title { font-size: clamp(42px, 6.4vw, 74px); }
.home-hero .lead { max-width: 54ch; }
.home-hero .hero-actions { margin-bottom: var(--s-4); }
.hero-note { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; color: var(--text-2); font-size: 14px; }
.hero-note svg { width: 17px; height: 17px; margin-top: 2px; color: var(--gold); }
.hero-status { grid-area: status; justify-self: center; z-index: 1; width: min(380px, 100%); margin: var(--s-4) 0 0; padding: var(--s-4) var(--s-5); }
.hero-status-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin: 0 0 var(--s-3); padding: 0 0 var(--s-3); border-bottom: 1px solid var(--line); }
.hero-status-head h2 { margin: 0; font-family: var(--font-display); font-stretch: condensed; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.hero-status-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.hero-status-head a svg { width: 14px; height: 14px; }
.status-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.status-lines li { display: flex; align-items: center; gap: var(--s-3); margin: 0; color: var(--text-2); font-size: 14.5px; }
.status-lines li > svg { width: 17px; height: 17px; color: var(--text-muted); }
.status-lines .status-dot { margin: 0 4px; }
.status-lines .status-main { color: var(--text); font-weight: 650; font-size: 15.5px; }

.fact-strip { list-style: none; margin: 0 0 var(--s-12); padding: var(--s-4) var(--s-5); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(10, 17, 32, 0.62); box-shadow: var(--highlight); }
.fact-strip li { display: flex; align-items: center; gap: var(--s-3); margin: 0; min-width: 0; }
.fact-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--gold); background: rgba(255, 194, 51, 0.08); border: 1px solid rgba(255, 194, 51, 0.22); }
.fact-icon svg { width: 20px; height: 20px; }
.fact-strip strong { display: block; font-size: 14.5px; color: var(--text); }
.fact-strip li span span { display: block; font-size: 13px; line-height: 1.4; color: var(--text-muted); }

.news-card { display: flex; flex-direction: column; gap: var(--s-2); transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.news-card h3 { margin: 0; font-size: var(--fs-md); line-height: 1.3; }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card h3 a:focus-visible { outline: none; }
.news-card:focus-within { box-shadow: var(--ring), var(--shadow-2); }
.news-card:hover { border-color: rgba(96, 165, 250, 0.45); transform: translateY(-2px); box-shadow: var(--highlight), var(--shadow-3); }
.news-card.pinned { border-top: 2px solid var(--gold); }
.news-excerpt { flex: 1 1 auto; margin: 0; color: var(--text-2); font-size: 14.5px; }
.news-card .read-more { margin-top: var(--s-2); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0; color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) { .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .home-hero { grid-template-areas: "art" "copy" "status"; grid-template-rows: auto; padding: var(--s-4) 0 var(--s-8); row-gap: var(--s-6); }
  .home-hero .hero-art { min-height: 0; }
  .hero-status { justify-self: stretch; width: 100%; margin: 0; }
}
@media (max-width: 520px) {
  .fact-strip { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .home-hero .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------------------------------- news */
.news-list { display: flex; flex-direction: column; gap: var(--s-4); max-width: 860px; }
.news-post { margin: 0; padding: var(--s-6) var(--s-8); min-width: 0; overflow-wrap: anywhere; }
.news-card, .article-body { overflow-wrap: anywhere; }
.news-post h2 { margin: var(--s-2) 0 var(--s-3); font-size: var(--fs-xl); line-height: 1.25; }
.news-post h2 a { color: var(--text); text-decoration: none; }
.news-post h2 a:hover { color: var(--blue-hi); }
.news-post .prose { max-width: 70ch; }
.news-post .prose > :last-child { margin-bottom: 0; }
.news-post .read-more { margin-top: var(--s-4); }
.news-post.pinned { border-color: rgba(255, 194, 51, 0.38); background: linear-gradient(180deg, rgba(255, 194, 51, 0.08), rgba(15, 26, 46, 0.94) 160px), var(--bg-raised); }
@media (max-width: 640px) { .news-post { padding: var(--s-5); } .news-post h2 { font-size: var(--fs-lg); } }

/* one post: a narrow reading column */
.article { max-width: 760px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--s-6); color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link svg { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
.back-link:hover { color: var(--text); text-decoration: none; }
.back-link:hover svg { transform: translateX(-3px); }
.article-head { margin: 0 0 var(--s-8); padding: 0 0 var(--s-6); border-bottom: 1px solid var(--line); }
.article-head .eyebrow svg { width: 15px; height: 15px; }
.article-head h1 { margin: 0 0 var(--s-4); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: 0; color: var(--text-muted); font-size: 14px; }
.article-meta strong { color: var(--text-2); }
.article-body { max-width: none; font-size: 16.5px; line-height: 1.75; }
.article-body h2 { margin: var(--s-8) 0 var(--s-3); font-size: var(--fs-xl); }
.article-body h3 { margin: var(--s-6) 0 var(--s-2); font-size: var(--fs-lg); }
.article-body > :first-child { margin-top: 0; }
.article-body ul { padding-left: 1.4em; }
.article-body li + li { margin-top: var(--s-1); }
.article-foot { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-10) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line); }
.news-missing { margin: var(--s-8) 0; }
.news-missing h1.empty-title { font-size: var(--fs-xl); }

/* ---------------------------------------------------------------------------------------- features, games */
.state-summary { list-style: none; margin: 0 0 var(--s-10); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.state-summary li { margin: 0; min-width: 0; }
.state-summary .stat { height: 100%; padding: var(--s-5); }
.state-summary .stat-value { font-size: 44px; margin: var(--s-1) 0; }
.state-summary .stat-meta { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 760px) { .state-summary { grid-template-columns: minmax(0, 1fr); } .state-summary .stat-value { font-size: 36px; } }

.game-card h2 { margin: var(--s-1) 0 0; font-size: var(--fs-md); }
.game-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: var(--s-4) 0 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--line); }
.game-facts div { min-width: 0; }
.game-facts dt { font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.game-facts dd { display: flex; align-items: center; gap: 5px; margin: 2px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text); }
.game-facts dd svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------------------------------------------------------------------------------------- items */
.item-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-3) var(--s-4); padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-4); }
.item-filter .field { margin: 0; }
.item-filter .field-search { flex: 1 1 280px; }
.item-filter .field-category { flex: 0 1 230px; }
.filter-actions { display: flex; gap: var(--s-2); }
/* the static site (docs/STATIC-SITE.md): the search box and the live status bits stay hidden until their script runs */
.item-search[hidden], .item-results[hidden], .item-browse[hidden], [data-live][hidden] { display: none; }
.item-results .empty { padding: var(--s-8) var(--s-4); }
.filter-actions .btn, .filter-actions button { min-height: 40px; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(21, 35, 61, 0.6); color: var(--text-2); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.chip:hover { color: var(--text); border-color: rgba(148, 176, 230, 0.45); background: var(--bg-high); text-decoration: none; }
.chip[aria-current="page"] { color: #fff; background: rgba(37, 99, 235, 0.28); border-color: var(--blue-hi); }
.chip .count { font-size: 12px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.chip[aria-current="page"] .count { color: #cfe0ff; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--text); }
.price svg { width: 15px; height: 15px; color: var(--gold); }
@media (max-width: 640px) {
  .item-filter { padding: var(--s-4); }
  .item-filter .field-search, .item-filter .field-category, .filter-actions { flex: 1 1 100%; }
  .filter-actions .btn, .filter-actions button { flex: 1 1 auto; }
  .item-table th, .item-table td { padding: 10px 12px; }
}

/* ---------------------------------------------------------------------------------------- staff */
.role-legend-card { margin: 0 0 var(--s-10); }
.role-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.role-legend li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.45; }
@media (max-width: 960px) { .role-legend { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.staff-group { margin-bottom: var(--s-8); }
.staff-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-4); }
.staff-card { display: flex; align-items: center; gap: var(--s-4); margin: 0; padding: var(--s-4) var(--s-5); }
.staff-who { min-width: 0; }
.staff-card h3 { margin: 0 0 6px; font-size: var(--fs-md); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------------------------- support, download, community */
.faq-list details.faq-row > summary { font-size: 15.5px; }
.faq-list details.faq-row[open] { border-color: var(--line-strong); }

.download-card { padding: var(--s-6) var(--s-8); border-color: rgba(255, 194, 51, 0.32); background: radial-gradient(520px 220px at 100% 0%, rgba(255, 194, 51, 0.13), transparent 70%), linear-gradient(180deg, rgba(21, 35, 61, 0.55), rgba(15, 26, 46, 0.94) 140px), var(--bg-raised); }
.download-head { display: flex; align-items: center; gap: var(--s-4); margin: 0 0 var(--s-5); }
.download-icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; color: var(--gold); background: rgba(255, 194, 51, 0.1); border: 1px solid rgba(255, 194, 51, 0.32); }
.download-icon svg { width: 28px; height: 28px; }
.download-head h2 { margin: 0; font-size: var(--fs-xl); }
.download-head p { margin: 2px 0 0; color: var(--text-muted); }
.download-card .alert { margin: 0; }
.download-card .alert + .alert, .download-card .btn + .alert { margin-top: var(--s-4); }
@media (max-width: 640px) { .download-card { padding: var(--s-5); } .download-card .btn.lg { width: 100%; } }

.community-card { display: flex; flex-direction: column; gap: var(--s-2); }
.community-card .card-icon { margin: 0 0 var(--s-1); }
.community-card h2 { margin: 0; font-size: var(--fs-lg); }
.community-text { flex: 1 1 auto; color: var(--text-2); }
.community-text p { margin: 0; }
.community-card .btn-group { margin-top: var(--s-3); }

/* ---------------------------------------------------------------------------------------- long text (About, Terms, Privacy) */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-12); align-items: start; }
.doc-toc { position: sticky; top: 92px; font-size: 14px; }
.doc-toc-title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: condensed; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-toc li { margin: 0; }
.doc-toc a { display: block; margin-left: -1px; padding: 6px 0 6px var(--s-4); border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.doc-toc a:hover { color: var(--text); border-left-color: var(--gold); text-decoration: none; }
.doc { min-width: 0; max-width: 72ch; }
.doc .prose { max-width: none; font-size: 16px; }
.doc .prose section + section { margin-top: var(--s-10); }
.doc .prose h2 { margin: 0 0 var(--s-3); font-size: var(--fs-xl); scroll-margin-top: 96px; }
.doc .prose li + li { margin-top: var(--s-2); }
.doc-note { margin: var(--s-8) 0 0; color: var(--text-muted); font-size: 13.5px; }
.doc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin: var(--s-10) 0 0; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); }
.doc-foot > svg { width: 22px; height: 22px; color: var(--cyan); }
.doc-foot p { flex: 1 1 240px; margin: 0; color: var(--text-2); font-size: 14.5px; }
.doc-foot strong { display: block; color: var(--text); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .doc-toc { display: none; } }

/* ---------------------------------------------------------------------------------------- status */
.status-banner {
  --sb-color: var(--text-2); --sb-line: var(--line-strong); --sb-soft: rgba(148, 176, 230, 0.1); --sb-glow: rgba(148, 176, 230, 0.08);
  display: flex; align-items: center; gap: var(--s-5); margin: 0 0 var(--s-6); padding: var(--s-6) var(--s-8);
  border: 1px solid var(--sb-line); border-radius: var(--r-lg); background: radial-gradient(560px 200px at 0% 0%, var(--sb-glow), transparent 70%), var(--bg-raised); box-shadow: var(--highlight), var(--shadow-2);
}
.status-banner.ok { --sb-color: var(--ok); --sb-line: rgba(52, 211, 153, 0.38); --sb-soft: rgba(52, 211, 153, 0.12); --sb-glow: rgba(52, 211, 153, 0.18); }
.status-banner.warn { --sb-color: var(--warn); --sb-line: rgba(251, 191, 36, 0.4); --sb-soft: rgba(251, 191, 36, 0.12); --sb-glow: rgba(251, 191, 36, 0.16); }
.status-banner.error { --sb-color: var(--red-hi); --sb-line: rgba(248, 113, 113, 0.4); --sb-soft: rgba(248, 113, 113, 0.12); --sb-glow: rgba(248, 113, 113, 0.16); }
.status-banner.info { --sb-color: var(--cyan); --sb-line: rgba(56, 189, 248, 0.38); --sb-soft: rgba(56, 189, 248, 0.12); --sb-glow: rgba(56, 189, 248, 0.16); }
.status-banner-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; color: var(--sb-color); background: var(--sb-soft); border: 1px solid var(--sb-line); }
.status-banner-icon svg { width: 32px; height: 32px; }
.status-banner h2 { margin: 0 0 4px; font-size: var(--fs-2xl); line-height: 1.15; }
.status-banner p { margin: 0; color: var(--text-2); }
.component-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.component-list li { display: flex; align-items: center; gap: var(--s-4); margin: 0; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.component-list li:last-child { border-bottom: 0; }
.component-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: var(--text-2); background: var(--bg-high); border: 1px solid var(--line); }
.component-icon svg { width: 20px; height: 20px; }
.component-name { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.component-name span { color: var(--text-muted); font-size: 13px; }
.component-value { flex: none; }
.component-number { font-family: var(--font-display); font-stretch: condensed; font-size: var(--fs-xl); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .status-banner { flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: var(--s-5); }
  .status-banner h2 { font-size: var(--fs-xl); }
  .component-list li { gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  .component-icon { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------------------------------- maintenance (bare) */
.maint { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s-4) 0 var(--s-8); }
.maint-logo { width: min(280px, 68vw); margin: 0 0 var(--s-6); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.25)); }
.maint .eyebrow { color: var(--warn); }
.maint .eyebrow svg { width: 16px; height: 16px; }
.maint h1 { margin: 0 0 var(--s-3); font-family: var(--font-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(32px, 7vw, 46px); line-height: 1.02; }
.maint .lead { margin: 0 auto var(--s-4); }
.maint-eta { display: inline-flex; align-items: center; gap: var(--s-2); max-width: 100%; margin: 0 0 var(--s-4); padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid rgba(251, 191, 36, 0.38); background: rgba(251, 191, 36, 0.1); color: #fcd34d; font-size: 14px; overflow-wrap: anywhere; }
.maint-eta svg { width: 16px; height: 16px; }
.maint-eta strong { color: var(--text); }
.maint .btn-group { justify-content: center; margin-top: var(--s-2); }
.maint-staff { margin: var(--s-8) 0 0; font-size: 13.5px; }
.maint-staff a { color: var(--text-muted); }

/* =====================================================================================================================
   COMING SOON: the launch page of coming soon mode (src/coming-soon.ts, comingSoonView in src/site-pages.ts; also the
   static holding page of src/holding.ts). Bare shell, body class `coming-soon`.
   ===================================================================================================================== */
.site-banner.soon { border-bottom-color: rgba(96, 165, 250, 0.4); background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(56, 212, 255, 0.07) 70%); }
.site-banner.soon svg { color: var(--cyan); }
.coming-soon .bare-main { padding-top: var(--s-6); }
.coming-soon .bare-main > * { max-width: 820px; }
.cs { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 var(--s-8); }
.cs-stage { position: relative; display: grid; place-items: center; width: min(340px, 74vw); aspect-ratio: 512 / 381; margin: 0 0 var(--s-5); }
.cs-ring { position: absolute; inset: -18% -8%; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, 0.38), rgba(56, 212, 255, 0.1) 42%, transparent 68%); filter: blur(8px); }
.cs-slash { position: absolute; z-index: 0; pointer-events: none; border-radius: 3px; background: linear-gradient(90deg, rgba(210, 58, 58, 0), rgba(210, 58, 58, 0.85) 40%, #e04646); transform: rotate(-14deg) skewX(-26deg); }
.cs-slash.s1 { width: 82%; height: 26px; left: 28%; bottom: 14%; opacity: 0.8; }
.cs-slash.s2 { width: 50%; height: 11px; left: -12%; top: 22%; opacity: 0.5; }
.cs-logo { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 34px rgba(59, 130, 246, 0.28)); animation: cwa-float 7s ease-in-out infinite; }
.cs-eyebrow { padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 194, 51, 0.35); border-radius: var(--r-pill); background: rgba(255, 194, 51, 0.08); letter-spacing: 0.22em; }
.cs-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: cs-pulse 2.2s ease-out infinite; }
.cs-title { margin: 0 0 var(--s-4); font-family: var(--font-display); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95; font-size: clamp(40px, 7.4vw, 78px); overflow-wrap: anywhere; }
.cs-title-top { display: block; font-size: 0.62em; letter-spacing: 0.06em; color: var(--text-2); }
.cs-title .accent { display: block; background: linear-gradient(180deg, #ffd25a, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 22px rgba(255, 157, 28, 0.25)); }
.cs-message { max-width: 58ch; margin: 0 auto var(--s-5); font-size: var(--fs-md); color: var(--text-2); overflow-wrap: anywhere; white-space: pre-line; }
.cs-launch { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-2) var(--s-3); max-width: 100%; margin: 0 0 var(--s-5); padding: 10px 12px 10px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(10, 17, 32, 0.72); box-shadow: var(--highlight), var(--shadow-2); }
.cs-launch > svg { width: 18px; height: 18px; color: var(--cyan); }
.cs-launch-text { color: var(--text-2); font-size: 15px; overflow-wrap: anywhere; }
.cs-launch-label { font-family: var(--font-display); font-stretch: condensed; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.cs-launch strong { color: var(--text); font-size: 16px; }
.cs-countdown { padding: 3px 12px; border-radius: var(--r-pill); background: linear-gradient(180deg, #ffd25a, var(--gold) 45%, var(--gold-deep)); color: #1d1304; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.cs-actions { justify-content: center; margin: 0 0 var(--s-6); }
.cs-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); width: 100%; margin: 0 0 var(--s-5); padding: 0; text-align: left; }
.cs-facts li { display: flex; align-items: center; gap: var(--s-3); min-width: 0; margin: 0; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(10, 17, 32, 0.62); box-shadow: var(--highlight); }
.cs-facts .fact-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 194, 51, 0.1); border: 1px solid rgba(255, 194, 51, 0.28); color: var(--gold); }
.cs-facts .fact-icon svg { width: 18px; height: 18px; }
.cs-facts strong { display: block; font-size: 14px; color: var(--text); }
.cs-facts li span span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.cs-contact { display: inline-flex; align-items: flex-start; gap: var(--s-2); max-width: 60ch; margin: 0 0 var(--s-4); color: var(--text-2); font-size: 14px; text-align: left; overflow-wrap: anywhere; white-space: pre-line; }
.cs-contact svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--cyan); }
.cs-staff { margin: var(--s-2) 0 0; font-size: 13px; }
.cs-staff a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.cs-staff svg { width: 14px; height: 14px; }
@keyframes cs-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 51, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(255, 194, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 51, 0); } }
@media (max-width: 720px) {
  .cs-stage { width: min(280px, 66vw); }
  .cs-facts { grid-template-columns: minmax(0, 1fr); }
  .cs-launch { border-radius: var(--r-lg); padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) { .cs-logo, .cs-pulse { animation: none; } }
