/* The syat homepage. Three looks share one layout; each look only sets the tokens below and a few tile rules.
   The settings panel (gear, top right) overrides --accent, --radius, --gap, --lift, --speed and --logo-h. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #1a1a1a; --muted: #6d6a66; --line: #e6e2da; --accent: #d02428;
  --radius: 14px; --gap: 14px; --lift: 4px; --speed: 1; --logo-h: 46px;
  --head: "Bricolage Grotesque", Inter, sans-serif; --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --head-w: 800; --border: 0px solid transparent; --shadow: 0 1px 2px rgba(0,0,0,.06); --shadow-hover: 0 14px 30px rgba(0,0,0,.14);
  --wrap: 1240px; --side: 24px;
}
html[data-look="news"] {
  --bg: #ffffff; --surface: #ffffff; --ink: #121212; --muted: #5f5f5f; --line: #dcdcdc;
  --radius: 0px; --gap: 22px; --lift: 0px;
  --head: Newsreader, Georgia, serif; --head-w: 600; --shadow: none; --shadow-hover: none;
}
html[data-look="arcade"] {
  --bg: #fff3df; --surface: #ffffff; --ink: #161616; --muted: #5a544b; --line: #161616;
  --radius: 18px; --gap: 16px; --lift: 3px;
  --head: Rubik, Inter, sans-serif; --head-w: 800; --border: 2.5px solid #161616;
  --shadow: 4px 4px 0 #161616; --shadow-hover: 7px 7px 0 #161616;
}
@media (max-width: 720px) { :root { --side: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: -.015em; line-height: 1.1; margin: 0; }
html[data-look="news"] h1, html[data-look="news"] h2, html[data-look="news"] h3 { letter-spacing: -.005em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--side); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
html[data-look="news"] .top { border-bottom: 3px double var(--ink); background: var(--bg); }
html[data-look="arcade"] .top { border-bottom: 2.5px solid var(--ink); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--side); display: flex; align-items: center; gap: 22px;
  min-height: calc(var(--logo-h) + 20px); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: var(--logo-h); width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--muted);
  transition: color calc(.15s / var(--speed)), background calc(.15s / var(--speed)); }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); }
html[data-look="news"] .nav a { border-radius: 0; font-family: var(--head); font-size: 17px; }
html[data-look="news"] .nav a.on { background: none; box-shadow: inset 0 -2px 0 var(--accent); }
html[data-look="arcade"] .nav a.on { background: var(--accent); color: #fff; }

.search { flex: 1; max-width: 420px; margin-left: auto; position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 13px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; font: 500 15px/1 var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 40px 11px 40px; outline: none; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
html[data-look="news"] .search input { border-radius: 0; }
html[data-look="arcade"] .search input { border: 2.5px solid var(--ink); }
.search kbd { position: absolute; right: 12px; font: 600 12px/1 var(--body); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; }

.set { position: relative; flex: none; }
.gear { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid transparent; border-radius: 50%; cursor: pointer; color: var(--muted); }
.gear:hover { color: var(--ink); border-color: var(--line); }
.gear svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.drop { display: none; position: absolute; right: 0; top: 48px; width: 270px; max-width: calc(100vw - 24px); background: #fff; color: #1a1a1a;
  border: 1px solid #e3e0d9; border-radius: 14px; padding: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.16); font: 500 13px/1.3 Inter, sans-serif; }
.drop.open { display: block; }
.drop label { display: block; margin-top: 12px; font-weight: 600; }
.drop label:first-child { margin-top: 0; }
.drop select { display: block; width: 100%; margin-top: 5px; font: inherit; padding: 6px; border-radius: 8px; border: 1px solid #e3e0d9; background: #fff; }
.drop input[type=color] { float: right; width: 42px; height: 24px; padding: 0; border: 1px solid #e3e0d9; border-radius: 6px; background: none; }
.drop .row { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-weight: 400; }
.drop .row input { flex: 1; accent-color: var(--accent); }
.drop .row b { font-weight: 500; color: #6d6a66; min-width: 44px; text-align: right; }
.drop .reset { margin-top: 14px; width: 100%; font: inherit; padding: 8px; border: 1px solid #e3e0d9; background: #faf9f6; border-radius: 8px; cursor: pointer; }

/* phones: logo and links on one line, search on its own full-width line under them */
@media (max-width: 720px) {
  :root { --logo-h: 38px; }
  .top-in { flex-wrap: wrap; gap: 6px 4px; padding-top: 8px; padding-bottom: 10px; }
  .logo { margin-right: auto; }
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .set { order: 2; }
  .search { order: 3; flex: 1 0 100%; max-width: none; margin: 2px 0 0; }
  .search input { font-size: 16px; padding-top: 10px; padding-bottom: 10px; }   /* 16px stops iOS zooming in on focus */
  .search kbd { display: none; }
  .gear { width: 36px; height: 36px; }
}

/* ---------- page entrance ---------- */
#main { min-height: 60vh; }
.page { animation: in calc(.45s / var(--speed)) cubic-bezier(.2,.8,.2,1) both; }
@keyframes in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } }

