.strategy-board{margin:16px 0;border-radius:22px;overflow:hidden;background:#10212c;position:relative}.strategy-board canvas{display:block;width:100%;height:auto;touch-action:none;outline-offset:-4px}.strategy-status{font-weight:750;line-height:1.65;padding:12px 14px;background:#edf5ee;border-radius:12px;color:#214438}.strategy-actions{display:flex;gap:8px;margin:12px 0}.strategy-actions button{flex:1;min-height:48px;padding:10px}.strategy-actions button:disabled,.word-board button:disabled{opacity:.45;cursor:wait}.chess-odds,.fruit-legend{font-size:12px;line-height:1.8;color:#506359;background:#f6f8f5;padding:12px;border-radius:12px}.fruit-actions button:first-child,.fruit-actions button:last-child{flex:0 0 60px}.word-board{background:#f4f8f3;color:#183d31;padding:20px;overflow:visible}.word-day{font-size:12px;letter-spacing:.04em;color:#577465;margin-bottom:18px}.word-board label{display:block;font-weight:750;margin-bottom:10px}.word-input{display:flex;gap:8px}.word-input input{min-width:0;flex:1;border:1px solid #b7ccba;border-radius:12px;background:#fff;padding:12px;font-size:18px}.word-input button{white-space:nowrap;padding:12px}.word-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.word-tools a{font-size:12px;text-decoration:underline}.word-history{max-height:420px;overflow:auto;margin-top:16px}.word-history table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.word-history th,.word-history td{padding:10px 5px;border-bottom:1px solid #dbe6dc;text-align:center}.word-history td:nth-child(2){text-align:left;font-weight:750}.word-history .is-recent{background:#fff0bf}.word-history .word-heat{display:block;height:4px;background:#e4ece5;border-radius:4px;margin-top:4px}.word-history .word-heat i{display:block;height:100%;background:#489c75;border-radius:4px}.word-notice-error{color:#a63335!important}@media(max-width:540px){.word-board{padding:14px}.word-input{gap:5px}.word-input button{font-size:13px;padding:10px}.strategy-actions{gap:5px}.strategy-actions .btn{font-size:13px}.play-panel{min-width:0}.strategy-board{border-radius:14px}}
@media(max-width:540px){.strategy-actions:has(#chessSell){flex-wrap:wrap}.strategy-actions:has(#chessSell)>.btn{flex:1 1 40%;font-size:13px}#chessSell{flex:1 1 100%;min-height:44px;font-size:13px}}

.fruit-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 10px}.fruit-preview>p{grid-column:1/-1;font-size:13px;margin:0;padding:12px;background:#f5f8ef;color:#344e3c;border-radius:12px}.fruit-preview-item{display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;background:#f7f5ed;border:1px solid #d6dfcf;border-radius:14px;padding:8px 4px;color:#314938}.fruit-preview-item.is-current{background:#e5f4e5;border-color:#73ad79}.fruit-preview-item span{font-size:11px;font-weight:650}.fruit-preview-item strong{font-size:13px}.fruit-preview-item svg{width:48px;height:48px;display:block}.fruit-preview+.strategy-board{margin-top:8px}

.strategy-actions:has(#chessUpgrade){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-actions:has(#chessUpgrade)>button{min-width:0;font-size:13px;line-height:1.5}#chessUpgrade{border-color:#d76875;color:#ffbdc4;background:#392b38}

.chess-codex{margin:42px 0 0;padding:28px;border:1px solid #587d94;border-radius:20px;background:linear-gradient(130deg,#122e41,#0c182a);scroll-margin-top:100px}.chess-codex-head h2{font-size:28px;margin:12px 0}.chess-codex-head>p,.chess-codex-note,.chess-reward-guide p{color:#bccfe0;font-size:13px;line-height:1.9}.chess-codex-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}.chess-unit-card{padding:16px;border:1px solid #34546c;background:#0a1929;border-radius:14px;min-width:0}.chess-unit-card img{display:block;width:100%;height:112px;object-fit:contain;margin:auto}.chess-unit-card h3{text-align:center;font-size:20px;color:#f8e6ab;margin:12px 0}.chess-unit-card dl{margin:0 0 15px;font-size:12px}.chess-unit-card dl>div{display:flex;gap:8px;justify-content:space-between;padding:7px 0;border-bottom:1px solid #253d51;flex-wrap:wrap}.chess-unit-card dt{color:#a6becf}.chess-unit-card dd{margin:0;color:#eef7ff;font-weight:700}.chess-unit-skill{display:block;color:#99ecdf;font-size:12px;line-height:1.7}.chess-unit-card p{font-size:12px;color:#aebed1;line-height:1.8;margin:10px 0 0}.chess-reward-guide{margin-top:20px;border-top:1px solid #38566d;padding-top:18px}.chess-reward-guide h3{font-size:18px}@media(max-width:1000px){.chess-codex-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.chess-codex{padding:20px 14px}.chess-codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chess-unit-card{padding:12px}.chess-unit-card:last-child{grid-column:1/-1}.chess-unit-card dl>div{font-size:12px}.chess-codex-head h2{font-size:24px}}
