*{box-sizing:border-box}body{margin:0;background:#ede7da;color:#392f30;font:15px/1.45 system-ui,sans-serif}main{max-width:1120px;margin:auto;padding:0 24px 20px}header,.courts,.courts>div,.key,.key span,.buttons,label{display:flex;align-items:center}header,.courts,label{justify-content:space-between}header{padding:11px 0}header strong{font:600 20px Georgia,serif}button,select{font:inherit;background:#fbf6e9;border:1px solid #aaa293;border-radius:5px;color:inherit;padding:7px 12px;cursor:pointer}button:disabled{opacity:.5;cursor:default}button:enabled:hover,select:hover{background:#e3e6d6}button:focus-visible,select:focus-visible{outline:3px solid #00969a;outline-offset:2px}#guide,.buttons button,select{font-size:13px}#help,.card,.record,.boardcard{background:#faf6ec;border:1px solid #c1b8a6;border-radius:7px}#help{margin-bottom:10px;padding:14px 18px}#help p{margin:5px 0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,serif;font-weight:500;letter-spacing:-.04em}.hero{position:relative;height:clamp(138px,17vw,183px);border-radius:6px;overflow:hidden;isolation:isolate;background:#423437}.hero img,.tint{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%;z-index:-1}.tint{background:linear-gradient(90deg,#2b2333ee,#33252c99 40%,transparent 80%)}.title{position:absolute;bottom:18px;left:25px;color:#fff1cf}small{font:750 10px system-ui;letter-spacing:.18em}.title small{color:#ffd99b}.title h1{font-size:clamp(40px,5.5vw,70px);line-height:1.04}.title p{margin:4px 0 0}.layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(255px,1fr);gap:14px;margin-top:14px;align-items:start}.boardcard{padding:12px;background:#393335;box-shadow:0 4px 10px #40332820}.courts{padding:0 3px 10px;color:#f7e5cb;font-size:14px;font-weight:650}.courts>div{gap:7px}.courts b{background:#51484a;color:#fff5de;border-radius:4px;min-width:25px;text-align:center;font-variant-numeric:tabular-nums}.lamp{width:9px;height:9px;border-radius:50%;background:#c8835c}.east{background:#76a8a1}#board{display:grid;grid-template-columns:repeat(8,1fr);border:2px solid #827361;overflow:hidden;border-radius:4px}.square{position:relative;isolation:isolate;aspect-ratio:1.04;border:0;border-radius:0;padding:0;display:grid;place-items:center;min-width:0;box-shadow:inset 0 0 0 .5px #453c393b}.square.w0{background:#e5c5a3}.square.w1{background:#c7a387}.square.e0{background:#bbcdba}.square.e1{background:#95aea5}.square:nth-child(8n+4){border-right:3px solid #215a60}.square:nth-child(8n+5){border-left:3px solid #55a7a1}.square:enabled:hover{background:#f8dfaa}.square:focus-visible{z-index:2;outline-offset:-4px}.square img{position:absolute;bottom:12%;object-fit:contain;height:78%;width:85%;pointer-events:none;filter:drop-shadow(1px 3px 2px #35232162)}.square img.size1{width:52%;height:49%}.square img.size2{width:68%;height:65%}.square .coord{position:absolute;left:4px;top:1px;font:600 9px system-ui;color:#4c4740}.square.chosen{box-shadow:inset 0 0 0 4px #fcda68}.square.lastmove:after{content:'';position:absolute;right:3px;bottom:3px;border:3px solid #59554f;border-top-color:transparent;border-left-color:transparent}.square.mark:before{content:'';position:absolute;z-index:2;width:18%;height:18%;border-radius:50%;background:#216866;box-shadow:0 0 0 2px #ffead0}.square.capture:before{width:68%;height:68%;border:3px solid #a13a2e;background:transparent;box-shadow:none}.square.merge:before{width:45%;height:45%;background:transparent;border:3px solid #14756c;transform:rotate(45deg);border-radius:3px;box-shadow:none}.square.suggest{outline:3px dashed #214e54;outline-offset:-5px}.key{gap:17px;color:#e9ddc5;padding:9px 3px 0;font-size:12px}.key span{gap:6px}.key i{display:inline-block;width:9px;height:9px}.dot{background:#83b7a8;border-radius:50%}.ring{border:2px solid #f39c7d;border-radius:50%}.diamond{transform:rotate(45deg);border:2px solid #86c7b1}.card,.record{padding:15px}.card small{color:#875138}.card h2{font-size:30px}.card p,.record p{font-size:14px;color:#584d46}.buttons{gap:6px;margin:12px 0}.buttons button:first-child,#accept{background:#2d5c5d;color:#fff5dc}hr{border:0;border-top:1px solid #c7bfad}.card label{font-size:13px;margin:7px 0}.card select{max-width:72%;padding:5px}#new{width:100%;margin-top:3px}.record{margin-top:9px}.record h3{font-size:18px}.record p{margin-top:3px}#confirm{margin-top:8px}#confirm button{font-size:12px;margin-top:5px}@media(max-width:730px){main{padding:0 10px 14px}.layout{grid-template-columns:1fr;gap:9px;margin-top:9px}.hero{height:129px}.title{left:15px;bottom:14px}.boardcard{padding:6px}.courts{padding-bottom:6px}.square .coord{font-size:7px;left:2px;top:0}.key{padding-top:6px;font-size:11px}.card{padding:12px}.title p{font-size:13px}}
