:root{--ink:#21392d;--green:#bde8cc;--paper:#f6f8f2;--muted:#758075;--line:#e1e6dc;--gold:#e9c778}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #43815d;outline-offset:5px}.wrap{max-width:1180px;margin:auto;padding-left:28px;padding-right:28px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-1.2px}.brandmark{background:var(--green);width:31px;height:34px;border-radius:9px;font-size:30px;line-height:31px;text-align:center;margin-right:9px;position:relative}.brandmark span{font-size:15px;position:absolute;right:2px;top:0}.brand-dot{color:#72a884}nav{display:flex;gap:34px;align-items:center;font-size:13px}nav a{padding:15px 0;position:relative}nav .active:after{content:'';position:absolute;height:3px;width:17px;background:var(--ink);bottom:1px;left:6px;border-radius:3px}.tiny{font-size:8px;letter-spacing:.8px;background:#e3ebd9;border-radius:4px;padding:4px 5px;margin-left:5px}.icon-button{border:1px solid #cdd7c9;width:26px;height:26px;border-radius:50%;background:transparent;color:var(--ink);font-weight:700}.hero{min-height:458px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;padding-top:35px;padding-bottom:35px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#66a97e}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:55px;line-height:1.13;letter-spacing:-2.8px;margin:20px 0}h1 span{position:relative;z-index:0}h1 span:after{content:'';position:absolute;height:14px;bottom:4px;left:-3px;right:-4px;background:var(--green);z-index:-1;transform:rotate(-2deg)}.hero-copy>p{font-size:14px;line-height:1.9;color:#536651}.hero-actions{display:flex;align-items:center;gap:27px;margin-top:26px}.button{padding:15px 23px;border:0;border-radius:9px;font-weight:600;font-size:13px;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.dark{background:var(--ink);color:white}.text-button{background:none;border:0;padding:0;color:var(--ink);font-weight:600;font-size:12px}.hero-perks{display:flex;gap:18px;color:#536651;font-size:10px;margin-top:23px}.hero-perks span:first-letter{color:#5b9870}.hero-art{height:370px;position:relative;display:flex;justify-content:center;align-items:center}.orbit{position:absolute;border:1px solid #dde6d6;width:320px;height:320px;border-radius:50%;transform:rotate(-20deg)}.orbit-two{width:400px;height:240px;transform:rotate(-30deg)}.mascot{position:relative;width:170px;height:176px;border-radius:38px;background:linear-gradient(135deg,#d2f3a1,#a9dba8);transform:rotate(-10deg);box-shadow:inset -9px -10px 0 #91c697,inset 4px 4px 0 #e3f7be,0 15px 30px #416c3120;z-index:2;animation:bob 4s ease-in-out infinite}.mascot-top{position:absolute;width:15px;height:30px;border-radius:100% 0;background:#80af71;top:-23px;left:90px;transform:rotate(35deg)}.eye{position:absolute;width:15px;height:24px;background:#244833;border-radius:50%;top:62px}.eye:after{content:'';position:absolute;width:5px;height:7px;background:white;top:3px;left:3px;border-radius:50%}.eye-left{left:42px}.eye-right{right:41px}.smile{position:absolute;top:94px;left:66px;width:39px;height:25px;border-radius:5px 5px 30px 30px;background:#264632;border-top:5px solid white}.cheek{position:absolute;top:93px;width:23px;height:11px;background:#e6a39199;border-radius:50%}.cheek-left{left:25px}.cheek-right{right:24px}.arm{position:absolute;width:28px;height:68px;background:#a7d697;top:73px;border-radius:20px;z-index:-1}.arm-left{left:-20px;transform:rotate(30deg)}.arm-right{right:-24px;top:38px;transform:rotate(-48deg)}.foot{position:absolute;bottom:-23px;width:38px;height:35px;border-radius:8px 8px 20px 20px;background:#315a40;z-index:-1}.foot-left{left:27px;transform:rotate(8deg)}.foot-right{right:20px;transform:rotate(-10deg)}.mascot-shadow{position:absolute;bottom:65px;width:150px;height:18px;background:#38593215;border-radius:50%;filter:blur(3px)}.float-tile{position:absolute;display:grid;place-items:center;width:47px;height:49px;border-radius:10px;font-family:Manrope;font-size:25px;font-weight:800;box-shadow:0 8px 0 #334b3310}.tile-w{left:46px;top:93px;background:#fff;transform:rotate(-17deg)}.tile-o{right:50px;top:44px;background:#efd88e;transform:rotate(14deg)}.tile-r{right:39px;bottom:76px;background:#e7b5a0;transform:rotate(13deg)}.spark{position:absolute;color:#87a17c;font-size:34px}.spark-one{top:35px;left:136px}.spark-two{bottom:78px;left:64px}.speech{position:absolute;bottom:35px;left:95px;font-size:11px;background:white;padding:13px 19px;border:1px solid var(--line);border-radius:8px;transform:rotate(-4deg);z-index:3}.art-label{position:absolute;bottom:0;font-size:8px;letter-spacing:1.8px;color:#536651}.ticker{border-block:1px solid var(--line);background:#eef2e8}.ticker-inner{min-height:51px;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.5px}.ticker-inner>span:nth-child(even){font-size:24px;color:#8bab8c}.play-section{padding-top:48px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}h2{font-size:27px;letter-spacing:-1px;margin:8px 0 0}.save-note{font-size:10px;color:#536651;display:flex;gap:7px;align-items:center}.play-layout{display:grid;grid-template-columns:1.65fr 1fr;gap:25px}.game-card{padding:23px 30px 18px;background:#fff;border:1px solid var(--line);border-radius:15px;position:relative}.game-top{display:flex;justify-content:space-between;align-items:center}.level-pill{background:#edf4e8;padding:6px 9px;border-radius:5px;font-size:9px;letter-spacing:1px;font-weight:700}.difficulty{font-size:11px;color:#536651;margin-left:10px}.game-intro{text-align:center;margin:25px 0 20px}.game-intro h3{font-size:17px;margin:0 0 8px;letter-spacing:-.4px}.game-intro p{font-size:11px;color:#536651;margin:0;min-height:17px}.board{width:264px;margin:0 auto 23px;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.cell{height:48px;border:1.5px solid #e2e6df;border-radius:6px;background:#fafbf8;display:grid;place-items:center;font-family:Manrope;font-weight:800;font-size:23px;transition:background .2s}.cell.filled{border-color:#9baa98;background:#fff}.correct{background:#83b992!important;color:#183c29;border-color:#83b992!important}.present{background:#e9cb7f!important;color:#57471f;border-color:#e9cb7f!important}.absent{background:#e3e6e1!important;color:#536651;border-color:#e3e6e1!important}.keyboard{display:flex;flex-direction:column;gap:5px;align-items:center}.key-row{display:flex;gap:4px;justify-content:center;width:100%}.key{border:0;background:#eff1eb;border-radius:5px;min-width:30px;width:8.6%;height:37px;color:var(--ink);font-size:11px;font-weight:700}.key.wide{width:14%;font-size:9px}.key:hover{filter:brightness(.95)}.game-bottom{display:flex;justify-content:space-between;border-top:1px solid #edf0e8;padding-top:15px;margin-top:20px;font-size:10px;color:#536651}.game-bottom .text-button{font-size:10px}.next{width:100%;margin-top:15px}.next[hidden]{display:none}.side-column{display:flex;flex-direction:column;gap:18px}.season-card{padding:27px;background:#e5edda;border-radius:15px;border:1px solid #dce5cf;position:relative;overflow:hidden}.season-top{display:flex;justify-content:space-between}.season-card .eyebrow{font-size:9px;letter-spacing:1.3px}.trophy{font-size:37px;line-height:30px;color:#6c8755}.season-card h3{font-size:27px;letter-spacing:-.9px;line-height:1.3;margin:23px 0 11px}.season-card p{font-size:12px;color:#536651;line-height:1.8}.season-stats{display:flex;gap:50px;margin:23px 0}.season-stats strong{display:block;font-size:30px;font-family:Manrope;letter-spacing:-1px}.season-stats span{font-size:10px;color:#536651}.light{background:#fff;width:100%;padding:14px 17px;font-size:11px}.season-foot{display:flex;gap:7px;align-items:center;margin-top:18px;font-size:8px;letter-spacing:1px;color:#536651}.pip-tip{border:1px solid var(--line);padding:19px;border-radius:12px;display:flex;gap:15px;align-items:center}.pip-tip strong{font-size:11px}.pip-tip p{font-size:10px;color:#536651;line-height:1.7;margin:6px 0 0}.mini-pip{background:var(--green);border-radius:12px;width:46px;height:46px;text-align:center;letter-spacing:5px;padding-top:8px;font-weight:bold;transform:rotate(-7deg)}.mini-pip span{display:block;line-height:8px;letter-spacing:0}.ad-slot{border:1px dashed #dce2d5;flex:1;min-height:77px;text-align:center;display:flex;justify-content:center;flex-direction:column;border-radius:9px;color:#536651}.ad-slot span{font-size:7px;letter-spacing:2px}.ad-slot p{font-size:10px;margin:9px 0 0}.journey{padding-top:45px;padding-bottom:40px}.section-heading>p{font-size:11px;color:#536651}.level-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.level-card{text-align:left;border:1px solid var(--line);border-radius:11px;padding:18px;background:#f9faf6;color:var(--ink);position:relative}.level-card.selected{background:#e6efdf;border-color:#a9c29c}.level-card:disabled{cursor:not-allowed;color:#92998c}.level-number{font-size:9px;letter-spacing:1px;display:block}.level-symbol{display:block;font-size:26px;margin:15px 0 12px}.level-card strong{display:block;font-size:12px}.level-card small{display:block;font-size:9px;color:#536651;margin-top:7px}.bottom-banner{display:flex;align-items:center;gap:23px;border-block:1px solid var(--line);padding-top:30px;padding-bottom:30px}.banner-star{font-size:48px;color:#9ab595}.bottom-banner h2{font-size:21px;margin:0}.bottom-banner p{font-size:11px;color:#536651}.bottom-banner>a{margin-left:auto}.faq{padding-top:32px;padding-bottom:35px}.faq h2{font-size:20px;margin-bottom:20px}.faq details{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.faq summary{cursor:pointer}.faq details p{line-height:1.8;color:#536651;max-width:750px}footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:26px;padding-bottom:26px}footer .brand{font-size:18px}footer span{font-size:9px;color:#536651}dialog{max-width:460px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:18px;padding:35px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#17291e77;backdrop-filter:blur(5px)}dialog h2{margin:10px 0 20px}dialog p{line-height:1.8;color:#536651}.modal-close{position:absolute;right:15px;top:15px}dialog .example{display:inline-block;padding:7px 10px;margin-right:6px;border-radius:5px;font-weight:bold}dialog .button{margin-top:15px}.error{animation:shake .3s}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:13px 24px;border-radius:9px;z-index:5;font-size:12px}@keyframes bob{50%{transform:translateY(-10px) rotate(-7deg)}}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}@media(min-width:1400px){.wrap{max-width:1240px}.hero{min-height:485px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}@media(max-width:800px){.wrap{padding-left:20px;padding-right:20px}.header{height:78px}nav{gap:18px}nav a{font-size:11px}nav a:nth-child(3){display:none}.brand{font-size:21px}.hero{grid-template-columns:1.2fr 1fr;min-height:400px}h1{font-size:40px}.hero-art{transform:scale(.8);margin-left:-20px;margin-right:-20px}.hero-perks{gap:10px;font-size:8px}.hero-copy>p{font-size:12px}.ticker-inner{font-size:7px;letter-spacing:1px}.play-layout{grid-template-columns:1.4fr 1fr;gap:15px}.game-card{padding:20px 15px}.season-card{padding:20px}.season-card h3{font-size:23px}.season-stats{gap:30px}.key{min-width:23px}.level-cards{gap:8px}.level-card{padding:13px}.bottom-banner h2{font-size:18px}footer span:last-child{max-width:150px;text-align:right}}@media(max-width:580px){nav{gap:16px}.header>.icon-button{display:none}.hero{display:flex;flex-direction:column;padding-top:34px;padding-bottom:18px;align-items:stretch}.hero-copy{position:relative;z-index:3}h1{font-size:43px;letter-spacing:-2px}.hero-art{height:290px;transform:scale(.83);margin-top:-5px;margin-bottom:-15px}.hero-perks{font-size:9px;gap:16px}.hero-copy>p{font-size:12px}.hero-actions{margin-top:20px}.ticker-inner>span:nth-child(n+4){display:none}.ticker-inner{font-size:7px;gap:15px;justify-content:center}.ticker-inner>span:nth-child(2){font-size:19px}.play-section{padding-top:32px}.section-heading{align-items:start;gap:14px}.section-heading h2{font-size:25px}.save-note{max-width:100px;line-height:1.6;font-size:8px;padding-top:8px}.play-layout{grid-template-columns:1fr}.game-card{padding:20px 16px}.board{width:264px}.key{height:43px}.game-intro h3{font-size:16px}.side-column{display:grid;grid-template-columns:1fr}.season-card{padding:25px}.season-card h3 br{display:none}.season-card h3{font-size:25px}.season-card p br{display:none}.season-stats{position:absolute;right:25px;bottom:102px;gap:25px}.season-card p{max-width:145px;min-height:70px}.season-stats strong{font-size:28px}.season-top{align-items:center}.pip-tip{padding:17px}.ad-slot{min-height:75px}.journey{padding-top:32px}.journey .section-heading>p{display:none}.level-cards{grid-template-columns:repeat(2,1fr)}.level-card:last-child{grid-column:span 2}.level-symbol{margin:12px 0}.bottom-banner{gap:14px;flex-wrap:wrap;margin:0 20px;padding:24px 0}.bottom-banner h2{font-size:17px}.bottom-banner>div{max-width:260px}.bottom-banner p{line-height:1.7}.bottom-banner>a{margin-left:58px}.banner-star{font-size:42px}footer{flex-wrap:wrap;gap:18px}footer span:last-child{max-width:none;width:100%;text-align:left}.faq h2{font-size:19px}}

.hero-copy > p { max-width: 46ch; }
.hero { overflow-x: clip; }
.faq p a, .game-card noscript a, .guide-links a {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}

@media (max-width: 580px) {
  .game-card, .play-layout > * { min-width: 0; }
  .game-card .board { max-width: 100%; }
  .key-row { gap: 2px; }
  .key-row .key { min-width: 0; width: calc((100% - 18px) / 10); }
  .key-row .key.wide { width: 14%; }
  .season-card p { max-width: none; min-height: 0; }
  .season-stats { position: static; }
}

@media (max-width: 350px) {
  .play-section { padding-inline: 12px; }
  .game-card { padding-inline: 10px; }
}

@media (max-width: 580px) and (max-height: 700px) and (orientation: portrait) {
  .game-card .game-intro { margin-block: 8px; }
  .game-card .board { width: 216px; gap: 4px; margin-bottom: 12px; }
  .game-card .cell { height: 36px; font-size: 20px; }
}

@media (pointer: coarse) {
  .keyboard .key { height: 44px; }
  .icon-button { width: 44px; height: 44px; flex: none; }
  .hero-actions .text-button, .bottom-banner .text-button, .guide-links a,
  .brand, .guide-footer a, #share, #identity-switch, #copy-code {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .faq details { padding-block: 0; }
  .faq summary { min-height: 44px; padding-block: 14px; }
  .faq details p { margin: 0 0 14px; }
  #club .club-primary, #club .club-refresh, #club .club-rules,
  #club .club-text-control, #club [role="tab"] { min-height: 44px; }
}

@media (max-width: 580px), (max-height: 480px) {
  dialog { max-height: calc(100dvh - 24px); padding: 24px; overflow-y: auto; }
  dialog h2 { padding-inline-end: 32px; }
}

/* A small copy of Pip stays beside the puzzle as players scroll past the hero. */
.game-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: left;
}
#board-pip {
  --pip-scale: .28;
  flex: none;
  width: 64px;
  height: 68px;
  display: grid;
  place-content: center;
}
#board-pip .mascot {
  scale: var(--pip-scale);
  animation: none;
}

