[hidden]{display:none!important}:root{--paper:#f6f0e4;--ink:#1d1a17;--accent:#c2412d;--card:#fffaf0;--good:#4f8a45;--gold:#e0a526}*{box-sizing:border-box}html,body{height:100%;color:var(--ink);touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;background:#e8dcc6;margin:0;font-family:ui-rounded,Trebuchet MS,system-ui,sans-serif;overflow:hidden}body{background:radial-gradient(circle at 50% 40%,#f1e7d4 0,#e8dcc6 65%,#dccdb1 100%)}button{font:inherit;color:var(--ink);background:var(--card);border:2px solid var(--ink);cursor:pointer;box-shadow:2px 2px 0 var(--ink);border-radius:999px;min-height:44px;padding:7px 14px;transition:transform .12s,box-shadow .12s}button:active{box-shadow:0 0 0 var(--ink);transform:translate(2px,2px)}button.primary{background:var(--accent);color:#fff;font-weight:800}button.big{padding:12px 44px;font-size:24px}.round{border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;font-weight:800;display:grid}a.round{background:var(--card);border:2px solid var(--ink);color:var(--ink);box-shadow:2px 2px 0 var(--ink);text-decoration:none}#mute.off{opacity:.45;text-decoration:line-through}.play{flex-direction:column;height:100dvh;display:flex}.bar{padding:max(8px, env(safe-area-inset-top)) 10px 4px;z-index:3;align-items:center;gap:6px;display:flex}.info{background:var(--card);border:2px solid var(--ink);border-radius:14px;flex-direction:column;min-width:0;margin-right:auto;padding:2px 10px 3px;line-height:1.15;display:flex}.info b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.dots{gap:3px;margin-top:2px;display:flex}.dots i{border:2px solid var(--ink);background:#fff;border-radius:50%;width:11px;height:11px;display:block}.dots i.on{background:var(--accent);animation:.45s cubic-bezier(.3,1.8,.5,1) dot}@keyframes dot{0%{transform:scale(2.4)}}.timer{background:var(--ink);color:var(--paper);font-variant-numeric:tabular-nums;border-radius:999px;padding:7px 11px;font-weight:800}.timer.pen{animation:.5s pen}.timer.low{background:var(--accent);animation:.6s ease-in-out infinite alternate lowpulse}@keyframes lowpulse{to{transform:scale(1.1)}}@keyframes pen{30%{background:var(--accent);transform:scale(1.15)}}.hintbtn{white-space:nowrap;padding:5px 10px;font-weight:800}.hintbtn span{margin-left:3px}.hintbtn:disabled{opacity:.4}.scenes-box{flex:1;min-height:0;position:relative}canvas{cursor:crosshair;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.bottom{align-items:center;gap:8px;width:100%;max-width:900px;min-height:62px;margin:0 auto;padding:2px 12px 0;display:flex}.wanted{background:var(--card);border:2px dashed var(--ink);border-radius:14px;flex:none;align-items:center;gap:6px;max-width:44%;padding:4px 8px 4px 4px;display:flex}.wanted img{object-fit:contain;transform-origin:50% 100%;flex:none;width:46px;height:46px;animation:2.4s ease-in-out infinite peekaboo}@keyframes peekaboo{0%,70%,to{transform:none}80%{transform:translateY(-4px)rotate(-6deg)}90%{transform:rotate(5deg)}}.wanted span{flex-direction:column;min-width:0;line-height:1.15;display:flex}.wanted small{text-transform:uppercase;letter-spacing:.4px;color:#b07d0a;font-size:12px;font-weight:800}.wanted b{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.wanted.got{border-style:solid;border-color:var(--gold);background:#fff6dc}.wanted.got img{animation:none}.coachrow{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.guide{object-fit:contain;transform-origin:50% 100%;flex:none;width:54px;height:54px}.guide:not([src]){visibility:hidden}.coach{background:var(--card);border:2px solid var(--ink);pointer-events:none;border-radius:14px;flex:1;min-height:22px;margin:0;padding:6px 10px;font-size:14px;font-weight:800;line-height:1.25;position:relative}.coach:empty{visibility:hidden}.coach:before{content:"";background:var(--card);border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);width:14px;height:14px;margin-top:-7px;position:absolute;top:50%;left:-9px;transform:rotate(45deg)}.coach.flash{animation:.5s coach}@keyframes coach{30%{color:var(--accent);transform:scale(1.04)}}.credit{text-align:center;padding:2px 0 max(4px, env(safe-area-inset-bottom));font-size:13px}.credit a{color:var(--ink);font-weight:700}.screen{z-index:6;background:#e8dcc6ed;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow-y:auto}.screen.clear{background:#e8dcc659}.screen.enter>*{animation:.42s cubic-bezier(.3,1.4,.5,1) cardIn}@keyframes cardIn{0%{opacity:0;transform:translateY(30px)scale(.92)}}.card{background:var(--card);border:3px solid var(--ink);box-shadow:7px 7px 0 var(--ink);text-align:center;border-radius:22px;width:100%;max-width:460px;padding:18px}.card.wide{max-width:640px}.card h1{margin:0;font-size:clamp(40px,11vw,64px);line-height:.95}.card h1 span{color:var(--accent);animation:2.4s ease-in-out infinite alternate wob;display:inline-block}@keyframes wob{0%{transform:rotate(-2deg)}to{transform:rotate(2deg)scale(1.03)}}.card h2{margin:0 0 4px;font-size:30px}.card h3{margin:14px 0 4px}.sub{font-size:17px;line-height:1.35}.small{font-size:14px;line-height:1.4}.kicker{text-transform:uppercase;letter-spacing:1px;color:var(--accent);margin:0;font-size:14px;font-weight:900}.col{flex-direction:column;align-items:center;gap:10px;display:flex}.row{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.row.tight{margin-top:0}.best{opacity:.8;min-height:1.2em;margin-bottom:0}.card ol{text-align:left;padding-left:22px;line-height:1.45}.extras{text-align:left;margin:0 0 12px;padding-left:18px}.extras li{margin:3px 0}.guides{justify-content:center;align-items:flex-end;gap:6px;height:64px;margin-bottom:6px;display:flex}.guides img{object-fit:contain;transform-origin:50% 100%;max-width:64px;height:58px;animation:2.8s ease-in-out infinite guideHop}@keyframes guideHop{0%,60%,to{transform:none}70%{transform:translateY(-12px)scale(.94,1.08)}80%{transform:scale(1.08,.92)}}.mapcard{flex-direction:column;max-height:calc(100dvh - 32px);display:flex}.chapters,.postcards{flex:1;min-height:0;margin:6px -6px 0;padding:4px 6px;overflow-y:auto}.chapter{border:2px solid var(--ink);background:#fff repeating-linear-gradient(135deg,#c2412d0d 0 10px,#0000 10px 20px);border-radius:16px;margin-bottom:10px;padding:8px}.chapter:nth-child(4n+2){background-color:#fbeeee}.chapter:nth-child(4n+3){background-color:#efeaf8}.chapter:nth-child(4n){background-color:#f4f3e2}.ch-head{text-align:left;align-items:center;gap:10px;margin-bottom:6px;display:flex}.ch-guide{object-fit:contain;flex:none;width:48px;height:48px}.ch-head>div{flex-direction:column;flex:1;min-width:0;display:flex}.ch-head b{font-size:17px}.ch-head small{opacity:.8;font-size:12px}.ch-pc{background:#fff;border-radius:6px;flex:none;place-items:center;width:56px;height:62px;padding:2px;font-size:22px;font-weight:900;display:grid;overflow:hidden}.ch-pc img{object-fit:contain;max-width:100%;max-height:100%}.ch-pc.locked{color:#fff;background:#3d3150}.levels{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.lv{border-radius:14px;flex-direction:column;align-items:center;gap:1px;padding:6px 2px 4px;display:flex}.lv b{font-size:20px}.lv small{opacity:.7;white-space:nowrap;font-size:10px}.lv .st{color:var(--accent);letter-spacing:1px;min-height:14px;font-size:12px}.lv .st i{color:#b07d0a;margin-left:2px;font-style:normal}.lv.locked{opacity:.4;cursor:not-allowed}.lv.next{animation:1.2s ease-in-out infinite alternate nextGlow}@keyframes nextGlow{to{box-shadow:2px 2px 0 var(--ink), 0 0 0 5px #c2412d59;transform:translateY(-2px)}}.postcards{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));align-content:start;gap:10px;display:grid}.pc{background:#fff;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;height:132px;padding:6px;display:flex}.pc img{object-fit:contain;max-width:100%;max-height:96px}.pc span{color:#fff;background:#3d3150;border-radius:6px;place-items:center;width:60px;height:84px;font-size:34px;font-weight:900;display:grid}.pc small{opacity:.75;font-size:11px}.pc.locked{opacity:.7}.stars{letter-spacing:8px;height:58px;font-size:46px}.stars i{color:#d8cdb8;font-style:normal;display:inline-block}.stars i.on{color:var(--accent);animation:.45s cubic-bezier(.3,1.6,.5,1) stamp}@keyframes stamp{0%{opacity:0;transform:scale(3)rotate(-30deg)}}.badges{min-height:1.3em;margin:2px 0;font-weight:800}.badges span{border:2px solid var(--ink);background:#fff3cf;border-radius:999px;margin:2px;padding:1px 10px;font-size:14px;animation:.4s backwards cardIn;display:inline-block}.tally{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tally div{border:2px solid var(--ink);background:#fff;border-radius:12px;min-width:72px;padding:4px 10px}.tally b{font-variant-numeric:tabular-nums;font-size:22px;display:block}.tally small{opacity:.7}.share pre{border:2px dashed var(--ink);white-space:pre-wrap;background:#fff;border-radius:12px;margin:10px 0 6px;padding:8px;font:15px/1.35 ui-monospace,Menlo,monospace}.spot{border:2px solid var(--ink);text-align:left;background:#fff3cf;border-radius:16px;align-items:center;gap:12px;max-width:440px;margin:12px auto 0;padding:8px 12px;animation:.5s .6s backwards cardIn;display:flex}.spot img{object-fit:contain;transform-origin:50% 100%;flex:none;width:84px;height:84px;animation:1.6s ease-in-out infinite alternate bob}@keyframes bob{0%{transform:rotate(-3deg)}to{transform:rotate(3deg)translateY(-3px)}}.spot div{flex-direction:column;align-items:flex-start;gap:3px;display:flex}.spot span{font-size:14px}.spot a.shop-link,.unlock a.shop-link{background:var(--accent);color:#fff;border-radius:999px;padding:6px 14px;font-size:15px;font-weight:800;text-decoration:none}.unlock a.shop-link.alt{background:#3d3150}.spot a.meet{color:var(--accent);font-size:13px;font-weight:800}.cast{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;max-height:32vh;margin:6px 0 4px;padding:4px;display:grid;overflow-y:auto}.cast>div{border:2px solid var(--ink);background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;font-size:12px;animation:.5s cubic-bezier(.3,1.4,.5,1) backwards flipIn;display:flex}@keyframes flipIn{0%{opacity:0;transform:rotateY(90deg)scale(.8)}}.cast img{object-fit:contain;max-width:100%;height:58px}.cast span{line-height:1.15}.cast a{color:var(--accent);font-size:12px;font-weight:800}.cast a.shop-link{background:var(--accent);color:#fff;border-radius:999px;margin-top:2px;padding:2px 8px;font-size:11px;line-height:1.25;text-decoration:none}.unlock .frame{border:3px solid var(--ink);box-shadow:5px 5px 0 var(--ink);background:#fff;border-radius:4px;margin:10px auto;padding:10px 10px 26px;animation:3s ease-in-out infinite alternate hang;display:inline-block;transform:rotate(-2deg)}@keyframes hang{to{transform:rotate(1.5deg)}}.unlock .frame img{object-fit:contain;max-width:min(78vw,420px);max-height:min(44vh,360px);display:block}.links{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:6px 0 12px;display:flex}@media (width<=420px){.levels{grid-template-columns:repeat(3,minmax(0,1fr))}.bar{gap:4px;padding-left:6px;padding-right:6px}.th{display:none}.timer{padding:6px 8px;font-size:14px}.hintbtn{padding:4px 7px}.info{padding:2px 7px 3px}.info b{font-size:13px}.dots i{width:9px;height:9px}.bottom{gap:6px;padding:2px 8px 0}.guide{width:46px;height:46px}.coach{font-size:13px}}@media (aspect-ratio<=3/4) and (height>=700px){.bottom{flex-wrap:wrap;row-gap:4px}.wanted{flex:100%;max-width:none}.wanted span{flex-direction:row;align-items:baseline;gap:6px}.wanted b{-webkit-line-clamp:1}}.card .small a,.card p.small a{color:var(--ink);font-weight:700}@media (height<=700px){.guides{display:none}}body.on-title .bar,body.on-title .bottom{visibility:hidden}.card p.small a{position:relative}.card p.small a:after{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.spot a.shop-link{position:relative}.spot a.shop-link:after{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.spot a.meet{position:relative}.spot a.meet:after{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cast>div>a:not(.shop-link){position:relative}.cast>div>a:not(.shop-link):after{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;bottom:-2px;left:50%;transform:translate(-50%)}.cast a.shop-link{position:relative}.cast a.shop-link:after{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:-2px;left:50%;transform:translate(-50%)}.stars i img{opacity:.3}.stars i.on img{opacity:1}.lv .st .her-ic{height:1.35em!important}
