:root{color-scheme:dark;--bg:#151d24;--ink:#f2eedf;--gold:#efca76}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,sans-serif}main{max-width:1160px;padding:28px 24px;margin:auto}.eyebrow{font-size:10px;color:var(--gold);letter-spacing:.18em}h1{font:48px Georgia;margin:8px 0}header p{margin:0;color:#b7c1c2}header{padding-bottom:18px;border-bottom:1px solid #40505a}.guide{background:#26333b;margin:20px 0;padding:15px 18px;border-left:3px solid var(--gold)}.guide p{margin:4px 0}.scores{display:flex;justify-content:space-between;align-items:center;margin:18px 0;font-size:12px}.scores b{font:30px Georgia;margin-left:10px}.scores span:first-child{color:#ffd68d}.scores span:last-child{color:#8fd2d2}#board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.theatre{border:1px solid #53636a;border-radius:10px;overflow:hidden;background:#202c34}.art{height:100px;background-image:url('habitats.webp');background-size:300% 100%;position:relative}.art.air{background-position:0 0}.art.land{background-position:50% 0}.art.sea{background-position:100% 0}.art h2{position:absolute;bottom:0;left:0;right:0;margin:0;padding:5px 12px;background:#102028be;font:23px Georgia}.total{display:flex;justify-content:space-between;padding:7px 9px;background:#33414b;font-size:12px}.stack{padding:8px;min-height:50px}.stack.you{border-top:1px dashed #65757c}.tile{font-size:12px;margin:3px 0;padding:5px 8px;background:#42525b;border-radius:4px;display:flex;justify-content:space-between;gap:4px}.you .tile{background:#624e35}.tile.covered{opacity:.65}.empty{font-size:11px;color:#a7b6bb}.control{padding:5px 9px;font-size:11px;background:#101b22}.work{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px;margin:22px 0}h2{font:25px Georgia;margin:0 0 12px}#handcount{font:13px system-ui;color:#acb9bd}#hand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.card{position:relative;text-align:left;padding:0;background:#e6dfcd;color:#26322f;border:2px solid #87948b;border-radius:8px;overflow:hidden;min-height:195px;cursor:pointer}.card.selected{border-color:#ffe071;box-shadow:0 0 0 3px #b7943c}.card .art{height:63px}.card .body{padding:8px}.card strong{display:block;font-size:14px}.card .power{display:block;font-size:11px;line-height:1.35;margin-top:5px}.card .strength{position:absolute;top:8px;right:8px;background:#152832;color:#fff;padding:3px 8px;border-radius:50%;font-weight:bold}.panel{background:#25333d;border:1px solid #52616a;border-radius:9px;padding:18px;align-self:start}#status{font-size:14px}#cardinfo{color:#f2d495;font-size:14px}button{font:inherit;min-height:44px;padding:10px 12px;color:var(--ink);background:#344752;border:1px solid #69797f;border-radius:6px;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #ffe8a5;outline-offset:2px}#choices{display:flex;flex-direction:column;gap:7px}#choices button{background:#d5b776;color:#14232b;font-weight:650;text-align:left;font-size:14px}.utility{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.utility button{font-size:12px;flex:1}details{background:#25313a;padding:16px;border:1px solid #4a5b64;border-radius:8px;margin-bottom:12px}summary{cursor:pointer;font-weight:600}details p,#log{font-size:14px}footer{font-size:12px;color:#aab6b9;margin:22px 0}a{color:#efca76}@media(max-width:760px){main{padding:20px 12px}h1{font-size:37px}.guide{font-size:13px;padding:12px}.work{display:flex;flex-direction:column;gap:16px}#board{gap:5px}.art{height:70px}.art h2{font-size:18px;padding:4px 7px}.stack{padding:4px}.tile{font-size:10px;padding:4px}.total{font-size:10px;padding:5px}.control{font-size:9px;padding:4px}.panel{width:100%;order:-1}#hand{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.card{min-height:178px}.card .body{padding:6px}.card strong{font-size:12px}.card .power{font-size:10px}.card .art{height:52px}.panel h2{font-size:22px}#status{margin:8px 0}.scores{margin:12px 0}.scores b{font-size:25px}}
.art{background-size:300% auto;background-position-y:50%}.art.air{background-position:0 50%}.art.land{background-position:50% 50%}.art.sea{background-position:100% 50%}
