:root{color-scheme:light;--ink:#1b2620;--body:#f5f4ee;--paper:#fffef9;--rule:#c8cfbe;--mute:#425448;--forest:#202f28;--accent:#125336;--lime:#c7f478;--rose:#eeaf94;--light:#eff6da}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--body);color:var(--ink);font:1rem/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--accent);text-underline-offset:.21em}a:hover{text-decoration-thickness:2px}button,input,textarea,select{font:inherit}button{cursor:pointer}button[disabled]{cursor:default;opacity:.6}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #107453;outline-offset:3px}[hidden]{display:none!important}
.contain{max-width:1120px;margin:auto;padding-inline:clamp(1rem,4.8vw,3rem)}
header{background:var(--forest);color:#fffdf4}nav{display:flex;justify-content:space-between;align-items:center;gap:.5rem 1.2rem;flex-wrap:wrap;padding-block:1rem;border-bottom:1px solid #e4dec047}nav a{color:#fffce9}nav a:first-child{font-weight:780;text-decoration:none}
.hero{display:grid;grid-template-columns:1fr minmax(170px,30%);gap:clamp(1rem,5vw,4rem);align-items:center;padding-block:clamp(2.4rem,7vw,4.8rem)}.hero h1{font-size:clamp(2.45rem,6.9vw,4.85rem);line-height:.99;letter-spacing:-.065em;max-width:19ch;margin:.25rem 0 .95rem;text-wrap:balance}.hero p{font-size:clamp(1rem,2.4vw,1.24rem);max-width:59ch;color:#e4ecdf;margin:.2rem 0}
.gauge{border:1px solid #d1e9ae61;border-radius:1.2rem;padding:1.2rem 1.4rem;background:#34473b;transform:rotate(-5deg);box-shadow:0 10px 0 #0a1d12;display:grid;gap:.62rem}.gauge b,.gauge i{display:block;height:.75rem;border-radius:.3rem;background:#a6b6a3}.gauge b:nth-child(1){width:84%;background:var(--lime)}.gauge b:nth-child(2){width:100%}.gauge i:nth-child(3){width:53%;background:var(--rose)}.gauge i:nth-child(4){width:74%}
main{padding-block:clamp(1.1rem,3.8vw,2.6rem) 3rem}.panel,.tile{padding:clamp(1rem,3vw,1.65rem);background:var(--paper);border:1px solid var(--rule);border-radius:1rem;margin-bottom:1rem;box-shadow:0 8px 25px #1c321409}.panel h2,.tile h2{margin:.1rem 0 .5rem;line-height:1.15;letter-spacing:-.03em;font-size:clamp(1.32rem,3.2vw,1.9rem)}.panel h3{font-size:1.17rem;margin:.15rem 0 .38rem}p{margin:.47rem 0 .75rem}.tile p{margin:.3rem 0 .75rem}.tile h2{font-size:1.32rem}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.8rem}.cards .tile{margin:0;min-width:0}
fieldset{border:1px solid var(--rule);border-radius:.5rem;padding:.8rem;min-width:0;margin:.8rem 0}legend{font-weight:720;padding-inline:.35rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.65rem}.grid label,label.block{display:grid;gap:.3rem;color:var(--ink);font-weight:650;font-size:.94rem}input,select,textarea{width:100%;min-width:0;padding:.56rem .62rem;border:1px solid #87968b;border-radius:.46rem;background:#fff;color:var(--ink);min-height:44px;font-weight:450}textarea{resize:vertical}section fieldset:first-of-type{margin-top:.55rem}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:.77rem 0}.btn,.ghost{border:1px solid var(--accent);border-radius:.45rem;min-height:44px;padding:.55rem .83rem;align-items:center;justify-content:center;display:inline-flex;text-decoration:none;font-weight:730;line-height:1.22}.btn{color:#fff;background:var(--accent)}.btn:hover{background:#063225}.ghost{color:var(--accent);background:#fff}.ghost:hover{background:var(--light)}.muted{color:var(--mute);font-size:.93rem}.result{margin:.9rem 0;padding:.8rem 1rem;background:var(--light);border:1px solid #a7bb8a;border-radius:.58rem;white-space:pre-line}.result h3{margin:0 0 .25rem}.result p{margin:.22rem 0}.tag{display:inline-block;padding:.26rem .5rem;border:1px solid #acbb9c;background:#f1f5e7;border-radius:.4rem;margin:.25rem .23rem .25rem 0}.game{display:grid;width:max-content;max-width:100%;gap:5px;grid-template-columns:repeat(4, minmax(46px,61px));margin:.76rem 0}.game button{aspect-ratio:1.13;min-width:0;padding:.15rem;font-size:1.02rem}.game [data-player=true]{background:var(--accent);color:white}.game [data-rock=true]{background:#eef0ea;color:#455345}.game [data-goal=true]{border:2px dashed #44664e}.gate{font-weight:740;min-width:70px}.gate[aria-pressed=true]{background:#e3f3bf;border:2px solid #315c27}.choice button{margin:.12rem .28rem .16rem 0}.small{font-size:.92rem}.caption{margin:.8rem 0}.metrics{display:flex;gap:.65rem;flex-wrap:wrap;margin:.7rem 0}.metrics span{min-width:8rem;flex:1 0 auto;background:#f7f9ed;border-radius:.45rem;padding:.45rem .62rem;border:1px solid var(--rule)}.metrics b{font-size:1.25rem;display:block;font-variant-numeric:tabular-nums}
details{margin:.65rem 0}summary{cursor:pointer;font-weight:650}pre.note{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f4ec;border:1px solid var(--rule);border-radius:.45rem;padding:.65rem;font:inherit}footer{padding:1.2rem 0 2.4rem;color:var(--mute);font-size:.94rem}ol{padding-left:1.38rem}.pulse{animation:notice .28s ease-out}@keyframes notice{from{background:#fff2ca}to{background:var(--light)}}@media(max-width:650px){.hero{grid-template-columns:1fr}.gauge{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

