.cheese-page{max-width:1300px;margin:auto;padding:20px 22px 46px}
.cheese-crumb{font-size:.8rem;color:#a8b3cb;margin:0 0 15px}
.cheese-page h1{color:#fff3c9;margin:0;font:700 clamp(2rem,5vw,3.6rem)/1 Georgia,serif}
.cheese-intro{color:#cbd5e4;margin:9px 0 22px}
.cc-shell{background:#142c31;color:#f7f1dd;border:1px solid #5e7867;border-radius:17px;overflow:hidden}
.cc-hud{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 17px;background:#163338}
.cc-hud strong{color:#ffe1a2;font-family:Georgia,serif;font-size:1.25rem}
.cc-stats{display:flex;align-items:center;gap:clamp(9px,2vw,24px);font-size:.81rem;font-weight:700}
#ccHearts{color:#ffbb9c;font-size:1rem;letter-spacing:.08em}
.cc-view{position:relative;aspect-ratio:16/9;background:#e2d2b2;min-height:185px}
.cc-view canvas{display:block;width:100%;height:100%;outline:none;touch-action:none}
.cc-view canvas:focus-visible{outline:2px solid #ffc961;outline-offset:-3px}
.cc-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:12px;background:#0f283d50}
.cc-overlay[hidden]{display:none}
.cc-dialog{width:min(100%,480px);padding:clamp(14px,3vw,30px);border-radius:18px;background:#142c31f5;color:#fff3da;border:1px solid #d7bc79;box-shadow:0 14px 50px #12272965;text-align:center;max-height:100%;overflow:auto}
.cc-dialog .cc-kicker{font-size:.68rem;color:#ffd889;letter-spacing:.18em;font-weight:800}
.cc-dialog h2{color:#ffe8b5;margin:8px 0 12px;font:700 clamp(1.4rem,4vw,2.3rem)/1.04 Georgia,serif}
.cc-dialog p{font-size:.92rem;line-height:1.5;color:#d9e5d8;margin:8px 0 16px}
.cc-btn{font:700 .79rem system-ui,sans-serif;background:#2c494a;color:#fff1d3;padding:8px 12px;border-radius:8px;border:1px solid #709083;cursor:pointer}
.cc-btn:hover,.cc-btn.pressed{background:#46706a}
.cc-btn:focus-visible{outline:2px solid #ffd480;outline-offset:2px}
.cc-action{background:#f5ce7d;color:#1b3132;border-color:#f5ce7d;padding:11px 20px;font-size:.92rem}
.cc-action:hover{background:#ffe3a0}
.cc-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 14px}
.cc-dash{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:.75rem}
.cc-dash meter{width:clamp(50px,10vw,110px);accent-color:#efc66e}
.cc-goal{margin:0;padding:2px 14px 10px;color:#cfe0d3;font-size:.8rem}
.cc-touch{display:none;justify-content:center;gap:6px;padding:7px 8px 0}
.cc-touch .cc-btn{touch-action:none;min-width:42px;min-height:35px;padding:5px 8px}
.cc-note{color:#bac9db;font-size:.86rem;margin:14px 0}
.cc-shell:fullscreen{height:100dvh;width:100vw;display:flex;flex-direction:column;border:0;border-radius:0}
.cc-shell:fullscreen .cc-view{flex:1;min-height:0;aspect-ratio:auto}
.cc-shell:fullscreen .cc-toolbar,.cc-shell:fullscreen .cc-hud,.cc-shell:fullscreen .cc-touch,.cc-shell:fullscreen .cc-goal{flex:none}
.cc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(pointer:coarse),(max-width:680px){.cc-touch{display:flex}.cc-view{aspect-ratio:4/3}.cheese-page{padding:12px}.cc-hud{padding:8px 10px}.cc-hud strong{font-size:1rem}.cc-stats{font-size:.71rem}.cc-toolbar{padding:6px}.cc-btn{padding:6px 8px}.cc-goal{padding:2px 7px 7px;font-size:.7rem}.cc-dialog p{font-size:.8rem}}
@media(max-height:470px){.cc-shell:fullscreen .cc-view{min-height:0}.cc-shell:fullscreen .cc-goal{display:none}.cc-shell:fullscreen .cc-touch{padding-top:3px}.cc-shell:fullscreen .cc-touch .cc-btn{min-height:31px}}