.mascot:where([data-pose]:not([data-pose="idle"])) {
  animation: none;
  transition: transform .18s ease-out;
}
.mascot .arm, .mascot .eye, .mascot .smile {
  transition: transform .18s ease-out, border-radius .18s ease-out;
}
.mascot[data-pose="typing"] {
  transform: rotate(6deg) translateY(3px);
}
.mascot[data-pose="typing"] .eye {
  transform: translate(4px, 6px) scaleY(.85);
}
.mascot[data-pose="typing"] .arm-right {
  transform: rotate(35deg) translateY(18px);
}
.mascot[data-pose="ready"], .mascot[data-pose="encouraged"] {
  transform: rotate(-4deg) translateY(-5px);
}
.mascot[data-pose="ready"] .arm-right,
.mascot[data-pose="encouraged"] .arm-left {
  transform: translateY(-36px) rotate(-32deg);
}
.mascot[data-pose="ready"] .eye {
  transform: scale(1.12);
}
.mascot[data-pose="thinking"], .mascot[data-pose="puzzled"] {
  transform: rotate(13deg);
}
.mascot[data-pose="thinking"] .eye, .mascot[data-pose="puzzled"] .eye-right {
  transform: translate(-4px, -2px) scaleY(.65);
}
.mascot[data-pose="thinking"] .smile, .mascot[data-pose="puzzled"] .smile {
  transform: scale(.5, .6);
  border-radius: 50%;
  border-top: 0;
}
.mascot[data-pose="won"] {
  transform: translateY(-12px) rotate(-12deg);
}
.mascot[data-pose="won"] .arm-left {
  transform: translate(-2px, -55px) rotate(-30deg);
}
.mascot[data-pose="won"] .arm-right {
  transform: translate(2px, -35px) rotate(30deg);
}
.mascot[data-pose="won"] .smile {
  transform: scale(1.2);
}
.mascot[data-pose="lost"] {
  transform: translateY(8px) rotate(5deg);
}
.mascot[data-pose="lost"] .arm {
  top: 94px;
  transform: rotate(2deg);
}
.mascot[data-pose="lost"] .eye {
  transform: translateY(6px) scaleY(.65);
}
.mascot[data-pose="lost"] .smile {
  transform: rotate(180deg) scale(.7, .4);
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .mascot[data-pose="won"], #board-pip .mascot[data-pose="won"] {
    animation: pip-hop .5s ease-out;
  }
  @keyframes pip-hop {
    40% { transform: translateY(-35px) rotate(4deg); }
  }
}