/* ---------- tiles ---------- */
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; cursor: pointer;
  border-radius: var(--radius); background: var(--surface); border: var(--border); box-shadow: var(--shadow); overflow: hidden;
  transition: transform calc(.22s / var(--speed)) ease, box-shadow calc(.22s / var(--speed)) ease; -webkit-tap-highlight-color: transparent; }
.tile:hover { transform: translate(calc(var(--lift) * -.3), calc(var(--lift) * -1)); box-shadow: var(--shadow-hover); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.art { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform calc(.6s / var(--speed)) ease; }
.tile:hover .art svg { transform: scale(1.04); }
.meta { padding: 12px 14px 14px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kicker .mins { color: var(--muted); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.meta h3 { font-size: 19px; margin-top: 7px; }
.meta p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
html[data-look="news"] .badge { border-radius: 0; }
html[data-look="arcade"] .badge { border: 2px solid var(--ink); }

/* Paper: the words sit on the picture, like a shop front */
html[data-look="paper"] .tile .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 65%, transparent); padding-top: 40px; }
html[data-look="paper"] .tile .kicker { color: #fff; }
/* the minutes: full white with a soft shadow, so they read on the light parts of a picture too */
html[data-look="paper"] .tile .kicker .mins { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
html[data-look="paper"] .tile .meta p { color: rgba(255,255,255,.86); }
html[data-look="paper"] .tile.s .meta p { display: none; }
/* Newsprint: picture on top, headline underneath, no box */
html[data-look="news"] .tile { background: none; overflow: visible; }
html[data-look="news"] .tile .art { border-radius: var(--radius); }
html[data-look="news"] .tile .meta { padding: 10px 0 0; }
html[data-look="news"] .tile .meta h3 { font-size: 21px; }
html[data-look="news"] .tile:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Arcade: chunky outlined cards, words in a white band */
html[data-look="arcade"] .tile .art { border-bottom: var(--border); }

/* ---------- home ---------- */
.home { padding-top: 26px; padding-bottom: 56px; }
.sec { margin-top: 44px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 26px; }
.sec-head span { color: var(--muted); font-size: 14px; }
html[data-look="news"] .sec-head { border-top: 2px solid var(--ink); padding-top: 10px; }
html[data-look="news"] .sec-head h2 { font-size: 28px; }

.hero { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); height: min(520px, 62vh); min-height: 420px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); min-height: 0; }
.tile.hero-main .meta { padding: 26px 28px 28px; }
.tile.hero-main h3 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 10px; }
.tile.hero-main .meta p { font-size: 17px; max-width: 560px; margin-top: 10px; }
.play { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #fff;
  font: 700 15px/1 var(--body); }
