/* Mint Studio: original tactile jelly on a quiet ivory tray. Numbers remain DOM. */
@font-face{font-family:Inter;src:url(assets/inter.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(assets/space-grotesk.woff2) format('woff2');font-display:swap}
button{touch-action:manipulation}.icon-btn svg{pointer-events:none}
:root{--bg:#f7f0df;--panel:#fffaf0;--text:#19372d;--muted:#516859;--ink:#173b33;--cyan:#2d795d;--pink:#19372d}
body{background:radial-gradient(ellipse at 10% 0%,#e0efd9,transparent 65%),var(--bg);font-family:Inter,system-ui,sans-serif}
.brand,.panel h1,.panel h2,.stat strong,.summary strong{font-family:'Space Grotesk',sans-serif}
.brand{color:var(--text);letter-spacing:-.06em}.brand span{color:var(--text)}
.brand small{display:block;margin-top:6px;color:var(--muted);font:700 10px Inter,sans-serif;text-transform:uppercase;letter-spacing:.15em}
.side{grid-template-areas:'brand actions' 'scores scores' 'progress progress' 'note note';gap:8px 12px}
.stat,.summary>div{background:#fffaf0;border:1px solid #dedfcb;box-shadow:0 3px 0 #8caa8b25}
.icon-btn{background:#fffaf0;border:1px solid #dedfcb;box-shadow:0 3px 0 #8caa8b25}
.icon-btn:hover:not(:disabled){background:#e6eedc}
.progress{grid-area:progress;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.progress strong{color:var(--text);font-variant-numeric:tabular-nums}
.move-note{grid-area:note;margin:0;font-size:11px;line-height:1.4;text-align:center;color:var(--muted)}
.board{background:linear-gradient(135deg,#fffef4,#ede8d5);border:1px solid #d3d9bf;box-shadow:inset 0 2px 0 #fff,0 7px 0 #b0bea1,0 16px 28px #45634920}
.cells i{border-radius:22%;background:linear-gradient(145deg,#bfd5b6,#d4e3c7);box-shadow:inset 0 3px 5px #54715326,inset 0 -1px 0 #ffffef}
.tile,.demo-tile{--s:.91;--t:#173b33}
.blob{border-radius:40% 43% 37% 39% / 45% 45% 34% 34%;background:radial-gradient(ellipse at 28% 13%,#ffffffcc 0 3%,#ffffff33 9%,transparent 34%),radial-gradient(ellipse at 65% 85%,#ffffff44,transparent 50%),linear-gradient(160deg,#ffffff3b,transparent 55%,#184b382b),var(--c);box-shadow:inset 0 2px 1px #ffffffbd,inset -3px -5px 6px #1f5e352e,inset 0 -1px 0 #154a3c50,0 3px 2px #41624b24}
.blob .eyes{top:14%;gap:.18em}.blob .eyes i{width:.07em;height:.09em}
.blob .mouth{top:25%;width:.1em;height:.045em}.blob::before,.blob::after{top:23%;width:.09em;height:.045em;background:#e68d6f66}
.blob .num{top:38%;font-family:'Space Grotesk',sans-serif;font-size:.46em;font-weight:700;text-shadow:0 1px 0 #ffffff55}
.tile[data-d='3'] .num,.demo-tile[data-d='3'] .num{top:42%;font-size:.36em}
.tile[data-d='4'] .num,.demo-tile[data-d='4'] .num{top:45%;font-size:.30em}
.tile[data-d='5'] .num,.tile[data-d='6'] .num{top:47%;font-size:.235em}
.v1{--c:#9bd5b0}.v2{--c:#70c8af}.v3{--c:#a9d8dc}.v4{--c:#b8c9e9}.v5{--c:#d6b8dc}.v6{--c:#edbec6;--t:#4d2430}.v7{--c:#efb59d}.v8{--c:#e9c28d}.v9{--c:#d8ce81;--t:#393b1b}.v10{--c:#e5cf79;--t:#413616}.v11{--c:#ffcb51}.v12{--c:#b4d99b;--t:#203d22}
.v1,.v2,.v3,.v4,.v5,.v6,.v7,.v8,.v9,.v10,.v11,.v12{--s:.91}
.v11 .blob{box-shadow:inset 0 3px 2px #fff8b9,inset -3px -5px 5px #b9822130,0 3px 2px #826b2540}
.overlay{background:#354b3b66;backdrop-filter:blur(3px)}
.panel{background:var(--panel);border:1px solid #dedfcb;box-shadow:0 7px 0 #7d947b3b,0 18px 38px #3e4f3020;gap:10px}
.panel h1{background:none;color:var(--text)}.goal{color:var(--text);font-size:16px}.hint{line-height:1.45}
.btn{background:#ff773c;color:#243326;font-size:17px;box-shadow:0 4px 0 #c45a30;min-height:48px}.btn-alt{background:#e4edd8;box-shadow:0 4px 0 #b4c7a6}
.demo{--cell:48px;height:52px;align-items:center;gap:5px}.demo-symbol{font:700 18px 'Space Grotesk',sans-serif;color:var(--muted)}
.demo .demo-tile:nth-child(1),.demo .demo-tile:nth-child(3){transform:none}
.cover{width:100%;height:100px;object-fit:cover;object-position:center 82%;border-radius:17px}
.btn:focus-visible,.icon-btn:focus-visible{outline:3px solid #325bd1}
@media(min-aspect-ratio:6/5){.side{grid-template-areas:'brand' 'scores' 'progress' 'actions' 'note';gap:16px}.progress{gap:8px}.brand span{margin-top:3px}.move-note{max-width:235px;line-height:1.6}.side .hint{display:none}}
@media(max-height:460px){.panel{gap:8px;padding:16px 20px}.cover{height:72px}.panel h1,.panel h2{font-size:30px}.demo{--cell:38px;height:40px}.goal{font-size:14px}.hint,.best-line{font-size:11px}.btn{min-height:44px;font-size:15px}.side{gap:6px}.move-note{font-size:10px}.stat strong{font-size:20px}}
@media(max-height:360px){.cover{display:none}.demo{--cell:34px;height:36px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
