.taboo-room{--taboo-ink:#482c2c;--taboo-line:#ddbeb9;--taboo-wash:#fff5f2;width:min(100%,1240px);margin-inline:auto;color:var(--taboo-ink);text-align:left}
.taboo-room .session-banner{text-align:left;margin:0 0 20px}
.game-shell .play .taboo-room p{text-align:left;line-height:1.6}
.taboo-team-scores{display:flex;gap:14px;flex-wrap:wrap;list-style:none;padding:0;margin:18px 0 24px}
.taboo-team-scores li{display:flex;gap:25px;align-items:baseline;min-width:150px;border:1px solid var(--taboo-line);padding:12px 18px;border-radius:5px;background:#fff}
.taboo-team-scores strong{font-size:1.6rem;font-variant-numeric:tabular-nums;margin-left:auto}
.taboo-role-hint{font-size:1.05rem;max-width:45rem;margin:24px 0}
.taboo-live-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.taboo-live-heading>div:first-child{display:grid;gap:6px}
.taboo-live-heading>div:first-child>strong{font-size:1.4rem}
.taboo-live-heading>div:first-child>span{font-size:.9rem;color:#886260}
.taboo-live-status{display:flex;align-items:center;gap:28px}
.taboo-live-status .table-clock{margin:0;min-width:105px}
.game-shell .taboo-room .taboo-live-score{margin:0;font-size:.85rem;white-space:nowrap;text-align:right}
.taboo-live-score strong{font-size:2rem;font-variant-numeric:tabular-nums;margin-right:5px}
.taboo-monitor-desk{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:28px;align-items:start}
.taboo-evidence{
  min-width:0;padding:clamp(1rem,3vw,2rem);border:1px solid #e4c7bc;border-top:5px solid #a05049;border-radius:12px;
  background:radial-gradient(ellipse at 4% 3%,#fffdf8,transparent 78%),#fff4e7;
  box-shadow:0 10px 24px #62403515;
}
.game-shell .play .taboo-room .taboo-card-label{margin:0 0 8px;font-size:.84rem;color:#77504e;font-weight:700}
.game-shell .taboo-room .taboo-evidence h2{font-size:clamp(1.8rem,3.6vw,3.1rem);font-weight:800;line-height:1.25;margin:0 0 24px;overflow-wrap:anywhere;word-break:normal;text-align:left}
.game-shell .play .taboo-room .taboo-check-label{margin:0 0 12px;font-size:.84rem;color:#77504e}
.taboo-banned{list-style:none;display:grid;gap:0;padding:0;margin:0}
.taboo-banned>li{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;gap:14px;border-top:1px dashed #dcb8af;padding:16px 0}
.taboo-banned>li>span{display:flex;justify-content:center;align-items:center;width:26px;height:26px;border:1px solid #cf9188;border-radius:4px;font-size:.85rem;color:#a3463e;background:#fff3ef;font-variant-numeric:tabular-nums}
.taboo-banned strong{font-size:1.3rem;line-height:1.5;color:#8b342e;overflow-wrap:anywhere;min-width:0}
.taboo-judgement{border-top:2px solid #b47b74;padding-top:20px}
.taboo-judgement .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0}
.game-shell .play .taboo-judgement .button{min-height:52px;width:100%;box-shadow:none;font-size:1rem;line-height:1.5}
.taboo-judgement [data-action="mark:good"]{background:#286b60;color:#fff}
.taboo-judgement [data-action="mark:buzz"]{background:#fff0ea;border:2px solid #a64c43;color:#8d382f}
.taboo-judgement [data-action="undo"]{min-height:46px;font-size:.82rem;background:#fff;border:1px solid #cfb7b0;color:#65443f}
.game-shell .play .taboo-room .taboo-rule{font-size:.92rem;margin:18px 0 8px}
.game-shell .play .taboo-room .taboo-undo-hint{font-size:.82rem;color:#77504e;margin:9px 0 0}
.taboo-room:is([data-taboo-phase="covered"],[data-taboo-phase="covered-summary"]){
  width:min(100%,44rem);padding:clamp(1rem,4vw,2.4rem) clamp(1rem,5vw,3rem);
  border-radius:12px;background:#fff7f0;box-shadow:inset 4px 0 #ab675b,0 10px 26px #62403516;
}
.game-shell .play .taboo-room:is([data-taboo-phase="covered"],[data-taboo-phase="covered-summary"])>p{margin:14px 0}
.taboo-room:is([data-taboo-phase="covered"],[data-taboo-phase="covered-summary"])>.actions{justify-content:flex-start;margin-top:14px}
@media(prefers-reduced-motion:no-preference){.taboo-evidence{animation:taboo-deal .17s ease-out}}
@keyframes taboo-deal{from{opacity:.88;transform:translateY(3px)}}
.taboo-turn-points{font-size:1rem;margin:20px 0}
.taboo-turn-points strong{font-size:2rem;font-variant-numeric:tabular-nums}
.taboo-turn-record{border-top:2px solid #c5968f;padding-top:18px;margin:26px 0}
.taboo-turn-record h3,.taboo-team-ledger>h3{font-size:1.1rem;margin:0 0 18px}
.taboo-card-records{padding:0;margin:0;list-style:none}
.taboo-card-records>li{padding:16px 0;border-top:1px solid #e6d2ce}
.taboo-card-records>li>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.taboo-card-records>li>div>strong{overflow-wrap:anywhere;min-width:0;font-size:1.05rem}
.taboo-card-records>li>div>span{font-size:.84rem;line-height:1.5;text-align:right;max-width:45%;flex-shrink:0}
.taboo-card-records>li>ul{display:flex;flex-wrap:wrap;gap:7px 20px;padding:0;margin:10px 0 0;list-style:none;font-size:.83rem;color:#886260}
.taboo-card-records>li>ul>li{overflow-wrap:anywhere;max-width:100%}
.taboo-turn-record>summary{cursor:pointer;line-height:1.6;font-weight:650;overflow-wrap:anywhere}
.taboo-team-ledger{min-width:0;margin:18px 0}
.taboo-room button:focus-visible,.taboo-room summary:focus-visible{outline:3px solid #9a5c55;outline-offset:4px}
@media(min-width:1000px){.taboo-room[data-taboo-phase="result"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}.taboo-room[data-taboo-phase="result"]>.session-banner,.taboo-room[data-taboo-phase="result"]>.taboo-team-scores,.taboo-room[data-taboo-phase="result"]>.actions,.taboo-room[data-taboo-phase="result"]>h3{grid-column:1/-1}}
@media(max-width:699px){
  .taboo-live-heading{gap:12px;margin-bottom:18px}
  .taboo-live-heading>div:first-child>strong{font-size:1.1rem}
  .taboo-live-heading>div:first-child>span{font-size:.8rem}
  .taboo-live-status{gap:12px}
  .taboo-live-status .table-clock{min-width:72px}
  .taboo-live-score strong{font-size:1.4rem}
  .game-shell .taboo-room .taboo-live-score{font-size:.75rem}
  .taboo-monitor-desk{grid-template-columns:minmax(0,1fr);gap:16px}
  .game-shell .taboo-room .taboo-evidence h2{font-size:1.9rem;margin-bottom:20px}
  .taboo-banned>li{padding:13px 0;gap:10px;grid-template-columns:27px minmax(0,1fr)}
  .taboo-banned strong{font-size:1.12rem}
  .taboo-judgement{border-top:0;padding:0}
  .taboo-judgement .actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .game-shell .play .taboo-judgement .button{font-size:.82rem;padding:8px 6px}
  .taboo-judgement [data-action="undo"]{grid-column:1/-1}
  .taboo-team-scores{gap:10px}
  .taboo-team-scores li{flex:1;min-width:0;gap:12px;padding:10px 12px}
  .taboo-card-records>li>div{gap:12px}
  .taboo-card-records>li>div>span{max-width:46%}
}
@media(max-width:360px){
  .taboo-live-status{gap:8px}
  .taboo-live-score strong{font-size:1.2rem}
  .game-shell .play .taboo-judgement .button{font-size:.76rem}
}

.page-game .game-shell.theme-taboo:has(.taboo-room) {
  --taboo-stage:#f9eae3;--taboo-accent:#81382e;
  background:radial-gradient(ellipse at 25% 0,#fff7ee,var(--taboo-stage) 78%);color:#472c27;
}
.page-game .game-shell.theme-taboo:has(.taboo-room) .game-toolbar {
  background:var(--taboo-stage);color:#472c27;border-color:#d8b7ab;
}
.page-game .game-shell.theme-taboo:has(.taboo-room) .game-toolbar .button,
.page-game .game-shell.theme-taboo .taboo-room .button.secondary {
  color:#643c36;background:#fff8ef;border-color:#a98277;
}
.page-game .game-shell.theme-taboo .taboo-room .button:not(.secondary,[data-action^="mark:"]) {
  background:var(--taboo-accent);border-color:var(--taboo-accent);color:white;
}
.game-shell.theme-taboo .taboo-room {--taboo-ink:#472c27;--taboo-line:#cca79d}
.game-shell.theme-taboo .play .taboo-room .session-banner>:is(h2,.meta) {text-align:left;margin-inline:0}
.game-shell.theme-taboo .play .taboo-room .session-banner h2 {
  color:var(--taboo-ink);font-size:clamp(1.7rem,4vw,3.3rem);line-height:1.1;
}
.taboo-monitor-desk {grid-template-columns:minmax(0,1fr) minmax(215px,30%);gap:clamp(16px,3vw,40px)}
.taboo-evidence {
  overflow:hidden;padding:0 clamp(.85rem,3vw,2rem) clamp(.85rem,3vw,2rem);
  border:2px solid #9c4b38;border-radius:12px;
  background:linear-gradient(135deg,#fffaf0,#faebdc);
  box-shadow:0 4px 0 #a758473f,0 12px 23px #9a4e3b23;
}
.game-shell .play .taboo-room .taboo-card-label {
  color:#fff8ee;background:#963f2e;margin:0 calc(-1 * clamp(.85rem,3vw,2rem)) .7rem;
  padding:.52rem clamp(.85rem,3vw,2rem);
}
.game-shell.theme-taboo .play .taboo-room .taboo-evidence h2 {
  color:#492a24;font-size:clamp(1.9rem,5.55vw,4.9rem);line-height:1.1;letter-spacing:-.03em;
}
.game-shell.theme-taboo .play .taboo-room .taboo-evidence h2[data-taboo-target] {
  text-wrap:balance;
}
.taboo-banned {gap:.55rem}
.taboo-banned>li {
  background:#f8ddd2;border:1px solid #e2b6aa;border-radius:7px;
  padding:.48rem .65rem;box-shadow:inset 0 1px 0 #fff1e8;
}
.taboo-banned>li>span {background:#9d4938;border-color:#7f382b;color:#fff8ee}
.taboo-banned strong {color:#682f27}
.taboo-live-heading>div:first-child>strong {font-size:clamp(1.2rem,3vw,2.25rem)}
.taboo-live-status {
  color:#fff4e4;background:#462c2b;border-radius:10px;
  border:1px solid #783e35;padding:.3rem .8rem;gap:1rem;
}
.playroom .taboo-live-status .table-clock {background:transparent;color:#fff4e4}
.playroom .taboo-live-status .table-clock[data-low=true] {background:#783e32}
.game-shell.theme-taboo .play .taboo-room .taboo-live-score {color:#fff4e4;border-inline-start:1px solid #aa8273;padding-inline-start:.65rem}
.taboo-judgement {border-top:0;padding-top:0}
.game-shell.theme-taboo .play .taboo-judgement .button {white-space:normal;overflow-wrap:anywhere}
.game-shell.theme-taboo .play .taboo-judgement [data-action="mark:good"] {
  background:#205f5c;color:white;border-color:#205f5c;
}
.game-shell.theme-taboo .play .taboo-judgement [data-action="mark:skip"],
.game-shell.theme-taboo .play .taboo-judgement [data-action="undo"] {
  background:#fff8ef;color:#643c36;border-color:#ac887d;
}
.page-game .game-shell.theme-taboo .play .taboo-judgement .button[data-action="mark:buzz"] {
  background:#8b3d39;color:white;border-color:#8b3d39;
}
@media(max-width:699px) {
  .page-game .game-shell.theme-taboo.wide .play:has(.taboo-room) {
    min-height:0;margin-block:0;justify-content:flex-start;padding-block:1rem 2rem;
  }
  .taboo-monitor-desk {grid-template-columns:minmax(0,1fr)}
  .taboo-live-status {padding:.2rem .45rem;gap:.5rem}
  .game-shell.wide .play .taboo-live-status .table-clock {min-width:0;padding:.28rem .38rem}
  .game-shell.theme-taboo .play .taboo-room .taboo-evidence h2 {margin-bottom:1rem}
}
