@font-face{font-family:Baloo;src:url('assets/fonts/baloo-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#56336f;--cream:#fff6e6;--gold:#ffe09a;--muted:#795c93;--lilac:#c9b5ed;--ease:cubic-bezier(.2,.75,.25,1)}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body{background:#eee6fa;color:var(--ink);font-family:'Avenir Next',Avenir,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased;display:flex;align-items:center;justify-content:center;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #7645a6;outline-offset:5px}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}
#game-shell{width:100vw;height:100dvh;max-width:470px;position:relative;overflow:hidden;isolation:isolate;background:var(--lilac);container-type:size}#game{width:100%;height:100%;display:block;touch-action:none}.paper-grain{display:none}
.topbar{position:absolute;z-index:12;top:0;left:0;right:0;padding:calc(20px + env(safe-area-inset-top)) 22px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}
.edition{position:relative;display:block;padding-left:34px;font-size:8px;line-height:1.45;font-weight:800;letter-spacing:1px;color:#634478}.edition img{position:absolute;left:0;top:2px;width:25px;height:22px;object-fit:contain;background:#fff6e6;border-radius:7px;padding:3px}.tools{display:flex;gap:7px}
.icon-button{position:relative;border:2px solid var(--ink);border-radius:50%;background:#efe2ff;width:35px;height:35px;padding:8px;display:grid;place-items:center;box-shadow:0 2px 0 var(--ink);transition:transform .18s,box-shadow .18s}.icon-button:before{content:'';position:absolute;inset:-4px}.icon-button:hover{background:var(--cream)}.icon-button:active{transform:translateY(2px);box-shadow:none}.icon-button svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sound-slash{display:none}.muted .sound-slash{display:block}.muted{background:#c7b2de}.music-button.muted svg{opacity:.65}
.screen{position:absolute;inset:0;z-index:5;pointer-events:none}.screen button{pointer-events:auto}
.title-lockup{position:absolute;top:11.5%;left:0;width:100%;text-align:center;animation:rise-in .6s var(--ease) both}.eyebrow,.hero-note,.title-star{display:none}
h1{font-family:Baloo,'Arial Rounded MT Bold',sans-serif;font-size:51px;line-height:.98;letter-spacing:-1.7px;font-weight:700;margin:0;color:var(--cream);-webkit-text-stroke:2.8px var(--ink);paint-order:stroke fill;text-shadow:0 4px 0 var(--ink);transform:rotate(-3deg)}h1>span{display:block}.hashoo-title{font-family:'Avenir Next',sans-serif;font-size:11px;line-height:1.2;letter-spacing:2.4px;color:var(--ink);font-weight:800;margin-bottom:14px;-webkit-text-stroke:0;text-shadow:none}.run-title{font-size:62px;letter-spacing:-1px;color:#ffdf8a}.subtitle{font-size:11px;line-height:1.5;color:#6c4b87;font-weight:600;margin:14px 0 0}
.menu-bottom{position:absolute;top:72%;left:10%;width:80%;text-align:center}.best-pill{display:inline-flex;justify-content:center;align-items:center;gap:7px;font-size:9px;font-weight:800;letter-spacing:.65px;margin-bottom:15px;color:#6e4b7d}.best-pill svg{width:18px;height:18px;fill:#ffdb78;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}.best-pill strong{font-family:Baloo,sans-serif;font-size:17px;margin-left:3px;line-height:1;font-variant-numeric:tabular-nums}
.button{border:2.5px solid var(--ink);border-radius:20px;min-height:49px;line-height:1.1;padding:13px 20px;transition:transform .18s,box-shadow .18s;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:800;font-size:14px;box-shadow:0 4px 0 var(--ink)}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(4px);box-shadow:none}.primary{background:#a980e3;color:var(--cream);width:100%}.start-button{font-family:Baloo,sans-serif;min-height:58px;font-size:23px;position:relative;letter-spacing:.1px;transform:rotate(-1deg);background:#ffe099;color:var(--ink)}.start-button svg{position:absolute;right:20px;width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.instructions{margin-top:17px;font-size:10px;line-height:1.65;color:#634778;font-weight:600}.instructions p{margin:3px 0}.instructions p+p{font-size:9.5px;color:#785b8d}.instructions b{font-weight:800;color:#684080}.instructions img{width:13px;height:10px;object-fit:contain;vertical-align:-1px;margin:0 3px}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;background:transparent;padding:12px 5px;font-size:10px;font-weight:700;letter-spacing:.15px;color:#633f80}.text-button:hover{text-decoration:underline}.text-button svg{width:14px;height:14px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}.text-button span{font-size:16px;line-height:1;margin-left:5px}.menu-footer{position:absolute;bottom:calc(19px + env(safe-area-inset-bottom));width:100%;text-align:center;font-size:7px;font-weight:700;letter-spacing:1px;color:#866a9c}.menu-footer span{display:none}
#hud{position:absolute;top:calc(81px + env(safe-area-inset-top));left:22px;right:22px;z-index:8;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;animation:rise-in .3s var(--ease) both}#lives{display:flex;gap:7px;padding-top:1px}#lives img{width:25px;height:36px;object-fit:contain;transition:opacity .3s,transform .3s}#lives img.lost{opacity:.2;transform:scale(.8)}.score-wrap{text-align:right}.score-line{display:flex;gap:8px;align-items:center;justify-content:flex-end;min-width:100px;min-height:37px;padding:3px 12px 2px 9px;border:2px solid var(--ink);border-radius:22px;background:#fff0c5;box-shadow:0 2px 0 #87629d;font-family:Baloo,sans-serif;font-size:26px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.score-line svg{width:25px;height:25px;fill:#ffcf5d;stroke:var(--ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}#score{display:inline-block;min-width:20px;transform-origin:right center}
#boost-hud{font-size:8px;font-weight:800;letter-spacing:.6px;margin-top:10px;color:#643384}.boost-track{margin:5px 0 0 auto;width:86px;height:6px;border:1.5px solid var(--ink);border-radius:5px;overflow:hidden;background:#eee0fb}#boost-fill{height:100%;width:100%;display:block;background:#a376da;transform-origin:left;will-change:transform}
#combo{position:absolute;z-index:8;font-size:12px;font-weight:800;pointer-events:none;white-space:nowrap;color:var(--ink);background:#fff2c8;border:1.5px solid var(--ink);border-radius:12px;padding:4px 8px;transform:translate(-50%,-50%);opacity:0;transition:opacity .2s}
#boost-banner{position:absolute;z-index:9;top:27%;left:0;width:100%;text-align:center;pointer-events:none;opacity:0;transform:translateY(10px)}#boost-banner span{font-family:Baloo,sans-serif;font-size:33px;font-weight:700;display:block;color:#fff3cc;-webkit-text-stroke:2.5px var(--ink);paint-order:stroke fill;text-shadow:0 2px var(--ink)}#boost-banner small{font-size:8px;font-weight:800;letter-spacing:1px;color:var(--ink);display:block;margin-top:4px}#boost-banner.show{animation:boost-pop .95s var(--ease) forwards}
#drag-hint{position:absolute;bottom:calc(75px + env(safe-area-inset-bottom));left:0;width:100%;text-align:center;font-size:9px;font-weight:700;letter-spacing:1px;pointer-events:none;color:#86649f}#drag-hint svg{display:block;width:54px;height:24px;margin:0 auto 6px;fill:none;stroke:#86649f;stroke-width:1.7}
.modal{position:absolute;inset:0;z-index:20;background:#8561ae66;display:grid;place-items:center;padding:24px;animation:rise-in .25s var(--ease)}.card{width:100%;max-width:342px;background:var(--cream);color:var(--ink);border:2.5px solid var(--ink);border-radius:28px;box-shadow:0 7px 0 #684780;text-align:center;padding:28px 24px 24px;position:relative;animation:card-pop .4s var(--ease);max-height:calc(100dvh - 50px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;scrollbar-width:none}.card h2{font-family:Baloo,sans-serif;font-size:31px;font-weight:700;line-height:1.04;letter-spacing:-.6px;margin:10px 0 17px}.card-eyebrow{font-size:8px;font-weight:800;letter-spacing:1.3px;margin:0;color:#997086}.card-spark{display:none}.result-hashoo{width:54px;height:76px;object-fit:contain;margin:0 0 8px;transform:rotate(-7deg)}.sweet-note{font-size:10px;font-weight:600;margin:0 0 17px;color:#947285}.result-score{background:#f5e2a4;border:2px solid var(--ink);border-radius:18px;padding:9px 0 4px}.result-score span{display:block;font-size:8px;font-weight:800;letter-spacing:1.8px;color:#8f6d4c}.result-score strong{display:block;font-family:Baloo,sans-serif;font-size:49px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.1;margin-top:4px}.result-best{font-size:8px;font-weight:700;letter-spacing:1px;margin:13px 0 19px;color:#8f6d83}.result-best b{color:var(--ink);margin-left:6px;font-size:11px}.run-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1.5px dashed #d8bfd9;padding:14px 0;margin-bottom:13px}.run-stats div+div{border-left:1.5px solid #e3d2df}.run-stats strong{display:block;font-family:Baloo,sans-serif;font-size:23px;font-weight:700;line-height:1.1}.run-stats span{display:block;font-size:7px;font-weight:700;color:#947285;margin-top:6px}.secondary-row{display:flex;gap:9px;margin-top:13px}.secondary{background:#eee0f6;color:#725288;font-size:10px;font-weight:700;flex:1;min-height:38px;padding:9px;border-radius:13px;box-shadow:0 2px var(--ink);border-width:2px}.secondary-row .secondary:first-child{flex:1.5}#new-best{display:inline-block;font-size:8px;font-weight:800;letter-spacing:1px;color:#805498;background:#eee0fa;border:1.5px solid #b89cc9;padding:5px 9px;border-radius:20px;margin:-3px 0 12px;transform:rotate(-3deg)}
.ranking-label{font-size:8px;font-weight:800;letter-spacing:1px;background:#e8d7f7;color:#78538e;border:1.5px solid #bea0cf;border-radius:20px;padding:5px 10px;display:inline-block}.leaderboard-card h2{font-size:35px;margin-bottom:13px}.leaderboard-card ol{list-style:none;padding:0;margin:21px 0 13px}.leaderboard-card li{display:flex;gap:10px;align-items:center;padding:9px 8px;border-radius:10px;font-size:11px;font-weight:600;line-height:1.2}.leaderboard-card li .rank{color:#ac8f9a;width:15px;font-size:10px;font-weight:800}.leaderboard-card li:nth-child(-n+3) .rank{color:#ac7737}.leaderboard-card li .name{flex:1;text-align:left}.leaderboard-card li strong{font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.leaderboard-card li.you{background:#e8d7f7;color:#653b82}.ranking-note{font-size:9px;color:#947b89;line-height:1.6;margin:13px 0 18px}.leaderboard-card .primary{font-size:12px}.pause-card{padding:32px 25px 22px}.pause-card p:not(.card-eyebrow){font-size:12px;color:#947b89;margin-bottom:27px}.dark{margin-top:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#asset-status{position:absolute;bottom:2px;left:0;right:0;font-size:10px;background:var(--cream);color:var(--ink);z-index:30;margin:0;text-align:center}.desktop-caption{position:fixed;bottom:16px;margin:0;font-size:9px;font-weight:800;color:#aa8fc0;letter-spacing:1.5px}.desktop-star{display:none}.menu.leaving{animation:fade-out .2s var(--ease) forwards}.menu:not(.leaving) .menu-bottom{animation:rise-in .6s .05s var(--ease) both}
@keyframes rise-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes boost-pop{0%{opacity:0;transform:translateY(10px) scale(.95)}20%,65%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-8px)}}@keyframes card-pop{from{opacity:0;transform:translateY(17px) rotate(-2deg)}to{opacity:1;transform:none}}@keyframes fade-out{to{opacity:0;transform:translateY(-8px)}}
@media(min-width:600px){#game-shell{height:min(844px,calc(100dvh - 70px));width:min(390px,calc((100dvh - 70px)*.53));border:3px solid var(--ink);border-radius:29px;box-shadow:6px 9px 0 #c6afd9}.topbar{padding-top:19px}.menu-footer{bottom:19px}}
@media(max-width:599px){.desktop-caption{display:none}}
@container(max-height:740px){.title-lockup{top:12%}h1{font-size:43px}.run-title{font-size:51px}.hashoo-title{font-size:10px;margin-bottom:11px}.subtitle{font-size:10px;margin-top:11px}.menu-bottom{top:71%}.start-button{min-height:52px;font-size:21px}.best-pill{margin-bottom:12px}.instructions{margin-top:13px;font-size:9px}.instructions p+p{font-size:9px}.text-button{padding:10px 5px;font-size:9px}.menu-footer{font-size:6.5px;bottom:15px}.topbar{padding-top:16px}.card{padding:23px 21px}.result-hashoo{height:55px;width:40px}.card h2{font-size:28px;margin-bottom:13px}.sweet-note{margin-bottom:14px}.result-score strong{font-size:42px}.run-stats{margin-bottom:12px;padding:12px 0}.result-best{margin-bottom:15px}.leaderboard-card li{padding:8px}.leaderboard-card ol{margin-top:15px}.ranking-note{margin:9px 0 14px}}
@container(max-height:620px){.title-lockup{top:13%}h1{font-size:35px}.run-title{font-size:43px}.hashoo-title{font-size:9px;margin-bottom:9px}.subtitle{font-size:9px;margin-top:9px}.menu-bottom{top:70%}.best-pill{font-size:8px;margin-bottom:8px}.start-button{min-height:43px;font-size:18px;border-radius:15px}.instructions{font-size:8px;margin-top:12px}.instructions p+p{font-size:8px}.text-button{padding:8px 5px}.menu-footer{display:none}.topbar{padding:14px 17px 0}.card{padding:20px}.result-hashoo{height:42px;width:30px}.sweet-note{margin-bottom:11px;font-size:9px}.result-best{margin:10px 0 12px}.result-score strong{font-size:35px}.run-stats{padding:10px 0;margin-bottom:10px}.run-stats strong{font-size:20px}.card h2{font-size:25px;margin:8px 0 11px}.leaderboard-card h2 br{display:none}.leaderboard-card .card-eyebrow{display:none}.leaderboard-card ol{margin:12px 0 8px}.leaderboard-card li{padding:7px 8px}.ranking-note{font-size:8px}}
@container(max-width:360px){.edition{font-size:7px;letter-spacing:.6px;padding-left:30px}.edition img{width:23px}.tools{gap:6px}.icon-button{width:31px;height:31px;padding:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.result-card{padding:20px 22px}.result-card h2{font-size:27px;margin:6px 0 10px}.result-card .result-hashoo{width:28px;height:40px;margin:0 0 5px}.result-card .sweet-note{display:none}.result-card .result-score strong{font-size:40px}.result-card .result-best{margin:9px 0 12px}.result-card .run-stats{padding:10px 0;margin-bottom:7px}.result-card .run-stats strong{font-size:22px}.name-form{text-align:left;margin:0 0 10px}.name-form label{font-size:8px;letter-spacing:1.2px;font-weight:800}.name-row{display:flex;gap:8px;margin-top:5px}.name-row input{min-width:0;width:100%;background:#fff;border:2px solid #c7afd5;border-radius:12px;padding:8px 10px;font:16px 'Avenir Next',sans-serif;color:var(--ink);user-select:text;-webkit-user-select:text;outline-color:var(--ink)}.name-row button{border:2px solid var(--ink);border-radius:12px;background:#ead8ff;font-size:11px;font-weight:800;padding:6px 12px}#name-status{font-size:9px;line-height:1.4;color:#78558d;margin:6px 0 0;min-height:25px}.share-button{background:#ffe09a;width:100%;min-height:42px;font-size:12px;margin-bottom:12px}.result-card #again{min-height:40px;font-size:12px}.result-card .secondary-row{margin-top:11px}.leaderboard-card li .name{overflow-wrap:anywhere;min-width:0}.leaderboard-card li strong{white-space:nowrap}.share-dialog{z-index:40}.share-card{padding:22px}.share-close{position:absolute;right:15px;top:15px;font-size:21px}.share-card h2{font-size:27px}.share-card>img{display:block;width:100%;border:2px solid var(--ink);border-radius:16px}.share-card a{text-decoration:none;cursor:pointer}.share-caption{font-size:10px;line-height:1.6;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;background:#f1e5fa;padding:10px;border-radius:12px;text-align:left}.share-card #share-native{font-size:12px;min-height:42px}.share-card .ranking-note{margin:12px 0}.share-card .secondary-row{flex-wrap:wrap}
@container(max-height:620px){.result-card{padding:16px 19px}.result-card .result-hashoo,.result-card .card-eyebrow{display:none}.result-card h2{font-size:23px;margin:0 0 8px}.result-card .result-score{padding:5px 0}.result-card .result-score strong{font-size:33px}.result-card .run-stats{padding:8px 0}.result-card .result-best{margin:7px 0}.result-card .run-stats strong{font-size:19px}.result-card #new-best{font-size:7px;margin:0 0 7px;padding:3px 7px}.result-card .share-button{min-height:37px;margin-bottom:10px}.result-card #again{min-height:36px}.result-card .secondary{min-height:32px}.result-card .secondary-row{margin-top:9px}.share-card>img{max-height:240px;object-fit:contain;background:#c9b5ed}}

.share-preview-link{display:flex;margin:-5px auto 6px;padding:4px;font-size:9px}.share-button{margin-bottom:8px}
@container(max-height:620px){.share-card{padding:16px 18px}.share-card h2{font-size:23px;margin:6px 0 10px}.share-card>img{max-height:170px}.share-card .button{min-height:36px;padding:8px}.share-card .ranking-note{font-size:8px;margin:8px 0}.share-card .share-caption{font-size:9px;line-height:1.4;padding:8px;margin:8px 0}.share-card .text-button{padding:5px}.share-card .secondary-row{margin-top:8px}.share-close{width:29px;height:29px;top:10px;right:10px}}

.share-close{padding:0;line-height:1}
