/* Project Honeydew 2: the "treasure cave" look (release day, 2026-10-31).
   A cave lit by treasure: warm stone, gold and a crystal teal, around the Twin Sprouts badge. The cave at the top of
   each page is the same in both themes; below it the page is parchment (light) or cave stone (dark), as the
   visitor's system prefers. Quicksand (SIL OFL, /assets/Quicksand-OFL.txt) for everything; no other requests. */

@font-face { font-family: "Quicksand"; src: url("/assets/Quicksand-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("/assets/Quicksand-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Honeydew 1's own font (SIL OFL, /assets/Fredoka-OFL.txt), for its card on the home page, as on /honeydew1 */
@font-face { font-family: "Fredoka"; src: url("/assets/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --font: "Quicksand", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg: #f6efe2;
  --bg-alt: #efe4cf;
  --surface: #fffaf1;
  --surface-2: #f7eedd;
  --line: #e2d4b8;
  --line-strong: #c7b08a;
  --text: #2a2016;
  --muted: #5c4f3e;
  --gold-ink: #865a00;
  --teal-ink: #0b6158;
  --leaf-ink: #3d6e1a;
  --gold-soft: rgba(242, 182, 64, 0.2);
  --teal-soft: rgba(13, 120, 108, 0.1);
  --leaf-soft: rgba(80, 140, 40, 0.13);
  --shadow: 0 1px 2px rgba(60, 40, 10, 0.06), 0 8px 24px rgba(60, 40, 10, 0.07);
  --focus: #0b6158;
  /* the cave and the buttons: the same in both themes */
  --gold: #f2b640;
  --gold-hi: #ffd680;
  --on-gold: #1c1405;
  --cave-text: #f4ecdc;
  --cave-muted: #e3d6bb;
  --radius: 18px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13100c;
    --bg-alt: #19140f;
    --surface: #1f1a13;
    --surface-2: #282118;
    --line: #3a3024;
    --line-strong: #56473a;
    --text: #f3ebdb;
    --muted: #c3b394;
    --gold-ink: #f4c25c;
    --teal-ink: #7ddccf;
    --leaf-ink: #a6dc72;
    --gold-soft: rgba(242, 182, 64, 0.14);
    --teal-soft: rgba(111, 214, 201, 0.1);
    --leaf-soft: rgba(143, 207, 90, 0.13);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.28);
    --focus: #7ddccf;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 700; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.86em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- The cave: header and hero (dark in both themes) ---- */
.cave {
  position: relative;
  color: var(--cave-text);
  background-color: #120e0a;
  background-image:
    url("/assets/honeydew2-cave.svg"),
    url("/assets/honeydew2-glints.svg"),
    radial-gradient(55% 75% at 22% 100%, rgba(242, 182, 64, 0.34), rgba(242, 182, 64, 0) 72%),
    radial-gradient(38% 55% at 96% 0%, rgba(111, 214, 201, 0.16), rgba(111, 214, 201, 0) 72%),
    linear-gradient(180deg, #0d0a07 0%, #17120c 55%, #241b10 100%);
  background-repeat: repeat-x, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: left top, center top, center, center, center;
  background-size: 640px 120px, 1600px 760px, auto, auto, auto;
  padding-bottom: 64px;
}
.cave::after { /* the rock edge where the cave meets the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--bg);
  clip-path: polygon(0 62%, 3% 44%, 7% 58%, 12% 30%, 17% 52%, 22% 38%, 28% 60%, 34% 34%, 40% 50%, 46% 26%, 52% 48%, 58% 36%, 64% 58%, 70% 32%, 76% 52%, 82% 30%, 88% 54%, 94% 36%, 100% 50%, 100% 100%, 0 100%);
}
.cave.slim { /* the other pages: the same cave, without glints behind their headings */
  padding-bottom: 54px;
  background-image:
    url("/assets/honeydew2-cave.svg"),
    radial-gradient(60% 120% at 10% 120%, rgba(242, 182, 64, 0.3), rgba(242, 182, 64, 0) 72%),
    radial-gradient(38% 80% at 96% 0%, rgba(111, 214, 201, 0.16), rgba(111, 214, 201, 0) 72%),
    linear-gradient(180deg, #0d0a07 0%, #17120c 55%, #241b10 100%);
  background-repeat: repeat-x, no-repeat, no-repeat, no-repeat;
  background-position: left top, center, center, center;
  background-size: 640px 120px, auto, auto, auto;
}
.cave a { color: var(--cave-text); }
.site-header { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; text-decoration: none; color: inherit; letter-spacing: -0.01em; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
.two { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: 0.97rem; padding: 7px 12px; border-radius: 999px; color: var(--cave-text); }
.site-nav a:hover { background: rgba(255, 236, 200, 0.1); }
.site-nav { margin-left: auto; }
.nav-support, .cave .nav-support { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px 8px 12px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none; white-space: nowrap; color: var(--on-gold); background: var(--gold); box-shadow: 0 2px 0 #b07a12; }
.nav-support:hover { background: var(--gold-hi); }
.nav-support svg { width: 17px; height: 17px; fill: currentColor; flex: none; }

.status-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; color: #d8f2bd; background: rgba(143, 207, 90, 0.14); border: 1px solid rgba(143, 207, 90, 0.5); }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #8fcf5a; box-shadow: 0 0 0 4px rgba(143, 207, 90, 0.22); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .game-hd2 .two { background: linear-gradient(180deg, #ffe09a 10%, #f2b640 55%, #e0951c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.follow { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.92rem; }
.follow li:first-child { color: var(--cave-muted); margin-right: 2px; }
.follow a { display: inline-block; text-decoration: none; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 236, 200, 0.22); background: rgba(255, 236, 200, 0.05); }
.follow a:hover { border-color: rgba(255, 214, 128, 0.6); }

/* ---- The two games, side by side under the header: equal weight, each in its own game's look ---- */
.games { max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 6px; position: relative; z-index: 1; }
.games-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem); margin: 0 0 6px; max-width: 26em; }
.games-sub { color: var(--cave-muted); margin: 0 0 24px; font-size: 1.08rem; }
.game-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.game { display: flex; flex-direction: column; padding: 24px 26px; border-radius: 22px; }
.game-top { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.game-top picture { flex: none; }
.game-badge { width: 112px; height: 112px; flex: none; }
.game-name { font-size: clamp(1.65rem, 1.25rem + 1.1vw, 2.2rem); margin: 8px 0 2px; line-height: 1.1; }
.game-of { margin: 0; font-size: 1rem; }
.game-text { font-size: 1.08rem; margin: 0 0 10px; }
.game-meta { font-size: 0.94rem; margin: 0 0 20px; }
.game-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.game-link { font-weight: 700; }
.game .status-pill { margin: 0; }
/* Honeydew 2: the treasure cave */
.game-hd2 { color: var(--cave-text); background: linear-gradient(160deg, rgba(255, 214, 128, 0.13), rgba(255, 214, 128, 0.02) 55%), #1b150e; border: 2px solid var(--gold); box-shadow: 0 18px 40px rgba(242, 182, 64, 0.16); }
.game-hd2 .game-badge { filter: drop-shadow(0 8px 18px rgba(242, 182, 64, 0.32)); }
.game-hd2 .game-of, .game-hd2 .game-meta { color: var(--cave-muted); }
.game-hd2 .game-link { color: var(--gold-hi); }
/* Honeydew 1: its own forest green, orange edge and Fredoka, as on /honeydew1 */
.game-hd1 { font-family: "Fredoka", "Segoe UI", sans-serif; font-weight: 300; color: #f2f0df; background: linear-gradient(135deg, #22562a, #123f27); border: 2px solid #f7a51b; box-shadow: 5px 7px 0 rgba(7, 27, 24, 0.5); }
.game-hd1 .game-name { font-weight: 400; letter-spacing: 0.5px; }
.game-hd1 .game-of, .game-hd1 .game-meta { color: #c9d1bf; }
.game-hd1 .game-text { font-size: 1.12rem; }
.game-hd1 .status-pill { font-weight: 400; color: #f2f0df; background: rgba(139, 217, 117, 0.12); border-color: rgba(139, 217, 117, 0.5); }
.game-hd1 .status-pill .dot { background: #8bd975; box-shadow: 0 0 0 4px rgba(139, 217, 117, 0.22); }
.game-hd1 .game-link { color: #ffd077; }
.button.hd1-button { font-family: "Fredoka", "Segoe UI", sans-serif; font-weight: 600; font-size: 1.15rem; min-height: 56px; padding: 12px 24px 12px 20px; color: #ffdf96; background: linear-gradient(180deg, #2f7230, #1f4a26); border: 2px solid #f7a51b; border-radius: 28px; }
.button.hd1-button:hover { background: #387c35; color: #fff6dc; }
.button.hd1-button .meta { font-weight: 300; }
.button.hd1-ghost { font-family: "Fredoka", "Segoe UI", sans-serif; font-weight: 400; color: #ffd077; background: transparent; border: 2px solid rgba(247, 165, 27, 0.75); border-radius: 28px; }
.button.hd1-ghost:hover { border-color: #f7a51b; background: rgba(54, 128, 52, 0.35); }
.button.hd1-ghost .meta { font-weight: 300; }

/* ---- Buttons ---- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.button-primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 2px 0 #b07a12, 0 8px 22px rgba(242, 182, 64, 0.28); }
.button-primary:hover { background: var(--gold-hi); }
.button-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 #b07a12; }
.cave .button-primary, .button-primary:visited { color: var(--on-gold); }
.button-big { font-size: 1.15rem; padding: 15px 26px 15px 22px; min-height: 58px; }
.button .icon-dl { width: 22px; height: 22px; flex: none; }
.button .meta { font-weight: 400; font-size: 0.86em; opacity: 0.85; }
.button-ghost { color: var(--cave-text); border-color: rgba(255, 236, 200, 0.4); background: rgba(255, 236, 200, 0.04); }
.button-ghost:hover { border-color: var(--gold-hi); }
.button-outline { color: var(--text); border-color: var(--line-strong); background: var(--surface); }
.button-outline:hover { border-color: var(--gold-ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; flex: none; }

/* ---- Sections ---- */
main { display: block; }
.section { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 8px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.kicker::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, #ffe09a, #f2b640 60%, #c98612); box-shadow: -7px 7px 0 -2px #6fd6c9; margin-left: 7px; }
.section-intro { color: var(--muted); max-width: 44em; font-size: 1.08rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* what it is */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.about p { font-size: 1.1rem; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts-list li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.facts-list .gem { flex: none; width: 12px; height: 12px; margin-top: 7px; transform: rotate(45deg); border-radius: 2px; background: var(--gold); }
.facts-list li:nth-child(even) .gem { background: #6fd6c9; }
.facts-list strong { display: block; }
.facts-list span.note { color: var(--muted); font-size: 0.95rem; }

/* features */
.features { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 22px 22px 18px; }
.feature p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px; color: var(--gold-ink); background: var(--gold-soft); }
.feature:nth-child(even) .icon { color: var(--teal-ink); background: var(--teal-soft); }
.icon svg { width: 24px; height: 24px; }

/* folds */
.fold { margin: 14px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fold > summary { list-style: none; cursor: pointer; padding: 15px 52px 15px 18px; font-weight: 700; position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid var(--gold-ink); border-bottom: 2.5px solid var(--gold-ink); transform: rotate(45deg); transition: transform 0.15s ease; }
.fold[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.fold-body { padding: 0 18px 16px; }
.fold-body > :last-child { margin-bottom: 0; }
.fold-body ul, .fold-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.fold-body li { margin: 0 0 6px; }
.fold.more { margin-top: 16px; }

/* platforms */
.notice { margin: 16px 0 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); border-left: 5px solid var(--gold); background: var(--surface); max-width: 52em; }
.notice p { margin: 0; }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform { padding: 20px; display: flex; flex-direction: column; }
.platform h3 { margin-bottom: 6px; }
.platform p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.7em; }
.platform-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.platform-top .icon { margin: 0; }
.platform:not(.released) { padding: 16px 18px; }
.platform:not(.released) .platform-top { margin-bottom: 6px; }
.platform:not(.released) .icon { width: 38px; height: 38px; border-radius: 12px; }
.platform:not(.released) .icon svg { width: 21px; height: 21px; }
.platform.released { padding: 22px; border: 2px solid var(--gold); background: linear-gradient(180deg, var(--gold-soft), rgba(242, 182, 64, 0) 60%), var(--surface); }
.platform.released p { color: var(--text); }
.platform .nodl { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-weight: 700; color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 14px; }
.dl-meta { color: var(--muted); font-size: 0.95rem; }
.checksum { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5em; }
.checksum code { display: block; margin-top: 4px; font-size: 0.82rem; line-height: 1.5; color: var(--text); word-break: break-all; }
.quick { margin: 4px 0 14px; padding: 12px 16px 12px 34px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.95rem; }
.quick li { margin: 0 0 4px; }
.quick li:last-child { margin-bottom: 0; }
.safe { font-size: 0.95rem; margin-top: auto; margin-bottom: 0; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; border: 1px solid; }
.tag-on { color: var(--leaf-ink); background: var(--leaf-soft); border-color: currentColor; }
.tag-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-off { color: var(--muted); background: transparent; border-color: var(--line-strong); }
.tag-x { color: var(--gold-ink); background: transparent; border-color: currentColor; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* setup */
.needs { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.need { padding: 20px; }
.need .num { display: inline-block; font-weight: 700; color: var(--gold-ink); font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: 6px; }
.need p { color: var(--muted); margin-bottom: 0.6em; }
.need p:last-child { margin-bottom: 0; }
.sub { font-size: 1.45rem; margin: 40px 0 6px; }
.sub-intro { color: var(--muted); max-width: 46em; }
.steps { list-style: none; counter-reset: step; margin: 18px 0 8px; padding: 0; display: grid; gap: 12px; max-width: 54em; }
.steps > li { counter-increment: step; position: relative; padding: 16px 18px 16px 70px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.steps > li::before { content: counter(step); position: absolute; left: 16px; top: 13px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; color: var(--on-gold); background: radial-gradient(circle at 35% 30%, #ffe3a3, #f2b640 55%, #d99016); box-shadow: 0 2px 0 rgba(150, 100, 10, 0.45); }
.steps > li p { margin: 0; }
.steps > li p + p { margin-top: 6px; color: var(--muted); font-size: 0.97rem; }
.after-steps { color: var(--muted); max-width: 54em; }
.keys { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 4px 0 12px; }
.keys th, .keys td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.keys th { white-space: nowrap; color: var(--gold-ink); width: 1%; }

/* the first game */

/* watch and follow */
.watch { list-style: none; margin: 22px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.watch a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; height: 100%; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.watch a:hover { border-color: var(--gold-ink); }
.watch .featured { grid-column: 1 / -1; }
.watch .featured a { padding: 20px 22px; border: 2px solid var(--gold); background: linear-gradient(120deg, var(--gold-soft), rgba(242, 182, 64, 0) 60%), var(--surface); }
.watch .featured strong { font-size: 1.2rem; }
.watch .featured .disc { width: 58px; height: 58px; }
.watch strong { display: block; line-height: 1.3; }
.watch .meta { display: block; color: var(--muted); font-size: 0.9rem; }
.disc { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--on-gold); background: radial-gradient(circle at 35% 30%, #ffe3a3, #f2b640 55%, #d99016); padding-left: 4px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 700; }
.socials a:hover { border-color: var(--teal-ink); }
.handle { font-weight: 400; color: var(--muted); font-size: 0.92rem; }

/* feedback form */
.feedback-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 40px; align-items: start; }
.feedback-panel { margin-top: 6px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.97rem; }
.label-text .opt { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; min-height: 46px; }
.form textarea { resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.form option:disabled { color: var(--muted); }
.hint { margin: -6px 0 0; color: var(--muted); font-size: 0.92rem; }
.hint.warn { color: var(--gold-ink); font-weight: 700; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 700; min-height: 1.5em; color: var(--leaf-ink); }
.form-status.error { color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-status.error { color: #ff9a8f; } }
.form .button { justify-self: start; }

/* support */
.support { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 28px 30px; background: linear-gradient(120deg, var(--gold-soft), rgba(242, 182, 64, 0) 55%), var(--surface); }
.support h2 { margin-bottom: 0.3em; }
.support p { margin: 0 0 0.4em; }
.support .fine { color: var(--muted); font-size: 0.93rem; margin: 0; max-width: 40em; }

/* credits */
.credits .fold-body p { color: var(--muted); }

/* ---- Footer ---- */
.site-footer { margin-top: 64px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 34px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer .brand { color: var(--text); }
.site-footer .brand img { width: 34px; height: 34px; filter: none; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.footer-fine { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---- Other pages: privacy, terms, press, 404 ---- */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 6px; position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 8px; }
.page-head p { color: var(--cave-muted); margin: 0; max-width: 44em; }
.page-head .eyebrow { color: var(--gold-hi); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.page { max-width: 860px; margin: 0 auto; padding: 36px 20px 8px; }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page h2:first-child { margin-top: 0; }
.page h3 { margin-top: 1.4em; }
.page p, .page li { color: var(--text); }
.page .lead { font-size: 1.12rem; color: var(--muted); }
.page hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.both { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.both .card { padding: 18px 20px; }
.both .card p { margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 14px 0 20px; }
.game-head { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.game-head img { width: 56px; height: 56px; }
.game-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.facts { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 0.97rem; }
.facts strong { display: block; color: var(--text); }
.copy-block { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.copy-block p { margin-bottom: 12px; }
.copy-status { margin-left: 12px; color: var(--leaf-ink); font-weight: 700; font-size: 0.92rem; }

/* ---- Narrower screens ---- */
@media (max-width: 1000px) {
  .features, .watch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-wrap, .about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .game-cards { grid-template-columns: minmax(0, 1fr); }
  .needs, .platforms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-header { padding: 14px 16px; gap: 10px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .site-nav { margin: 0 -10px; order: 2; width: 100%; }
  .nav-support, .cave .nav-support { order: 1; margin-left: auto; padding: 7px 13px 7px 11px; }
  .nav-long { display: none; }
  .site-nav a { padding: 6px 10px; font-size: 0.93rem; }
  .games, .section, .page-head, .page, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .game { padding: 20px 18px; }
  .game-badge { width: 84px; height: 84px; }
  .game-top { gap: 14px; }
  .game-actions .button { width: 100%; font-size: 1.05rem; padding: 13px 14px; gap: 8px; }
  .game .button .meta { white-space: nowrap; }
  .section { padding-top: 44px; }
  .features, .watch, .both, .facts, .form-row { grid-template-columns: minmax(0, 1fr); }
  .platform.released { padding: 20px 18px; }
  .dl-row .button { width: 100%; }
  .button-big { width: 100%; }
  .steps > li { padding: 14px 14px 14px 62px; }
  .steps > li::before { left: 12px; width: 36px; height: 36px; }
  .support { padding: 22px 18px; }
  .keys th { white-space: normal; }
}
