*{box-sizing:border-box}body{margin:0;background:#e9dfc8;color:#302819;font:16px system-ui,sans-serif}main{max-width:810px;margin:16px auto;padding:15px;background:#fff7e6;border:1px solid #887753;border-radius:9px;box-shadow:0 8px 26px #49381c22}header{height:148px;position:relative;overflow:hidden;border-radius:4px;background:#302819}header img{width:100%;height:100%;object-fit:cover;object-position:center 51%}header div{position:absolute;inset:0;padding:18px;display:flex;flex-direction:column;justify-content:end;color:#fff6dd;background:linear-gradient(90deg,#221b10ed,transparent 85%)}h1{font: bold clamp(34px,7vw,56px) Georgia,serif;margin:0}header p{margin:4px 0}.bar,footer,#dice{display:flex;align-items:center;justify-content:space-between;gap:6px}.bar{padding:14px 0;border-bottom:1px solid #c9b99a}.bar span{font-size:.89rem}#dice{justify-content:center;padding:14px 0 2px}.die{background:var(--ink);color:white;text-align:center;border-radius:6px;min-width:45px;padding:4px;box-shadow:0 2px 0 #584831}.die b{display:block;font: bold 26px Georgia}.die small{font-size:10px}.linen{background:#fffdf4;color:#362a1c;border:1px solid #beaf91}#hint{min-height:22px;text-align:center;font-weight:600}.row{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;margin:3px 0 9px}strong.label{font-size:12px;color:var(--ink)}button,summary{cursor:pointer}button{font:inherit}.row button{height:36px;padding:0;background:#f4ead7;color:#726854;border:1px solid #cabfa9;border-radius:4px;font-weight:bold}.row button:enabled{background:var(--ink);color:white;box-shadow:0 2px 0 #382c1b}.row button.mark{background:#423c31;color:white}.row button.past{text-decoration:line-through;opacity:.48}footer{align-items:start;border-top:1px solid #c9b99a;padding:13px 0 0}#next{background:#322d23;color:#fff3da;border:0;border-radius:5px;padding:9px 14px}details{max-width:60%;font-size:14px}summary{text-align:right;padding:8px}@media(max-width:540px){main{margin:0;padding:10px}header{height:112px}.row{gap:2px}.row button{font-size:13px}.die{min-width:40px}}
