*{box-sizing:border-box}body{margin:0;background:#f5f2e9;color:#192d25;font:16px/1.5 system-ui,sans-serif}header{height:75px;background:#173b32;color:#faf4df;padding:0 max(5vw,20px);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font:600 27px Georgia,serif}.brand b{font:36px Georgia}.header-label,.eyebrow{font:12px ui-monospace,monospace;letter-spacing:.1em}main{max-width:1150px;margin:clamp(24px,6vh,75px) auto;padding:0 4%;display:grid;grid-template-columns:minmax(270px,1.55fr) minmax(235px,1fr);gap:clamp(28px,6vw,85px)}#board{display:grid;grid-template-columns:repeat(8,1fr);border:5px solid #364b3e;box-shadow:0 6px 16px #23362c18}.sq{border:0;position:relative;border-radius:0;aspect-ratio:1;padding:0;display:grid;place-items:center;background:#eae4cd;color:#172d25}.sq.dark{background:#849c85}.sq.last{box-shadow:inset 0 0 0 3px #b9a348}.sq.selected{background:#d6b15b}.sq.hint:after{content:'';width:21%;aspect-ratio:1;border-radius:50%;background:#244d3977;position:absolute}.sq.hint.occupied:after{width:84%;background:transparent;border:3px solid #356545}.piece{font:clamp(25px,5.2vw,62px)/1 'DejaVu Sans','Segoe UI Symbol',serif;z-index:1}.white{color:#fff9e5;-webkit-text-stroke:1px #22382d;text-shadow:0 2px #253a2d}.coord{font:9px monospace;position:absolute;bottom:2px;right:3px}.rank{top:2px;left:3px;right:auto;bottom:auto}.player{display:flex;align-items:center;gap:9px;padding:10px 0;font-size:14px;font-weight:600}.player i{width:12px;height:12px;border:1.5px solid #334438;border-radius:50%}.black-dot{background:#283c30}.white-dot{background:#fff9e6}aside{padding-top:38px}.eyebrow{display:flex;align-items:center;gap:8px;color:#4c6958;font-weight:bold}.eyebrow span{width:23px;height:2px;background:#a67b35}h1{font:normal clamp(38px,4.6vw,64px)/1.05 Georgia,serif;letter-spacing:-.045em;margin:16px 0}#status{color:#486050;margin:0 0 25px;max-width:40ch}button{cursor:pointer;font:inherit}button:focus-visible,input:focus-visible{outline:3px solid #ac650e;outline-offset:-3px}.primary,.entry button,#choices button{border:0;border-radius:4px;color:white;background:#245440;padding:12px 18px;font-weight:600}.primary span{padding-left:20px}label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.entry{display:flex;gap:6px}.entry input{width:0;flex:1;padding:11px;background:#fffdf5;border:1px solid #a9b4a7;border-radius:4px;font:16px monospace}button:disabled,input:disabled{cursor:default;opacity:.55}.sq{opacity:1}#feedback{font-size:14px;color:#81451c}.history{margin-top:28px;border-top:1px solid #bcc4b6;padding-top:16px}h2{font:24px Georgia;margin:0 0 14px}.row{display:grid;grid-template-columns:2.5em 1fr 1fr;padding:7px 10px;font:14px monospace}.row:nth-child(odd){background:#e9eadf}.row span:first-child,.empty{color:#667464}.empty{font:14px system-ui}#history{max-height:250px;overflow:auto}#choices{display:flex;flex-wrap:wrap;gap:5px}#choices button{padding:7px}.sq:disabled{opacity:1}@media(max-width:720px){main{grid-template-columns:1fr;max-width:560px;gap:10px;margin:16px auto 32px}aside{padding-top:10px}.piece{font-size:clamp(25px,8.5vw,54px)}header{height:58px}h1{font-size:40px}}

#invite{padding:15px;background:#e9eadf;border-radius:5px;margin-bottom:22px}#invite p{font-size:13px;color:#486050;margin:8px 0 0}

textarea{width:100%;box-sizing:border-box;resize:vertical;padding:10px;border:1px solid #a9b4a7;border-radius:4px;background:#fffdf5;color:inherit;font:14px/1.5 system-ui}.copy{background:#245440;color:white;border:0;border-radius:4px;padding:9px 12px;font-size:14px}#invite label:not(:first-child),#hostPrompt{margin-top:16px}
