@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(./assets/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(./assets/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(./assets/font-7.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(./assets/font-8.ttf) format('truetype');
}

:root{--yellow:#ffda29;--ink:#19191b;--paper:#fffdf6;--purple:#c9b0fb;--pink:#f3639b;--line:2px solid var(--ink);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--yellow);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #7954ca;outline-offset:5px}button[hidden],[hidden]{display:none!important}.arcade{max-width:1110px;margin:auto;padding:28px 32px 20px}.brandbar{display:flex;align-items:center;gap:24px;margin-bottom:24px}.wordmark{text-decoration:none;color:var(--ink);font-weight:1000;font-size:34px;letter-spacing:-2.1px;line-height:1}.wordmark span{font-size:13px;vertical-align:top;letter-spacing:0;margin:2px 0 0 3px;display:inline-block}.edition{font-size:12px;letter-spacing:1.6px;font-weight:800;border-left:1px solid #1a1a1a66;padding-left:24px}.utilities{display:flex;gap:8px;margin-left:auto}.iconbutton{width:41px;height:41px;border:var(--line);border-radius:50%;display:grid;place-items:center;background:transparent}.iconbutton:hover{background:var(--paper)}.iconbutton svg,.timer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.iconbutton:disabled{cursor:default;opacity:.25}.cabinet{border:var(--line);background:var(--paper);border-radius:18px;overflow:hidden;box-shadow:6px 7px 0 var(--ink)}.scorebar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:13px 27px;border-bottom:var(--line);position:relative}.metric,.lives{min-width:150px}.metric>span,.lives>span{font-weight:800;font-size:12px;letter-spacing:1.2px;display:block}.metric>strong{font-size:31px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.2}.timer{display:flex;gap:8px;align-items:center;position:absolute;left:50%;transform:translateX(-50%);background:var(--yellow);padding:6px 17px;border:var(--line);border-radius:50px;min-width:108px;justify-content:center}.timer strong{font-size:29px;font-weight:900;font-variant-numeric:tabular-nums}.timer strong span{font-size:16px;margin-left:2px}.timer.urgent{background:var(--pink)}.lives{text-align:right}.lives>div{display:flex;justify-content:flex-end;gap:7px;font-size:27px;line-height:1.3;color:var(--ink)}.lives .lost{color:#d8d4cb}.game-layout{display:grid;grid-template-columns:minmax(0,1.34fr) minmax(300px,1fr)}.portrait-wrap{padding:17px;background:var(--purple);border-right:var(--line);display:flex;align-items:center}.stage{width:100%;aspect-ratio:1;position:relative;background:#f3c9b2;border:var(--line);border-radius:12px;overflow:hidden;isolation:isolate;user-select:none;touch-action:manipulation}.stage>img,.stage>canvas,.targets{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stage>img{pointer-events:none}.stage>canvas{pointer-events:none;z-index:2}.targets{z-index:3}.hair-target,.brow-danger{background:none;border:0;position:absolute;padding:0;transform:translate(-50%,-50%);border-radius:50%;touch-action:manipulation}.hair-target{width:8%;height:8%;min-width:28px;min-height:28px}.hair-target:hover{background:#ffffff20}.hair-target:focus-visible{outline:3px solid var(--yellow);outline-offset:0;background:#ffffff45}.brow-danger:focus-visible{outline:3px solid #eb4c6f;background:#f3639b30}.stage-label{position:absolute;z-index:4;top:16px;left:16px;right:16px;display:flex;align-items:center;font-size:12px;letter-spacing:1.7px;font-weight:900;pointer-events:none}.stage-label>span:last-child{margin-left:auto;border:1.5px solid var(--ink);border-radius:100%;width:30px;height:30px;display:grid;place-items:center;font-size:13px;letter-spacing:0}.sparkle{font-size:23px;margin-right:8px}.stage-hint{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:4;background:var(--paper);border:var(--line);border-radius:30px;padding:9px 16px;font-size:13px;font-weight:800;white-space:nowrap;pointer-events:none}.combo{position:absolute;z-index:4;right:15px;top:63px;transform:rotate(7deg);display:flex;flex-direction:column;text-align:center;background:var(--yellow);border:var(--line);border-radius:12px;padding:9px 13px;pointer-events:none;box-shadow:3px 3px 0 var(--ink)}.combo strong{font-size:32px;font-weight:1000;line-height:1}.combo span{font-size:12px;font-weight:900;margin-top:4px;letter-spacing:.5px}.pause-screen,.loading-screen{position:absolute;inset:0;z-index:8;background:#fffdf6ed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:25px}.pause-screen>span{font:900 52px/.9 'Barlow Condensed',Impact,sans-serif}.loading-screen{font-weight:800}.game-panel{padding:25px 29px 20px;display:flex;flex-direction:column;position:relative}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.pill{border:1.5px solid var(--ink);border-radius:30px;padding:7px 10px;font-size:12px;letter-spacing:.8px;font-weight:800}.tiny-star{font-size:30px;line-height:1}.panel-view{margin-top:19px;flex:1}h1,h2{font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;font-weight:900;letter-spacing:-2px;line-height:.82;margin:0;font-size:clamp(75px,8.2vw,100px)}h1 span,h2 span{color:var(--ink);-webkit-text-stroke:0}.lead{font-size:20px;font-weight:800;line-height:1.18;letter-spacing:-.4px;margin:17px 0 20px}.instructions{margin:18px 0 24px}.instructions p{font-size:13px;font-weight:650;display:flex;gap:10px;align-items:center;margin:11px 0;line-height:1.35}.instructions p>span{font-size:12px;border:1px solid var(--ink);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;flex-shrink:0}.primary{width:100%;min-height:53px;display:flex;align-items:center;justify-content:space-between;background:var(--yellow);border:var(--line);border-radius:8px;padding:13px 17px;font-size:17px;font-weight:900;box-shadow:3px 3px 0 var(--ink);transition:transform .14s,box-shadow .14s}.primary:hover:not(:disabled){transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}.primary:active:not(:disabled){transform:translate(3px,3px);box-shadow:0 0 0 var(--ink)}.primary>span{font-size:24px;line-height:1}.control-hint{font-size:12px;text-align:center;margin:11px 0 0;color:#5e5c57}.record{margin-top:25px;padding-top:14px;border-top:1px solid #19191b33;display:flex;align-items:center;justify-content:space-between;gap:15px}.record>span{font-size:12px;font-weight:800;letter-spacing:.7px;max-width:155px;line-height:1.5}.record strong{font-size:21px;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1px;display:block;margin:0 0 16px}.progress-block{margin:34px 0 22px}.progress-block>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;letter-spacing:.5px}.progress-track{height:11px;background:#e9e4d9;border:1.5px solid var(--ink);border-radius:20px;overflow:hidden;margin-top:10px}.progress-track>div{height:100%;background:var(--purple);width:0;transition:width .2s}.tip{font-size:14px;display:flex;gap:10px;line-height:1.5}.tip>span:first-child{font-size:24px}.result-message{font-size:15px;font-weight:600;line-height:1.4;margin:12px 0 17px}.final-score{display:flex;align-items:baseline;gap:10px;margin-top:20px}.final-score strong{font-size:57px;line-height:1;font-weight:1000;letter-spacing:-2px}.final-score span{font-size:12px;font-weight:800}.result-stats{display:flex;gap:20px;font-size:12px;font-weight:700;padding:0 0 19px}.result-stats strong{font-size:15px;margin-left:4px}.game-panel:has(#result:not([hidden])) h2{font-size:74px}.game-panel:has(#result:not([hidden])) .record{margin-top:20px}footer{display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:800;letter-spacing:.7px;padding:22px 3px 0}footer b{font-weight:1000}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stage.shake{animation:shake .24s}.stage.round-clear{animation:cheer .4s}@keyframes shake{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}@keyframes cheer{50%{filter:brightness(1.08)}}
@media(min-width:1050px){.arcade{padding-top:33px}.stage{max-height:570px}.game-panel{padding:28px 34px 22px}.panel-view{margin-top:23px}.instructions{margin-top:22px;margin-bottom:27px}}
@media(max-width:760px){.arcade{max-width:520px;padding:18px 14px 17px}.brandbar{margin-bottom:17px;gap:10px}.wordmark{font-size:28px}.edition{display:none}.iconbutton{width:36px;height:36px}.cabinet{border-radius:14px;box-shadow:4px 5px 0 var(--ink)}.scorebar{height:70px;padding:10px 17px}.metric,.lives{min-width:75px}.metric>span,.lives>span{font-size:12px;letter-spacing:.8px}.metric>strong{font-size:25px}.lives>div{font-size:23px;gap:4px}.timer{padding:3px 12px;min-width:92px}.timer strong{font-size:25px}.game-layout{display:flex;flex-direction:column}.portrait-wrap{padding:11px;border-right:0;border-bottom:var(--line)}.stage{aspect-ratio:1.1}.stage>img,.stage>canvas,.targets{top:50%;transform:translateY(-50%);height:auto;aspect-ratio:1}.stage-label{top:10px;left:11px;right:11px;font-size:12px}.stage-hint{bottom:13px;font-size:12px;padding:8px 13px}.game-panel{padding:20px}.panel-top{display:none}.panel-view{margin:0}#intro{display:grid;grid-template-columns:1fr 1.25fr;gap:0 18px;align-items:start}h1{font-size:62px;letter-spacing:-1.5px}.lead{font-size:17px;margin:0}.instructions{grid-column:2;grid-row:1/3;margin:0;align-self:center}.instructions p{font-size:12px;margin:8px 0;gap:7px}.instructions p>span{width:21px;height:21px}#intro>.lead{grid-column:1;grid-row:2;margin-top:10px}#intro>.primary{grid-column:1/-1;margin-top:20px}#intro>.control-hint{grid-column:1/-1}.record{margin-top:16px;padding-top:12px}.record>span{max-width:none;font-size:12px}.record strong{font-size:19px}.eyebrow{font-size:12px;margin-bottom:7px}#playing h2{font-size:54px;line-height:.88}#playing h2 br{display:none}#playing h2 span{margin-left:8px}#playing .lead{font-size:14px;line-height:1.3;margin-top:12px}#playing .lead br{display:none}.progress-block{margin:16px 0 8px}.tip{font-size:12px;margin:12px 0 0}.tip>span:first-child{font-size:20px}.game-panel:has(#result:not([hidden])) h2{font-size:57px}.game-panel:has(#result:not([hidden])) h2 br{display:none}.game-panel:has(#result:not([hidden])) h2 span{margin-left:8px}.final-score{margin-top:15px}.final-score strong{font-size:46px}.result-message{font-size:14px;margin:11px 0}.result-stats{padding-bottom:16px}footer{font-size:12px;justify-content:center;letter-spacing:.7px;padding-top:19px}footer>span:last-child{display:none}.combo{right:10px;top:52px;padding:7px 10px}.combo strong{font-size:25px}.combo span{font-size:12px}}
@media(max-width:355px){.game-panel{padding:16px}h1{font-size:54px}.instructions p{font-size:12px}.record>span{max-width:150px}.game-panel:has(#result:not([hidden])) h2{font-size:47px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

.instructions p{font-size:14px}.control-hint,.stage-hint{font-size:14px}.record>span{font-size:12px}.stage-label{font-size:12px}.combo span{font-size:12px}
@media(max-width:760px){.instructions p{font-size:14px}.control-hint{font-size:12px}.stage-hint{font-size:12px}.pill{font-size:12px}.record>span{font-size:12px;max-width:220px}footer{font-size:12px}.stage-label{font-size:12px}.combo span{font-size:12px}}
/* Shared arcade profiles and score table */
.player-badge{background:var(--ink);color:var(--yellow);font-size:12px;letter-spacing:1px;font-weight:900;padding:8px 11px;border-radius:5px;margin-bottom:15px;overflow-wrap:anywhere}.insert-button{letter-spacing:1px}.back-button,.text-button{border:0;background:none;padding:0;font-size:14px;font-weight:800;text-decoration:underline;text-underline-offset:4px}.back-button{margin-bottom:18px}.register-title{font-size:58px!important;letter-spacing:-1px;line-height:.9}.registration-intro{font-size:15px;line-height:1.4;margin:14px 0 20px}#registerForm>label:not(.consent){display:block;font-size:14px;font-weight:800;margin:14px 0 7px}#registerForm>input{font:inherit;width:100%;font-size:16px;min-height:46px;border:1.5px solid var(--ink);border-radius:6px;background:#fff;padding:11px 13px;outline-offset:3px}#registerForm>input:focus{outline:3px solid var(--purple)}.field-hint{font-size:12px;line-height:1.5;color:#67615a;margin:6px 0 9px}.consent{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.45;margin:19px 0 21px;cursor:pointer}.consent>input{width:19px;height:19px;accent-color:var(--ink);margin:2px 0 0;flex-shrink:0}.optional{color:#67615a}.form-error{font-size:14px;line-height:1.45;background:#ffe3e9;border-left:3px solid #a51b48;padding:11px 12px}.save-status{font-size:12px;line-height:1.5;font-weight:800;overflow-wrap:anywhere}#retryScore{font-size:13px;margin:0 0 15px}#register{margin-top:18px}.game-panel:has(#register:not([hidden])) .panel-top{display:none}.game-panel:has(#register:not([hidden])) .record{display:none}.game-panel:has(#register:not([hidden])){padding-top:19px}.leaderboard{margin-top:31px;border:var(--line);border-radius:14px;background:var(--paper);overflow:hidden;box-shadow:4px 5px 0 var(--ink);padding:26px 28px 18px}.leaderboard-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.leaderboard-heading .eyebrow{margin-bottom:10px;font-size:12px}.leaderboard h2{font-size:52px;line-height:.95;letter-spacing:-.8px}.leaderboard h2>span{display:inline-block;color:var(--yellow);-webkit-text-stroke:1.5px var(--ink);font-size:39px;margin-left:12px;vertical-align:top}.refresh-button{border:var(--line);background:var(--purple);width:41px;height:41px;border-radius:50%;font-size:29px;line-height:1}.leaderboard-caption{display:flex;gap:16px;justify-content:space-between;font-size:14px;line-height:1.4;margin:17px 0}.leaderboard-caption>span:last-child{font-weight:900}table{width:100%;border-collapse:collapse;text-align:left}thead{border-bottom:1.5px solid var(--ink)}th{font-size:12px;letter-spacing:.8px;padding:12px 8px;font-weight:800}td{padding:14px 8px;border-bottom:1px solid #19191b20;font-size:16px;font-weight:700}th:first-child,td:first-child{width:70px}th:nth-child(3),td:nth-child(3){text-align:center;width:100px}th:last-child,td:last-child{text-align:right}td:first-child{font-size:14px;color:#6c665d;font-weight:800}td:last-child{font-weight:1000;font-variant-numeric:tabular-nums}tbody>tr:first-child{background:var(--yellow)}tbody>tr:first-child>td{font-weight:900;color:var(--ink)}tbody>tr.you:not(:first-child){background:#eee5ff}.you-tag{background:var(--ink);color:white;border-radius:3px;font-size:10px;font-weight:800;padding:3px 5px;margin-left:9px;vertical-align:middle}.leaderboard-note{font-size:12px;line-height:1.4;color:#67615a;margin:15px 0 0}.leaderboard-message{font-size:17px;font-weight:800;padding:23px 0;margin:0}.coin-overlay{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at center,#463565 0%,#19191b 74%);color:var(--paper)}.coin-scene{position:relative;width:100%;height:100%;perspective:700px}.coin-kicker{position:absolute;top:12%;width:100%;text-align:center;letter-spacing:3px;font-size:12px;font-weight:800;color:var(--purple)}#arcadeCoin{position:absolute;top:24%;left:50%;width:43%;height:auto;margin-left:-21.5%;filter:drop-shadow(0 15px 18px #0006);transform-style:preserve-3d;z-index:3}.coin-slot{position:absolute;top:65%;left:50%;transform:translateX(-50%);width:37%;height:25px;background:#6c5b80;border:2px solid #b5a3cb;border-radius:50%;box-shadow:0 0 28px #bd8fff33;z-index:2}.coin-slot span{position:absolute;left:9%;right:9%;top:8px;height:7px;background:#07060a;border-radius:50%}.coin-word{position:absolute;left:7%;right:7%;bottom:10%;text-align:center;z-index:5}.coin-word>span{display:block;font:900 clamp(30px,4vw,49px)/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:2px;color:var(--yellow)}.coin-word>small{display:block;font-size:12px;font-weight:700;letter-spacing:1px;margin-top:8px;overflow-wrap:anywhere}.coin-go #arcadeCoin{animation:insert-coin 1.15s cubic-bezier(.3,.03,.3,1) both}.coin-go .coin-slot{animation:coin-glow 1.2s ease-out .4s}.coin-go .coin-word{animation:credit-flash .2s 1.15s 2 alternate}@keyframes insert-coin{0%{opacity:0;transform:translateY(-65px) rotateY(-220deg) rotateZ(-25deg) scale(.6)}20%{opacity:1;transform:translateY(-40px) rotateY(0deg) rotateZ(-9deg) scale(1)}55%{opacity:1;transform:translateY(-10px) rotateY(360deg) rotateZ(12deg) scale(1)}79%{opacity:1;transform:translateY(29%) rotateY(700deg) rotateZ(0) scale(.6)}94%{opacity:1;transform:translateY(43%) rotateY(810deg) scale(.09,.3)}100%{opacity:0;transform:translateY(53%) rotateY(900deg) scale(.01,.01)}}@keyframes coin-glow{40%{box-shadow:0 0 70px #ffda29b3;background:#ffda29;border-color:#fff}100%{box-shadow:0 0 28px #bd8fff33}}@keyframes credit-flash{to{opacity:.25}}.hair-target:disabled,.brow-danger:disabled{cursor:default;opacity:1}
@media(max-width:760px){.player-badge{margin-bottom:18px}.register-title{font-size:52px!important}.register-title br{display:none}.register-title span{margin-left:7px}.registration-intro{margin:12px 0 17px}.game-panel:has(#register:not([hidden])){padding:20px}#register{margin:0}.leaderboard{padding:21px 18px 15px;margin-top:25px}.leaderboard h2{font-size:42px}.leaderboard h2>span{font-size:30px;margin-left:9px}.leaderboard-caption{font-size:12px;flex-wrap:wrap;gap:8px}.leaderboard-heading .eyebrow{font-size:12px}th{font-size:12px;padding:11px 5px}td{padding:13px 5px;font-size:14px}th:first-child,td:first-child{width:45px}th:nth-child(3),td:nth-child(3){width:65px}.you-tag{margin-left:5px;font-size:10px}.coin-word>span{font-size:36px}.coin-word>small{font-size:12px;letter-spacing:.4px}.coin-kicker{font-size:12px;letter-spacing:2px}.coin-slot{height:20px}.coin-slot span{top:6px;height:5px}}
@media(prefers-reduced-motion:reduce){.coin-go #arcadeCoin{animation:none;opacity:1;transform:scale(.85)}.coin-go .coin-slot,.coin-go .coin-word{animation:none}}
td:nth-child(2){overflow-wrap:anywhere}@media(max-width:400px){th:nth-child(3),td:nth-child(3){display:none}.leaderboard h2{font-size:36px}.leaderboard h2>span{font-size:27px}}

/* Combo lives in the status panel, outside the interactive portrait at every width. */
.play-status{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.play-status>.eyebrow{margin:0}.play-status>.combo{position:static;transform:none;flex-direction:row;align-items:center;gap:7px;padding:5px 9px;border-radius:8px;box-shadow:2px 2px 0 var(--ink);flex-shrink:0}.play-status>.combo strong{font-size:24px}.play-status>.combo span{font-size:12px;margin:0}
@media(max-width:760px){.play-status{margin-bottom:12px;min-height:39px}.play-status>.combo{padding:4px 8px}.play-status>.combo strong{font-size:22px}}
