.fv[data-room-theme="26"] {
 --frame:#836343; --edge:#e3ca99; --table:#254638; --table-deep:#182d25;
}
.fv[data-room-theme="26"] .fv-board, .rt-watch[data-game="26"] {
 position:relative; display:flex; flex-direction:column; align-items:stretch; gap:7px;
}
[data-game="26"] .rt-world.rt-mj {
 background-image:url("/scenes/festival-sichuan-table.webp"),url("/scenes/festival-mj-table.webp");
}
[data-game="26"] .rt-ribbon .fv-tile, .sc-received .fv-tile, .sc-book .fv-tile {
 display:inline-flex; width:21px; height:27px; padding:1px 0 2px; margin:0;
 background:var(--mj-porcelain); border:1px solid #b5bcac; border-radius:3px;
 box-shadow:0 2px #58836e; vertical-align:middle;
}
[data-game="26"] .rt-ribbon .fv-tile svg,.sc-received .fv-tile svg,.sc-book .fv-tile svg { width:100%; height:100%; }
.fv[data-room-theme="26"]:has(.fv-board[data-game="26"])::before {
 background:linear-gradient(180deg,#10201991,#14251d50 35%,#0d1d17af),var(--room-art) center 40% / cover no-repeat;
}
.fv[data-room-theme="26"] .fv-board[data-game="26"] {
 background:linear-gradient(118deg,#2b463af8,#1a2e26fa),var(--room-art) center 72% / cover;
}
.sc-ribbon { padding-top:4px; }
.sc-controls { justify-content:center; align-items:center; gap:5px 8px; }
.sc-prompt { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:2px; text-align:start; }
.sc-action-title,.sc-scoreboard > strong { color:#f9e8bf; font-size:clamp(12px,1.9vw,15px); }
.sc-prompt small,.sc-received small { color:#d3c6a8; font-size:12px; }
.sc-picked { min-width:2.2em; color:#f3dab3; font-weight:bold; font-variant-numeric:tabular-nums; text-align:center; }
.rt-hand.sc-exchange-hand .fv-tile:disabled { opacity:.60; filter:saturate(.65); }
.sc-received { display:inline-flex; gap:2px; align-items:center; }
.sc-received small { margin-inline-end:4px; }
.sc-controls .sc-suit { border-color:#c7b88e; color:#f4e4bd; padding:7px 12px; }
.sc-controls .sc-suit-0 { background:#704438; } .sc-controls .sc-suit-1 {background:#354b63;} .sc-controls .sc-suit-2 { background:#375846; }
.sc-notice { margin:0 auto; max-width:44em; text-align:center; color:#f2d393; font-size:.88rem; }
.sc-scoreboard { display:flex; align-items:center; gap:8px; padding-top:5px; border-top:1px solid #e5d49a38; }
.sc-scoreboard > strong { flex:none; }
.sc-scoreline { flex:1; min-width:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.sc-score { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:center; column-gap:4px; padding:3px 7px;
 background:#172a23; border:1px solid #83927b62; border-radius:5px; color:#e3e7d8; font-size:12px; line-height:1.15; }
.sc-score > span { overflow:hidden;text-overflow:ellipsis; white-space:nowrap; }
.sc-score > b { font-variant-numeric:tabular-nums; font-size:14px; }
.sc-score [data-sign="1"] { color:#ffd58c; } .sc-score [data-sign="-1"] { color:#b7c9cc; }
.sc-score small { display:block; grid-column:1/-1; color:#edd392; }
.sc-score[data-state="retired"],.sc-score[data-state="locked"] { border-color:#b5a173; }
.sc-score[data-winner] { background:#4a4026; border-color:#debf7f; }
.sc-book { margin:7px 0 12px; }
.sc-book h3 { margin:0 0 4px; font-size:14px; }
.sc-book ol { margin:0; padding:0; list-style:none; }
.sc-book ol li { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; padding:4px 2px; border-bottom:1px solid #a59d7638; line-height:1.25; }
.sc-book li > strong { margin-inline-start:auto; color:#ffd58c; }
.sc-book small { color:#c5ccb8; }
.sc-rules { margin:4px 0 12px; padding-inline-start:1.25em; line-height:1.52; }
.sc-rules li { margin:3px 0; }
@media(max-width:580px){
 .sc-scoreboard { display:block; }
 .sc-scoreboard > strong { display:block; margin-bottom:3px; font-size:11px; }
 .sc-score { padding:4px; font-size:10px; }
 .sc-score > b { font-size:12px; }
 .sc-controls { gap:4px 6px; }
 .sc-controls .sc-suit { padding:5px 9px; min-width:44px; }
 .sc-controls[data-phase="choose"] .sc-prompt { width:100%; align-items:center; }
 .sc-action-title,.sc-prompt small { font-size:12px; }
}

.mj-regional-fields{border:1px solid #c4a97155;border-radius:14px;padding:14px;margin:14px 0;min-width:0}.mj-regional-fields legend{padding:0 8px;font-weight:700}.mj-regional-selects,.mj-regional-checks{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px}.mj-regional-selects label{display:grid;gap:6px;flex:1;min-width:120px}.mj-regional-selects select{padding:9px;border-radius:8px;max-width:100%}.mj-regional-checks .mj-rule-check{display:flex;align-items:center;gap:7px;min-height:36px}.mj-rule-check input{width:19px;height:19px;accent-color:#158c68}.mj-regional-fields small{display:block;line-height:1.6;opacity:.8}.mj-rules-summary{line-height:1.65;font-size:.85rem}.mj-regional-info{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.mj-regional-info .fv-tile{width:25px;height:33px}
