:root{color-scheme:light;--ink:#623f4b;--muted:#927882;--accent:#936075;--line:#ebdfe5;--bg:#faf6f9;font-family:"Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #557f6c;outline-offset:4px}[hidden]{display:none!important}.site-nav{max-width:1120px;margin:auto;padding:23px 28px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}a{color:inherit}.site-nav a{text-decoration:none}main{max-width:1120px;margin:30px auto 45px;display:grid;grid-template-columns:.85fr 1.3fr;gap:55px;align-items:center;padding:0 28px}.intro{min-width:0}.wordmark{font-weight:800;font-size:19px;letter-spacing:.02em;display:flex;align-items:center;gap:10px}.brand-mascot{width:68px;height:68px;object-fit:contain}h1{font-size:clamp(29px,3.6vw,43px);font-weight:800;line-height:1.6;letter-spacing:.035em;margin:23px 0}.lead{font-size:14px;line-height:2.1;margin:0 0 28px}.intro-actions{display:flex;flex-wrap:wrap;gap:10px}.primary,.secondary{border-radius:999px;padding:13px 24px;min-height:48px;font-size:14px;font-weight:700;border:1px solid var(--accent)}.primary{background:var(--accent);color:white}.primary:hover{background:#7f5065}.primary:disabled{opacity:.45}.secondary{background:white;color:var(--accent)}.secondary:hover{background:#f7edf3}.best{font-size:11px;min-height:20px;color:var(--muted);line-height:1.8;margin-top:18px}details{max-width:350px;font-size:12px;line-height:1.9;color:var(--muted);margin-top:22px}summary{cursor:pointer;color:var(--ink);width:fit-content}details p{margin:10px 0}.counter{background:white;border-radius:30px;padding:23px 24px 16px;border:1px solid var(--line);min-width:0;box-shadow:0 8px 28px #734e6010}.counter-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.caption{font-size:11px;color:var(--muted)}h2{font-size:17px;margin:5px 0 0;font-weight:700}.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;padding:10px 0;text-decoration:underline;white-space:nowrap}.hud{display:flex;justify-content:space-between;gap:12px;margin:0 0 14px}.hud>div{display:flex;flex-direction:column;gap:5px}.hud>div>span{font-size:10px;color:var(--muted)}.hud strong{font-size:19px;font-variant-numeric:tabular-nums;min-height:25px}.hud>div:last-child{text-align:right}.hearts{display:flex;gap:5px;align-items:center}.heart{display:inline-flex;width:23px;height:23px}.heart svg{width:100%;height:100%;overflow:visible}.heart path{fill:#e2829d;stroke:#cf6c88;stroke-width:1.5;stroke-linejoin:round}.heart.lost path{fill:none;stroke:#d9cbd1}.timer{height:5px;background:#f2e9ed;margin-bottom:17px;border-radius:5px;overflow:hidden}.timer div{height:100%;background:#a5bbaa;transform-origin:left}.timer.urgent div{background:#da7b96}.tray{background:#fff;border:1px solid #f0e8ec;border-radius:22px;padding:14px 10px 10px}.board{display:grid;grid-template-columns:repeat(var(--size,3),1fr);gap:6px;min-height:150px}.hamster{display:block;position:relative;background:none;border:2px solid transparent;border-radius:18px;width:100%;aspect-ratio:1;padding:0;touch-action:manipulation}.hamster canvas{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.hamster:not(:disabled):hover{background:#faf5f8}.hamster.answer{border-color:#648c73;background:#f0f7f2}.hamster.answer:after{content:"✓";position:absolute;right:-2px;top:-5px;background:#648c73;color:white;width:21px;height:21px;border-radius:50%;font-size:14px;line-height:21px}.hamster.wrong{border-color:#c46985}.hamster.wrong:after{content:"×";position:absolute;right:-2px;top:-5px;background:#c46985;color:white;width:21px;height:21px;border-radius:50%;font-size:17px;line-height:21px}.tray-mark{text-align:center;font-size:9px;letter-spacing:.08em;display:block;color:#b8a1ad;padding:10px 0 0}.feedback{min-height:75px;padding:15px 0 10px;text-align:center;font-size:12px;line-height:1.8}.feedback p{margin:0}.comparison{display:flex;gap:18px;justify-content:center;margin-top:10px;font-size:11px}.comparison span{display:flex;align-items:center;gap:6px}.comparison i{width:24px;height:24px;border-radius:50%;border:1px solid #0002}.next{display:block;width:100%;margin-bottom:14px}.counter-foot{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);gap:8px}.result{padding:0 0 14px;text-align:center}.result h2{font-size:22px}.result p{font-size:12px;line-height:1.9}.result-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}#share-status:empty{display:none}footer{text-align:center;font-size:10px;color:var(--muted);padding:15px 20px 25px;line-height:1.9}footer span{padding:0 10px}body.playing main{align-items:start}body.playing .intro{padding-top:30px}body.playing .intro-actions{display:none}@media(min-width:850px){main{min-height:620px}}@media(max-width:800px){.site-nav{padding:17px 20px}.site-nav span{display:none}main{max-width:590px;grid-template-columns:1fr;gap:22px;margin:5px auto 25px;padding:0 16px}.intro{text-align:center}.wordmark{justify-content:center;font-size:20px}.brand-mascot{width:57px;height:57px}h1{font-size:32px;line-height:1.45;margin:14px 0}.lead{font-size:12px;line-height:1.9;margin-bottom:18px}.intro-actions{justify-content:center}.best{margin:12px 0 0}details{margin:12px auto 0;text-align:left}details summary{margin:auto}.counter{padding:18px 15px 14px;border-radius:24px}.tray{padding:10px 6px}.board{gap:4px}.hamster{border-radius:12px}body.playing main{gap:8px}body.playing .intro{padding:0}body.playing .intro h1,body.playing .intro .lead,body.playing .intro details,body.playing .intro .best{display:none}body.playing .wordmark{font-size:17px}body.playing .brand-mascot{width:42px;height:42px}body.playing .site-nav{padding-top:12px;padding-bottom:10px}}@media(max-width:360px){main{padding:0 9px}.counter{padding:16px 11px}.board{gap:2px}.primary,.secondary{padding:12px 18px}.heart{width:21px;height:21px}h2{font-size:15px}}@media(prefers-reduced-motion:no-preference){.hamster.answer canvas{animation:hop .4s ease-out}@keyframes hop{50%{transform:translateY(-7px)}}}
/* Practice and result controls share the existing quiet visual language. */
.practice-panel{border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px;margin:18px 0;text-align:left}.practice-panel h2{font-size:17px}.practice-panel p,.review p{font-size:11px;line-height:1.8;color:var(--muted)}.practice-panel label,.review label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:12px 0}select{font:inherit;color:var(--ink);background:#fff;border:1px solid #d9c8d1;border-radius:9px;padding:10px;width:100%;min-height:42px}.setup-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:15px}.setup-actions .primary{font-size:12px}.color-records{border-collapse:collapse;width:100%;font-size:11px;margin:12px 0;font-variant-numeric:tabular-nums}.color-records th,.color-records td{border-bottom:1px solid var(--line);padding:7px 3px;text-align:right;font-weight:400}.color-records th:first-child{text-align:left}.color-records thead th{font-size:10px;color:var(--muted)}.color-records i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.result .finest{font-size:18px;font-weight:700;color:#7c5266}.result details{margin:15px auto;text-align:left}.result details summary{margin:auto}.review{margin:16px 0;padding:15px;background:#faf6f9;border-radius:15px;text-align:left}.review h3{font-size:14px;margin:0 0 10px}.review .secondary{font-size:12px;width:100%;padding:10px 12px;min-height:42px}.comparison{gap:12px;flex-wrap:wrap}.comparison small{font-size:9px;color:var(--muted)}.next{font-size:12px;min-height:35px;padding:8px 15px}.hud{gap:8px}.hud strong{font-size:17px}.hud .heart{width:20px;height:20px}.result-actions .secondary{font-size:12px;padding:11px 15px}.result-actions .primary{font-size:12px;padding:11px 20px}body.playing .intro #local-stats{max-width:330px}.hamster:not(:disabled):hover{background:transparent}.hamster:focus-visible{outline:2px solid #557f6c;outline-offset:0}@media(max-width:800px){body.playing .intro #local-stats{display:none}.hud strong{font-size:16px}.hud .hearts{gap:3px}.hud .heart{width:19px;height:19px}.hud>div>span{font-size:9px}.comparison small{display:none}.practice-panel{max-width:380px;margin:15px auto}}
/* Every missed round is visible at the end, in play order. */
#review-list{display:grid;gap:16px}.review{padding:0;background:transparent}.miss-card{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.miss-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.miss-card h4{font-size:13px;margin:0;line-height:1.7}.miss-status{font-size:10px;padding:3px 7px;border-radius:9px;background:#f7e9ee;color:#a14d6b;white-space:nowrap}.review-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.review-pair figure{margin:0;min-width:0}.review-pair figcaption{font-size:12px;font-weight:700;margin-bottom:6px}.review-pair canvas{display:block;width:100%;height:auto}.miss-card .miss-facts{font-size:11px;color:var(--ink);line-height:1.9}.miss-card .comparison{justify-content:flex-start;font-size:10px;margin:10px 0 14px;gap:10px}.miss-card .comparison i{width:16px;height:16px;flex:none}.miss-card .secondary{background:#faf6f9}@media(max-width:400px){.miss-card{padding:11px 9px}.review-pair{gap:7px}.miss-card h4{font-size:12px}.miss-card .comparison{font-size:9px;gap:7px}}
/* Play mode gives the board the entire stage; the landing copy stays on the menu. */
body.playing .intro{display:none}body.playing main{display:block;max-width:650px;min-height:0;margin:8px auto 28px;padding:0 18px}body.playing .counter{padding:20px 21px 16px;box-shadow:none}body.playing .tray{width:100%;max-width:min(100%,calc(100dvh - 385px));margin:0 auto}body.playing .counter-head{margin-bottom:14px}.board.is-revealed .hamster:not(.answer):not(.wrong) canvas{opacity:.28;filter:saturate(.2)}.hamster.answer{box-shadow:0 0 0 1px #648c7355}.reaction{position:absolute;bottom:92%;left:50%;transform:translateX(-50%);font-size:11px;white-space:nowrap;border:1px solid #b56c83;background:white;color:#824b5e;border-radius:99px;padding:3px 7px;z-index:2}.result-insights{text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:18px 0 22px}.result-insights h3{font-size:14px;margin:0 0 8px}.result-insights>p{font-size:12px;margin:8px 0}.bar-legend{font-size:10px!important;color:var(--muted);line-height:1.7;margin:9px 0!important}.stat-bar-row{display:grid;grid-template-columns:60px 1fr 98px;align-items:center;gap:9px;font-size:11px;margin:11px 0}.stat-bar-name{display:flex;align-items:center;gap:5px}.stat-bar-name i{width:10px;height:10px;border-radius:50%;flex:none}.stat-bar-count{font-size:10px;text-align:right;color:var(--muted)}.stat-bar-track{position:relative;background:#eee7ec;border-radius:9px;height:6px}.stat-bar-track:before{content:"";position:absolute;left:50%;top:-3px;height:12px;border-left:1px solid #c1b2bc}.stat-bar-marker{position:absolute;top:50%;transform:translate(-50%,-50%);width:11px;height:11px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #a48b9b88}.stat-bar-row.provisional .stat-bar-marker{opacity:.5}.miss-share-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}.miss-share-actions .secondary:first-child{grid-column:1/-1}.miss-share-actions .secondary{font-size:11px;padding:9px 6px;min-height:38px}.export-status{font-size:11px!important;margin:9px 0 0;color:var(--muted)}.export-status:empty{display:none}@media(prefers-reduced-motion:no-preference){.board.is-revealed .hamster canvas{transition:opacity .16s}.hamster.wrong canvas{animation:wrong-shake .32s ease-in-out}.heart.just-lost{animation:lose-heart .35s ease-out}@keyframes wrong-shake{25%{transform:translateX(-4%)}75%{transform:translateX(4%)}}@keyframes lose-heart{50%{transform:scale(.6)}}}@media(max-width:800px){body.playing main{padding:0 12px;margin-top:4px}body.playing .counter{padding:16px 13px 13px}.stat-bar-row{grid-template-columns:53px 1fr 88px;gap:7px}.stat-bar-count{font-size:9px}}@media(max-height:620px) and (min-width:700px){body.playing .tray{max-width:340px}}
/* Same game, embedded in the static guide; no duplicate navigation around it. */
.embedded .site-nav,.embedded footer{display:none}.embedded main{margin:8px auto;padding:8px 12px;max-width:590px;display:block;min-height:0}.embedded .intro{text-align:center}.embedded .wordmark,.embedded .intro-actions{justify-content:center}.embedded h1{font-size:28px;line-height:1.5;margin:16px 0}.embedded .intro details{margin:12px auto;text-align:left}.embedded .intro summary{margin:auto}.embedded .counter{margin-top:18px;box-shadow:none}.embedded body.playing .counter{margin-top:0}.embedded body.playing main{margin:0 auto;padding:12px;max-width:650px}.embedded body.playing .tray{max-width:min(100%,420px)}
