:root{color-scheme:light;--ink:#253c36;--muted:#66796e;--paper:#fffdf6;--ground:#f1f1e6;--line:#d5ddcb;--green:#45634b;--accent:#d9e69d;--rust:#904734;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px;line-height:1.55}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink)}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:10px 14px;cursor:pointer;font-weight:600}button:hover:enabled{border-color:var(--green);background:#eef2df}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #a35532;outline-offset:4px}a{color:inherit}h1,h2,p{margin:0}h2{font-size:20px;line-height:1.4}fieldset{margin:0;padding:0;border:0;min-inline-size:0}[hidden]{display:none!important}.site-header{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:22px 30px 0;gap:16px}.home-link{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;font-size:13px}.home-link:hover{text-decoration:underline}.edition{font-size:12px;color:var(--muted);letter-spacing:.12em}main{max-width:1180px;margin:auto;padding:36px 30px 26px}.introduction{margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:700;color:var(--muted)}h1{font-family:"Songti SC","STSong",serif;font-size:54px;font-weight:600;letter-spacing:.08em;line-height:1.3;margin:9px 0 8px}h1 span{color:var(--green)}.subtitle{font-size:15px;color:var(--muted);letter-spacing:.06em}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.77fr);gap:34px;align-items:start}.paper{padding:26px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 0 #e4e8d8;scroll-margin-top:12px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.board-heading h2{font-family:"Songti SC","STSong",serif;font-size:29px;margin-top:3px;letter-spacing:.12em}.status-tag{border:1px solid var(--line);padding:6px 9px;border-radius:30px;color:var(--green);font-size:12px;white-space:nowrap}.status-tag.is-won{background:var(--accent);border-color:#bfce82}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric{background:#eff1e5;border-radius:9px;padding:9px 5px;text-align:center;display:flex;justify-content:center;align-items:center;gap:10px}.metric span{font-size:12px;color:#52634f}.metric strong{font-size:23px;line-height:1.15;font-variant-numeric:tabular-nums}.metric.is-error strong{color:var(--rust)}.feedback{font-size:13px;line-height:1.5;min-height:53px;padding:10px 0;color:#53624f}.feedback.is-won{color:#3b5b38;font-weight:700}.board{max-width:440px;margin-inline:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cell{position:relative;aspect-ratio:1;border:1px solid #cad3be;border-radius:10px;background:#fafaf0;padding:4px;min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 -3px 0 #e6e9d8}.cell-number{font-family:Georgia,"Songti SC",serif;font-size:clamp(27px,3.6vw,39px);font-weight:500;line-height:1.1}.cell-state{font-size:12px;font-weight:500;margin-top:3px;line-height:1.25}.cell-marker{position:absolute;right:5px;top:4px;font-size:12px;line-height:1.25;font-weight:700}.cell.is-duplicate{border:2px solid #b98659}.cell.is-duplicate .cell-marker{color:#8b4b2d}.cell.is-black{background:#30443b;color:#fffdf0;border-color:#30443b;box-shadow:inset 0 -3px 0 #1e3329}.cell.is-black:hover:enabled{background:#3d5347}.cell.is-adjacent{border:2px solid #b96b50}.cell.is-adjacent .cell-marker{color:#ffddb0}.cell:disabled{opacity:1}.board-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:13px 0 12px;font-variant-numeric:tabular-nums}.play-actions{display:grid;grid-template-columns:1fr 1.12fr 1.15fr;gap:8px}.play-actions button{padding:10px 7px;font-size:13px}.primary-button{background:var(--green);border-color:var(--green);color:#fff}.primary-button:hover:enabled{background:#354e3a;color:#fff}.board-caption{margin-top:13px;font-size:12px;line-height:1.65;color:var(--muted)}.board-caption span{display:block}.side-column{padding:7px 0 0}.rules h2,.sharing h2{font-family:"Songti SC","STSong",serif;letter-spacing:.04em;margin:9px 0 20px;font-size:24px}.rules ol{list-style:none;padding:0;margin:0;display:grid;gap:18px}.rules li{display:flex;gap:13px;align-items:flex-start}.rule-symbol{font-family:Georgia,serif;font-size:16px;border:1px solid #b5c1a7;color:#5d7052;width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.rules li strong{font-size:14px}.rules li p,.sharing>p{font-size:13px;color:var(--muted);margin-top:3px}.small-note{font-size:12px;color:var(--muted);margin-top:20px;padding:13px 0;border-top:1px dashed #bdc8b0}.islands{margin-top:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-heading h2{font-size:15px}.section-heading span{font-size:12px;color:var(--muted)}.board-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.board-picker button{font-size:13px;white-space:nowrap;padding:10px 7px;font-weight:500}.board-picker button[aria-pressed="true"]{background:#dce5bc;border-color:#8c9e68;color:#304a32;font-weight:700}.sharing{margin-top:28px;padding-top:22px;border-top:1px solid #c9d2bd}.sharing h2{font-size:21px;margin-bottom:9px}.sharing>button{margin-top:15px;width:100%;border-color:#aaba99;background:#e8edd8}.invitation{margin-top:16px;border:1px dashed #b5c2a5;border-radius:10px;padding:14px;background:#f8f8ed;overflow-wrap:anywhere}.invitation label{display:block;font-size:12px;margin-bottom:7px;font-weight:600}.invitation input{width:100%;min-height:44px;border:1px solid #b6c2a7;border-radius:7px;padding:10px;font-size:12px;color:var(--ink);background:#fffdf6}.invitation button{width:100%;margin-top:8px;font-size:13px}.invitation p{font-size:12px;color:var(--muted);margin-top:8px}.page-footer{margin-top:29px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;border-top:1px solid #d8ddcd;padding-top:17px}.address-notice{font-size:13px;line-height:1.6;padding:13px 16px;background:#e6ebd4;border:1px solid #bdcba6;border-radius:10px;margin-bottom:20px;overflow-wrap:anywhere}.confirmation{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff6e6;border:1px solid #c59c68;border-radius:13px;padding:17px;margin-bottom:20px;scroll-margin-top:12px}.confirmation h2{font-size:17px}.confirmation p{font-size:13px;margin-top:5px}.confirmation-actions{display:flex;gap:8px;flex-shrink:0}.confirmation-actions button{font-size:13px}.danger-button{background:#77503a;border-color:#77503a;color:#fff}.danger-button:hover:enabled{background:#68422f;color:#fff}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:1100px){.paper{padding:28px}.board{gap:10px}.cell-number{font-size:40px}}
@media(max-width:767px){.site-header{padding:12px 18px 0}.edition{font-size:12px;letter-spacing:.03em}main{padding:21px 18px 23px}.introduction{margin-bottom:22px}.introduction .eyebrow{font-size:12px}h1{font-size:40px;margin:6px 0}.subtitle{font-size:13px;letter-spacing:.01em}.game-layout{grid-template-columns:minmax(0,1fr);gap:30px}.paper{max-width:470px;width:100%;margin:auto;padding:17px;border-radius:15px}.board-heading{margin-bottom:12px}.board-heading h2{font-size:25px}.board-heading .eyebrow{font-size:12px}.status-tag{padding:5px 8px;font-size:12px}.metric{padding:8px 3px;gap:7px;flex-direction:column;gap:2px}.metric span{font-size:12px;line-height:1.25}.metric strong{font-size:21px}.feedback{font-size:12px;min-height:51px;padding:8px 0}.board{gap:7px}.cell{border-radius:8px}.cell-number{font-size:30px}.cell-state{font-size:12px;margin-top:2px}.cell-marker{font-size:12px;right:4px;top:4px}.board-footer{margin:10px 0}.play-actions{gap:6px}.play-actions button{font-size:12px;padding:10px 5px}.board-caption{margin-top:10px;line-height:1.5;font-size:12px}.board-caption span{display:inline}.side-column{max-width:470px;width:100%;margin:auto;padding:0}.rules h2{font-size:24px;margin-bottom:18px}.rules ol{gap:16px}.small-note{margin-top:18px}.islands{margin-top:19px}.board-picker button{font-size:13px}.sharing{margin-top:25px}.page-footer{display:block;line-height:1.8;margin-top:27px}.confirmation{display:block;padding:14px;margin-bottom:16px}.confirmation-actions{margin-top:12px;display:grid;grid-template-columns:1.3fr 1fr;gap:7px}.confirmation-actions button{font-size:12px;padding:10px 6px}.address-notice{margin-bottom:15px;font-size:12px}}
@media(min-width:768px) and (max-width:1000px){main{padding-left:24px;padding-right:24px}.game-layout{gap:23px;grid-template-columns:minmax(0,1fr) minmax(270px,.84fr)}.paper{padding:18px}.metric{display:block;padding:7px 3px}.metric span{display:block;font-size:12px}.metric strong{font-size:22px}.feedback{min-height:70px;font-size:12px}.board{gap:6px}.cell-number{font-size:30px}.cell-state{font-size:12px}.cell-marker{font-size:12px;right:3px;top:3px}.board-caption{font-size:12px}.board-heading h2{font-size:26px}.status-tag{font-size:12px;padding:5px}.board-heading{gap:5px}.board-picker button{font-size:12px}.rules h2{font-size:23px}.play-actions button{font-size:12px;padding:10px 4px}.page-footer{font-size:12px}}
