:root{color-scheme:light;font-family:system-ui,-apple-system,sans-serif;color:#2a2328;background:#fff}*{box-sizing:border-box}body{margin:0}button{font:inherit;min-height:44px;border:1px solid #dedbe0;border-radius:8px;background:#f3f4f6;color:inherit;padding:8px;touch-action:manipulation}button:disabled{opacity:.5}[hidden]{display:none!important}main{max-width:450px;margin:auto;padding:8px 12px max(12px,env(safe-area-inset-bottom))}.toolbar{display:flex;align-items:center;gap:12px}.toolbar #score{margin-left:auto}.rule{font-size:12px;line-height:1.6;margin:8px 0}.panel{text-align:center;padding:12px 8px}.panel h2{font-size:20px;margin:8px}.panel p{font-size:14px;line-height:1.8}.panel button{width:100%;font-weight:700}.companion{display:flex;align-items:center;gap:8px;margin:8px 0}.companion p{font-size:13px;margin:0;line-height:1.6}#save{color:#6e626a;font-size:11px}#mountains{position:relative;height:270px;background:#f2f4f7;border-radius:12px;margin-top:12px}.card{position:absolute;left:calc(var(--x) * 16.6667% + 1%);top:calc(18px + var(--row) * 78px);width:14.66%;height:72px;padding:2px;background:white;box-shadow:0 2px 3px #28233716;font-weight:700;font-size:23px;display:flex;flex-direction:column;justify-content:center;align-items:center}.card small{font-size:12px;color:#6e626a}.card.blocked{background:#e0e3e9;color:#6e626a;opacity:1}.card.available{border:2px solid #a2798d;background:#fff8fb}.card.removed{visibility:hidden}.tray{display:flex;align-items:center;justify-content:space-around;gap:12px;margin:14px 0}.tray button,.waste{width:78px;min-height:90px;text-align:center}.waste{border:1px solid #b9aab4;border-radius:8px;padding:8px;background:#fff8fb}.waste small,.waste b{display:block}.waste b{font-size:32px}.tray p{font-size:12px;margin:6px 0}#feedback{font-size:13px;min-height:22px}#finish{width:100%}@media(max-height:700px){#mountains{height:238px}.card{top:calc(10px + var(--row) * 67px);height:64px}.companion img{width:48px;height:48px}.tray{margin:8px 0}}
/* Lower cards visibly cover the bases of the two cards behind them. */
.card{top:calc(18px + var(--row) * 64px);height:96px;justify-content:flex-start;padding-top:10px}
@media(max-height:700px){.card{top:calc(10px + var(--row) * 58px);height:80px;padding-top:6px}}