.play svg { width: 13px; height: 13px; fill: currentColor; }
html[data-look="news"] .play { border-radius: 0; }
html[data-look="arcade"] .play { border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
html[data-look="news"] .hero { height: auto; min-height: 0; grid-template-columns: 2fr 1fr; }
html[data-look="news"] .tile.hero-main .art { flex: none; aspect-ratio: 16 / 9; }
html[data-look="news"] .hero-side .tile .art { flex: none; aspect-ratio: 16 / 9; }
html[data-look="news"] .hero-side { grid-template-rows: auto auto; align-content: start; padding-left: var(--gap); border-left: 1px solid var(--line); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 3px 6px; margin: 30px -3px 0; }
.chips::-webkit-scrollbar { display: none; }
/* wider than a phone: the subjects wrap onto a second line rather than hiding off the edge (16 of them since 2026-10-29) */
@media (min-width: 721px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; font: 600 14px/1 var(--body); padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
html[data-look="news"] .chip { border-radius: 0; }
html[data-look="arcade"] .chip { border: 2px solid var(--ink); }
html[data-look="arcade"] .chip.on { background: var(--accent); border-color: var(--ink); color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: calc(var(--gap) * 2); align-items: start; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: var(--gap); }
.bento .xl { grid-column: span 2; grid-row: span 2; }
.bento .wide { grid-column: span 2; }
.bento .tall { grid-row: span 2; }
html[data-look="news"] .bento { grid-auto-rows: auto; grid-auto-flow: row; }
html[data-look="news"] .bento .tile .art { flex: none; aspect-ratio: 4 / 3; }
html[data-look="news"] .bento .wide .art, html[data-look="news"] .bento .xl .art { aspect-ratio: 16 / 9; }
html[data-look="news"] .bento .tall { grid-row: auto; }

.ranked { position: sticky; top: 100px; background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 8px; }
html[data-look="paper"] .ranked { border: 1px solid var(--line); box-shadow: none; }
html[data-look="news"] .ranked { padding: 0; background: none; border-top: 2px solid var(--ink); border-radius: 0; padding-top: 10px; }
.ranked h2 { font-size: 22px; margin-bottom: 6px; }
.ranked ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li a { display: grid; grid-template-columns: 34px 1fr; gap: 4px 8px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.ranked li:first-child a { border-top: none; }
.ranked li a::before { counter-increment: r; content: counter(r); grid-row: span 2; font: var(--head-w) 28px/1 var(--head); color: var(--accent); }
.ranked b { font: var(--head-w) 17px/1.2 var(--head); }
.ranked span { font-size: 13px; color: var(--muted); }
.ranked a:hover b { text-decoration: underline; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: var(--gap); overflow-x: auto; padding: 4px 4px 14px; margin: -4px -4px 0;
  scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip .tile { height: 260px; scroll-snap-align: start; }
html[data-look="news"] .strip .tile { height: auto; }
html[data-look="news"] .strip .art { flex: none; aspect-ratio: 4 / 3; }

.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(26px, 4vw, 36px); }
.results-head button { font: 600 14px/1 var(--body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); margin-top: 22px; }
.results .tile { height: 300px; }
html[data-look="news"] .results .tile { height: auto; }
html[data-look="news"] .results .art { flex: none; aspect-ratio: 4 / 3; }
html[data-look="paper"] .results .tile .meta p { display: block; }
.empty { margin-top: 28px; color: var(--muted); font-size: 17px; }

/* tablets */
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; }
  .ranked { position: static; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* phones: the hero becomes one big card with the two side picks under it, the grid goes to two columns,
   and every row that scrolls sideways shows a peek of the next card */
@media (max-width: 720px) {
  .home { padding-top: 16px; }
  .sec { margin-top: 34px; }
  .sec-head h2 { font-size: 22px; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .tile.hero-main { height: 420px; }
  .tile.hero-main .meta { padding: 18px 18px 20px; }
  .tile.hero-main h3 { font-size: 36px; }
  .tile.hero-main .meta p { font-size: 15px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hero-side .tile { height: 210px; }
  .hero-side .tile .meta p { display: none; }
  .chips { margin: 22px calc(var(--side) * -1) 0; padding: 3px var(--side) 6px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .bento .xl { grid-row: span 2; }
  .meta { padding: 10px 11px 12px; }
  .meta h3 { font-size: 16.5px; }
  .tile.s .meta p, .tile.tall .meta p { display: none; }
  .strip { grid-auto-columns: 72%; margin: -4px calc(var(--side) * -1) 0; padding: 4px var(--side) 14px; scroll-padding: var(--side); }
  .strip .tile { height: 230px; }
  .results { grid-template-columns: 1fr 1fr; }
  .results .tile { height: 230px; }
  .results .tile .meta p { display: none !important; }
  html[data-look="news"] .hero-side { padding-left: 0; border-left: none; }
  html[data-look="news"] .tile.hero-main { height: auto; }
  html[data-look="news"] .hero-side .tile { height: auto; }
  html[data-look="news"] .meta h3 { font-size: 18px; }
  html[data-look="news"] .tile.hero-main h3 { font-size: 32px; }
}

/* ---------- about and careers ---------- */
.prose-page { padding-top: 56px; padding-bottom: 80px; }
.prose { max-width: 720px; }
.eyebrow { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.prose h1 { font-size: clamp(36px, 6vw, 64px); margin: 14px 0 22px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.lede { font-size: 21px !important; line-height: 1.55 !important; }
html[data-look="news"] .prose p, html[data-look="news"] .prose li { font-family: Newsreader, Georgia, serif; font-size: 20px; }
.ministrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 36px 0 8px; max-width: 900px; }
.ministrip .tile { height: 150px; }
.ministrip .tile .meta { display: none; }

.jobs { list-style: none; padding: 0 !important; margin: 0; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-decoration: none;
  background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform calc(.2s / var(--speed)), box-shadow calc(.2s / var(--speed)); }
html[data-look="paper"] .job { border: 1px solid var(--line); }
html[data-look="news"] .job { border: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 18px 0; box-shadow: none; }
.job:hover { transform: translateY(calc(var(--lift) * -1)); box-shadow: var(--shadow-hover); }
.job b { display: block; font: var(--head-w) 24px/1.15 var(--head); }
.job span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.job i { flex: none; font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 26px; }
.facts span { font: 600 13.5px/1 var(--body); padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--ink); }
html[data-look="news"] .facts span { border-radius: 0; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.apply { margin-top: 36px; padding: 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: var(--border); }
.apply h2 { margin-top: 0 !important; }
.apply p:last-child { margin-bottom: 0; }
.apply a { color: var(--accent); font-weight: 700; }
@media (max-width: 720px) {
  .prose-page { padding-top: 32px; padding-bottom: 56px; }
  .prose p, .prose li { font-size: 17px; }
  .lede { font-size: 19px !important; }
  .ministrip { grid-template-columns: 1fr 1fr; }
  .ministrip .tile { height: 110px; }
  .job { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
}

/* ---------- game card (opens over the page) ---------- */
dialog#game { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: var(--border); border-radius: calc(var(--radius) + 4px);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: auto; }
dialog#game::backdrop { background: rgba(20,18,16,.55); backdrop-filter: blur(3px); }
dialog#game[open] { animation: pop calc(.3s / var(--speed)) cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.gc-art { position: relative; height: 240px; }
.gc-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gc-body { padding: 20px 24px 24px; }
.gc-body h2 { font-size: 34px; margin: 8px 0 10px; }
.gc-body p { margin: 0 0 14px; font-size: 16.5px; color: var(--muted); }
.gc-learn { padding: 14px 16px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); border-radius: 0 10px 10px 0; }
.gc-learn b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.gc-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.gc-row .play { margin: 0; border: 0; cursor: default; opacity: .55; }
.gc-row small { color: var(--muted); font-size: 13.5px; }
.gc-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 720px) {
  /* on a phone the card slides up from the bottom and fills most of the screen */
  dialog#game { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; max-height: 88dvh; }
  dialog#game[open] { animation: up calc(.35s / var(--speed)) cubic-bezier(.2,.9,.3,1); }
  @keyframes up { from { transform: translateY(40%); opacity: .4; } }
  .gc-art { height: 190px; }
  .gc-body { padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
  .gc-body h2 { font-size: 30px; }
}

/* ---------- footer ---------- */
.foot { margin-top: 30px; border-top: 1px solid var(--line); background: var(--surface); }
html[data-look="news"] .foot { border-top: 3px double var(--ink); }
html[data-look="arcade"] .foot { border-top: 2.5px solid var(--ink); background: var(--ink); color: #fff3df; --muted: #c9c1b3; --line: #3a3833; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--side) 22px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 52px; }
.foot-brand p { margin: 0; color: var(--muted); font-size: 15px; }
html[data-look="arcade"] .foot-brand img { background: #fff3df; border-radius: 10px; padding: 3px; }
.foot-links { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: inherit; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: inherit;
  transition: background calc(.15s / var(--speed)), color calc(.15s / var(--speed)), border-color calc(.15s / var(--speed)); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--side) 28px; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .foot-in { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .social a { width: 44px; height: 44px; }     /* thumb-sized */
  .foot-legal { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* small tiles have room for the title only */
.bento .tile.s .meta p, .hero-side .tile .meta p { display: none; }
html[data-look] .tile.hero-main h3 { font-size: clamp(34px, 4.6vw, 56px); }
@media (min-width: 1021px) { .strip { grid-auto-columns: calc((100% - 4 * var(--gap) - 8px) / 5); } }
@media (max-width: 720px) { html[data-look] .tile.hero-main h3 { font-size: 34px; } }
@media (max-width: 720px) {
  html[data-look="news"] .hero { grid-template-columns: 1fr; }
  html[data-look="news"] .hero-side { grid-template-columns: 1fr 1fr; }
}


/* About: the examples, as a list with room between them */
.prose ul.examples { list-style: none; padding: 0; margin: 4px 0 26px; }
.prose ul.examples li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.prose ul.examples li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* phones: About and Careers get wider margins and more air between blocks, so the reading pages don't feel crammed */
@media (max-width: 720px) {
  .prose-page { --side: 24px; padding-top: 40px; padding-bottom: 72px; }
  .prose h1 { font-size: 34px; line-height: 1.12; margin: 14px 0 26px; }
  .prose p, .prose li { font-size: 16.5px; line-height: 1.7; }
  .prose p { margin-bottom: 22px; }
  .lede { font-size: 19px !important; line-height: 1.6 !important; margin-bottom: 30px !important; }
  .prose h2 { font-size: 24px; margin: 52px 0 16px; }
  .prose ul { margin-bottom: 22px; }
  .prose li { margin-bottom: 14px; }
  .prose ul.examples { margin-bottom: 30px; }
  .prose ul.examples li { margin-bottom: 16px; }
  .ministrip { margin-top: 44px; }
  .facts { margin: -8px 0 30px; }
  .apply { margin-top: 44px; padding: 22px 20px; }
}
@media (max-width: 720px) { .foot { --side: 24px; } }

/* ---------- mailing list band, above the footer on every page ---------- */
.signup { margin-top: 40px; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-top: 1px solid var(--line); }
.signup-in { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--side); display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 10px 36px; align-items: center; }
.signup h2 { font-size: 28px; }
.signup p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.signup + .foot { margin-top: 0; }
@media (max-width: 720px) {
  .signup-in { grid-template-columns: 1fr; padding: 34px 24px 26px; gap: 18px; }
  .signup h2 { font-size: 24px; }
}

/* ---------- signup forms (all of them share this look) ---------- */
.sub { display: flex; gap: 8px; }
.sub input { flex: 1; min-width: 0; padding: 13px 14px; font: 500 16px/1.2 var(--body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 10px; outline: none; }
.sub input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.sub button { padding: 13px 20px; font: 700 15px/1 var(--body); color: #fff; background: var(--accent); border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.sub button:hover { filter: brightness(1.08); }
.sub button:disabled { opacity: .6; cursor: default; }
.sub-msg { min-height: 20px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.sub-msg:empty { min-height: 0; margin: 0; }
.sub-msg.err { color: var(--accent); }

/* top of Home: says plainly that these are previews */
.preview { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 14px 28px; align-items: center; margin-bottom: 22px; padding: 18px 20px;
  border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.preview-txt { font-size: 16px; line-height: 1.5; }
.preview-txt b { font-family: var(--head); font-weight: var(--head-w); font-size: 18px; margin-right: 4px; }
.preview .sub-msg { grid-column: 2; margin-top: -8px; }

/* side card where "Most played" was */
.side-sub { position: sticky; top: 100px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-sub h2 { font-size: 22px; }
.side-sub p { margin: 8px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.side-sub .sub { flex-direction: column; }

.results-sub { margin-top: 36px; max-width: 520px; }
.results-sub p { margin: 0 0 10px; font-weight: 600; }

/* game card */
.gc-sub { margin-top: 20px; }
.gc-sub b { display: block; margin-bottom: 8px; font-size: 15px; }

/* "Coming soon" labels: quiet white pills on the pictures, not red alarms */
.badge { background: rgba(255,255,255,.94); color: var(--ink); }
.play.soon { background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.7); color: #fff; }

#footSub { min-width: 0; }

@media (max-width: 1020px) { .side-sub { position: static; } .side-sub .sub { flex-direction: row; } }
@media (max-width: 720px) {
  .preview { grid-template-columns: 1fr; padding: 16px; margin-bottom: 16px; }
  .preview .sub-msg { grid-column: 1; margin-top: -6px; }
  .preview-txt { font-size: 15px; }
  .sub { flex-direction: column; }
  .side-sub .sub { flex-direction: column; }
  .sub button { padding: 15px; }
}

/* ---------- the feature card: CELEBRITIFICATION as a movie poster (see featureCard in app.js) ---------- */
.art img, .gc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feat { container-type: size; background: #0b0b10; isolation: isolate; }
/* the stage is cropped like object-fit: cover, so layers placed in % of it stay on the picture */
.feat-stage { position: absolute; left: 50%; top: 50%; width: max(100cqw, 133.93cqh); aspect-ratio: 1200 / 896; translate: -50% -50%; }
.feat-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feat-stage i { position: absolute; display: block; pointer-events: none; }
.feat-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 28%, rgba(0,0,0,0) 52%); }
.feat .badge { z-index: 3; }
.feat-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 22px min(5cqh, 28px); text-align: center; color: #fff; }
.feat .kicker { justify-content: center; color: #fff; }
.feat .kicker .mins { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
html[data-look] .tile.hero-main .feat-title { font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: min(10cqw, 68px); line-height: 1; letter-spacing: .015em; margin: 8px 0 0; }
.feat-tag { text-wrap: balance; margin: 9px auto 0; max-width: 34em; font: italic 500 min(4.3cqw, 19px)/1.35 Georgia, "Times New Roman", serif; color: rgba(255,255,255,.92); }
.feat:hover .feat-stage img { transform: none; }

/* 1. hero one-sheet: sweeping searchlights, camera flashes, a slow push in, a glint across the gold title */
.feat-hero .feat-stage { animation: f-push 24s ease-in-out infinite alternate; }
@keyframes f-push { from { scale: 1; } to { scale: 1.06; } }
.feat-hero .beam { left: 47%; bottom: 31%; width: 16%; height: 110%; transform-origin: 50% 100%; mix-blend-mode: screen; opacity: .55;
  background: linear-gradient(to top, rgba(255,236,170,.75), rgba(255,236,170,0) 85%); clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0); }
.feat-hero .b1 { animation: f-sweep1 8s ease-in-out infinite alternate; }
.feat-hero .b2 { animation: f-sweep2 11s ease-in-out infinite alternate; }
@keyframes f-sweep1 { from { rotate: -38deg; } to { rotate: -8deg; } }
@keyframes f-sweep2 { from { rotate: 34deg; } to { rotate: 4deg; } }
.feat .flash { width: 10%; aspect-ratio: 1; border-radius: 50%; opacity: 0; scale: .3;
  background: radial-gradient(circle, #fff 0, rgba(255,255,255,.85) 14%, rgba(255,250,230,0) 68%); }
.feat-hero .f1 { left: 18%; top: 66%; animation: f-pop 4.3s .6s infinite; }
.feat-hero .f2 { left: 76%; top: 74%; animation: f-pop 5.1s 2.2s infinite; }
.feat-hero .f3 { left: 8%; top: 80%; animation: f-pop 3.7s 3.3s infinite; }
@keyframes f-pop { 0%, 90%, 100% { opacity: 0; scale: .3; } 92% { opacity: 1; scale: 1; } }
/* the gold title is painted once; the glint is a bright copy seen through a narrow window that slides across it
   (the window moves right while the copy inside moves left by the same amount, so the copy stays put: no repaint) */
html[data-look] .feat-hero .feat-title { display: inline-block; position: relative; white-space: nowrap; color: #e8b53a;
  background: linear-gradient(180deg, #fff1c2 0%, #f2c94c 38%, #c8901a 62%, #f7d779 100%); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #4a2a00) drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.feat-hero .glint { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; overflow: hidden; transform: translateX(-100%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 45% 55%, transparent); mask: linear-gradient(90deg, transparent, #000 45% 55%, transparent);
  animation: f-glint 6s ease-in-out infinite; }
.feat-hero .glint > span { position: absolute; left: 0; top: 0; width: 555.6%; transform: translateX(18%);
  -webkit-text-fill-color: #fffbe8; animation: f-glint-in 6s ease-in-out infinite; }
@keyframes f-glint { 0%, 70% { transform: translateX(-100%); } 90%, 100% { transform: translateX(560%); } }
@keyframes f-glint-in { 0%, 70% { transform: translateX(18%); } 90%, 100% { transform: translateX(-100.8%); } }

/* 2. split: the showman and the cold one, a torn edge between them that drifts (on a laptop, it follows the mouse) */
.feat-split .cold { position: absolute; inset: 0; overflow: hidden; transform: translateX(50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 60'%3E%3Cpath d='M14 0H6l3 5-7 5 6 5-4 6 7 5-8 6 6 6-8 6 6 5-4 6 5 5h6z'/%3E%3C/svg%3E") 0 0 / 14px 60px repeat-y, linear-gradient(#000, #000) 13px 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 60'%3E%3Cpath d='M14 0H6l3 5-7 5 6 5-4 6 7 5-8 6 6 6-8 6 6 5-4 6 5 5h6z'/%3E%3C/svg%3E") 0 0 / 14px 60px repeat-y, linear-gradient(#000, #000) 13px 0 / 100% 100% no-repeat;
  animation: f-cut 7s ease-in-out infinite alternate; }
.feat-split .cold img { transform: translateX(-50%); animation: f-cut-img 7s ease-in-out infinite alternate; }
@keyframes f-cut { from { transform: translateX(40%); } to { transform: translateX(57%); } }
@keyframes f-cut-img { from { transform: translateX(-40%); } to { transform: translateX(-57%); } }
.feat-split.live .cold, .feat-split.live .cold img { animation: none; transition: transform .2s ease-out; }
.feat-split .spark { width: 5%; aspect-ratio: 1; opacity: 0;
  background: linear-gradient(90deg, transparent 46%, #fff6c8 46% 54%, transparent 54%), linear-gradient(transparent 46%, #fff6c8 46% 54%, transparent 54%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.feat-split .s1 { left: 16%; top: 22%; animation: f-twinkle 2.6s .2s infinite; }
.feat-split .s2 { left: 9%; top: 52%; animation: f-twinkle 3.1s 1.1s infinite; }
.feat-split .s3 { left: 27%; top: 12%; animation: f-twinkle 2.2s 1.9s infinite; }
.feat-split .s4 { left: 22%; top: 40%; animation: f-twinkle 3.4s .7s infinite; }
@keyframes f-twinkle { 0%, 100% { opacity: 0; scale: .4; rotate: 0deg; } 50% { opacity: 1; scale: 1; rotate: 45deg; } }
.feat-split .feat-title { color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.5), 0 0 24px rgba(0,0,0,.6); }

/* 3. billboard: rain in two layers, the billboard's bulbs flickering, your camera flashing, a slow push in */
.feat-billboard .feat-stage { transform-origin: 50% 35%; animation: f-push 26s ease-in-out infinite alternate; }
/* the rain sits on the card, not on the picture, so it is only card-sized and doesn't zoom with the push in */
.feat-billboard > .rain { position: absolute; display: block; left: 0; right: 0; top: -120px; bottom: 0; pointer-events: none; }
.feat-billboard .r1 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg stroke='%23cfe0ff' stroke-width='1.2' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M14 6l-3 16'/%3E%3Cpath d='M60 30l-3 16'/%3E%3Cpath d='M98 4l-3 16'/%3E%3Cpath d='M36 70l-3 16'/%3E%3Cpath d='M84 62l-3 16'/%3E%3Cpath d='M112 90l-3 16'/%3E%3Cpath d='M6 96l-3 16'/%3E%3Cpath d='M66 100l-3 16'/%3E%3C/g%3E%3C/svg%3E"); animation: f-rain1 .55s linear infinite; }
.feat-billboard .r2 { top: -90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg stroke='%23cfe0ff' stroke-width='1' stroke-linecap='round' opacity='.3'%3E%3Cpath d='M20 10l-2 11'/%3E%3Cpath d='M70 22l-2 11'/%3E%3Cpath d='M44 52l-2 11'/%3E%3Cpath d='M8 66l-2 11'/%3E%3Cpath d='M80 70l-2 11'/%3E%3C/g%3E%3C/svg%3E"); animation: f-rain2 .9s linear infinite; }
@keyframes f-rain1 { from { transform: translate(0, 0); } to { transform: translate(-22px, 120px); } }
@keyframes f-rain2 { from { transform: translate(0, 0); } to { transform: translate(-16px, 90px); } }
.feat-billboard .bulbs { position: absolute; left: 33.58%; top: 6.7%; width: 34.67%; height: 60.27%; overflow: visible; pointer-events: none;
  mix-blend-mode: screen; animation: f-flicker 4.7s steps(1) infinite; }
@keyframes f-flicker { 0%, 100% { opacity: .9; } 12% { opacity: .35; } 14% { opacity: .95; } 47% { opacity: .55; } 49% { opacity: 1; } 51% { opacity: .4; } 53% { opacity: .9; } }
.feat-billboard .camflash { left: 46.6%; top: 74%; width: 6%; aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff 0, rgba(255,255,255,.8) 16%, rgba(255,255,255,0) 70%); animation: f-pop 5.5s 1.5s infinite; }
.feat-billboard .feat-title { color: #ffd77a; text-shadow: 0 0 18px rgba(255,190,80,.55), 0 3px 0 rgba(0,0,0,.5); }

/* 4. SUGARCOAT (sugarCard and initSugar in app.js): the golden-hour painting, its crack throbbing green, glints on the
   gold and flashes in the crowd; over the card, the cracks flare and spread. Beside CELEBRITIFICATION, above Ceasefire. */
html[data-look="news"] .feat-sugar { overflow: hidden; }
/* a wide card crops the painting's top and bottom: less off the top, so the bear keeps its ears */
.feat-sugar .feat-stage { top: 30%; translate: -50% -30%; width: max(100cqw, 149.06cqh); aspect-ratio: 1264 / 848; }
.feat-sugar .feat-stage img { image-rendering: pixelated; }
.feat-sugar .crack { left: 50.4%; top: 50%; width: 15%; aspect-ratio: .62; translate: -50% -50%; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(150,255,90,.75), rgba(90,230,60,.28) 50%, transparent); animation: s-throb 3.4s ease-in-out infinite; transition: scale .5s; }
@keyframes s-throb { 0%, 100% { opacity: .35; } 38% { opacity: .85; } 44% { opacity: .5; } 50% { opacity: .9; } 70% { opacity: .55; } }
.feat-sugar .crack.c2, .feat-sugar .crack.c3 { opacity: 0; animation: none; transition: opacity .6s, scale .6s; scale: .5; }
.feat-sugar .crack.c2 { left: 46.5%; top: 33%; width: 9%; }
.feat-sugar .crack.c3 { left: 55%; top: 61%; width: 10%; }
.feat-sugar.flare .crack.c1 { scale: 1.35; }
.feat-sugar.flare .crack.c2, .feat-sugar.flare .crack.c3 { opacity: .8; scale: 1; animation: s-throb 1.6s ease-in-out infinite; }
.feat-sugar .sglint { width: 2.4%; aspect-ratio: 1; margin: -1.2% 0 0 -1.2%; opacity: 0; animation: s-glint 1.1s ease-out forwards;
  background: radial-gradient(circle, #fff 0 10%, transparent 11%), linear-gradient(transparent 46%, #fff8d6 46% 54%, transparent 54%), linear-gradient(90deg, transparent 46%, #fff8d6 46% 54%, transparent 54%); }
@keyframes s-glint { 0% { opacity: 0; transform: scale(.2) rotate(0); } 40% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.4) rotate(90deg); } }
.feat-sugar .sflash { width: 6%; aspect-ratio: 1; margin: -3% 0 0 -3%; border-radius: 50%; mix-blend-mode: screen; opacity: 0; animation: s-pop .42s ease-out;
  background: radial-gradient(circle, #fff 0 12%, rgba(255,255,240,.85) 22%, rgba(255,250,220,.25) 45%, rgba(255,255,255,0) 70%); }
@keyframes s-pop { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.5); } }
/* the title in the game's own comic letters: gold, inked, a hard shadow */
html[data-look] .feat-sugar .feat-title { margin: 8px 0 0; font: 400 min(9cqw, 64px)/1.05 "Rubik Mono One", Anton, Impact, sans-serif; letter-spacing: .02em;
  text-transform: uppercase; color: #f2c94c; -webkit-text-stroke: min(.45cqw, 3px) #1b1408; paint-order: stroke fill; text-shadow: min(.6cqw, 4px) min(.6cqw, 4px) 0 #1b1408; }
/* a smaller title in the side slot; on a small card (a phone's half-width slot) just the topic and the title */
.feat-sugar .feat-text { padding: 0 14px min(5cqh, 20px); }
.feat-sugar .feat-tag { font-size: min(4.6cqw, 17px); margin-top: 6px; }
.feat-sugar .play { margin-top: min(3cqh, 12px); padding: 10px 18px; font-size: 14px; }
@container (max-height: 300px) { .feat-sugar .feat-tag { display: none; } }
/* on a phone's half-width card: everything still there (the user, 2026-11-06: the Play now button and the minutes had
   gone), just smaller */
@container (max-width: 260px) {
  .feat-sugar .feat-text { padding: 0 8px 10px; }
  .feat-sugar .kicker { gap: 5px; }
  .feat-sugar .kicker .topic { padding: 3px 6px 2px; font-size: 9px; letter-spacing: .05em; }
  .feat-sugar .kicker .mins { font-size: 10px; }
  .feat-sugar .feat-title { margin-top: 5px; }
  .feat-sugar .play { margin-top: 7px; padding: 7px 12px; gap: 6px; font-size: 12px; box-shadow: none; }
  .feat-sugar .play svg { width: 10px; height: 10px; }
}

/* motion off: reduced-motion users, ?fx=0, and while the card is scrolled out of view */
@media (prefers-reduced-motion: reduce) { .feat *, .feat .feat-stage { animation: none !important; } }
.nofx .feat *, .nofx .feat .feat-stage { animation: none !important; }
.feat.off *, .feat.off .feat-stage { animation-play-state: paused !important; }

/* the real game: a red "Play now" where the others say "Coming soon" */
.badge.live { background: var(--accent); color: #fff; }
.feat .play { margin-top: min(3cqh, 16px); padding: 13px 24px; font-size: 16px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform calc(.15s / var(--speed)), filter calc(.15s / var(--speed)); }
.feat:hover .play { transform: scale(1.05); filter: brightness(1.1); }
.gc-play { margin-top: 20px; text-decoration: none; }
/* the banner now sits under the three big cards */
.hero + .preview { margin: 22px 0 0; }

/* billboard: the same soft flicker, just more often, while you hover over the card (or for a moment after a tap on a phone) */
.feat-billboard.lively .bulbs { animation: f-flicker-more 2.4s steps(1) infinite; }
@keyframes f-flicker-more { 0%, 100% { opacity: .9; } 8% { opacity: .45; } 11% { opacity: .95; } 30% { opacity: .55; } 33% { opacity: 1; }
  52% { opacity: .4; } 55% { opacity: .9; } 74% { opacity: .5; } 77% { opacity: 1; } 88% { opacity: .6; } 91% { opacity: .95; } }

/* the topic of every game, in a pill */
.kicker .topic { display: inline-block; white-space: nowrap; padding: 4px 9px 3px; border-radius: 999px; font-size: 10.5px; line-height: 1.1; letter-spacing: .07em;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
/* on a picture: solid white with black text, so it reads on any picture (at 20% white it vanished on the light ones) */
html[data-look="paper"] .tile .kicker .topic, .feat .kicker .topic { background: #fff; color: var(--ink); }
.feat .kicker { gap: 10px; }

.gc-play { font-size: 16px; padding: 14px 26px; }

/* a real game's card: what you learn, in quiet matching boxes (three colours were too much: "its overstimulating") */
.gc-learns { margin-top: 20px; }
.gc-learns > b { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gc-l { padding: 12px 14px; border-radius: 12px; margin-bottom: 8px; background: color-mix(in srgb, var(--ink) 4.5%, var(--surface)); }
.gc-l strong { display: block; font: var(--head-w) 17px/1.25 var(--head); color: var(--ink); }
.gc-l span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.gc-go { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.gc-go .gc-play { margin-top: 0; }

/* ---------- the account icon (top bar, right) and the account page ---------- */
.acct { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); overflow: hidden; text-decoration: none; transition: border-color .15s, color .15s; }
.acct:hover { border-color: var(--ink); color: var(--ink); }
.acct svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.acct img { width: 100%; height: 100%; object-fit: cover; }
.acct .acct-i { font: 700 15px/1 var(--body); color: #fff; background: var(--accent); width: 100%; height: 100%; display: grid; place-items: center; }
.acct.signed { border-color: transparent; }
@media (max-width: 720px) { .acct { order: 2; width: 34px; height: 34px; } }

.acctpage .whoami { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.acctpage .whoami img, .acctpage .acct-big { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.acctpage .acct-big { display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 22px/1 var(--body); }
.acctpage .whoami b { display: block; font: var(--head-w) 20px/1.2 var(--head); }
.acctpage .whoami span { display: block; margin-top: 3px; color: var(--muted); font-size: 15px; }
.gbtn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.gbtn:hover { border-color: var(--ink); }
.gbtn svg { width: 18px; height: 18px; }
.btn-quiet { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 14px/1 var(--body); cursor: pointer; }
.btn-quiet:hover { color: var(--ink); border-color: var(--ink); }
.muted-l { color: var(--muted); }
/* your name on the account page (syat_people.username) */
.uname { display: flex; gap: 8px; max-width: 420px; margin: 0 0 8px; }
.uname input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 16px/1.2 var(--body); outline: none; }
.uname input:focus { border-color: var(--ink); }
.uname button { flex: none; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 14px/1 var(--body); cursor: pointer; }
.uname button:disabled { opacity: .5; cursor: default; }
.prose ul.mygames { list-style: none; padding: 0; margin: 0; }
.mygames li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); }
.mygames b { display: block; font: var(--head-w) 18px/1.2 var(--head); }
.mygames span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.mygames a { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 14px/1 var(--body); text-decoration: none; }

/* a started game's card: Continue, and a quiet Start over beside it */
.gc-again { font: 600 14.5px/1 var(--body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.gc-again:hover { color: var(--ink); }
