@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fredoka-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root{--ink:#111920;--muted:#3c5862;--blue:#c3e9f4;--paper:#eef7f9;--line:#98bbc5;--yellow:#ffe66e;--type:'Fredoka',ui-rounded,system-ui,sans-serif;font-family:var(--type);color:var(--ink);background:var(--blue);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}body,p,h1,h2,h3,dl,dd{margin:0}body{min-width:280px}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}button:not(:disabled){cursor:pointer}img{display:block;max-width:100%;height:auto}[hidden]{display:none!important}:focus-visible{outline:3px solid #246780;outline-offset:5px}html{scroll-behavior:smooth}section[id]{scroll-margin-top:25px}::selection{background:var(--yellow);color:var(--ink)}
.wrap{width:auto;margin-inline:clamp(16px,3vw,48px)}.mono{font-family:var(--type)}.header{border-bottom:1px solid #a7ccd7}.nav{min-height:73px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;font-size:1.45rem;font-weight:650;letter-spacing:-.025em;white-space:nowrap}.brand-icon{display:inline-grid;place-items:center;width:35px;height:35px;background:var(--ink);color:var(--yellow);border-radius:50%;margin-right:9px;font-size:1.46rem;font-family:var(--type);line-height:1;letter-spacing:0}.nav-links{display:flex;align-items:center;gap:35px;font-size:.875rem;font-weight:600}.nav-links a:hover,.site-footer a:not(.brand):hover{ text-decoration:underline;text-underline-offset:4px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:100px;border:1px solid transparent;font-size:.9rem;font-weight:700;white-space:nowrap;min-height:43px;padding:7px 16px;transition:background .2s,transform .2s,color .2s}.dark{color:var(--blue);background:var(--ink)}.dark:hover{background:#293943;transform:translateY(-2px)}.pill:active{transform:translateY(1px)}.button-orb{display:grid;place-items:center;background:var(--yellow);color:var(--ink);border-radius:50%;width:25px;height:25px;font-size:.58rem;padding-left:1px}.primary{min-height:56px;padding:8px 10px 8px 21px;font-size:1rem;gap:17px}.primary .button-orb{width:34px;height:34px;font-size:.66rem}
.hero{overflow:hidden;background:radial-gradient(ellipse at 73% 37%,#d4f3fa00 30%,#c3e9f477 75%),var(--blue)}.hero-layout{display:grid;align-items:center;grid-template-columns:1.04fr .96fr;gap:clamp(23px,4vw,66px);min-height:600px;padding-block:62px 66px}.hero-copy{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:9px;font:600 .75rem/1.3 var(--type);letter-spacing:.085em}.hero-copy .eyebrow,.game-intro .eyebrow{border:1px solid #82acb8;padding:7px 11px;border-radius:100px}.status-dot{width:8px;height:8px;background:#18647c;border-radius:50%;box-shadow:0 0 0 3px #91c8d8}.hero h1,.game-intro h1{font-size:clamp(4.25rem,7.38vw,7.05rem);font-weight:650;line-height:.94;letter-spacing:-.025em;margin:24px 0 25px}.hero h1 em{font-style:normal;position:relative;white-space:nowrap}.hero h1 em::after{content:'';position:absolute;bottom:-.035em;height:.13em;left:.045em;right:.06em;border-top:.041em solid #22718a;border-radius:52% 45% 0 0;transform:rotate(-5deg);z-index:-1}.hero-copy p{font-size:1.13rem;line-height:1.52;max-width:470px;color:#263f49}.hero-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-top:29px}.text-link{font-size:.925rem;font-weight:700;border-bottom:1px solid #6d929f;padding-block:4px}.text-link:hover{border-color:var(--ink)}
.hero-art,.machine{border:1px solid #7aa6b5;border-radius:20px;background:#d8f3fa;overflow:hidden;box-shadow:0 18px 48px #275a7011}.hero-art{transform:rotate(-2deg)}.art-meta,.machine-top{height:47px;display:flex;align-items:center;justify-content:space-between;padding-inline:17px;font-size:.72rem;font-weight:600;letter-spacing:.06em}.art-meta b,.machine-top b{font-size:.95rem;margin-right:4px}.art-footer{height:39px;color:#315361}.art-grid,.arena{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;background-color:#9cd8ea;background-image:linear-gradient(#31748c29 1px,transparent 1px),linear-gradient(90deg,#31748c29 1px,transparent 1px),radial-gradient(ellipse at center,#e4fcf9,#a8dcec 68%,#92c9e0);background-size:24px 24px,24px 24px,100% 100%;background-position:center;border-block:1px solid #7aa6b5}.art-grid{aspect-ratio:1.49}.orbit{position:absolute;aspect-ratio:1;border-radius:50%;width:79%;max-width:410px;border:1px dashed #347894;pointer-events:none;opacity:.62}.orbit-inner{width:65%;max-width:340px;border-style:solid;opacity:.45}.orbit-line{width:84%;height:35%;position:absolute;transform:rotate(-27deg);border:1px solid #f0ffff;border-radius:50%;opacity:.84;pointer-events:none}.hero-coin{width:62%;max-width:351px;filter:drop-shadow(7px 19px 20px #15687b67);transform:rotate(12deg);z-index:1;user-select:none}.art-cross,.art-star{position:absolute;color:#1c5364}.cross-top{left:18px;top:15px}.cross-bottom{right:18px;bottom:13px}.art-star{font-size:2rem;line-height:1}.star-top{top:16%;right:14%}.star-bottom{bottom:17%;left:15%;color:#effffc;font-size:2.4rem}.reward-tag{position:absolute;z-index:2;right:9%;bottom:13%;transform:rotate(8deg);background:var(--yellow);border:1px solid var(--ink);box-shadow:3px 4px 0 var(--ink);border-radius:7px;padding:7px 10px;font-family:var(--type);font-size:clamp(.95rem,2vw,1.5rem);font-weight:600;white-space:nowrap}.reward-tag small{font-size:.55em}
.ticker{overflow:hidden;background:var(--ink);color:var(--blue);padding:14px 0;border-block:1px solid var(--ink)}.ticker-track,.ticker-track>div{display:flex;align-items:center;width:max-content;gap:22px}.ticker-track{animation:marquee 29s linear infinite}.ticker-track>div{font-size:1.24rem;font-weight:700;white-space:nowrap}.ticker i{font-style:normal;color:var(--yellow);font-size:1.04rem}@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 11px))}}
.section{padding:76px 0 85px}.economy{background:var(--paper)}.section-intro{display:grid;grid-template-columns:1.15fr .85fr;gap:38px;align-items:end;margin-bottom:36px}.section-mark{font-size:.98rem}.section h2,.closing h2{font-size:clamp(3rem,5.6vw,5.55rem);font-weight:650;letter-spacing:-.025em;line-height:.96;margin-top:10px}.section-intro p{font-size:1.11rem;line-height:1.55;color:#2b4752;max-width:455px;padding-bottom:4px}.allocation{display:grid;grid-template-columns:1fr 1fr;gap:16px}.allocation-card{border:1px solid #a6c7d0;border-radius:18px;padding:25px;position:relative;min-height:200px}.player-card{background:#d8edf4}.burn-card{background:#f7e897;border-color:#bfaf69}.amount{font-size:clamp(2.8rem,5.25vw,5rem);font-weight:650;line-height:1.13;letter-spacing:-.025em}.amount small{font:600 .9rem var(--type);letter-spacing:.02em}.allocation-card h3,.mechanics-grid h3{font-size:1.29rem;margin-top:12px;letter-spacing:-.012em}.allocation-card p,.mechanics-grid p{margin-top:8px;font-size:1rem;line-height:1.5;color:#324850}.card-icon{position:absolute;right:23px;top:22px;font-size:1.3rem}.economy-note{margin-top:22px;font-size:.94rem;line-height:1.5;color:#37535d}.mechanics{border-block:1px solid var(--line);background:#d0edf5}.mechanics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.mechanics-grid article{padding:21px 23px 25px;border:1px solid #99bbc5;border-radius:15px;background:#e3f4f8}.mechanic-icon{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--ink);color:var(--yellow);font:600 1.2rem var(--type)}.closing{padding-block:61px;background:var(--blue)}.closing .wrap,.site-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.closing h2{margin:0}.site-footer{border-top:1px solid #94b8c4;font-size:.875rem;background:#b9e0ed}.site-footer .wrap{min-height:72px}.site-footer .brand{font-size:1.15rem}.site-footer .brand-icon{width:27px;height:27px;font-size:1.1rem}
.play-page{background:var(--paper)}.play-page .header{background:var(--blue)}.play-page .site-footer{background:#d7eef5}.game-wrap{padding-block:34px 53px;max-width:1120px}.game-intro{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:23px}.game-intro h1{font-size:clamp(3.7rem,6.15vw,6rem);margin:9px 0 0}.game-intro p{max-width:310px;color:var(--muted);line-height:1.5;padding-bottom:4px}.game-layout{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(252px,1fr);gap:17px}.machine-top{height:44px}.machine{border-color:#9abdc8;background:#d7edf4}.sound{min-height:32px;border:1px solid #99bac4;background:#eaf8fb;border-radius:100px;font-size:.75rem;padding:0 11px;font-weight:600}.sound:hover{background:white}.arena{height:clamp(270px,30vw,382px);touch-action:manipulation}.arena .orbit-out{width:68%;max-width:390px}.arena .orbit-inner{width:60%;max-width:320px}.arena .orbit-line{width:70%;max-width:440px}.coin-button{position:relative;z-index:1;width:min(64%,275px);border:0;background:none;padding:0;border-radius:50%;user-select:none;touch-action:manipulation;transition:filter .2s,transform .15s}.coin-button img{width:100%;pointer-events:none;transform:rotate(8deg);filter:drop-shadow(4px 13px 14px #225a6d85)}.coin-button:hover:not(:disabled){transform:scale(1.045)}.coin-button:active:not(:disabled){transform:scale(.94)}.coin-button:disabled{cursor:wait;opacity:.76}.coin-button.strike{animation:strike .28s ease-out}.arena.hot .coin-button img{filter:drop-shadow(0 0 20px #fff08c) drop-shadow(4px 13px 14px #225a6d85)}@keyframes strike{0%{transform:scale(.91) rotate(-5deg)}56%{transform:scale(1.08) rotate(3deg)}100%{transform:scale(1)}}.machine-bottom{min-height:62px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;padding:10px 17px}.machine-bottom span{font-size:.85rem;color:#385566}.machine-bottom .error{color:#8f281f}.combo{position:absolute;z-index:3;top:14px;left:15px;pointer-events:none;border:1px solid var(--ink);background:var(--yellow);border-radius:6px;padding:5px 8px;font-weight:600;font-size:.76rem;box-shadow:2px 2px 0 var(--ink)}
.game-sidebar{display:flex;flex-direction:column;gap:14px}.game-card{background:#fff;border:1px solid #bad4dc;border-radius:16px;padding:19px 20px}.stats{flex:1}.score{display:flex;align-items:end;gap:8px;margin:7px 0 12px;font-size:clamp(2.7rem,4.7vw,4.4rem);line-height:.9;letter-spacing:-.025em;font-weight:650;font-variant-numeric:tabular-nums}.score small{font-size:.85rem;color:var(--muted);letter-spacing:0;font-weight:600;padding-bottom:3px}.stats dl>div{display:flex;justify-content:space-between;gap:7px;padding-block:9px;border-top:1px solid #d7e5e9}.stats dt{color:var(--muted);font-size:.9rem}.stats dd,.goals span{font:600 .82rem var(--type);white-space:nowrap}.goals{background:#e7f5f8}.goals>div{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:.9rem;font-weight:600}.goals p{font-size:.83rem;margin-top:7px;color:#295461}.goals progress{display:block;width:100%;height:8px;margin:7px 0 13px;border:0;border-radius:50px;overflow:hidden;background:#cfe5ec;appearance:none}.goals progress:last-of-type{margin-bottom:2px}.goals progress::-webkit-progress-bar{background:#cfe5ec}.goals progress::-webkit-progress-value{background:#246a83;border-radius:50px}.goals progress::-moz-progress-bar{background:#246a83;border-radius:50px}.history{margin-top:15px}.history-header,.history li{display:flex;align-items:center;justify-content:space-between;gap:8px}.history h2{font-size:1.17rem;letter-spacing:-.012em}.history-header .mono{font-size:.7rem;color:#466976}.history p{margin-top:9px;color:var(--muted);font-size:.91rem}.history ol{margin:0;padding:0;list-style:none}.history li{border-top:1px solid #dde9ed;margin-top:8px;padding-top:8px;font-size:.875rem}.history li time{color:var(--muted)}.history li a{text-decoration:underline;text-underline-offset:3px}
.effects{position:absolute;z-index:2;top:50%;left:50%;pointer-events:none}.particle,.floating,.ripple{position:absolute;pointer-events:none}.particle{border-radius:50%;background:var(--yellow);box-shadow:0 0 6px #f8ffbd;animation:scatter .62s ease-out both}.floating{font:650 1rem var(--type);background:var(--yellow);border:1px solid var(--ink);border-radius:6px;padding:3px 7px;white-space:nowrap;animation:float-up .68s ease-out both}.ripple{border:2px solid #fff9bf;border-radius:50%;width:130px;aspect-ratio:1;animation:expand .53s ease-out both}@keyframes scatter{from{transform:translate(-50%,-50%);opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(.35);opacity:0}}@keyframes float-up{from{transform:translate(-50%,-35px) scale(.85);opacity:1}30%{opacity:1}to{transform:translate(calc(-50% + var(--drift)),-134px) scale(1.06);opacity:0}}@keyframes expand{from{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(-50%,-50%) scale(2.8);opacity:0}}
@media(max-width:960px){.hero-layout{min-height:unset;padding-block:65px;gap:31px}.hero h1{font-size:clamp(3.6rem,8vw,5.15rem)}.hero-copy p{font-size:1.02rem}.hero-actions{gap:14px}.section{padding-block:62px}.section-intro{gap:24px}}
@media(max-width:690px){.nav{min-height:60px;gap:10px}.nav-links{display:none}.brand{font-size:1.23rem}.brand-icon{width:30px;height:30px;font-size:1.2rem;margin-right:7px}.nav-action{min-height:39px;padding:5px 10px;gap:7px;font-size:.82rem}.hero-layout{grid-template-columns:1fr;gap:30px;padding-block:38px 33px}.hero h1{font-size:clamp(3.5rem,12.1vw,6rem);margin:17px 0 20px}.hero-actions{margin-top:20px}.hero-art{transform:rotate(-1deg);width:calc(100% - 7px);justify-self:center}.art-meta{height:35px;font-size:.61rem;padding-inline:10px}.art-footer{height:32px}.ticker{padding-block:11px}.ticker-track>div{font-size:1.08rem}.section{padding-block:46px}.section-intro{grid-template-columns:1fr;gap:17px;margin-bottom:22px}.section-intro p{font-size:1rem;padding:0}.allocation,.mechanics-grid{grid-template-columns:1fr;gap:10px}.allocation-card{min-height:unset;padding:19px}.mechanics-grid article{padding:17px}.closing{padding-block:41px}.closing .wrap{align-items:flex-start;flex-direction:column}.site-footer .wrap{min-height:63px;gap:12px}.site-footer .wrap>span{display:none}.game-wrap{padding-block:26px 39px}.game-intro{gap:9px;flex-direction:column;align-items:stretch;margin-bottom:14px}.game-intro p{max-width:100%;font-size:.94rem}.game-layout{grid-template-columns:1fr;gap:12px}.arena{height:clamp(246px,65vw,330px)}.machine-bottom{min-height:54px;padding:9px 12px}.machine-bottom span{font-size:.81rem}.game-sidebar{gap:10px}.history{margin-top:10px}}
@media(max-width:370px){.hero h1{font-size:clamp(2.7rem,12vw,3.45rem)}.hero-actions .primary{font-size:.89rem;padding-left:13px;gap:7px}.hero-actions .text-link{font-size:.81rem}.hero-actions{gap:12px}.game-card{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}.ticker-track{animation:none}.effects{display:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.scout-companion {
  position: fixed;
  z-index: 6;
  right: calc(env(safe-area-inset-right, 0px) + clamp(8px, 1.8vw, 28px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(8px, 1.8vh, 20px));
  width: clamp(54px, 6vw, 88px);
  aspect-ratio: 1;
  border-radius: 46%;
  transform: translate(var(--scout-x, 0px), var(--scout-y, 0px));
  transition: transform 220ms ease-out;
  filter: drop-shadow(0 2px 1px #fff2cfb3) drop-shadow(0 3px 3px #15291f40);
}
a.scout-companion { touch-action: manipulation; }
.play-page .scout-companion { pointer-events: none; }
@media (max-width: 1500px) {
  .site-footer .wrap { padding-inline-end: calc(clamp(54px, 6vw, 88px) + 24px); }
}
.scout { width: 100%; height: auto; display: block; overflow: visible; }
.scout-pupils { transform: translate(var(--gaze-x, 0px), var(--gaze-y, 0px)); }
.scout-figure { transform-origin: 80px 139px; animation: breathe 2.4s ease-in-out infinite; }
a.scout-companion:hover .scout-figure { animation-duration: 1.4s; }
.scout-leg { transform-box: fill-box; transform-origin: top center; }
.is-walking .foot-left { animation: step .3s ease-in-out infinite alternate; }
.is-walking .foot-right { animation: step .3s ease-in-out infinite alternate-reverse; }
.is-walking .scout-figure { animation: jog .3s ease-in-out infinite alternate; }
@keyframes breathe { 50% { transform: translateY(-2px) rotate(-2deg); } }
@keyframes step { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes jog { to { transform: translateY(-5px) rotate(3deg); } }
.arcade-icon { width: 1.45em; height: 1.45em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.brand-icon .arcade-icon { width: 80%; height: 80%; }
.button-orb { padding: 0; background: var(--yellow); }
.button-orb .arcade-icon { width: 83%; height: 83%; }
.card-icon .arcade-icon { width: 42px; height: 42px; transform: rotate(7deg); }
.mechanic-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff7df; border: 1.5px solid var(--ink); box-shadow: 2px 3px 0 #26424a; }
.mechanic-icon .arcade-icon { width: 34px; height: 34px; }
.section-mark .arcade-icon, .art-meta .arcade-icon, .machine-top .arcade-icon { width: 19px; height: 19px; }
.sound { display: inline-flex; gap: 5px; align-items: center; }
#welcome:focus:not(:focus-visible) { outline: 0; }
@media (prefers-reduced-motion: reduce) {
  .scout-companion { transform: none; transition: none; }
  .scout-figure, .scout-leg { animation: none !important; }
}

/* Rounded lettering and pocket-sized arcade stickers. */
.brand { gap: .18em; font-size: 1.8rem; font-weight: 650; letter-spacing: -.035em; }
.brand-icon, .site-footer .brand-icon { width: 1.48em; height: 1.48em; margin: 0; font-size: inherit; background: transparent; }
.brand-icon .arcade-icon { width: 100%; height: 100%; transform: rotate(-7deg); }
.site-footer .brand { font-size: 1.48rem; }
.dark {
  background: #ffab8e;
  color: #302933;
  border: 2px solid #352e39;
  border-radius: 18px 22px 18px 21px;
  box-shadow: 0 3px 0 #352e39;
  font-weight: 600;
}
.dark:hover { background: #ffbd9f; color: #302933; }
.dark:active { box-shadow: 0 1px 0 #352e39; }
.button-orb, .primary .button-orb { background: transparent; width: 1.55rem; height: 1.55rem; }
.button-orb .arcade-icon { width: 100%; height: 100%; transform: rotate(-5deg); }
.primary { padding-inline: 1.2rem .85rem; font-size: 1.1rem; gap: .6rem; }
.decor-star { width: 1em; height: 1em; vertical-align: -.12em; }
.mechanic-icon { background: #fff9e9; border-color: #534654; box-shadow: 1px 3px 0 #534654; border-radius: 18px 13px 18px 14px; }
.eyebrow, .art-meta, .machine-top { letter-spacing: .045em; }
@media (max-width: 690px) { .brand { font-size: 1.52rem; } }
