/* =====================================================================
   WORLD FOOTBALL OBSERVER — website styles
   Obsidian / charcoal surfaces, emerald for actions, cyan for data & links.
   Display: Anton (condensed, stadium-board vernacular). Text & data: Inter.
   ===================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-semibold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-bold.woff") format("woff"); }
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/anton.woff") format("woff"); }

:root {
  --bg: #0a0e10;
  --bg-2: #0f1417;
  --panel: #141a1e;
  --raised: #1b2328;
  --line: #243038;
  --line-2: #33414b;
  --text: #e9efec;
  --text-2: #a9b6b1;
  --text-3: #7f8d88;
  --emerald: #1dbf7e;
  --emerald-2: #3ad897;
  --emerald-ink: #03150d;
  --emerald-soft: rgba(29, 191, 126, 0.12);
  --cyan: #4cc9e4;
  --cyan-soft: rgba(76, 201, 228, 0.12);
  --warn: #e6a93d;
  --danger: #ec5f57;
  --display: "Anton", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-s: 6px;
  --r-m: 10px;
  --header-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7fdcf0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(29, 191, 126, 0.35); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--emerald); color: var(--emerald-ink); padding: 10px 14px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(10, 14, 16, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: 0 0 auto; }
.brand svg { width: 28px; height: 28px; }
.brand span { font-family: var(--display); font-size: 19px; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 11px; border-radius: var(--r-s);
}
.nav a:hover { color: var(--text); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--emerald); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--emerald-ink); background: var(--emerald); border-radius: var(--r-s); box-shadow: none; }
.nav a.btn-primary:hover { background: var(--emerald-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 7px 10px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px; display: none;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--emerald); padding-left: 12px; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-s);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--emerald); color: var(--emerald-ink); }
.btn-primary:hover { background: var(--emerald-2); color: var(--emerald-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); }
.btn-quiet { background: var(--raised); color: var(--text); }
.btn-quiet:hover { background: var(--line); color: var(--text); }
.btn-danger { background: transparent; color: #ff8f88; border-color: #6b2f2c; }
.btn-danger:hover { background: #2a1615; color: #ffb3ad; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn .play-glyph { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

/* ---------------------------------------------------------------- beta marker */
.beta-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.14em; color: var(--emerald-2);
  padding: 8px 12px 8px 10px; border: 1px solid rgba(58, 216, 151, 0.45); border-radius: 999px;
  background: rgba(4, 22, 14, 0.7);
}
.beta-flag i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-2); box-shadow: 0 0 0 4px rgba(58, 216, 151, 0.18); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 860px);
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 14, 16, 0.96) 0%, rgba(10, 14, 16, 0.82) 34%, rgba(10, 14, 16, 0.25) 70%, rgba(10, 14, 16, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 14, 16, 1) 0%, rgba(10, 14, 16, 0) 38%);
}
.hero .wrap { padding: 120px 0 72px; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 9.4vw, 132px); line-height: 0.96; letter-spacing: 0.005em;
  margin: 26px 0 24px; max-width: 9.5em;
}
.hero h1 span { display: block; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: #cfd9d5; max-width: 34em; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 20px; color: var(--text-2); font-size: 14px; }
.hero figcaption { position: absolute; right: var(--gutter); bottom: 18px; font-size: 12.5px; color: rgba(233, 239, 236, 0.7); }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 14, 16, 1) 30%, rgba(10, 14, 16, 0.55) 100%); }
  .hero .wrap { padding: 160px 0 48px; }
  .hero figcaption { display: none; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.section.tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2, .page-head h1 {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.01em;
  font-size: clamp(38px, 5vw, 60px); line-height: 1; margin-bottom: 18px;
}
.section-head p, .page-head p { color: var(--text-2); font-size: 19px; max-width: 40em; }
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 80px); }
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: 0 0 6px; }
.prose p, .prose li { color: #d4ddd9; }
.prose .meta { color: var(--text-3); font-size: 14px; }

/* overview: statement + measured facts */
.overview { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.overview .statement { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.overview .statement p { margin-bottom: 0.8em; }
.overview .statement p + p { font-size: 0.72em; color: var(--text-2); font-weight: 400; letter-spacing: 0; line-height: 1.6; }
.facts { margin: 0; border-top: 1px solid var(--line-2); }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--text); }
.facts dd { margin: 0; color: var(--text-2); font-size: 15.5px; }
.facts-note { color: var(--text-3); font-size: 13px; margin-top: 12px; }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr; } }