/* Paper River */
:root {
  --ink: #143d39;
  --paper: #f6f8f3;
  --sheet: #fffffb;
  --muted: #506862;
  --line: #cee1d7;
  --green: #c9ebd5;
  --rust: #b94b28;
  --display: 'DM Sans', 'Helvetica Neue', system-ui, sans-serif;
  --paper-shadow: 0 3px 0 #d5e5db, 0 12px 26px -18px #153f3b4d;
}
body { background: var(--paper); color: var(--ink); font-family: var(--display); }
h1,h2,h3,h4,.brand { font-family: var(--display); }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 3px solid #237d73; }
.header {
  max-width: 1240px; height: 78px; padding-inline: clamp(20px,3.8vw,58px);
  border: 0; gap: 20px;
}
.brand { font: 800 30px/1 var(--display); letter-spacing: -.074em; }
.brandmark {
  display: inline-grid; place-items: center; position: relative; isolation: isolate;
  width: 31px; height: 32px; margin-right: 10px; padding: 0 1px 3px 0;
  border-radius: 10px 11px 9px 7px; transform: rotate(-8deg);
  background: #18605a; color: #e4f3c5; box-shadow: 2px 3px 0 #95ccb3;
  font: 800 28px/1 var(--display); letter-spacing: -.07em;
}
.brandmark > span { display: none; }
.brand-dot { color: #d15f36; }
.header nav { gap: clamp(16px,3vw,38px); }
.header nav a { font-size: 14px; font-weight: 650; color: #415d56; }
.header nav .active { color: #124a44; }
.header nav .active::after { left: 0; bottom: 4px; background: #1f7568; width: 100%; height: 2px; }
.profile-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  padding: 4px 13px 4px 5px; border: 1px solid #c7dbcf; border-radius: 30px;
  color: var(--ink); background: #fffffc; font: 700 13px/1.2 var(--display);
}
.profile-face {
  width: 31px; height: 31px; background: #d8e7cf url('portrait-sampler.webp') right center/300% 100%;
  border-radius: 50%;
}
.icon-button { display: inline-grid; place-items: center; color: var(--ink); background: #f1f7f1; border-color: #bfd6c9; }
.field-cover {
  position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
  width: calc(100% - 40px); max-width: 1300px; min-height: clamp(350px,33.5vw,443px);
  padding: clamp(33px,3.8vw,57px) clamp(30px,4.8vw,74px); margin: 0 auto 10px;
  border: 1px solid #bdd9c6; border-radius: 28px; background: #d8efdd;
  box-shadow: 0 4px 0 #d1e3d5, 0 12px 25px -22px #23594b;
}
.field-cover .hero-copy { position: relative; z-index: 1; width: 45%; }
.field-scene,.field-scene .hero-art,.field-scene picture,#trail-film {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; transform: none;
}
.field-scene { z-index: -1; }
.trail-illustration { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
#trail-film { opacity: 0; pointer-events: none; }
#trail-film.has-frame { opacity: 1; }
.hero-copy .edition-line {
  display: flex; align-items: center; gap: 9px; margin: 0; color: #315d50;
  font: 700 11px/1.4 var(--display); letter-spacing: .13em; text-transform: uppercase;
}
.edition-line > span:first-child {
  width: 11px; height: 12px; display: inline-block; background: #91bc83; border-radius: 6px 2px 6px 2px;
  transform: rotate(16deg); box-shadow: inset -3px -1px #519b72;
}
.field-cover h1 {
  color: #153e38; font: 750 clamp(53px,6.35vw,88px)/.96 var(--display);
  letter-spacing: -.075em; margin: .23em 0 .21em;
}
.field-cover h1 em { font-style: normal; color: #227765; }
.field-cover .hero-description { max-width: 35ch; margin: 0; color: #2c5048; font-size: clamp(14px,1.2vw,17px); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 23px; }
.button { border-radius: 14px; font-weight: 750; }
.dark { background: #17564c; color: white; }
.hero-actions .dark {
  background: #174e46; color: #fffef4; gap: 19px; font-size: 14px;
  padding: 13px 19px; border-radius: 28px; box-shadow: 0 3px 0 #0d3733;
}
.hero-actions .dark span { font-size: 19px; line-height: 1; color: #bde7a0; }
.hero-actions .text-button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px;
  background: #eaf6e7; color: #224c42; border: 1px solid #a6cbb5; border-radius: 24px; font-size: 14px;
}
.scene-control {
  position: absolute; right: 15px; bottom: 15px; z-index: 2; min-width: 44px; min-height: 44px;
  display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 7px 13px;
  color: #194a42; background: #f4faf0f2; border: 1px solid #bdd8c7; border-radius: 26px;
  box-shadow: 0 3px 8px #053d321f; font: 700 12px/1.25 var(--display);
}
.scene-control[hidden] { display: none; }
.scene-control::before { content: ''; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.scene-control.is-playing::before { width: 9px; height: 11px; border: 0; border-inline: 3px solid currentColor; }
.play-section { padding-top: clamp(25px,3.6vw,52px); }
#top .section-heading h2,#top .faq h2 {
  color: var(--ink); font: 750 clamp(28px,3.1vw,42px)/1.1 var(--display); letter-spacing: -.055em;
}
.section-heading { margin-bottom: 19px; align-items: center; }
#save-status { display: inline-flex; border: 1px solid var(--line); background: #eef6ed; border-radius: 18px; padding: 6px 10px; }
.game-card,.season-card,#identity-dialog,#modal {
  color: var(--ink); border: 1px solid var(--line); border-radius: 21px; background: var(--sheet); box-shadow: var(--paper-shadow);
}
.game-card { padding: clamp(18px,2.25vw,32px); }
.game-top { align-items: center; }
.level-pill { color: #225b4e; background: #dceede; border-radius: 15px; padding: 7px 10px; }
.game-card .cell { background: #f3f8f0; border-color: #c8d9cb; border-radius: 9px; box-shadow: 0 2px 0 #dce9df; }
.game-card .cell.filled { background: #fff; border-color: #4b8278; }
.keyboard { gap: 6px; }
.keyboard .key {
  --cap-top: #e8f0e7;
  --cap-front: #b5cabb;
  --cap-edge: #8da998;
  --cap-depth: 6px;
  --cap-travel: 0px;
  position: relative;
  height: 49px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  /* The surrounding button stays still as the colored keycap moves within it. */
  background: transparent !important;
  color: #173d36;
  font: 750 clamp(13px, 1.4vw, 16px)/1 var(--display);
  user-select: none;
  touch-action: manipulation;
}
.keyboard .key.wide {
  --cap-top: #d6e6da;
  --cap-front: #a5bfae;
  --cap-edge: #7e9d8a;
  font-size: clamp(9px, 1.15vw, 12px);
}
.keyboard .key.wide:last-child { font-size: 16px; }
.keyboard .key.correct {
  --cap-top: #8cc29a; --cap-front: #669a75; --cap-edge: #4a7959;
  color: #173b28;
}
.keyboard .key.present {
  --cap-top: #ebcb7d; --cap-front: #cfab5d; --cap-edge: #a78743;
  color: #493a16;
}
.keyboard .key.absent {
  --cap-top: #d4d9d5; --cap-front: #b5bdb7; --cap-edge: #949f98;
  color: #3d4d45;
}
.key-legend {
  position: absolute;
  inset: 0 0 var(--cap-depth);
  display: grid;
  place-items: center;
  border: 1px solid rgb(35 67 51 / 13%);
  border-radius: inherit;
  background: linear-gradient(160deg, rgb(255 255 255 / 32%), transparent 54%), var(--cap-top);
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 85%),
    inset -1px -1px 0 rgb(49 79 59 / 10%),
    0 calc(var(--cap-depth) - var(--cap-travel) - 1px) 0 var(--cap-front),
    0 calc(var(--cap-depth) - var(--cap-travel)) 0 var(--cap-edge),
    0 calc(var(--cap-depth) - var(--cap-travel) + 1px) 2px rgb(36 66 47 / 18%);
  transform: translateY(var(--cap-travel));
  pointer-events: none;
}
.key:is([aria-label="F"], [aria-label="J"]) .key-legend::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 8px;
  height: 2px;
  background: rgb(42 76 53 / 20%);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 65%);
}
.keyboard .key:hover { filter: none; }
@media (hover: hover) {
  .key:enabled:hover .key-legend { filter: brightness(.98); }
}
.keyboard .key:enabled:active, .keyboard .key.is-pressed { --cap-travel: 5px; }
.keyboard .key:focus-visible { outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .key-legend { transition: transform 70ms ease-out, box-shadow 70ms ease-out; }
  .key:active .key-legend, .key.is-pressed .key-legend { transition-duration: 25ms; }
}
@media (forced-colors: active) {
  .key-legend { border: 1px solid ButtonText; }
  .key-legend::after { forced-color-adjust: none; }
}
.game-bottom { align-items: center; flex-wrap: wrap; gap: 2px 6px; }
#key-sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding-inline: 4px;
  color: #325c4d;
  font-size: 11px;
  white-space: nowrap;
}
#key-sound[hidden],
#key-sound[aria-pressed="true"] .sound-muted,
#key-sound[aria-pressed="false"] .sound-waves { display: none; }
.season-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: #124e48; color: #f7fcf2; padding: clamp(20px,2.25vw,31px); border-color: #1e615a;
}
.season-card::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; width: 180px; height: 180px;
  top: -143px; right: -60px; border-radius: 43% 49% 48% 40%; transform: rotate(-17deg);
  background: #0a3e3b; box-shadow: 0 4px 4px #0c3d3a, 0 0 0 14px #196257, 0 18px 3px #0b463f, 0 0 0 31px #368371, 0 35px 3px #105449, 0 0 0 49px #5c9c7e;
}
.season-top { align-items: center; }
.season-top .eyebrow { color: #c5e6c9; letter-spacing: .13em; }
.score-rosette {
  width: 27px; height: 29px; display: inline-block; transform: rotate(-13deg);
  background: conic-gradient(from 45deg,#f9cf7f,#f9cf7f 25%,#f1a25f 25%,#f1a25f 50%,#ffdd9c 50%,#ffdd9c 75%,#f5b56a 75%);
  clip-path: polygon(50% 0,64% 35%,100% 49%,64% 63%,50% 100%,35% 64%,0 50%,36% 36%);
}
.season-card h3 { margin: 12px 0 8px; color: #fffef4; font: 700 clamp(25px,2.45vw,35px)/1.08 var(--display); letter-spacing: -.052em; }
.season-card p { max-width: 31ch; margin: 0; color: #e0eee1; line-height: 1.5; font-size: 14px; }
.season-stats { gap: 45px; margin-block: 20px; }
.season-stats strong { color: #f4f7d4; font-weight: 750; letter-spacing: -.07em; }
.season-stats span,.season-foot { color: #cbe5d5; }
.season-card .light { border-radius: 12px; background: #e1f0d8; color: #173f35; }
.season-foot .status-dot { background: #bdd780; }
.ad-slot[hidden] { display: none; }
.faq details,footer { border-color: var(--line); }
.faq summary { font-weight: 650; font-size: 15px; }
.faq details p { font-size: 14px; color: var(--muted); }
@media (min-width: 601px) and (max-width: 900px) {
  .field-cover { width: calc(100% - 24px); min-height: 345px; padding-inline: 30px; }
  .field-cover .hero-copy { width: 54%; }
  .field-cover h1 { font-size: clamp(50px,7.1vw,64px); }
  .trail-illustration { object-position: 52% center; }
  .field-scene::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#d7eedb 1%,#d7eedbed 22%,transparent 62%); }
}
@media (max-width: 600px) {
  .header { height: 62px; padding-inline: 15px; gap: 8px; }
  .brand { font-size: 24px; }
  .brandmark { width: 26px; height: 27px; margin-right: 6px; font-size: 23px; }
  .header nav { margin-left: auto; gap: 12px; }
  .header nav a { font-size: 12px; }
  .header nav a:nth-child(3) { display: none; }
  .profile-link { font-size: 0; gap: 0; padding: 3px; min-width: 44px; min-height: 44px; border: 0; background: transparent; }
  .profile-face { width: 34px; height: 34px; }
  .field-cover {
    width: calc(100% - 20px); min-height: 0; padding: 25px 19px 172px; border-radius: 21px;
    background: #d8efdd; display: block;
  }
  .field-cover .hero-copy { width: 100%; }
  .field-cover h1 { margin: 9px 0 10px; font-size: clamp(45px,12vw,64px); }
  .field-cover .hero-description { font-size: 14px; max-width: 34ch; }
  .hero-actions { margin-top: 14px; gap: 8px; }
  .hero-actions .dark { padding: 12px 14px; gap: 9px; }
  .hero-actions .text-button { padding-inline: 12px; }
  .field-scene picture,#trail-film { top: auto; height: 49%; }
  .trail-illustration { object-position: 86% 59%; }
  .field-scene::after { content:''; position:absolute; inset:50% 0 auto; height:13%; background: linear-gradient(#d8efdd 12%,transparent); }
  .scene-control { right: 8px; bottom: 8px; padding: 0; }
  .scene-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .section-heading { margin-bottom: 13px; }
  .season-card p { max-width: 33ch; min-height: auto; }
  .season-stats { position: static; margin-block: 17px; }
}
@media (max-width: 350px) {
  .header { padding-inline: 9px; gap: 4px; }
  .header nav { gap: 8px; }
}
