@font-face{font-family:Lilita;src:url(/fonts/lilita-one-400-latin.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Nunito;src:url(/fonts/nunito-latin.woff2) format("woff2");font-weight:200 900;font-display:swap}:root{font-family:Nunito,sans-serif;color:#60391f;background:#e8d5ac;font-synthesis:none;touch-action:manipulation;--ink:#60391f;--cream:#fff3d9;--honey:#e9a447;--sage:#7d8d48;--rust:#ad492b;--muted:#7b5739}*{box-sizing:border-box}body{margin:0;overscroll-behavior:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .16s,transform .16s}button:active:not(:disabled){transform:translateY(2px)}button:focus-visible{outline:3px solid var(--rust);outline-offset:3px}button:disabled{opacity:.5;cursor:default}::selection{background:#f3c77b;color:var(--ink)}#app{height:100dvh;max-width:520px;margin:auto;padding:max(6px,env(safe-area-inset-top)) 22px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:7px;background:#fff1d7 url(/art/background.webp) center/100% 100% no-repeat;position:relative;isolation:isolate}header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;height:66px}.brand{display:flex;align-items:center;gap:8px}.app-logo{width:62px;height:62px;object-fit:contain;border-radius:12px}h1{font:400 29px/1 Lilita,sans-serif;margin:0;letter-spacing:-.02em;color:#874a24;text-shadow:0 2px #fff2d2}.icon{width:44px;height:44px;background:#fff3dcdd;border:2px solid #bc8b51;border-radius:14px;color:var(--ink);display:grid;place-items:center}.icon:hover{background:#f8dda5}.icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;fill:none}.hud{display:flex;align-items:center;gap:24px;flex-shrink:0;padding:7px 14px;background:#fff3dbed;border:2px solid #d2a269;border-radius:16px}.caption{display:block;font-size:9px;letter-spacing:.08em;font-weight:900;color:var(--muted)}.hud strong{display:block;font:400 32px/1.05 Lilita,sans-serif;font-variant-numeric:tabular-nums;transform-origin:left center}.hud .best strong{font-size:25px;color:#94602c}.next{margin-left:auto;display:flex;align-items:center;gap:8px}.next canvas{width:42px;height:42px}#board{position:relative;flex:1;min-height:160px}#game{display:block;width:100%;height:100%;touch-action:none;outline:none}#announcement{position:absolute;bottom:3%;left:12%;right:12%;text-align:center;font-size:14px;color:#6a421e;font-weight:900;pointer-events:none;background:#fff3d9ed;border-radius:10px}#announcement:empty{display:none}.below{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-shrink:0;padding:0 3px}.hold{display:flex;align-items:center;gap:6px;background:#fff0cc;border:2px solid #b98546;border-radius:14px;padding:4px 9px 4px 4px;min-height:49px;color:var(--ink);text-align:left;font-size:13px;font-weight:900}.hold:not(:disabled):hover{background:#f9df9e}.hold canvas{width:35px;height:35px}.hold small{display:block;font-size:9px;font-weight:700;color:var(--muted);margin-top:1px}.below p{font-size:11px;font-weight:800;line-height:1.4;max-width:103px;color:#694424;text-align:center;margin:4px 0}#hint.keyboard-focus{color:#8e3e24;text-decoration:underline;text-underline-offset:3px}.collection{flex-shrink:0;background:#fff1d7ed;border:2px solid #c6995c;border-radius:16px;padding:8px 11px 6px}.chain-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.04em;font-weight:900;color:#74502e}#discovery{letter-spacing:0;font-weight:800}#chain{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1px;margin-top:3px;justify-items:center}#chain canvas{width:100%;max-width:34px;height:auto;aspect-ratio:1}.pack-motto{margin:3px 0 0;text-align:center;font-size:10px;line-height:1.3;font-weight:800;color:#775331}dialog{border:3px solid #aa733b;border-radius:25px;background:#fff3db;color:var(--ink);max-width:350px;width:calc(100% - 32px);max-height:calc(100dvh - 24px);padding:18px 25px 22px;text-align:center;box-shadow:0 16px 50px #56321044;overflow:auto}dialog::backdrop{background:#50341c88}.dialog-art{height:170px}.dialog-art img{height:170px;width:170px;object-fit:contain;border-radius:12px}dialog h2{font:400 35px/1.02 Lilita,sans-serif;letter-spacing:-.02em;margin:4px 0 11px}dialog p{font-size:14px;line-height:1.5;color:#795436;margin:10px 0}.primary,.secondary{width:100%;min-height:48px;border-radius:14px;font-weight:900;margin-top:8px}.primary{background:#b8512b;color:#fff8df;border:2px solid #8f3c20;font-size:17px}.primary:hover{background:#9e4121}.secondary{background:#f7e4ba;color:var(--ink);border:2px solid #c99957}#menu-result{font:400 27px Lilita,sans-serif;color:#a34b26}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(min-width:700px){#app{border-left:2px solid #c9a06a;border-right:2px solid #c9a06a;box-shadow:0 8px 44px #78532122}}@media(max-height:700px){#app{gap:4px;padding-top:3px;padding-bottom:4px}header{height:48px}.app-logo{width:46px;height:46px}h1{font-size:25px}.hud{padding:4px 12px}.hud strong{font-size:27px}.hud .best strong{font-size:23px}.next canvas{width:34px;height:34px}.collection{padding:5px 9px 3px}#chain canvas{max-width:25px}.hold{min-height:44px}.hold canvas{width:29px;height:29px}.below p{font-size:10px}.pack-motto{font-size:9px}.dialog-art,.dialog-art img{height:125px}.dialog-art img{width:125px}dialog h2{font-size:30px}}@media(max-width:370px){#app{padding-left:14px;padding-right:14px}.hud{gap:18px}.caption{font-size:8px}.below{gap:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}#loading{position:fixed;inset:0;z-index:20;background:#fff1d7;display:flex;align-items:center;justify-content:center;flex-direction:column;font-weight:800}#loading[hidden]{display:none}
