body[data-game="sichuan"] .board{width:100%;min-width:0}
body[data-game="sichuan"] .board-scroll{background:#174a40;border:1px solid #477369;padding:12px}
.sc-table{color:#f4f4e4;min-width:0;display:grid;gap:12px}
.sc-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px}
.sc-table-head h2{font-size:20px;margin:0;font-weight:850;letter-spacing:2px}.sc-wall{font-size:13px;color:#ddedce}
.sc-opponents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sc-player{background:#225c4e;border:1px solid #578071;border-radius:12px;padding:12px;min-width:0}
.sc-player.mine{border:2px solid #e7c979;background:#2c6351}.sc-player.active{box-shadow:inset 0 0 0 2px #e7c979}
.sc-player-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.sc-player-heading strong{font-size:14px;overflow-wrap:anywhere}.sc-player-heading b{white-space:nowrap;color:#fff0b2;font-size:20px}
.sc-player small{display:block;font-size:12px;line-height:1.7;color:#e3eddc}.sc-player .sc-won{color:#fff0b2;font-weight:800}
.sc-pile{display:flex;flex-wrap:wrap;gap:3px;min-height:34px;margin-top:8px;align-content:start}.sc-pile:empty::after{content:"还没有弃牌";font-size:11px;color:#c4dbc9;align-self:center}
.sc-mini{display:inline-grid;place-content:center;line-height:1.15;width:25px;height:34px;border-radius:4px;background:#fbf7e8;color:#1d443c;box-shadow:0 2px 0 #c0c8b8;font-size:12px;font-weight:800;text-align:center}.sc-mini[data-suit="0"]{color:#a3312c}.sc-mini[data-suit="1"]{color:#234f8c}.sc-mini[data-suit="2"]{color:#20634a}.sc-mini.back{background:#436c5b;color:#f7e9b5;border:1px solid #8aa88d}.sc-melds{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.sc-meld{display:flex;gap:2px;align-items:center}.sc-meld-label{font-size:11px;margin-right:2px;color:#e3eddc}
.sc-banner{background:#f7e9b9;color:#473c23;border:1px solid #dbbe71;border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.sc-controls{width:100%;min-width:0;display:grid;gap:12px}.sc-hand-head{display:flex;gap:8px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.sc-hand-head h2{font-size:18px;margin:0}.sc-hand-head span{font-size:12px;color:var(--muted)}
.sc-hand{display:flex;flex-wrap:wrap;gap:6px;padding:8px 2px 5px;min-width:0;align-items:flex-end}
.tabletop button.sc-tile{width:46px;min-width:46px;height:62px;min-height:62px;padding:4px 0;border:1px solid #b4bdad;border-bottom:5px solid #9aaf99;border-radius:7px;background:#fffdf2;color:#263e35;font-family:inherit;font-weight:900;display:grid;place-content:center;gap:1px;line-height:1.05;position:relative;flex-shrink:0;box-shadow:0 2px 0 #d4d3bc}
.sc-tile b{font-size:25px}.sc-tile span{font-size:17px}.tabletop button.sc-tile[data-suit="0"]{color:#a3312c}.tabletop button.sc-tile[data-suit="1"]{color:#234f8c}.tabletop button.sc-tile[data-suit="2"]{color:#20634a}
.tabletop button.sc-tile.selected{border-color:#92640f;background:#fff0b2;transform:translateY(-5px);box-shadow:0 3px 0 #d3af55;outline:2px solid #a47724;outline-offset:1px}
.tabletop button.sc-tile:disabled{opacity:1;cursor:default}.tabletop button.sc-tile.unavailable{background:#e9e9df;color:#63706a;box-shadow:none;border-bottom-color:#bcc6b8}.tabletop button.sc-tile:focus-visible,.sc-actions button:focus-visible{outline:3px solid #b075d5;outline-offset:3px}
.sc-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.sc-actions button{font-family:inherit;font-size:14px;font-weight:700;min-height:46px;padding:10px 15px}.sc-actions button.sc-hu{background:#a64a36;color:#fff;border-color:#a64a36}.sc-actions button.sc-confirm{background:#2f7661;color:#fff;border-color:#2f7661}.sc-actions button.sc-que{min-width:70px}.sc-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0;overflow-wrap:anywhere}.sc-empty{font-size:14px;line-height:1.7;padding:12px}
.sc-results{display:grid;gap:8px;width:100%;min-width:0}.sc-results h3{font-size:15px;margin:0}.sc-score-line{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--table-line);border-radius:8px;overflow-wrap:anywhere}.sc-score-line b{white-space:nowrap}.sc-detail{margin:0;padding:0 0 0 20px;font-size:12px;line-height:1.8;color:var(--muted)}
html[data-site-theme="dark"] .tabletop button.sc-tile{background:#f7f0dd;border-color:#b8c3af;border-bottom-color:#8da28a;color:#263e35}html[data-site-theme="dark"] .tabletop button.sc-tile[data-suit="0"]{color:#a3312c}html[data-site-theme="dark"] .tabletop button.sc-tile[data-suit="1"]{color:#234f8c}html[data-site-theme="dark"] .tabletop button.sc-tile[data-suit="2"]{color:#20634a}html[data-site-theme="dark"] .tabletop button.sc-tile.selected{background:#fff0b2;border-color:#d4b660;outline-color:#edd891}html[data-site-theme="dark"] .tabletop button.sc-tile.unavailable{background:#bcc4ba;color:#46574d}html[data-site-theme="dark"] .sc-actions button.sc-confirm{background:#8bd6b5;color:#14251d;border-color:#8bd6b5}html[data-site-theme="dark"] .sc-actions button.sc-hu{background:#d9896d;color:#28150f;border-color:#d9896d}
@media(max-width:560px){.sc-opponents{grid-template-columns:1fr}.sc-player{padding:10px}.sc-player-heading strong{font-size:13px}.sc-pile{max-height:108px;overflow:auto;padding-bottom:3px}.sc-table-head h2{font-size:18px}.sc-actions button{flex-grow:1}body[data-game="sichuan"] .board-scroll{max-height:52vh}.sc-hand{gap:5px}.tabletop button.sc-tile{width:44px;min-width:44px}}
