/* Role panels: identity, BTC progress, assets/cash flow and protection badges. */
.game-table .seat-card:not(.empty-seat){container-type:size;container-name:seat;display:flex;flex-direction:column;justify-content:space-between;padding:8px 12px;gap:5px;min-height:0;overflow:hidden;border-radius:13px;border:1px solid #77856666;border-top:3px solid var(--seat-color);background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--seat-color) 9%,transparent),transparent 65%),linear-gradient(150deg,#304335,#182a21);box-shadow:inset 0 1px #c8dbaf22,0 3px 0 #0b1b14,0 7px 18px #0003}
.game-table .seat-card.active-seat{border-color:var(--seat-color);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--seat-color) 25%,transparent),0 0 18px color-mix(in srgb,var(--seat-color) 15%,transparent)}
.game-table .seat-header{flex:none;min-height:34px;gap:8px;padding:0 0 8px;border-bottom:1px solid #c3ca9a30}.game-table .seat-header .avatar{display:grid;width:32px;height:32px;flex:none}.game-table .seat-header .avatar svg{height:37px;width:25px}.game-table .seat-name strong{display:block;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-table .seat-header .seat-name small{display:block;font-size:11px;line-height:1.2;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-table .seat-details{align-self:center;flex:none;min-width:22px;min-height:24px;padding:1px;font-size:16px;border:1px solid #a7bc8333;border-radius:5px}.seat-turn-badge{flex:none;padding:3px 6px;border-radius:5px;background:#11221a;color:#92a68d;font-size:10px;white-space:nowrap}.active-seat .seat-turn-badge{background:#8c6a302e;color:#f8d17e;border:1px solid #dbac5155}
.game-table .seat-card .seat-finances{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:'btc btc btc btc btc btc' 'cash cash cash worth worth worth' 'income income expense expense flow flow';align-content:start;gap:9px 8px;width:100%;margin:0;flex:none;min-height:0}.game-table .seat-card .seat-finances>div{display:block;min-width:0}.game-table .seat-card .seat-finances .seat-bitcoin{grid-area:btc;display:block;padding:0;border:0}.seat-cash{grid-area:cash}.seat-worth{grid-area:worth}.seat-month-income{grid-area:income}.seat-month-expense{grid-area:expense}.seat-flow{grid-area:flow}
.game-table .seat-finances span{display:block;font-size:10px;line-height:1.2;margin:0 0 4px;color:#aabf9f}.game-table .seat-finances strong{display:block;font-size:19px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}.game-table .seat-holding-line{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.game-table .seat-finances .seat-bitcoin strong{font-size:26px;color:#f4cd82;letter-spacing:.01em}.seat-bitcoin strong small{font-size:10px;letter-spacing:0;font-weight:500;color:#c7b989}.game-table .seat-holding-line>span{font-size:10px;white-space:nowrap}.game-table .seat-holding-line>span:after{content:none}.seat-holding-track{height:6px;margin:7px 0 4px;background:#091d14;border-radius:20px;box-shadow:inset 0 1px 2px #0007;overflow:hidden}.seat-holding-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#b9873f,#f8d788);box-shadow:0 0 7px #edc76c55}.seat-holding-caption{display:flex;justify-content:space-between;font-size:10px;color:#c8bb8e}.game-table .seat-holding-caption span{font-size:10px;margin:0}.seat-holding-caption b{font-weight:500}
.game-table .seat-cash,.game-table .seat-worth{background:#0d211855;border:1px solid #81986b24;border-radius:7px;padding:7px 9px}.game-table .seat-month-income,.game-table .seat-month-expense,.game-table .seat-flow{padding:5px 0 1px;border-top:1px solid #81986b30}.game-table .seat-month-income strong,.game-table .seat-month-expense strong,.game-table .seat-flow strong{font-size:15px}.game-table .seat-flow span{color:#d6c18c}.game-table .seat-flow strong{color:#ebd599}.game-table .seat-flow strong.down{color:#f29b88}
.game-table .seat-status-row{display:flex;justify-content:space-between;gap:6px;flex:none;line-height:1.3;white-space:nowrap}.seat-protection{display:flex;align-items:center;gap:4px;flex:1;font-size:10px;color:#819582;border:1px solid #71886a30;background:#11241a66;border-radius:6px;padding:5px 6px}.seat-protection>span{font-size:13px}.seat-protection b{margin-left:auto;font-size:9px;font-weight:400}.seat-protection.is-protected{color:#c6dcaa;background:linear-gradient(120deg,#44583266,#233c2d);border-color:#b3c68170}.seat-protection.is-protected>span{color:#efd08e}
.game-table .seat-debt{flex:none;line-height:1.2;font-size:11px;padding:2px 7px;border:1px solid #b7805e44;background:#70473522;border-radius:6px}.game-table .seat-debt button{min-height:21px;padding:1px 7px;font-size:11px}.game-table .seat-card .seat-auction{flex:none;min-height:29px;padding:4px 6px;margin:0;overflow:hidden}.game-table .seat-auction strong{font-size:17px;white-space:nowrap}.game-table .seat-auction span{font-size:10px}.game-table .seat-auction small{display:none}
@container seat (max-width:270px){.seat-turn-badge{display:none}.seat-protection b{display:none}.seat-finances .seat-bitcoin strong{font-size:21px!important}.seat-finances strong{font-size:16px!important}.seat-month-income strong,.seat-month-expense strong,.seat-flow strong{font-size:12px!important}}
@container seat (max-height:270px){.seat-header{min-height:28px!important;padding-bottom:4px!important}.seat-header .avatar{width:26px!important;height:26px!important}.seat-header .avatar svg{height:29px!important}.seat-name strong{font-size:14px!important}.seat-header .seat-name small{font-size:10px!important;margin-top:2px!important}.seat-finances{gap:4px 6px!important}.seat-finances .seat-bitcoin strong{font-size:20px!important}.seat-holding-caption{display:none}.seat-holding-track{height:4px;margin:5px 0 0}.seat-cash,.seat-worth{padding:3px 6px!important}.seat-month-income,.seat-month-expense,.seat-flow{padding:3px 0 0!important}.seat-finances span{margin-bottom:2px!important}.seat-protection{padding:3px 5px;font-size:9px}.seat-protection b{display:none}.seat-card:has(.seat-auction) .seat-month-income,.seat-card:has(.seat-auction) .seat-month-expense{display:none!important}.seat-card:has(.seat-auction) .seat-finances{grid-template-areas:'btc btc btc btc btc btc' 'cash cash cash flow flow flow'!important}.seat-card:has(.seat-auction) .seat-worth{display:none!important}}
@container seat (max-height:140px){.seat-header .avatar{display:none!important}.seat-header{min-height:20px!important;padding-bottom:3px!important}.seat-header .seat-name small{display:none!important}.seat-details{min-height:19px!important;height:19px;min-width:19px!important;font-size:13px!important}.seat-name strong{font-size:13px!important}.seat-finances{gap:3px 6px!important}.seat-holding-line>span{font-size:9px!important}.seat-finances .seat-bitcoin strong{font-size:15px!important}.seat-holding-track{height:3px;margin-top:3px}.seat-finances strong{font-size:13px!important}.seat-finances span{font-size:9px!important}.seat-month-income strong,.seat-month-expense strong,.seat-flow strong{font-size:11px!important}.seat-cash,.seat-worth{padding:2px 4px!important}.seat-protection{padding:2px 3px;font-size:9px}.seat-protection>span{font-size:10px}.seat-card:has(.seat-debt:not(.is-clear)) .seat-month-income,.seat-card:has(.seat-debt:not(.is-clear)) .seat-month-expense,.seat-card:has(.seat-debt:not(.is-clear)) .seat-worth{display:none!important}.seat-card:has(.seat-debt:not(.is-clear)) .seat-finances{grid-template-areas:'btc btc btc btc btc btc' 'cash cash cash flow flow flow'!important}.seat-card:has(.seat-auction) .seat-bitcoin{display:none!important}.seat-card:has(.seat-auction) .seat-finances{grid-template-areas:'cash cash cash flow flow flow'!important}.seat-card:has(.seat-auction) .seat-debt{display:none!important}}
@container seat (max-height:90px){.seat-header{min-height:16px!important;padding:0!important;border:0!important}.seat-details{min-height:16px!important;height:16px;min-width:17px!important;font-size:11px!important}.seat-name strong{font-size:11px!important}.seat-finances{grid-template-areas:'btc btc btc btc btc btc' 'cash cash cash flow flow flow'!important;gap:3px 5px!important}.seat-card .seat-finances .seat-worth,.seat-card .seat-finances .seat-month-income,.seat-card .seat-finances .seat-month-expense{display:none!important}.seat-cash,.seat-flow{padding:0!important;border:0!important;background:none!important}.seat-finances span{font-size:8px!important;line-height:1!important;margin-bottom:2px!important}.seat-finances strong,.seat-finances .seat-bitcoin strong{font-size:11px!important}.seat-bitcoin strong small{font-size:8px}.seat-holding-line>span{display:none!important}.seat-holding-track{height:2px;margin-top:2px}.seat-card:has(.seat-debt:not(.is-clear)) .seat-holding-track{display:none}.seat-debt{font-size:9px!important;padding:1px 3px!important}.seat-debt button{min-height:16px!important;font-size:10px!important}.seat-auction{min-height:20px!important;padding:2px 4px!important}.seat-auction strong{font-size:11px!important}.seat-auction span{font-size:9px!important}}
@media(min-width:901px) and (max-height:900px){.game-table .seat-card:not(.empty-seat){padding:6px 8px;gap:4px}}
@media(orientation:landscape) and (max-height:600px){.game-table .seat-card:not(.empty-seat){padding:4px 5px;gap:3px;border-top-width:2px;border-radius:8px}.game-table .seat-card .seat-finances .seat-cash,.game-table .seat-card .seat-finances .seat-flow{display:block}.game-table .seat-card:has(.seat-auction) .seat-finances>div{display:block}}

@container seat (max-height:140px){.seat-card .seat-cash,.seat-card .seat-worth{display:flex!important;justify-content:space-between;align-items:center;gap:3px;padding:2px 3px!important}.seat-cash span,.seat-worth span{font-size:8px!important;margin:0!important}.seat-holding-line>span{font-size:8px!important}.seat-finances .seat-bitcoin strong{font-size:14px!important;line-height:1!important}.seat-holding-track{margin-top:3px;height:2px}.seat-month-income,.seat-month-expense,.seat-flow{padding:2px 0 0!important}.seat-finances span{line-height:1!important;font-size:8px!important;margin-bottom:1px!important}.seat-finances strong{line-height:1.1!important;font-size:12px!important}.seat-month-income strong,.seat-month-expense strong,.seat-flow strong{font-size:10px!important}.seat-protection{padding:1px 3px!important;font-size:8px!important;line-height:1.1!important}.seat-header .seat-name strong{line-height:1.1!important}}
@container seat (max-height:90px){.seat-card .seat-cash{display:block!important;padding:0!important}.seat-finances .seat-bitcoin strong{font-size:11px!important}.seat-finances strong{font-size:10px!important}.seat-card:has(.seat-debt:not(.is-clear)) .seat-bitcoin{display:none!important}}

@container seat (min-height:190px){.seat-holding-caption{display:flex;font-size:9px;line-height:1.1;margin-top:3px}.seat-holding-caption span{font-size:9px!important;line-height:1.1!important}}

@media(orientation:landscape) and (max-height:600px){.game-table .seat-card .seat-finances .seat-cash,.game-table .seat-card .seat-finances .seat-flow{display:block!important}}
/* Uploaded identities retain the seat colour around the photograph. */
.player-photo{position:relative;display:grid;place-items:center;width:100%;height:100%;overflow:hidden;border-radius:inherit}.player-avatar-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.avatar:has(.player-photo){overflow:hidden;border:1px solid var(--player);border-radius:8px}.lobby-pawn:has(.player-photo){width:40px;height:40px;border-radius:9px}.game-table .seat-cost{display:flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.15}.seat-cost b{font-weight:600;color:#e1d9b8;font-variant-numeric:tabular-nums}.game-table .seat-cash strong,.game-table .seat-worth strong{font-size:clamp(10px,5.4cqw,19px);text-overflow:clip}.game-table .seat-holding-line{gap:3px}
@container seat (max-height:140px){.seat-header .avatar:has(.player-photo){display:grid!important;width:18px!important;height:18px!important}.seat-card .seat-cash,.seat-card .seat-worth{display:block!important}.seat-cash strong,.seat-worth strong{font-size:clamp(9px,5cqw,12px)!important}.seat-card .seat-cost{font-size:8px!important}}
@container seat (max-height:90px){.seat-header .avatar:has(.player-photo){width:14px!important;height:14px!important}.seat-header{gap:3px!important}.seat-card .seat-holding-line{display:block}.seat-card .seat-cost{display:flex!important;flex-direction:row;justify-content:space-between;font-size:8px!important;line-height:1!important;margin:1px 0 0!important}.seat-holding-track{display:none}.seat-card .seat-finances{grid-template-areas:'btc btc btc btc btc btc' 'cash cash cash cash cash cash' 'flow flow flow flow flow flow'!important;gap:2px!important}.seat-card .seat-finances .seat-cash,.seat-card .seat-finances .seat-flow{display:flex!important;justify-content:space-between;align-items:center}.seat-card .seat-cash strong,.seat-card .seat-flow strong{font-size:10px!important}.seat-card:has(.seat-debt:not(.is-clear)) .seat-finances,.seat-card:has(.seat-auction) .seat-finances{grid-template-areas:'cash cash cash cash cash cash' 'flow flow flow flow flow flow'!important}}

@container seat (min-height:91px) and (max-height:140px){.seat-card .seat-cost{flex-direction:row;gap:0;align-items:baseline;font-size:8px!important}.seat-card .seat-cash,.seat-card .seat-worth{display:flex!important}.seat-cash strong,.seat-worth strong{font-size:clamp(8px,4.1cqw,11px)!important}}
@container seat (max-height:90px){.game-table .seat-card .seat-finances .seat-cash,.game-table .seat-card .seat-finances .seat-flow{display:flex!important;justify-content:space-between;gap:2px}.game-table .seat-card .seat-finances .seat-cash span,.game-table .seat-card .seat-finances .seat-flow span{margin:0!important}.game-table .seat-card .seat-cost{font-size:8px!important}}
/* A distinct liability line below the financial figures. */
.game-table .seat-debt{border-radius:5px;padding:3px 6px;font-size:11px}.game-table .seat-debt>span{display:flex;gap:8px;align-items:baseline;white-space:nowrap}.game-table .seat-debt b{font-weight:650;font-variant-numeric:tabular-nums}.game-table .seat-debt.is-clear{background:#10251a55;border-color:#77916b30;color:#aabd9f}.game-table .seat-debt.is-clear b{color:#c7d6bb}
@container seat (max-height:140px){.seat-debt.is-clear{display:none!important}}
@container seat (min-height:141px) and (max-height:270px){.seat-finances{gap:2px 6px!important}.seat-month-income strong,.seat-month-expense strong,.seat-flow strong{font-size:13px!important}.seat-month-income span,.seat-month-expense span,.seat-flow span{font-size:9px!important}.seat-cash,.seat-worth{padding:2px 6px!important}.seat-debt.is-clear{padding:1px 6px!important;font-size:10px!important;line-height:1.1!important}}
@container seat (min-height:141px) and (max-height:270px){.seat-header{padding-bottom:2px!important;min-height:26px!important}.seat-header .avatar{width:24px!important;height:24px!important}.seat-header .seat-name small{margin-top:1px!important;font-size:9px!important}.seat-card .seat-finances .seat-month-income,.seat-card .seat-finances .seat-month-expense,.seat-card .seat-finances .seat-flow{padding-top:1px!important}.seat-card .seat-finances .seat-bitcoin strong{font-size:18px!important}.seat-status-row .seat-protection{padding:1px 4px!important}}
/* Stronger typography and consistent spacing when the card has room. */
.game-table .seat-card:not(.empty-seat){background:radial-gradient(ellipse at 0 0,color-mix(in srgb,var(--seat-color) 12%,transparent),transparent 70%),linear-gradient(150deg,#304636,#15291f);box-shadow:inset 0 1px #d9e4b92e,inset 0 -1px #0b1c15,0 4px 14px #0004}.game-table .seat-finances span{font-weight:600;color:#bfceb2}.game-table .seat-finances strong{font-weight:750;letter-spacing:.01em}.game-table .seat-cost{font-weight:600}.game-table .seat-cost b{color:#eedcb0;font-weight:700}.game-table .seat-protection{font-weight:550}.game-table .seat-debt b{font-weight:750}.game-table .seat-header .seat-name small{color:#becbb1}.game-table .seat-cash,.game-table .seat-worth{border-color:#8da47330;background:linear-gradient(140deg,#10251c88,#14291e55)}
@container seat (min-height:190px){.game-table .seat-header{padding-bottom:6px!important;min-height:32px!important;gap:8px!important}.game-table .seat-header .avatar{width:30px!important;height:30px!important}.game-table .seat-name strong{font-size:16px!important;line-height:1.2!important}.game-table .seat-header .seat-name small{font-size:11px!important;margin-top:3px!important}.game-table .seat-card .seat-finances{gap:5px 8px!important}.game-table .seat-card .seat-finances span{font-size:11px!important;line-height:1.25!important;margin-bottom:3px!important}.game-table .seat-card .seat-finances .seat-bitcoin strong{font-size:22px!important}.game-table .seat-card .seat-finances .seat-cost{font-size:10px!important;line-height:1.2!important;margin:0!important}.game-table .seat-card .seat-cash,.game-table .seat-card .seat-worth{padding:5px 7px!important}.game-table .seat-card .seat-cash strong,.game-table .seat-card .seat-worth strong{font-size:clamp(13px,5.5cqw,20px)!important}.game-table .seat-card .seat-month-income strong,.game-table .seat-card .seat-month-expense strong,.game-table .seat-card .seat-flow strong{font-size:15px!important}.game-table .seat-card .seat-status-row .seat-protection{padding:4px 6px!important;font-size:11px!important}.game-table .seat-card .seat-debt{font-size:11px!important;padding:3px 6px!important;line-height:1.2!important}.game-table .seat-holding-caption span,.game-table .seat-holding-caption b{font-size:10px!important}}
@container seat (min-height:250px){.game-table .seat-card .seat-finances{gap:8px!important}.game-table .seat-card .seat-finances span{font-size:12px!important}.game-table .seat-card .seat-month-income strong,.game-table .seat-card .seat-month-expense strong,.game-table .seat-card .seat-flow strong{font-size:17px!important}.game-table .seat-card .seat-finances .seat-bitcoin strong{font-size:25px!important}.game-table .seat-header .avatar{width:34px!important;height:34px!important}.game-table .seat-name strong{font-size:18px!important}}
@container seat (min-height:141px) and (max-height:189px){.game-table .seat-card .seat-finances span{font-size:10px!important;font-weight:600}.game-table .seat-card .seat-month-income strong,.game-table .seat-card .seat-month-expense strong,.game-table .seat-card .seat-flow strong{font-size:13px!important}.game-table .seat-card .seat-header .seat-name strong{font-size:14px!important}.game-table .seat-card .seat-cost{font-size:9px!important}}
@container seat (min-height:190px){.game-table .seat-card .seat-finances{margin:0!important;gap:4px 8px!important}.game-table .seat-header{padding-bottom:4px!important;min-height:30px!important}.game-table .seat-header .avatar{width:30px!important;height:30px!important}.game-table .seat-name strong{font-size:16px!important}.game-table .seat-header .seat-name small{font-size:10px!important;line-height:1.15!important;margin-top:2px!important}.game-table .seat-card .seat-finances span{line-height:1.15!important;margin-bottom:2px!important}.game-table .seat-card .seat-cash,.game-table .seat-card .seat-worth{padding:3px 7px!important}.game-table .seat-card .seat-month-income,.game-table .seat-card .seat-month-expense,.game-table .seat-card .seat-flow{padding-top:1px!important}.game-table .seat-card .seat-debt.is-clear{padding:1px 6px!important}.game-table .seat-card .seat-status-row .seat-protection{padding:3px 5px!important}}
@container seat (min-height:141px) and (max-height:189px){.game-table .seat-card .seat-finances{margin:0!important;gap:3px 6px!important}.game-table .seat-card .seat-cash,.game-table .seat-card .seat-worth{padding:1px 4px!important}.game-table .seat-card .seat-cash strong,.game-table .seat-card .seat-worth strong{font-size:13px!important}.game-table .seat-card .seat-debt.is-clear{display:none!important}.game-table .seat-card .seat-finances span{margin-bottom:1px!important;line-height:1.1!important}.game-table .seat-card .seat-debt{padding:1px 5px!important}}
.game-table .seat-debt,.game-table .seat-debt.is-clear{color:#f0b3a6;background:#70473522;border:1px solid #b7805e44;border-radius:6px}
.game-table .seat-debt.is-clear b{color:inherit}
@container seat (min-height:190px){.game-table .seat-card .seat-debt,.game-table .seat-card .seat-debt.is-clear{min-height:27px;padding:3px 6px!important;font-size:11px!important;line-height:1.2!important}}
@container seat (min-height:160px) and (max-height:189px){.game-table .seat-card .seat-debt.is-clear{display:flex!important;min-height:18px;padding:1px 5px!important}.game-table .seat-card .seat-status-row .seat-protection{padding:1px 4px!important}}
@media(min-width:901px){
/* Reserve the protection row instead of letting it spill into the next seat. */
@media(min-width:901px){.game-table .seat-card:not(.empty-seat){justify-content:flex-start;gap:4px}.game-table .seat-card .seat-status-row{margin-top:auto;min-height:28px;flex:none}}
@container seat (min-height:190px) and (max-height:280px){
 .game-table .seat-card .seat-header{min-height:28px!important;padding-bottom:3px!important}
 .game-table .seat-card .seat-finances{gap:3px 6px!important}
 .game-table .seat-card .seat-finances span{font-size:10px!important;line-height:1.1!important;margin-bottom:2px!important}
 .game-table .seat-card .seat-finances .seat-bitcoin strong{font-size:20px!important;line-height:1.15!important}
 .game-table .seat-card .seat-cash,.game-table .seat-card .seat-worth{padding:2px 6px!important}
 .game-table .seat-card .seat-cash strong,.game-table .seat-card .seat-worth strong{font-size:clamp(13px,5.2cqw,18px)!important}
 .game-table .seat-card .seat-month-income strong,.game-table .seat-card .seat-month-expense strong,.game-table .seat-card .seat-flow strong{font-size:13px!important;line-height:1.15!important}
 .game-table .seat-card .seat-debt{min-height:23px!important;padding:2px 6px!important}
}
@container seat (max-width:270px){.game-table .seat-card .seat-cash strong,.game-table .seat-card .seat-worth strong{font-size:clamp(9px,4.1cqw,13px)!important}}

}

/* Keep financial warnings in the existing cash-flow label, without adding a card row. */
.game-table .seat-card .seat-flow .seat-financial-warning.is-inline{display:inline-block;width:auto;max-width:100%;min-width:0;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:2px;background:none;box-shadow:none;color:#ffd18b;font:inherit;font-weight:650;line-height:inherit;white-space:nowrap;vertical-align:top;cursor:pointer;transform:none}
.game-table .seat-card .seat-flow .seat-financial-warning.is-inline:hover{text-decoration:underline;text-underline-offset:2px;filter:none}
.game-table .seat-card .seat-flow .seat-financial-warning.is-inline:focus-visible{outline:2px solid #ffd18b;outline-offset:2px}
