[hidden]{display:none!important}:root{--desk:#2a2232;--card:#fffaf0;--ink:#1d1a17;--plum:#2f6b3a;--wet:#b8452f;--accent:#2a7f86;--red:#c2412d;--gold:#e8b923;--soft:#ece2cd;--mint:#d9f2e6;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--desk);height:100%;color:var(--ink);overscroll-behavior:none;margin:0;font:16px/1.35 ui-rounded,Trebuchet MS,system-ui,sans-serif;overflow:hidden}body{touch-action:none;-webkit-user-select:none;user-select:none;position:fixed;inset:0}canvas#game{touch-action:none;width:100%;height:100%;display:block;position:fixed;inset:0}button{font:inherit;color:var(--ink);cursor:pointer;touch-action:manipulation}a{color:var(--ink)}.card{background:var(--card);border:3px solid var(--ink);box-shadow:5px 5px 0 var(--ink);-webkit-overflow-scrolling:touch;touch-action:pan-y;border-radius:18px;width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);padding:18px 18px 16px;animation:.35s cubic-bezier(.2,1.4,.4,1) cardIn;position:relative;overflow:auto}@keyframes cardIn{0%{opacity:0;transform:translateY(26px)scale(.94)}}.card.wide{width:min(740px,100vw - 20px)}.card.center{text-align:center}.card h2{margin:0 0 8px;font-size:24px}.card h3{margin:14px 0 6px;font-size:18px}.card .lead{margin:0 0 12px;font-size:16px}.lead.small,.small{font-size:14px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row.center{justify-content:center}.row.two>*,.row.three>*{flex:1 1 0}.col{flex-direction:column;align-items:stretch;gap:9px;display:flex}.screen button,.hud button,.coach button{border:2.5px solid var(--ink);background:var(--card);min-height:46px;box-shadow:2px 2px 0 var(--ink);border-radius:999px;padding:8px 16px;font-size:16px;font-weight:800;transition:transform .1s}.screen button:active,.hud button:active{box-shadow:1px 1px 0 var(--ink);transform:translate(1px,1px)}.screen button:disabled{opacity:.45;cursor:default}button.primary{background:var(--plum);color:#fff}button.big{min-height:58px;font-size:22px}button.daily{background:#fdf0c4}button small{opacity:.85;font-size:14px;font-weight:700}.closex{z-index:2;width:46px;height:46px;position:absolute;top:10px;right:10px;border-radius:50%!important;padding:0!important}.sheethead{min-height:46px;padding-right:54px;position:relative}.sheethead .closex{top:-4px;right:-4px}.bar2{border:2px solid var(--ink);background:var(--soft);border-radius:8px;height:12px;overflow:hidden}.bar2 i{background:linear-gradient(90deg, var(--plum), var(--accent));width:0;height:100%;transition:width .3s;display:block}.screen{z-index:30;background:#1e1626bd;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.screen.clear{background:0 0}.round{border:2.5px solid var(--ink);background:var(--card);width:46px;height:46px;box-shadow:2px 2px 0 var(--ink);border-radius:50%;place-items:center;font-size:18px;font-weight:900;display:grid;padding:0!important}img.inl{object-fit:contain;vertical-align:middle;width:26px;height:26px;margin:-4px 1px 0}.cornermute{top:calc(10px + var(--safe-t));z-index:31;position:fixed;right:10px}#title{background:linear-gradient(#2a223200 0 34%,#2a2232db 56%,#1e1824f7);align-items:end}.titlewrap{text-align:center;width:min(560px,100vw - 84px);margin-bottom:max(10px, var(--safe-b));flex-direction:column;align-items:center;gap:8px;display:flex}.logo{letter-spacing:1px;white-space:nowrap;color:#fff6dc;text-shadow:3px 3px 0 var(--wet), 0 0 18px #ffaa7873;margin:0;font-size:clamp(50px,15vw,96px);line-height:.92}.logo span{animation:1.1s ease-in-out infinite alternate inkbob;display:inline-block}.logo span:nth-child(2n){color:#ffb3a1;animation-delay:-.5s}.logo span:nth-child(3n){color:#ffd38a}@keyframes inkbob{0%{transform:translateY(0)rotate(-3deg)}to{transform:translateY(-5px)rotate(3deg)}}.sub{color:#fff6dc;text-shadow:0 1px 3px #00000080;max-width:480px;margin:0;font-size:15.5px;font-weight:650}.titlewrap .col{width:min(430px,100%)}.titlewrap .row button{flex:auto;padding:8px 10px}.bestline{min-height:1.2em;margin:0;font-size:15px;font-weight:800}#title .bestline,#title .credit,#title .backlink{color:#fff6dc;text-shadow:0 1px 3px #0009}.credit{font-weight:800}.backlink{font-size:15px;font-weight:700}.credit,.backlink{align-items:center;min-height:44px;padding:0 8px;display:inline-flex}.titlewrap .credit+.backlink{margin-top:-10px}.hudcredit{z-index:9;white-space:nowrap;color:#fff6dc;text-shadow:0 1px 2px #000;align-items:center;min-height:44px;padding:0 6px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex;position:fixed}.resume{z-index:15;background:var(--card);border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);text-align:center;border-radius:18px;width:min(320px,100vw - 90px);padding:12px 16px;position:fixed;top:40%;left:50%;transform:translate(-50%,-50%)}.resume p{margin:0 0 8px;font-size:15px;font-weight:800}.resume button{border:2.5px solid var(--ink);min-height:50px;box-shadow:2px 2px 0 var(--ink);border-radius:999px;padding:8px 22px;font-size:18px;font-weight:900}.coach{z-index:14;border:3px solid var(--ink);width:min(460px,100vw - 84px);box-shadow:4px 4px 0 var(--ink);pointer-events:auto;background:#fffaf0;border-radius:16px;align-items:center;gap:8px;padding:8px 10px;animation:.3s cubic-bezier(.2,1.4,.4,1) cardIn;display:flex;position:fixed;left:50%;transform:translate(-50%)}.coach .ctext{flex:1;margin:0;font-size:15px;font-weight:750;line-height:1.3}.coach .ctext .why{color:var(--red);margin-top:3px;display:block}.coach .cbtns{flex-direction:column;flex:none;gap:5px;display:flex}.coach button{border:2px solid var(--ink);background:var(--soft);min-height:44px;box-shadow:none;border-radius:999px;padding:4px 12px;font-size:14px;font-weight:800}.coach.no{background:#fff0ea;animation:.35s shakeX}@keyframes shakeX{25%{margin-left:-6px}75%{margin-left:6px}}.coach.wide{flex-direction:column;align-items:stretch;width:min(300px,50vw - 260px);left:16px;transform:none}.toast{z-index:16;left:50%;top:calc(84px + var(--safe-t));border:2.5px solid var(--ink);width:max-content;max-width:min(440px,100vw - 20px);box-shadow:2px 2px 0 var(--ink);pointer-events:none;text-align:center;background:#fffaf0;border-radius:16px;align-items:center;gap:8px;padding:6px 14px;font-size:15px;font-weight:800;display:flex;position:fixed;transform:translate(-50%)}.toast img{object-fit:contain;width:34px;height:34px}.toast.show{animation:2.4s both toastIn}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,-30px)}10%,85%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-10px)}}.starimgs{justify-content:center;gap:6px;margin:6px 0 2px;display:flex}.starimgs img{object-fit:contain;opacity:.22;width:46px;height:46px;transition:opacity .3s,transform .3s;transform:scale(.85)}.starimgs img.got{opacity:1;animation:.7s cubic-bezier(.2,2,.4,1) both starBig;transform:scale(1)}@keyframes starBig{0%{opacity:0;transform:scale(2.2)rotate(-30deg)}}.bigpic{border:3px solid var(--ink);max-width:100%;max-height:min(46dvh,420px);box-shadow:4px 4px 0 var(--ink);cursor:zoom-in;border-radius:8px;margin:8px auto 4px;animation:.8s cubic-bezier(.2,1.2,.4,1) both picIn;display:block}@keyframes picIn{0%{opacity:0;transform:scale(.85)rotate(-2deg)}}.pictitle{margin:2px 0;font-size:15px;font-weight:850}.goals{text-align:left;gap:4px;max-width:360px;margin:8px auto;display:grid}.goals div{border:2px solid var(--ink);background:#fff;border-radius:12px;align-items:center;gap:8px;padding:3px 10px;font-size:15px;font-weight:800;display:flex}.goals div.met{background:#e6f4dc}.goals div b{flex:1}.goals div img{object-fit:contain;width:24px;height:24px}.goals div img.no{opacity:.22}.feat{border:2px solid var(--ink);text-align:left;background:#f1ecf7;border-radius:14px;align-items:center;gap:10px;margin:8px 0;padding:6px 10px;display:flex}.feat img{object-fit:contain;transform-origin:50% 100%;cursor:zoom-in;flex:none;width:72px;height:72px;animation:1s ease-in-out infinite alternate hop}.feat>div{flex:1;font-size:14px;font-weight:750}.feat b{font-size:15px;display:block}@keyframes hop{0%{transform:translateY(0)scale(1)}to{transform:translateY(-5px)scale(.96,1.05)}}.links{flex-wrap:wrap;justify-content:center;align-items:center;gap:0 12px;font-weight:800;display:flex}.links a{align-items:center;min-height:44px;padding:4px 2px;display:inline-flex}.newbest{background:var(--gold);border:2px solid var(--ink);border-radius:999px;margin:2px;padding:2px 12px;font-weight:900;animation:.6s 3 bump;display:inline-block}.pagebox{border:2px solid var(--ink);background:#fff6dc;border-radius:12px;margin:8px 0;padding:6px 10px;font-size:14px;font-weight:750}.pagebox .thumbs{justify-content:center;gap:6px;margin-top:4px;display:flex}.pagebox .thumbs img,.pagebox .thumbs i{object-fit:contain;border:2px solid var(--ink);background:#fff;border-radius:6px;width:54px;height:54px}.pagebox .thumbs i{color:#a99c84;border-style:dashed;place-items:center;font-style:normal;font-weight:900;display:grid}.share{white-space:pre-wrap;text-align:left;border:2px solid var(--ink);background:#fff;border-radius:12px;margin:10px 0;padding:10px;font-family:ui-monospace,Menlo,monospace;font-size:15px}.stats{flex-wrap:wrap;justify-content:center;gap:8px;margin:4px 0;font-size:15px;font-weight:850;display:flex}.stats span{border:2px solid var(--ink);background:#fff;border-radius:999px;align-items:center;gap:4px;padding:2px 10px;display:inline-flex}.stats img{object-fit:contain;width:20px;height:20px}.agrid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;margin-top:8px;display:grid}.screen button.ccard{border:2.5px solid var(--ink);text-align:center;min-height:44px;box-shadow:2px 2px 0 var(--ink);background:#fff;border-radius:14px;align-content:start;justify-items:center;gap:3px;padding:8px 6px;font-size:14px;font-weight:750;display:grid}.ccard img{object-fit:contain;width:76px;height:76px}.ccard.pcard img{width:100%;height:118px}.ccard .q{color:#9a8d75;border:2px dashed #b9ad97;border-radius:12px;place-items:center;width:76px;height:76px;font-size:34px;font-weight:900;display:grid}.ccard.pcard .q{width:100%;height:118px}.ccard small{opacity:.85;font-size:14px;font-weight:650}.screen button.ccard.mine{background:#fff1c1}.grouph{margin:12px 0 2px;font-size:16px}.tabs{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.tabs button{min-height:44px;padding:6px 12px}.tabs button.on{background:var(--ink);color:#fffaf0}.tabs button.locked{color:#8c8070;background:#ece5d6}.records{border-collapse:collapse;width:100%;margin-top:8px;font-size:15px}.records th,.records td{border-bottom:2px solid var(--soft);text-align:left;padding:8px 4px}.records td:not(:first-child),.records th:not(:first-child){text-align:center}.viewer img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 230px);margin:30px auto 0;display:block}.howpage{text-align:center;min-height:280px}.howpage h2{margin-top:4px;padding:0 40px}.howpage p{max-width:520px;margin:8px auto;font-size:16px}.howpage .demo{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:10px;margin:10px auto;display:flex}.howpage .demo img{object-fit:contain;width:64px;height:64px;animation:.9s ease-in-out infinite alternate hop}.dots{gap:6px;display:inline-flex}.dots i{border:1.5px solid var(--ink);background:#d8ccb6;border-radius:50%;width:10px;height:10px}.dots i.on{background:var(--plum)}.chhead{align-items:center;gap:10px;margin:8px 0 4px;font-size:14px;font-weight:750;display:flex}.chhead img{object-fit:contain;flex:none;width:64px;height:64px;animation:1s ease-in-out infinite alternate hop}.lgrid{grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:8px;margin-top:8px;display:grid}.screen button.lvl{font-variant-numeric:tabular-nums;border-radius:14px;place-items:center;gap:0;min-height:64px;padding:2px 0;font-size:19px;line-height:1;display:grid}.lvl .ls{gap:1px;height:16px;display:flex}.lvl .ls img{object-fit:contain;width:16px;height:16px}.lvl .ls img.no{opacity:.2}.screen button.lvl.done{background:#e6f4dc}.screen button.lvl.next{background:var(--plum);color:#fff}.screen button.lvl.locked{color:#9a8d75;box-shadow:none;background:#ece5d6}.dchoice{text-align:left;align-items:center;gap:10px;border-radius:16px!important;min-height:64px!important;padding:8px 12px!important;display:flex!important}@media (width>=760px) and (aspect-ratio>=6/5){#title{background:linear-gradient(90deg,#2a223200 0 44%,#2a2232cc 60%,#1e1824f2);place-items:center end;padding-right:max(24px,5vw)}#title .titlewrap{width:min(480px,44vw);margin-bottom:0}}@media (width<=420px){.card{padding:14px 12px 12px}.coach .ctext{font-size:14.5px;line-height:1.25}}@media (height<=700px){.logo{font-size:clamp(42px,12vw,76px)}.sub{font-size:14px}.bigpic{max-height:36dvh}}@media (prefers-reduced-motion:reduce){.logo span,.feat img,.chhead img,.howpage .demo img{animation:none!important}}.bigscore{font-variant-numeric:tabular-nums;margin:0;font-size:40px;font-weight:900;line-height:1.1}.bigscore small{opacity:.7;font-size:18px}.hud{padding:calc(6px + var(--safe-t)) 8px 4px;z-index:10;pointer-events:none;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:8px;display:flex;position:fixed;top:0;left:0;right:0}.hud>*{pointer-events:auto}.hud #menubtn{left:8px;top:calc(6px + var(--safe-t));position:absolute}.board{background:var(--card);border:2.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:6px;padding:2px 10px;display:flex}.board .side{align-items:center;gap:6px;display:flex}.board .side img{object-fit:contain;width:34px;height:34px}.board .side b{text-align:center;min-width:22px;font-size:26px;font-weight:900}.board .side b.bump{animation:.5s bump}.board .mid{flex-direction:column;align-items:center;padding:0 4px;line-height:1;display:flex}.board .clock{font-size:18px;font-weight:900}.board .clock.over{color:var(--red)}.board .clock.gold{color:#b07d00}.board .first{opacity:.7;font-size:14px;font-weight:800}@keyframes bump{40%{transform:scale(1.35)}}.meters{flex-basis:100%;justify-content:center;gap:70px;display:flex;pointer-events:none!important}.meter{background:var(--card);border:2px solid var(--ink);border-radius:999px;width:92px;height:16px;position:relative;overflow:visible}.meter i{background:linear-gradient(90deg,#ffe08a,#f2a93b);border-radius:999px;width:0;transition:width .3s;position:absolute;top:0;bottom:0;left:0}.meter img{object-fit:contain;opacity:.3;width:30px;height:30px;transition:opacity .3s,transform .3s;position:absolute;top:-10px;right:-14px}.meter.full img{opacity:1;animation:1.8s linear infinite spin}.meter.full{box-shadow:0 0 10px #f2c94c}@keyframes spin{to{transform:rotate(360deg)}}.netbar{z-index:15;left:50%;top:calc(96px + var(--safe-t));border:2.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink);white-space:nowrap;background:#fff3c4;border-radius:999px;padding:6px 16px;font-size:15px;font-weight:850;position:fixed;transform:translate(-50%)}.pad{z-index:8;pointer-events:none;position:fixed;bottom:0;left:0;right:0}.pad .cluster{pointer-events:auto;gap:10px;display:grid;position:absolute}.pad .pbtn{width:var(--bs,78px);height:var(--bs,78px);border:3px solid var(--ink);box-shadow:3px 3px 0 var(--ink);color:var(--ink);touch-action:none;pointer-events:auto;-webkit-user-select:none;user-select:none;background:#fffaf0e0;border-radius:50%;place-items:center;padding:0;font-size:17px;font-weight:900;display:grid;position:relative}.pad .pbtn .arrow{font-size:30px;line-height:1}.pad .pbtn.on{box-shadow:1px 1px 0 var(--ink);background:#ffe7a6;transform:translate(2px,2px)scale(.95)}.pad .pbtn.kick{background:#ffe2d6eb}.pad .pbtn.kick.armed{box-shadow:0 0 0 4px #f2c94c, 3px 3px 0 var(--ink);background:#ffe08a}.pad .pbtn.kick img{object-fit:contain;width:34px;height:34px;display:none;position:absolute;top:-12px;right:-12px}.pad .pbtn.kick.armed img{animation:1.8s linear infinite spin;display:block}.pad .pbtn.glow{animation:1s ease-in-out infinite glowp}@keyframes glowp{50%{box-shadow:0 0 0 6px #f2c94ce6, 3px 3px 0 var(--ink)}}.pad .pbtn.dim{opacity:.45}.pad .p2 .pbtn{background:#d6e8ffe6}.pad .tag{color:#fff6dc;text-shadow:0 1px 2px #000;pointer-events:none;font-size:14px;font-weight:900;position:absolute}body.playing #title{display:none}.rungs{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:8px;display:grid}.screen button.rung{text-align:left;border-radius:16px;align-items:center;gap:8px;min-height:72px;padding:6px 10px;display:flex}.rung img{object-fit:contain;flex:none;width:54px;height:54px}.rung span{flex-direction:column;font-size:14px;line-height:1.2;display:flex}.rung span b{font-size:15px}.rung .ls{gap:1px;height:18px;display:flex}.rung .ls img{width:18px;height:18px}.rung .ls img.no{opacity:.2}.screen button.rung.done{background:#e6f4dc}.screen button.rung.next{background:#fff1c1}.screen button.rung.locked{color:#8c8070;box-shadow:none;background:#ece5d6}.screen button.rung.final{border-width:3.5px}.picked{border:2px solid var(--ink);background:#f2f7ec;border-radius:14px;align-items:center;gap:12px;margin:6px 0;padding:8px 12px;display:flex}.picked img{object-fit:contain;width:84px;height:84px;animation:1s ease-in-out infinite alternate hop}.picked .bars{flex:1;gap:4px;font-size:14px;font-weight:800;display:grid}.picked .bars div{align-items:center;gap:6px;display:flex}.picked .bars div span{width:48px}.picked .bars div i{border:2px solid var(--ink);background:#fff;border-radius:6px;flex:1;height:10px;position:relative;overflow:hidden}.picked .bars div i:after{content:"";width:var(--v);background:#8fd28a;position:absolute;top:0;bottom:0;left:0}.screen button.ccard.lock{background:#ece5d6}.duo{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;margin:8px 0;display:flex}.duo .slot{border:2px solid var(--ink);background:#fff;border-radius:14px;flex:140px;justify-items:center;gap:4px;max-width:220px;padding:8px;font-size:14px;font-weight:800;display:grid}.duo .slot img{object-fit:contain;width:90px;height:90px}.duo .slot.p2{background:#eef5ff}.scoreline{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:10px;margin:0;font-size:44px;font-weight:900;line-height:1.1;display:flex}.scoreline img{object-fit:contain;width:58px;height:58px}.timeline{flex-wrap:wrap;justify-content:center;gap:4px;margin:4px 0;display:flex}.timeline img{object-fit:contain;width:26px;height:26px}.timeline img.them{opacity:.35;transform:scale(.85)}.guard{z-index:7;touch-action:none;width:36px;position:fixed;top:150px;bottom:0;left:0}.guard.r{left:auto;right:0}.joined{text-align:left;border:2.5px solid var(--ink);background:#fff1c1;border-radius:14px;align-items:center;gap:10px;margin:8px 0;padding:6px 10px;font-size:15px;font-weight:750;animation:.6s 2 bump;display:flex}.joined img{object-fit:contain;flex:none;width:60px;height:60px}.newbest{white-space:normal;max-width:100%}#game{touch-action:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}.logo .three{color:#ffd36a;animation:none}.twin{margin:0}#title .twin a{color:#fff6dc;text-shadow:0 1px 3px #0009;align-items:center;min-height:44px;padding:0 8px;font-weight:800;display:inline-flex}.pad .stickzone{touch-action:none;pointer-events:auto;border-radius:22px}.pad .stickzone .stickhint{color:#fffaf0e6;text-shadow:0 1px 3px #000000a6;pointer-events:none;font:700 14px/1.3 system-ui,sans-serif;position:absolute;bottom:18px;left:14px}.pad .stickzone.on .stickhint{opacity:0}.pad .stickzone.glow{box-shadow:inset 0 0 0 4px #ffd34dd9}.pad .stickbase{pointer-events:none;background:#fffaf059;border:3px solid #1d1a17b3;border-radius:50%;width:112px;height:112px;margin:-56px 0 0 -56px;position:absolute}.pad .stickbase i{border:3px solid var(--ink);background:#fffaf0f2;border-radius:50%;width:46px;height:46px;margin:-23px 0 0 -23px;position:absolute;top:50%;left:50%}
