:root{font-family:system-ui,'Microsoft YaHei',sans-serif;color:#344b45;background:#f4f6e9}*{box-sizing:border-box}body{margin:0}header{padding:20px 28px;background:#fffdf4;border-bottom:1px solid #dce4cb;display:flex;align-items:center;gap:18px;flex-wrap:wrap}h1{font-size:23px;margin:0}header span{font-size:13px;color:#748477}.layout{display:grid;grid-template-columns:265px 1fr;gap:18px;padding:20px;max-width:1500px;margin:auto}aside,main{background:#fffdf5;border:1px solid #dce4cb;border-radius:20px;padding:18px}h2{font-size:15px;margin:4px 0 12px}p{font-size:13px;line-height:1.75;color:#63756b}button,select{font:inherit;padding:9px 12px;border:1px solid #d8dfc7;border-radius:12px;background:#fff;cursor:pointer;color:inherit}button:hover{background:#edf4db}button.on{background:#f9d86d;border-color:#d1a93c;color:#4f421e}select{width:100%;margin-bottom:10px}.buttons{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.buttons button{flex:1;white-space:nowrap;font-size:13px}.stats{background:#edf3df;border-radius:12px;padding:12px;font-size:13px;line-height:1.9;margin:14px 0}.hint{min-height:46px;background:#fff1c4;border-radius:12px;padding:10px 14px;font-size:13px;line-height:1.6}#viewport{overflow:auto;background:linear-gradient(#e9f4ec,#f9f7e6);border-radius:15px;margin-top:12px;min-height:460px;max-height:75vh}svg{display:block;margin:auto}svg text{user-select:none;pointer-events:none;font-family:system-ui,'Microsoft YaHei',sans-serif}.tile{cursor:pointer}.tile:hover .top{stroke:#e49432;stroke-width:3}.foot{margin:12px 0 0;font-size:12px;color:#748477}.legend{display:flex;gap:12px;font-size:12px;margin-bottom:10px;flex-wrap:wrap}.dot{width:10px;height:10px;border-radius:42%;display:inline-block;margin-right:4px}label{font-size:13px;display:flex;gap:8px;align-items:center;margin:10px 0}input[type=range]{width:110px}@media(max-width:850px){.layout{grid-template-columns:1fr}aside{display:flex;flex-wrap:wrap;gap:12px}aside>section{flex:1;min-width:210px}#viewport{max-height:65vh}}
header{background:linear-gradient(100deg,#fff9e3,#fffdf6);box-shadow:0 3px 12px #758c4820}body{background:linear-gradient(145deg,#eff6dc,#fbf5e1);color:#5c543b}aside,main{border-color:#e0d7ad;box-shadow:0 8px 24px #8b8f4e0b}#viewport{background:radial-gradient(ellipse at 50% 20%,#f5f8d8,#e8f0d3)}h1{color:#68502f}button{background:linear-gradient(#fffdf0,#fff2ca);border-color:#e3d3a2;box-shadow:0 2px 0 #dbcca0}button.on{background:linear-gradient(#ffe89a,#f8cf5a);border-color:#d3a448}.stats{background:#edf3d6}.hint{background:#fff1c6;color:#75603a}.legend .dot{border:1px solid #8f9b6480}#viewport{width:100%;aspect-ratio:8/5;height:auto;min-height:0;max-height:none;overflow:auto;background:#eef5df;border-radius:20px}#board{width:100%;height:100%;margin:0}.layout{max-width:1720px;grid-template-columns:220px minmax(0,1fr);padding:14px;gap:14px}main{padding:12px}aside{padding:14px}.foot{font-size:11px}.legend{font-size:11px}.hint{min-height:36px;padding:8px 12px}@media(max-width:850px){.layout{grid-template-columns:1fr}#viewport{max-height:none;aspect-ratio:8/5}aside{max-height:240px;overflow:auto}}[hidden]{display:none!important}#hintbox .hint{margin-top:8px}