/* feature register: rows of features beside one real screenshot per group */
.register { display: grid; gap: clamp(48px, 7vw, 88px); }
.register-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.register-group:nth-child(even) .register-shot { order: 2; }
.register-shot { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.register-shot img { border-radius: var(--r-m); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); background: var(--panel); }
.register-shot figcaption { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }
.register-group h3 { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: 0.01em; margin-bottom: 10px; }
.register-group > div > p { color: var(--text-2); margin-bottom: 18px; }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13.5em 1fr; gap: 18px; }
.feature-list b { font-weight: 600; color: var(--text); }
.feature-list span { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 960px) {
  .register-group { grid-template-columns: 1fr; }
  .register-group:nth-child(even) .register-shot { order: 0; }
  .register-shot { position: static; }
  .feature-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.shot { margin: 0; grid-column: span 4; }
.shot.wide { grid-column: span 8; }
.shot.half { grid-column: span 6; }
.shot button { all: unset; display: block; cursor: zoom-in; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.shot button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: transform 0.4s ease; }
.shot.wide img { aspect-ratio: 16 / 9; }
.shot button:hover img { transform: scale(1.015); }
.shot figcaption { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.shot figcaption b { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }
@media (max-width: 860px) { .shot, .shot.wide, .shot.half { grid-column: span 12; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(3, 5, 6, 0.92); }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: var(--r-s); }
.lightbox p { color: var(--text-2); margin: 12px 0 0; font-size: 15px; }
.lightbox .close { position: fixed; top: 16px; right: 16px; }

/* updates */
.updates { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.update { display: grid; grid-template-columns: 11em 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.update .when { color: var(--text-3); font-size: 14.5px; }
.update .ver { display: inline-block; font-weight: 600; color: var(--emerald-2); font-size: 15px; margin-bottom: 4px; }
.update h3 { font-size: 22px; margin-bottom: 8px; }
.update p { color: var(--text-2); }
.update h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 16px 0 6px; }
.update ul { margin: 0; padding-left: 1.15em; color: #d4ddd9; }
.update li { margin-bottom: 4px; }
.update .pin { font-size: 13px; color: var(--cyan); margin-left: 8px; }
.update.compact { grid-template-columns: 9em 1fr; padding: 22px 0; }
.update.compact h3 { font-size: 19px; }
@media (max-width: 700px) { .update, .update.compact { grid-template-columns: 1fr; gap: 6px; } }
.empty { color: var(--text-2); padding: 22px 0; border-bottom: 1px solid var(--line); }

/* split promo blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.4vw, 54px); line-height: 1; margin-bottom: 18px; }
.split p { color: var(--text-2); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); color: #d4ddd9; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--emerald-2); border-bottom: 2px solid var(--emerald-2); transform: rotate(-45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.callout { border-left: 3px solid var(--emerald); background: var(--panel); padding: 18px 20px; border-radius: 0 var(--r-s) var(--r-s) 0; color: #d4ddd9; }
.callout.warn { border-left-color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 22px; max-width: 760px; }
.field { display: grid; gap: 8px; }
.field > label, .field > legend, .label { font-weight: 600; font-size: 15px; }
.field .hint { color: var(--text-3); font-size: 13.5px; }
.field .opt { color: var(--text-3); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="date"], select, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-s);
  padding: 12px 14px; font-size: 16px; color: var(--text);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
input::placeholder, textarea::placeholder { color: #66746f; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.choices input:checked + span { background: var(--emerald-soft); border-color: var(--emerald); color: var(--text); }
.choices input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: #d4ddd9; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--emerald); flex: 0 0 auto; }
.check small { display: block; color: var(--text-3); font-size: 13.5px; }
.counter { color: var(--text-3); font-size: 13px; text-align: right; }
.form-status { padding: 14px 16px; border-radius: var(--r-s); font-size: 15px; }
.form-status.error { background: rgba(236, 95, 87, 0.1); border: 1px solid rgba(236, 95, 87, 0.45); color: #ffb3ad; }
.form-status.ok { background: var(--emerald-soft); border: 1px solid rgba(29, 191, 126, 0.5); color: #c9f5e0; }
.form-status.info { background: var(--cyan-soft); border: 1px solid rgba(76, 201, 228, 0.4); color: #cdeff7; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.drop { border: 1px dashed var(--line-2); border-radius: var(--r-m); padding: 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.drop img { max-height: 120px; border-radius: var(--r-s); border: 1px solid var(--line-2); }
.receipt { padding: 28px; border: 1px solid rgba(29, 191, 126, 0.5); border-radius: var(--r-m); background: linear-gradient(180deg, rgba(29, 191, 126, 0.1), transparent); max-width: 760px; }
.receipt h2 { font-family: var(--display); font-weight: 400; font-size: 40px; margin-bottom: 8px; }
.receipt .ref { font: 600 22px/1.2 var(--sans); letter-spacing: 0.06em; color: var(--emerald-2); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.layout-aside aside { position: sticky; top: calc(var(--header-h) + 24px); color: var(--text-2); font-size: 15px; }
.layout-aside aside h2 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.layout-aside aside section + section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside aside { position: static; } }

/* account */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; }
.tabs button { background: none; border: 0; padding: 12px 16px; font-weight: 600; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--emerald); }
.oauth { display: grid; gap: 10px; margin-top: 8px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kv { display: grid; grid-template-columns: 12em 1fr; gap: 10px 20px; margin: 0 0 20px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list-plain li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.tag { display: inline-block; font-size: 12.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.tag.new { border-color: var(--cyan); color: var(--cyan); }
.tag.planned, .tag.in_progress, .tag.reviewing { border-color: var(--warn); color: var(--warn); }
.tag.resolved { border-color: var(--emerald); color: var(--emerald-2); }
.tag.rejected { color: var(--text-3); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 56px 0 40px; color: var(--text-2); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h2 { font-size: 14px; color: var(--text); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--text-3); font-size: 13.5px; }
.site-footer .brand span { font-size: 22px; }
.site-footer .tagline { margin-top: 12px; max-width: 22em; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- analytics notice bar */
.notice-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin-inline: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-m);
  padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); font-size: 14.5px; color: #d4ddd9;
}
.notice-bar p { margin: 0; flex: 1 1 320px; }
.notice-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--raised); border: 1px solid var(--line-2); padding: 12px 16px; border-radius: var(--r-s); font-size: 14.5px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- /play */
body.play { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; font-size: 15px; }
.play-bar { flex: 0 0 auto; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.play-bar .brand span { font-size: 17px; }
.play-bar .brand svg { width: 24px; height: 24px; }
.play-build { color: var(--text-3); font-size: 13.5px; margin-left: 8px; }
.play-build b { color: var(--text-2); font-weight: 600; }
.play-spacer { flex: 1; }
.play-analytics { color: var(--text-3); font-size: 13px; text-decoration: none; }
.play-analytics:hover { color: var(--text-2); text-decoration: underline; }
.play-bar .btn { padding: 6px 11px; font-size: 13.5px; }
.play-stage { position: relative; flex: 1 1 auto; min-height: 0; background: #0e1215; }
.play-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #0e1215; }
.play-loader { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 30%, #12201a 0%, var(--bg) 70%); }
.play-loader-inner { max-width: 560px; }
.play-loader h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); margin: 18px 0 18px; }
.play-loader p, .play-loader li { color: var(--text-2); }
.play-loader ul { padding-left: 1.1em; margin: 18px 0 0; font-size: 14.5px; }
.play-loader li { margin-bottom: 6px; }
.play-progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.play-progress i { display: block; height: 100%; width: 30%; background: var(--emerald); animation: wfo-load 1.4s ease-in-out infinite; }
@keyframes wfo-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.play-stage:fullscreen { background: #0e1215; }
body.pseudo-fs .play-bar { display: none; }
body.pseudo-fs .play-stage { position: fixed; inset: 0; z-index: 100; }
@media (max-width: 760px) {
  .play-build, .play-analytics, .play-bar .brand span { display: none; }
  .play-bar { gap: 6px; padding: 0 8px; }
}
.field > label.check { font-weight: 400; font-size: 15.5px; }
.check small { font-weight: 400; }
input[type="file"] { color: var(--text-2); font-size: 14.5px; }
input[type="file"]::file-selector-button { font: 600 14px var(--sans); color: var(--text); background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 8px 12px; margin-right: 12px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--text-2); }
