:root{color-scheme:light;--ink:#322820;--paper:#fffaf2;--wine:#742038;--sage:#afc195;--ochre:#e6c88c;--ash:#d9d4ce}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#e9e1d7;color:var(--ink);font:16px/1.45 system-ui,sans-serif;min-height:100svh;display:grid;place-items:center;padding:18px}main{background:var(--paper);position:relative;width:min(100%,490px);padding:22px clamp(12px,4vw,32px) 28px;border-radius:16px;box-shadow:0 15px 60px #51352716}header{display:flex;justify-content:space-between;align-items:center;padding-bottom:13px;border-bottom:1px solid #ccbdad}a{color:inherit}.brand{display:inline-flex;align-items:center;gap:10px;font:22px Georgia,serif;letter-spacing:.12em;text-decoration:none}.brand:before{content:'';width:22px;height:22px;border:2px solid var(--wine);border-right:0}details summary{list-style:none;border:1px solid;border-radius:50%;width:29px;height:29px;text-align:center;cursor:pointer}details>div{position:absolute;z-index:3;right:4%;left:4%;top:67px;background:#fffcf7;border:1px solid #d5c5b5;border-radius:10px;padding:16px;box-shadow:0 7px 30px #35241d24}h1{font:clamp(48px,10vw,72px)/.98 Georgia,serif;letter-spacing:-.045em;margin:24px 0 9px}.intro{margin:0 0 16px}#board{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-width:310px;margin:16px auto 0}.tile{min-width:0;aspect-ratio:1.16;display:grid;place-items:center;border:1px solid #c2b6a8;border-radius:4px;font-size:clamp(21px,6vw,30px);font-weight:600}.tile[data-mark]{border-color:transparent}.right,[data-mark=right]{background:var(--sage)!important}.near,[data-mark=near]{background:var(--ochre)!important}.absent,[data-mark=absent]{background:var(--ash)!important}.notice{min-height:22px;font-size:14px;text-align:center;margin:10px 0}.keyrow{display:flex;gap:3px;justify-content:center;margin:4px 0}button,.shop{font:inherit;cursor:pointer}.keyrow button{flex:1;max-width:46px;padding:0;height:39px;color:var(--ink);background:#f3ece2;border:1px solid #cdbfae;border-radius:4px;font-size:clamp(12px,3.4vw,17px)}.keyrow .action{max-width:100px;font-size:15px}.keyrow .enter,.primary{background:var(--wine);color:white}.keyrow .enter{color:white;background:var(--wine)}#finish{text-align:center}.hero{width:100%;height:120px;object-fit:cover;margin-top:12px;border-radius:7px}#solution{display:flex;justify-content:center;gap:5px;margin:16px 0}#solution .tile{width:43px}.voucher{border:1px dashed #b7a188;padding:15px;display:grid;justify-items:center;gap:6px}.voucher button{background:none;border:0;border-bottom:1px dotted #9e8170;font:clamp(16px,4.6vw,23px) monospace;color:var(--wine)}.voucher span,#next,#prize p,#feedback{font-size:14px}.primary,.shop{display:inline-block;border:0;border-radius:5px;padding:11px 18px;text-decoration:none}.shop{border:1px solid #b3a392}.primary:disabled,button:disabled{opacity:.62;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #936715;outline-offset:2px}@media(max-width:520px){body{display:block;background:var(--paper);padding:0}main{margin:auto;border-radius:0;box-shadow:none;min-height:100svh}}
