*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 45% 8%,#35483c,#182b28 58%,#102420);color:#f3efd9;font-family:"Avenir Next",Avenir,system-ui,sans-serif;min-height:100vh}main{max-width:1100px;margin:auto;padding:38px clamp(16px,4vw,60px) 18px}header,.watch,.toolbar,footer,.stats,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}header{border-bottom:1px solid #778274;padding-bottom:21px}h1,h2,.value,strong{font-family:Georgia,serif;font-weight:400}h1{font-size:clamp(44px,7vw,82px);letter-spacing:-.06em;margin:0;line-height:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.21em;color:#e4c785;margin:0 0 6px}button{font:inherit;color:inherit;cursor:pointer;border-radius:7px;background:#263f37;border:1px solid #748579;padding:8px 14px;font-weight:550}button:hover:enabled{border-color:#f2cf88;background-color:#385548}button:focus-visible{outline:3px solid #ffdc94;outline-offset:3px}button:disabled{opacity:.46;cursor:default}.watch{padding:22px 0 10px}.watch h2,dialog h2{margin:3px 0;font-size:clamp(26px,4vw,40px);letter-spacing:-.04em}.stats>div{min-width:70px;padding-left:14px;border-left:1px solid #627268}.stats span,.stats strong{display:block}.stats span{font-size:12px;color:#bfcebf}.stats strong{font-size:24px}#log{min-height:1.55em;color:#e4d8b7;margin:4px 0 14px}#cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}.card,.empty{border:1px solid #bba773;border-radius:10px;overflow:hidden;background:#eae5d0;color:#25342d}.card{display:flex;flex-direction:column}.card img{width:100%;aspect-ratio:1.3;object-fit:cover;display:block}.copy{padding:12px;display:flex;flex-direction:column;flex:1}.copy h3{font-family:Georgia,serif;font-size:clamp(16px,2.1vw,25px);font-weight:400;margin:0}.value{color:#495e42;font-size:17px}.buttons{display:grid;gap:5px;margin-top:auto;padding-top:12px}.buttons button{font-size:13px;padding:7px 3px;color:#f6f1dc;background:#334a3e}.buttons button+button{color:#37463b;background:transparent}.empty{min-height:180px;background:repeating-linear-gradient(45deg,#263e32,#263e32 5px,#2c4338 6px,#2c4338 7px);border-color:#5d7162;display:grid;place-items:center;font:italic 17px Georgia;color:#bfccbc}.toolbar{margin:18px 0}.toolbar p{font-size:13px;color:#cfdbce;text-align:right}.actions button{white-space:nowrap}footer{border-top:1px solid #576c5e;margin-top:24px;padding-top:15px;font-size:12px;color:#c0cfbe}footer i{color:#dfbd77}footer button{border:0;background:none;text-decoration:underline}dialog{max-width:min(450px,90vw);background:#f2ebd5;color:#283d30;border:1px solid #d8bc80;border-radius:12px;padding:25px;line-height:1.5}dialog::backdrop{background:#101d18c9}dialog button{color:#f7f0dd;margin:3px}li{margin:8px 0}#cards.finished{grid-template-columns:1fr}.ending{padding:30px;border:1px solid #a38e58;border-radius:10px;text-align:center}.ending h2{font-size:40px;margin:0}.ending img{width:120px;border-radius:50%;height:120px;object-fit:cover}
@media(max-width:660px){main{padding-top:18px}#cards{grid-template-columns:1fr 1fr;gap:8px}.stats{gap:5px}.stats>div{min-width:42px;padding-left:6px}.stats strong{font-size:19px}.card img{aspect-ratio:2.25}.copy{padding:7px}.buttons{padding-top:6px}.toolbar{align-items:flex-start;flex-direction:column}.toolbar p{margin:0;text-align:left}.empty{min-height:140px}header{padding-bottom:12px}.watch{padding:14px 0 8px}}
