/* Archipelago Games — the company look (Navy & White): header, footer, the home page, Support, the Privacy Policy and the
   other inner pages. Each game's page adds game.css, which keeps that game's own colors and fonts inside this frame. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/plex/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/plex/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/plex/ibm-plex-sans-600.woff2") format("woff2"); }

:root {
  --navy: #13233A;
  --navy-2: #1B3150;
  --page: #F4F6F9;
  --card: #FFFFFF;
  --line: #DCE2EA;
  --line-2: #C9D2DE;
  --ink: #1B2533;
  --ink-2: #3B4757;
  --muted: #5B6675;
  --link: #1F5FBF;
  --link-hi: #174A96;
  --gold: #F2B65A;
  --on-navy: #C5D0DE;
  --on-navy-2: #AAB6C6;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; object-fit: contain; }  /* if a box is ever mis-sized, the artwork letterboxes instead of stretching */
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); }
a:hover { color: var(--link-hi); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--gold); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- company header ---------- */
.site-head, .page-head { background: var(--navy); color: #fff; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 18px 0; }
.brand { display: block; flex: none; text-decoration: none; }
/* sized by width with a fixed ratio (15:4 artwork): never by height inside a flex row, which Safari can stretch */
.brand img { width: 176px; max-width: none; height: auto; aspect-ratio: 15 / 4; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px 32px; flex-wrap: wrap; }
.nav-links > a, .games-toggle { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; }
.nav-links > a:hover, .nav-links > a[aria-current], .games-toggle:hover, .games-toggle[aria-current], .games-toggle[aria-expanded="true"] { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the Games menu: every game, from any page (the list comes from tools/site/build.py) */
.games-toggle { gap: 6px; }
.nav-chev { width: 12px; height: 12px; flex: none; transition: transform .2s ease; }
.games-toggle[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.games-menu { position: absolute; z-index: 60; top: calc(100% - 12px); right: 0; width: min(440px, 100%); padding: 16px; border-radius: 16px; background: #FFFFFF; color: var(--ink); box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 28px 64px -24px rgba(10, 16, 30, .55); }
.games-menu[hidden] { display: none; }
.games-menu:has(.gm-list > li:nth-child(8)) { width: min(720px, 100%); }
.gm-label { margin: 2px 8px 10px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gm-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.gm-list:has(> li:nth-child(8)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gm-list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .12s ease; }
.gm-list a:hover { background: var(--page); color: var(--ink); }
.gm-thumb { flex: none; width: 96px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--navy-2); }
.gm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm-name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.gm-kind { color: var(--muted); font-size: 14px; line-height: 1.3; }
.gm-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.gm-foot a { display: inline-flex; align-items: center; min-height: 40px; color: var(--link); font-size: 15px; font-weight: 600; text-decoration: none; }
.gm-foot a:hover { color: var(--link-hi); text-decoration: underline; }
/* every page has the same header (Nov 3: the game pages' smaller one made the logo jump between pages) */
.menu-btn { display: none; }

/* ---------- inner pages: Support, Contact, Privacy, 404, thank-you ---------- */
.page-head .title { max-width: 760px; padding: 32px 0 64px; }
.page-head h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; }
.page-head .meta { margin-top: 18px; color: var(--on-navy); font-size: 20px; line-height: 1.55; }
.prose { max-width: 760px; padding: 64px 0 104px; }
.prose h2 { margin: 56px 0 0; color: var(--ink); font-size: 30px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 0; color: var(--ink); font-size: 21px; line-height: 1.3; }
.prose p, .prose ul, .prose ol { margin: 14px 0 0; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.callout { margin-top: 24px; padding: 22px 26px; border: 1px solid #D5E0EE; border-radius: 14px; background: #EEF3F9; }
.callout p:first-child { margin-top: 0; }
.notfound { padding: 72px 0 112px; }
.notfound p { max-width: 44ch; color: var(--ink-2); font-size: 19px; }
.notfound .fbtn { margin-top: 32px; }
.thanks-actions { margin-top: 28px !important; }

/* ---------- buttons on navy ---------- */
.fbtn-gold, a.fbtn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.fbtn-gold:hover, a.fbtn-gold:hover { background: #F7C677; color: var(--navy); }
.fbtn-ghost, a.fbtn-ghost { border-color: rgba(255, 255, 255, .42); background: transparent; color: #FFFFFF; }
.fbtn-ghost:hover, a.fbtn-ghost:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, .08); color: #FFFFFF; }

/* ---------- question rows: on Support, each game's Help and the answer pages; each opens its own answer page ---------- */
.q-list, .prose .q-list { margin: 0; padding: 0; list-style: none; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.q-list li, .prose .q-list li { margin: 0; }
.q-list li:not([hidden]) ~ li:not([hidden]) { border-top: 1px solid #E8ECF2; }   /* a line between the rows on show, also while searching */
.q-row { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 16px 22px; color: var(--ink); text-decoration: none; transition: background-color .12s ease; }
.q-row:hover { background: #F6F8FB; color: var(--ink); }
.q-row:focus-visible { outline-offset: -3px; border-radius: 14px; }
.q-text { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.q-title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.q-sub { color: var(--muted); font-size: 15px; line-height: 1.45; }
.q-chev { flex: none; width: 16px; height: 16px; color: #8A94A3; transition: transform .12s ease, color .12s ease; }
.q-row:hover .q-chev, .tile:hover .q-chev { color: var(--link); transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .q-row:hover .q-chev, .tile:hover .q-chev { transform: none; } }

/* the search box in the navy title area (/support/ and each game's Help) */
.help-search { position: relative; max-width: 640px; margin-top: 30px; }
.help-search input { width: 100%; height: 58px; padding: 0 20px 0 54px; border: 0; border-radius: 14px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 16px 32px -20px rgba(0, 0, 0, .55); -webkit-appearance: none; appearance: none; }
.help-search input::placeholder { color: #7A8595; }
.help-search input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.search-ico { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--muted); pointer-events: none; }
.search-empty { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* /support/: choose your game */
.support-wrap { padding-top: 64px; padding-bottom: 104px; }
.search-results { margin-bottom: 64px; }
.search-results h2 { margin-bottom: 16px; font-size: 24px; }
.choose h2 { font-size: 32px; letter-spacing: -0.01em; }
/* the game tiles: like the home page's cards, two across for up to 5 games, three for 6 to 9, four for 10 or more */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.tile-grid:has(> li:nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile-grid:has(> li:nth-child(10)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "art art" "text chev"; align-items: center; height: 100%; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(16, 24, 40, .45); }
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none; } }
.tile img { grid-area: art; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy-2); }
.tile-text { grid-area: text; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 18px 0 20px 24px; }
.tile .q-chev { grid-area: chev; margin: 0 24px 0 12px; }
.tile-name { font-size: 22px; font-weight: 600; line-height: 1.25; }
.tile-meta { color: var(--muted); font-size: 15px; line-height: 1.4; }
.tile-grid:has(> li:nth-child(6)) .tile-text { padding: 14px 0 16px 18px; }
.tile-grid:has(> li:nth-child(6)) .tile-name { font-size: 18px; }
.tile-grid:has(> li:nth-child(6)) .tile .q-chev { margin-right: 18px; }
.side-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.side-card { padding: 28px 28px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 24px; }
.side-card h2 { margin-bottom: 12px; font-size: 22px; }
.side-card .q-list { margin: 0 -14px; border: 0; border-radius: 0; background: none; }
.side-card .q-row { min-height: 60px; padding: 12px 14px; border-radius: 10px; }
.side-card .q-list li:not([hidden]) ~ li:not([hidden]) { border-top: 0; }
.side-card.dark { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 28px 32px; border: 0; background: var(--navy); color: #FFFFFF; }
.side-card.dark h2 { margin: 0; color: #FFFFFF; font-size: 26px; }
.side-card.dark p { color: var(--on-navy); font-size: 16px; line-height: 1.6; }
.side-card.dark .fbtn { margin-top: 8px; }
.page-head .meta a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.page-head .meta a:hover { color: var(--gold); }
/* /support/#contact (the games' Contact Support buttons land here), the quick answers and Delete your data */
.sup-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; margin-top: 64px; padding: 36px 40px; border-radius: 18px; background: var(--navy); color: #FFFFFF; scroll-margin-top: 24px; }
.sup-contact h2 { margin: 0; color: #FFFFFF; font-size: 30px; letter-spacing: -0.01em; }
.sup-contact p { margin: 10px 0 0; color: var(--on-navy); font-size: 17px; line-height: 1.6; }
.sup-contact a:not(.fbtn) { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sup-contact a:not(.fbtn):hover { color: var(--gold); }
.sup-include-label { font-weight: 600; color: #FFFFFF !important; }
.sup-include { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--on-navy); font-size: 16px; line-height: 1.45; }
.sup-include li { position: relative; padding-left: 20px; }
.sup-include li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.sup-contact-actions { display: flex; flex-direction: column; gap: 12px; }
.sup-contact-actions .fbtn { width: 100%; }
.sup-contact-actions .fbtn-primary { background: var(--gold); color: var(--navy); }
.sup-contact-actions .fbtn-primary:hover { background: #F7C677; color: var(--navy); }
.quick { margin-top: 64px; scroll-margin-top: 24px; }
.quick-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.quick-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.01em; }
.quick-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.quick-all svg { width: 16px; height: 16px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.quick-item { padding: 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.quick-item h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.quick-item h3 a { color: var(--ink); text-decoration: none; }
.quick-item h3 a:hover { color: var(--link); text-decoration: underline; }
.quick-item p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.sup-delete { margin-top: 64px; padding: 32px 36px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 24px; }
.sup-delete h2 { margin: 0; font-size: 28px; letter-spacing: -0.01em; }
.sup-steps { margin: 18px 0 0; padding-left: 22px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.sup-steps li + li { margin-top: 10px; }
.sup-delete-more { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) {
  .sup-contact { grid-template-columns: minmax(0, 1fr); padding: 30px 26px; }
  .quick-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .sup-contact { padding: 26px 20px; }
  .sup-contact h2, .quick-head h2, .sup-delete h2 { font-size: 24px; }
  .sup-include { grid-template-columns: minmax(0, 1fr); }
  .sup-contact-actions .fbtn { white-space: normal; text-align: center; padding: 12px 18px; line-height: 1.25; }
  .quick-item { padding: 20px; }
  .sup-delete { padding: 24px 20px; }
}

/* a game's Help: its background in the title area, topics on the left, the rows on the right */
.help-head { position: relative; background: #2B1B11 var(--help-bg) var(--help-pos, 50% 50%) / cover no-repeat; }
.help-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--help-shade), .9) 0%, rgba(var(--help-shade), .66) 58%, rgba(var(--help-shade), .4) 100%); }
.help-head > .wrap { position: relative; z-index: 1; }
.help-head .title { padding-bottom: 56px; }
.help-title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.help-logo { max-width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.help-title span { font-size: 40px; line-height: 1.05; }
.help-head .crumbs li, .help-head .most-read { color: #EADFCF; }
.most-read { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.most-read a { color: #FFFFFF; font-weight: 500; text-underline-offset: 3px; }
.most-read a:hover { color: var(--gold); }
.help-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 64px; padding-bottom: 104px; }
.topic-nav { position: sticky; top: 24px; }
.topic-label { margin: 0 12px 10px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.topic-nav ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.topic-nav ul a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.topic-nav ul a:hover { background: #E8EDF3; color: var(--ink); }
.topic-nav ul a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.topic-game { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 0 12px; font-size: 15px; font-weight: 600; text-decoration: none; }
.topic-game svg { width: 16px; height: 16px; }
.help-main { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.help-main .q-group { margin: 0; scroll-margin-top: 24px; }
.help-main .q-group h2 { margin-bottom: 14px; font-size: 24px; }
.help-main .search-empty { margin: 0; }
/* the way to the team, after the answers */
.still-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 36px; border-radius: 18px; background: var(--navy); color: #FFFFFF; }
.still-card h2, .prose .still-card h2 { margin: 0; color: #FFFFFF; font-size: 26px; line-height: 1.2; }
.still-card p, .prose .still-card p { margin: 8px 0 0; color: var(--on-navy); font-size: 16px; line-height: 1.55; }
.prose .still-card { margin-top: 48px; }
.still-games, .prose .still-games { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.prose .still-games li { margin: 0; }
.prose .still-card .fbtn-secondary { border-color: transparent; }
/* an answer page */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 14px; padding: 0; list-style: none; font-size: 15px; }
.crumbs li { display: inline-flex; align-items: center; color: var(--on-navy); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px 0 10px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; opacity: .7; transform: rotate(45deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: #FFFFFF; font-weight: 500; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.answer > p:first-child, .answer > ul:first-child { margin-top: 0; }
.answer .callout { margin-top: 20px; }
.q-more { margin-top: 56px; }
.prose .q-more h2 { margin: 0 0 16px; font-size: 22px; }
.prose .other-topics { margin-top: 28px; color: var(--muted); font-size: 16px; }
.other-topics a { font-weight: 600; }

/* the forms: a game's support form, and Contact */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 104px; }
.form-layout .form-col { max-width: none; padding: 0; }
.form-col > .contact-card:first-child { margin-top: 0; }
.before-write { padding: 22px 24px 24px; border: 1px solid #D5E0EE; border-radius: 14px; background: #EEF3F9; }
.prose .before-write h2 { margin: 0 0 14px; color: var(--ink); font-size: 17px; line-height: 1.35; }
.next-col { position: sticky; top: 24px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.next-col h2 { margin-bottom: 18px; font-size: 20px; }
.next-steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.55; counter-increment: step; }
.next-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 600; line-height: 1; }
.next-other { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.next-other a { font-weight: 600; }
.reasons { margin: 0; }
.reasons div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E8ECF2; }
.reasons dt { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.reasons dd { margin: 3px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
/* Contact: help with a game goes to Support first */
.support-bar { background: #FFF6E6; border-bottom: 1px solid #F1D9A8; }
.support-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 20px; padding-bottom: 20px; }
.support-bar p { color: var(--ink); font-size: 17px; line-height: 1.5; }
.support-bar strong { font-weight: 600; }

@media (max-width: 960px) {
  .help-layout, .form-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 88px; }
  .topic-nav { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .topic-label { display: none; }
  .topic-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .topic-nav ul a { min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); gap: 8px; }
  .topic-game { margin: 0; padding: 0 6px; }
  .next-col { position: static; }
  .side-cards { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .tile-grid:has(> li:nth-child(6)), .tile-grid:has(> li:nth-child(10)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .support-wrap { padding-top: 48px; padding-bottom: 88px; }
  .choose h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .help-title span { font-size: 32px; }
  .help-search { margin-top: 24px; }
  .help-search input { height: 54px; font-size: 17px; }
  .tile-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tile-text { padding: 14px 0 16px 18px; }
  .tile .q-chev { margin-right: 18px; }
  .tile-name { font-size: 20px; }
  .tile-grid:has(> li:nth-child(6)) .tile-text { padding: 10px 0 12px 12px; }
  .tile-grid:has(> li:nth-child(6)) .tile-name { font-size: 16px; }
  .tile-grid:has(> li:nth-child(6)) .tile-meta { font-size: 13px; }
  .tile-grid:has(> li:nth-child(6)) .tile .q-chev { display: none; }
  .q-row { padding: 14px 16px; gap: 12px; }
  .q-title { font-size: 16px; }
  .q-sub { font-size: 14.5px; }
  .side-card { padding: 22px 20px 14px; }
  .side-card .q-list { margin: 0 -10px; }
  .side-card .q-row { padding: 12px 10px; }
  .side-card.dark { padding: 24px 20px 26px; }
  .still-card { padding: 24px 20px; }
  .still-card h2, .prose .still-card h2 { font-size: 22px; }
  .still-card .fbtn, .still-games, .prose .still-games, .still-games li, .still-games .fbtn, .side-card.dark .fbtn, .support-bar .fbtn { width: 100%; }
  .still-games, .prose .still-games { flex-direction: column; }
  .before-write { padding: 18px 16px 20px; }
  .next-col { padding: 24px 20px; }
  .support-bar p { font-size: 16px; }
}

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-navy-2); padding: 48px 0; font-size: 15px; }
.footer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand img { width: 160px; max-width: none; height: auto; aspect-ratio: 15 / 4; flex: none; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: #DCE4EE; font-weight: 500; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .foot-yt { gap: 8px; }
.yt-ico { display: inline-block; flex: none; width: 28px; height: 20px; }
.footer .copyright { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-navy-2); }
.footer .legal-name { color: var(--on-navy-2); font-size: 10px; font-weight: 400; letter-spacing: .12em; line-height: 1.4; }
/* when the links sit beside the logo, line their text up with the legal name */
@media (min-width: 770px) { .footer nav { margin-bottom: -15px; } }

/* ---------- home page ---------- */
.label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.home-head { padding-bottom: 88px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; padding-top: 40px; }
.home-copy h1 { margin-top: 18px; font-size: 60px; line-height: 1.04; letter-spacing: -0.02em; max-width: 17ch; }   /* "Mobile games built / to be played for years." */
.nw { white-space: nowrap; }
.home-copy .lede { max-width: 44ch; margin-top: 24px; color: var(--on-navy); font-size: 19px; line-height: 1.6; }
.home-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* the spotlight: one game at a time, switched on dates (src/schedule.js) */
.spotlight { position: relative; display: block; min-height: 440px; overflow: hidden; border-radius: 24px; background: #120C24; color: #FFFFFF; text-decoration: none; box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .65); }
.spotlight:hover { color: #FFFFFF; }
.spot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 12, 36, .92) 0%, rgba(18, 12, 36, .6) 52%, rgba(18, 12, 36, .12) 100%); }
.spotlight.wn .spot-shade { background: linear-gradient(90deg, rgba(20, 12, 7, .86) 0%, rgba(20, 12, 7, .5) 52%, rgba(20, 12, 7, .08) 100%); }
.spot-phone { position: absolute; right: 32px; bottom: -72px; width: 196px; height: auto; border-radius: 27px; box-shadow: 0 0 0 7px #0B0F1C, 0 0 0 8px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .8);   /* the same frame as every phone on the site */ transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.spotlight:hover .spot-phone { transform: translateY(-10px); }
.spot-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: calc(100% - 248px); padding: 36px; }
.spot-tag { padding: 5px 12px; white-space: nowrap; border-radius: 999px; background: #FF8A1F; color: #120C24; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.spotlight.wn .spot-tag { background: var(--gold); color: var(--navy); }
.spot-logo { width: 200px; max-width: 100%; height: auto; margin-top: 6px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.spot-title { color: #F4E9C8; font-size: 24px; font-weight: 600; line-height: 1.2; }
.spotlight.wn .spot-title { color: #FFFFFF; }
.spot-text { color: #DCD3EE; font-size: 15px; line-height: 1.55; }
.spotlight.wn .spot-text { color: #EADFCF; }
.spot-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; }
.spot-more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.spotlight:hover .spot-more svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .spot-phone, .spot-more svg { transition: none; } .spotlight:hover .spot-phone { transform: none; } }

/* the games: two big cards across for up to 5 games, three across for 6 to 9, four across for 10 or more (Jerry,
   Oct 14). The grid counts its own cards, so adding a game in tools/site/build.py is all it takes. */
.games { padding: 104px 0 0; }
.games h2 { margin-top: 12px; font-size: 40px; letter-spacing: -0.015em; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.game-grid:has(> li:nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.game-grid:has(> li:nth-child(10)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.game-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 18px 40px -24px rgba(16, 24, 40, .4); transition: box-shadow .18s ease, transform .18s ease; }
.game-card:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 26px 48px -24px rgba(16, 24, 40, .5); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .game-card, .game-card:hover { transition: none; transform: none; } }
.game-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.game-art .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-art .shade { position: absolute; inset: 0; }
.game-art .logo { position: absolute; left: 7%; top: 50%; width: 52%; height: auto; transform: translateY(-50%); filter: drop-shadow(0 10px 20px rgba(10, 14, 30, .45)); }
.game-art .phone-peek { position: absolute; right: 7%; top: 16%; width: 27%; padding: 1%; border-radius: 16% / 7.4%;   /* runs clearly off the card's bottom edge; the site's phone frame */
  background: #0B0F1C; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 40px -16px rgba(5, 8, 20, .7); }
.game-art .phone-peek img { width: 100%; height: auto; border-radius: 13.7% / 6.33%; }
.game-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 28px 32px 30px; }
.game-kind { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.game-body h3 { font-size: 28px; line-height: 1.2; }
.game-body h3 a { color: var(--ink); text-decoration: none; }
.game-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }  /* the whole card is the link */
.game-body p { color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.game-body .card-note { display: flex; align-items: center; gap: 10px; color: #8A3F00; font-size: 15px; font-weight: 600; }
.game-body .card-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF8A1F; box-shadow: 0 0 0 4px rgba(255, 138, 31, .18); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding-top: 6px; color: var(--link); font-size: 16px; font-weight: 600; }
.game-card:hover .more { color: var(--link-hi); }
.more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.game-card:hover .more svg { transform: translateX(3px); }
/* smaller cards when there are more games */
.game-grid:has(> li:nth-child(6)) .game-body { gap: 8px; padding: 22px 24px 24px; }
.game-grid:has(> li:nth-child(6)) .game-body h3 { font-size: 22px; }
.game-grid:has(> li:nth-child(6)) .game-body p { font-size: 15px; }
.game-grid:has(> li:nth-child(6)) .game-plat { display: none; }   /* the kind alone on smaller cards */
.game-grid:has(> li:nth-child(10)) .phone-peek { display: none; }
.game-grid:has(> li:nth-child(10)) .card-note { font-size: 14px; }
.game-grid:has(> li:nth-child(10)) .game-art .logo { left: 50%; width: 72% !important; transform: translate(-50%, -50%); }
.game-grid:has(> li:nth-child(10)) .game-line { display: none; }

.section { padding: 104px 0 0; }
.section h2 { font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; }
.every-section h2 { max-width: 22ch; margin-top: 12px; }
.section .intro { max-width: 60ch; margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.every { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.every li { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.every .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #E8EEF7; color: var(--navy); }
.every .ico svg { width: 24px; height: 24px; }
.every h3 { margin-top: 18px; font-size: 20px; }
.every p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.home-end { padding-bottom: 112px; }
/* support and contact: two different doors */
.home-end h2 { margin: 8px 0 28px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { display: flex; flex-direction: column; gap: 10px; padding: 36px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.door:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(16, 24, 40, .45); }
@media (prefers-reduced-motion: reduce) { .door, .door:hover { transition: none; transform: none; } }
.door-title { font-size: 26px; font-weight: 600; line-height: 1.15; }
.door-text { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.door-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--link); font-weight: 600; }
.door-more svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .game-grid, .every, .doors { grid-template-columns: minmax(0, 1fr); }
  .game-grid { gap: 20px; }
  .game-grid:has(> li:nth-child(6)), .game-grid:has(> li:nth-child(10)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; }
  .home-copy h1 { font-size: 42px; }
  .home-copy .lede { font-size: 18px; }
  .home-head { padding-bottom: 64px; }
  .games { padding-top: 72px; }
  .games h2 { font-size: 32px; }
  .section { padding-top: 72px; }
  .section h2 { font-size: 28px; }
  .every { gap: 16px; margin-top: 24px; }
  .page-head h1 { font-size: 40px; }
  .page-head .title { padding: 24px 0 48px; }
  .page-head .meta { font-size: 18px; }
  .prose { padding: 48px 0 88px; }
  .prose h2 { font-size: 26px; margin-top: 48px; }
  .home-end { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .home-copy h1 { font-size: 36px; }
  .page-head h1 { font-size: 34px; }
  .game-body { padding: 22px 20px 20px; }
  .game-body h3 { font-size: 24px; }
  .game-grid:has(> li:nth-child(6)) .game-body { padding: 14px 14px 16px; }
  .game-grid:has(> li:nth-child(6)) .game-body h3 { font-size: 18px; }
  .game-grid:has(> li:nth-child(6)) .game-line, .game-grid:has(> li:nth-child(6)) .more, .game-grid:has(> li:nth-child(6)) .phone-peek { display: none; }
  .every li { padding: 22px 20px; }
  .door { padding: 26px 22px; }
  .spotlight { min-height: 0; }
  .spot-copy { max-width: none; padding: 26px 22px 30px; }
  .spot-phone { display: none; }
  .game-plat { display: none; }   /* the kind alone, on one line */
  .spot-title { font-size: 22px; }
  .games-menu { top: 100%; left: 0; right: 0; width: auto; }
  .footer-brand img { width: 140px; }
}

/* ---------- contact form ---------- */
.contact-card { --line: #DCE2EA; --line-hi: #B9C4D2; --err: #B42318; margin-top: 28px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -18px rgba(16, 24, 40, .3); scroll-margin-top: 24px; }
.contact-card [hidden] { display: none !important; }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 20px; }
.field { display: grid; align-content: start; min-width: 0; }
.field label { margin-bottom: 7px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.field .opt { margin-left: 6px; color: var(--muted); font-size: 14px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #C9D2DE; border-radius: 10px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.45; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .12s ease, box-shadow .12s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-hi); }
.field textarea { min-height: 168px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6675' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: #8A94A3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(31, 95, 191, .2); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:hover { border-color: #D92D20; }
.field [aria-invalid="true"]:focus { border-color: #D92D20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .16); }
.prose .field-hint { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.prose .field-error { display: flex; gap: 6px; align-items: flex-start; margin: 7px 0 0; color: var(--err); font-size: 14px; font-weight: 600; line-height: 1.45; }
.prose .field-error:empty { display: none; }
.field-error::before, .form-alert::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: currentColor; -webkit-mask: var(--alert-ico) center / contain no-repeat; mask: var(--alert-ico) center / contain no-repeat; }
.contact-card { --alert-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8v5H7.1zm0 6.4h1.8v1.8H7.1z'/%3E%3C/svg%3E"); }
.field .field-error:not(:empty) + .field-hint { display: none; }
.field-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.field-foot .counter { flex: none; margin: 7px 0 0 auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; line-height: 1.45; }
.field-foot .counter.is-near { color: #B54708; font-weight: 600; }
.field-foot .counter.is-full { color: var(--err); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Cloudflare Turnstile: shows only when it needs a click */
.ts-box:empty { display: none; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #FECDCA; border-radius: 10px; background: #FEF3F2; color: #912018; font-size: 15px; font-weight: 600; line-height: 1.45; }
.form-alert:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 22px; border-top: 1px solid #E3E8EF; }
.prose .form-note { margin: 0; flex: 1 1 240px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* buttons: the form's, and the inner pages' */
.fbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease; }
.fbtn-primary, a.fbtn-primary { background: var(--navy); color: #FFFFFF; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); }
.fbtn-primary:hover, a.fbtn-primary:hover { background: var(--navy-2); color: #FFFFFF; }
.fbtn-secondary { border-color: #C9D2DE; background: #FFFFFF; color: var(--navy); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.fbtn-secondary:hover { border-color: var(--line-hi); background: #F6F8FB; }
.fbtn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(242, 182, 90, .7); border-radius: 10px; }
.fbtn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #FFFFFF; border-radius: 50%; animation: fbtn-spin .7s linear infinite; }
.fbtn.is-busy { cursor: progress; }
.fbtn.is-busy .spin { display: block; }
@keyframes fbtn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fbtn .spin { animation-duration: 1.6s; } }

/* after sending, the same card holds the confirmation */
.form-done { outline: none; }
.form-done.is-in { animation: done-in .22s ease-out; }
@keyframes done-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-done.is-in { animation: none; } }
.done-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: #E3F4EA; color: #18794E; }
.done-mark svg { width: 24px; height: 24px; }
.prose .form-done h3 { margin: 0; font-size: 24px; }
.prose .form-done .done-lead { margin-top: 10px; }
.done-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 22px 0 0; padding: 16px 20px; border: 1px solid #E3E8EF; border-radius: 12px; background: #F6F8FB; }
.done-meta dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.done-meta dd { margin: 2px 0 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.done-meta .done-ref { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.prose .done-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.done-actions { margin-top: 26px; padding-top: 22px; border-top: 1px solid #E3E8EF; }

@media (max-width: 560px) {
  .contact-card { padding: 22px 18px; border-radius: 14px; }
  .contact-form { gap: 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .form-foot .fbtn, .done-actions .fbtn { width: 100%; }
  .done-meta { flex-direction: column; gap: 12px; }
}
.sup-choose { margin: 0 0 2px; color: #FFFFFF; font-size: 16px; font-weight: 600; }

/* ---------- phones: the site's links behind a menu button at the top right (Jerry, Nov 3) ---------- */
@media (max-width: 700px) {
  .nav { flex-wrap: nowrap; padding: 12px 0; }
  .brand img { width: 150px; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 12px; background: none; color: #fff; cursor: pointer; }
  .menu-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
  .menu-ico { position: relative; display: block; width: 22px; height: 16px; }
  .menu-ico i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .15s ease, top .2s ease; }
  .menu-ico i:nth-child(1) { top: 0; } .menu-ico i:nth-child(2) { top: 7px; } .menu-ico i:nth-child(3) { top: 14px; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  /* the panel: a white card under the header, the games first, then Support and Contact */
  .nav-links { display: none; position: absolute; z-index: 70; top: calc(100% - 4px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 28px 64px -24px rgba(10, 16, 30, .55); }
  .nav.is-open .nav-links { display: flex; }
  .nav-links .games-toggle { display: none; }
  .nav-links .games-menu, .nav-links .games-menu[hidden] { display: block; position: static; width: auto; padding: 0 0 8px; border-radius: 0; box-shadow: none; }
  .nav-links .gm-foot { display: none; }
  .nav-links > a { min-height: 48px; padding: 0 8px; border-top: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 600; }
  .nav-links > a:hover, .nav-links > a[aria-current] { color: var(--link); }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .menu-ico i { transition: none; } }

/* ---------- Nov 3 QA: Support ---------- */
.sup-include { grid-template-columns: minmax(0, 1fr); gap: 8px; }            /* one item per line, never a ragged two-column wrap */
.sup-steps { max-width: 78ch; font-size: 16px; }                            /* the same text size as the cards around it */
.sup-steps li::marker { font-weight: 700; }
.quick-item p a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
/* an arrow link is never underlined until hovered, like About {game} and Explore {game} */
.quick-all, .topic-game { color: var(--link); text-decoration: none; }
.quick-all:hover, .topic-game:hover { color: var(--link-hi); text-decoration: underline; text-underline-offset: 3px; }
.quick-all svg, .topic-game svg { transition: transform .18s ease; }
.quick-all:hover svg, .topic-game:hover svg { transform: translateX(3px); }
.quick + .quick { margin-top: 56px; }

/* ---------- Nov 3 QA: Help and answer pages ---------- */
.crumbs a, .crumbs li[aria-current] { white-space: nowrap; }            /* a trail breaks between its steps, never inside one */
.crumbs li[aria-current] { min-height: 32px; color: #FFFFFF; font-weight: 500; }
/* Most read: whole questions, never one cut across two lines, and no wider than the search box */
.most-read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; max-width: 640px; }
.most-read a { white-space: nowrap; text-decoration: underline; }
/* the topics line up with the page's left edge (the hover shade reaches past it), and every topic fits on one line */
@media (min-width: 961px) {
  .help-layout { grid-template-columns: 256px minmax(0, 1fr); }
  .topic-label { margin: 0 0 10px; }
  .topic-nav ul { margin-inline: -12px; }
  .topic-game { margin-left: -12px; }
}
.topic-nav ul a { white-space: nowrap; }

/* ---------- Nov 3 QA: Contact, the forms and Privacy ---------- */
.page-head .meta, .next-col p, .side-card p { text-wrap: pretty; }          /* no lone last word */
.page-head .meta { max-width: 62ch; }
.next-col { box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -18px rgba(16, 24, 40, .3); }   /* the same card as the form beside it */
/* the Privacy Policy's "On this page": beside the policy on a wide screen (it stays in view); on a narrower screen a
   closed list above the policy that opens with a tap */
.toc { padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.toc-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 15px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.privacy-layout .prose h2 { scroll-margin-top: 24px; }
@media (min-width: 1100px) {
  .privacy-layout { display: grid; grid-template-columns: minmax(0, 760px) 232px; justify-content: space-between; align-items: start; }
  .privacy-layout .prose { grid-column: 1; grid-row: 1; }
  .toc-nav { grid-column: 2; grid-row: 1; position: sticky; top: 24px; margin-top: 64px; }
  .toc summary { list-style: none; pointer-events: none; }
  .toc summary::-webkit-details-marker { display: none; }
}
@media (max-width: 1099px) {
  .toc-nav { margin-top: 40px; }
  .toc { padding: 0; }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; cursor: pointer; list-style: none; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
  .toc[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .toc ol { margin: 0; padding: 0 20px 14px; }
  .privacy-layout .prose { padding-top: 40px; }
}

/* ---------- Nov 3 QA: home ---------- */
.home-copy .lede { text-wrap: balance; }
h2 .hl { display: block; }                                               /* a two-sentence heading: one sentence per line */
.game-grid { gap: 24px; }                                                /* the same gap as every other row of cards */
li { text-wrap: pretty; }                                                /* no lone last word in a list item either */
/* Support: one size for every section heading, one for every card heading, and a card heading sits close to its card */
.choose h2, .sup-contact h2, .quick-head h2, .sup-delete h2 { font-size: 28px; }
.side-card h2, .side-card.dark h2 { font-size: 22px; }
.side-card h2 { margin-bottom: 4px; }
/* Delete your data: the two steps, and the links for more beside them */
.sup-delete { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px 48px; align-items: start; }
.sup-delete-more { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; padding: 20px 22px; border-radius: 12px; background: #F4F6FA; }
.sup-more-label { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.sup-delete-more .quick-all { min-height: 36px; font-size: 15px; }
@media (max-width: 960px) {
  .sup-delete { grid-template-columns: minmax(0, 1fr); }
  .sup-contact, .quick, .sup-delete, .side-cards { margin-top: 48px; }
  .choose h2, .sup-contact h2, .quick-head h2, .sup-delete h2 { font-size: 24px; }
}
/* Help: "Most read" on its own line, its questions under it (one per line on a phone); the logo a little apart from
   "Help"; the trail's arrow stays with the step before it, so a wrapped trail never starts a line with an arrow */
.most-read > span:first-child { flex-basis: 100%; }
@media (max-width: 600px) { .most-read { flex-direction: column; align-items: flex-start; gap: 6px; } .most-read a { white-space: normal; } }
.help-title { gap: 20px; }
.crumbs li + li::before { content: none; }
.crumbs li:not(:last-child)::after { content: ""; width: 6px; height: 6px; margin: 0 12px 0 10px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; opacity: .7; transform: rotate(45deg); }
@media (max-width: 960px) { .topic-game { padding: 0; } }
/* the support form page: "Before you write" is one white card like the form under it (no card inside a card), with the
   same inside edge */
.before-write { padding: 28px 32px 20px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -18px rgba(16, 24, 40, .3); }
.prose .before-write h2 { margin: 0 0 6px; font-size: 19px; }
.before-write .q-list { margin: 0 -14px; border: 0; border-radius: 0; background: none; }
.before-write .q-row { padding: 12px 14px; border-radius: 10px; }
@media (max-width: 600px) { .before-write { padding: 22px 18px 14px; } }
/* one primary button across the site: gold with navy letters, on light and dark alike (Nov 3 QA); secondary is the
   white outlined button, and the ghost button is secondary on a dark surface */
.fbtn-primary, a.fbtn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 1px 2px rgba(16, 24, 40, .2); }
.fbtn-primary:hover, a.fbtn-primary:hover { background: #F7C677; color: var(--navy); }
.fbtn-primary .spin { border-color: rgba(19, 33, 58, .3); border-top-color: var(--navy); }
/* the company logo's picture has a little clear space on its left; nudge it so the mark lines up with the text under it */
.brand img, .footer-brand img { translate: -1.8% 0; }
/* an answer page: the answer, and beside it on a wide screen the other questions in its topic (it stays in view) */
.answer-side .q-more { margin-top: 0; }
@media (min-width: 1100px) {
  .answer-layout { display: grid; grid-template-columns: minmax(0, 720px) 340px; justify-content: space-between; align-items: start; }
  .answer-side { position: sticky; top: 24px; padding: 64px 0 104px; }
  .answer-side .q-row { padding: 14px 18px; }
  .answer-side .q-title { font-size: 16px; }
}
@media (max-width: 1099px) { .answer.prose { padding-bottom: 0; } .answer-side { padding-top: 56px; } }
/* Support's last block: "Not about a game?" across the page (the account and privacy links live in Delete your data) */
.other-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 64px; padding: 32px 40px; border-radius: 18px; background: var(--navy); color: #FFFFFF; }
.other-band h2 { margin: 0; color: #FFFFFF; font-size: 24px; }
.other-band p { margin: 8px 0 0; color: var(--on-navy); font-size: 16px; line-height: 1.6; }
@media (max-width: 960px) { .other-band { margin-top: 48px; padding: 28px 24px; } .other-band .fbtn { width: 100%; } }
/* Delete your data: the same inside edge as the quick answers above it; its "More detail" links read as text with an arrow */
.sup-delete { padding: 28px 26px; }
.sup-delete-more .quick-all { display: inline; min-height: 0; padding: 6px 0; line-height: 1.5; }
.sup-delete-more .quick-all svg { display: inline-block; vertical-align: -2px; margin-left: 6px; }
/* Nov 3 QA, second pass */
.page-head .meta .hl { display: block; }                                 /* a two-sentence subtitle: one sentence per line */
.other-topics a, .crumbs a { white-space: nowrap; }
.q-title { text-wrap: balance; }
.before-write .q-list { margin: 0; }
.before-write .q-row { padding: 12px 0; }
.prose .before-write h2 { margin-bottom: 2px; }
.sup-steps { margin-top: 10px; }
.next-col h2 { margin-bottom: 10px; }
.prose .callout ul { margin-top: 6px; }
.page-head .meta .hl { text-wrap: balance; }
.every-section h2 { max-width: none; }                                   /* each sentence on its own line */
.every-section h2 .hl { text-wrap: balance; }

/* Terms of Service: the contents list keeps each section's number in its own column, so a long title wraps under its text.
   The title must stay one piece (.toc-t): a kept-whole word like in-game would otherwise become its own grid cell. */
.toc-numbered a { display: grid; grid-template-columns: 2em minmax(0, 1fr); }
.toc-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.terms-layout .prose a { overflow-wrap: anywhere; }
