/* Four transparent play anchors. Cards retain the existing shared face renderer. */
.table.seat-layout{min-height:630px;--side-seat-top:245px}
.seat-plays{position:absolute;inset:0;pointer-events:none}
.seat-plays[hidden]{display:none}
.seat-play{position:absolute;width:min(320px,calc(50% - 206px));min-width:0;container-type:inline-size;pointer-events:auto;text-align:center;background:transparent;border:0;box-shadow:none}
.seat-play-2{top:113px;left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 48px))}
.seat-play-3{top:245px;left:190px;text-align:left}
.seat-play-1{top:245px;right:190px;text-align:right}
.seat-play-0{bottom:43px;left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 48px))}
.seat-play-caption{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;line-height:18px;color:#173e54;text-shadow:0 1px 2px #fffaf0,1px 0 2px #fffaf0,-1px 0 2px #fffaf0}
.seat-play-3 .seat-play-caption{justify-content:flex-start}.seat-play-1 .seat-play-caption{justify-content:flex-end}
.seat-play-name{max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seat-play-badge{font-size:10px;font-weight:500;color:#52666c}
.seat-play.lead .seat-play-badge{color:#654200;border-bottom:2px solid #b38b36;font-weight:750}
.seat-play.pass .seat-play-badge{font-size:14px;color:#50645f;font-weight:650}
.seat-play-cards{display:grid;grid-template-columns:repeat(calc(var(--pile-columns) - 1),minmax(0,49px)) 46px;align-items:start;row-gap:8px;max-width:100%;width:calc(var(--pile-columns)*49px - 3px);margin:3px auto 0;padding:3px 0 5px;overflow:visible}
.seat-play-cards[data-count="1"]{display:flex;width:46px}
.game-column .seat-play-cards .card{width:46px;height:66px;min-height:66px;min-width:46px;--face-rank:15px;--face-suit:12px;--face-inset:3px}
.game-column .seat-play-cards .card .card-suit{left:3px;top:19px}
.game-column .seat-play-cards .card .wild-tag{top:35px;font-size:6px}
@container(max-width:270px){.seat-play-cards.many{--pile-columns:5!important}}
@container(max-width:150px){.seat-play-cards.many{--pile-columns:4!important}}
.seat-play-3 .seat-play-cards{margin-left:0}.seat-play-1 .seat-play-cards{margin-right:0}
.seat-play-cards .card{flex:none;margin:0!important}
.seat-play.played .seat-play-cards,.seat-play.held .seat-play-cards{opacity:.88}
.seat-play-detail{font-size:10px;line-height:16px;color:#49616b;text-shadow:0 1px 2px #fffaf0;white-space:normal}
.seat-play-cards:focus-visible{outline:2px solid #477fa0;outline-offset:2px;border-radius:4px}
.table.seat-layout .trick-area,.table.seat-layout .trick-area.has-comparison{top:122px;bottom:54px;left:20%;right:20%;display:flex}
.table.seat-layout .trick-area[hidden]{display:none}
html[data-environment="kanazawa"] :is(.seat-play-caption,.seat-play-detail,.seat-play-badge){color:#edf3fb;text-shadow:0 1px 3px #020916}
html[data-environment="kanazawa"] .seat-play.lead .seat-play-badge{color:#f0cf8b;border-color:#f0cf8b}
html[data-environment="kanazawa"] .seat-play.pass .seat-play-badge{color:#c9e8df}
@media(max-width:900px) and (min-width:701px){.table.seat-layout{min-height:630px;--seat-card-width:130px}.seat-play-3{left:149px}.seat-play-1{right:149px}.seat-play{width:calc(50% - 162px)}.seat-play-0,.seat-play-2{width:min(320px,calc(100% - 40px))}}
@media(max-width:700px){
 .table.seat-layout{min-height:714px;--side-seat-top:239px}
 .seat-play-2{top:102px;width:calc(100% - 40px);max-width:340px}
 .seat-play-3{top:329px;left:10px;width:calc(50% - 18px)}
 .seat-play-1{top:329px;right:10px;width:calc(50% - 18px)}
 .seat-play-0{bottom:43px;width:calc(100% - 40px);max-width:340px}
 .seat-play-caption{font-size:10px;gap:5px}.seat-play-detail{font-size:9px}
 .table.seat-layout .trick-area,.table.seat-layout .trick-area.has-comparison{top:334px;left:18px;right:18px;bottom:48px}
}
@media(min-width:701px) and (max-height:520px) and (orientation:landscape){
 .table.seat-layout{min-height:616px;--side-seat-top:235px}
 .table.seat-layout .seat-top{top:8px}.seat-play-2{top:99px}.seat-play-1,.seat-play-3{top:235px}.seat-play-0{bottom:39px}
}

.seat-play-cards .card.role-break{margin-left:0!important}
.seat-play-detail{max-height:32px;overflow:hidden}

@media(min-width:1100px){.table.seat-layout{min-height:550px}}
@media(max-width:360px){.table.seat-layout{min-height:790px}}
