:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#243646;background:#f0f3f7;line-height:1.65}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1120px;margin:auto;padding:24px}header{padding-top:38px}h1{margin:0;font-size:32px}h2{margin:0 0 14px;font-size:21px}h3{font-size:17px;margin:10px 0}.eyebrow{color:#607487;margin:0}.notice{border-left:4px solid #b57920;padding-left:14px}nav,.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}section{background:white;padding:22px;border:1px solid #d8e1ea;border-radius:10px;margin-bottom:20px}p{margin:9px 0 15px}a{color:#245e87}button{background:#285f87;color:white;border:0;border-radius:6px;padding:10px 14px;font:inherit;cursor:pointer}button:disabled{background:#e0e6ec;color:#6a7580;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d29938;outline-offset:3px}input,select,textarea{font:inherit;padding:8px;border:1px solid #9eafbe;border-radius:5px;color:inherit;background:white}input[type=number]{width:160px}textarea{display:block;width:100%;margin:8px 0 15px;font:14px/1.5 Consolas,monospace;resize:vertical}label{display:inline-flex;align-items:center;gap:7px}.card{padding:14px 0;border-top:1px solid #e0e7ee}.board{display:grid;gap:5px;max-width:100%;overflow:auto;padding:5px 0}.square{padding:7px;border:1px solid #d8e1ea;border-radius:6px}.square p{font-size:12px;min-height:35px;margin:0 0 6px}.square button{display:block;width:100%;margin-bottom:4px}.cell{min-width:47px;min-height:40px;padding:6px;font-size:13px}.cell.revealed{background:#e8edf3;color:#263c51}.cell.flagged{background:#9b6a23}.error{color:#a03429;white-space:pre-wrap}.success{color:#236745;white-space:pre-wrap}.muted{color:#637687}.rules{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fa;padding:12px;font:13px/1.55 Consolas,monospace}.status{border-left:5px solid #376f99}#retryArea{background:#fff0d4;padding:14px;border-radius:6px}footer{padding-top:0;color:#607283;font-size:13px}[hidden]{display:none!important}@media(max-width:600px){header,main,footer{padding:16px}header{padding-top:25px}section{padding:16px}h1{font-size:27px}.actions{align-items:stretch}.actions button{flex-grow:1}.cell{min-width:42px;min-height:40px}}
