.tv-shell{--tv-line:#ffffff13;--tv-muted:#99aabe;background:#101929;border:1px solid #344154;border-radius:14px;overflow:hidden;margin-bottom:20px;color:#e8edf4;box-shadow:0 20px 70px #0003}.tv-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 26px;background:#172134;border-bottom:1px solid var(--tv-line)}.tv-eyebrow{display:block;font-size:9px;letter-spacing:.19em;color:#a8bbc9;margin-bottom:6px}.tv-heading h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0}.tv-controls{display:flex;flex-wrap:wrap;gap:7px}.tv-controls button{font-size:11px;background:#ffffff05;border-color:#ffffff20;border-radius:7px;color:#cad5e2;padding:8px 11px}.tv-controls button:hover{background:#ffffff12}.tv-controls button[aria-pressed=true]{color:#c6ebd9;border-color:#7dbfa366}.tv-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px}.tv-stage{height:650px;position:relative;overflow:hidden;min-width:0;background:#101929}.tv-stage canvas{display:block;width:100%;height:100%;touch-action:none}.tv-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}.tv-stage-meta{position:absolute;top:20px;left:22px;display:flex;gap:12px;align-items:center;pointer-events:none}.tv-status{font-size:9px;letter-spacing:.15em;color:#dfc08a}.tv-status:before{content:'●';margin-right:6px}.tv-status.tv-live{color:#9ad7b6}.tv-phase{color:#a7b7ca;font-size:11px}.tv-notice{position:absolute;bottom:13px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:.025em;color:#a8b6c8;pointer-events:none;margin:0}.tv-failure{color:#ffcf9d;background:#182134ee;padding:16px;font-size:13px;pointer-events:auto}.tv-seat-label{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#142032e8;border:1px solid #ffffff19;border-bottom:2px solid var(--bot-color);padding:5px 9px;border-radius:6px;max-width:128px;font-size:10px;line-height:1.25;box-shadow:0 3px 10px #0003}.tv-seat-label:hover{background:#29384c}.tv-bubble{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;border:0;border-bottom:3px solid var(--bot-color);background:#f0eee7;color:#203044;border-radius:12px 12px 12px 3px;padding:10px 13px;max-width:205px;width:max-content;font-size:11px;line-height:1.4;text-align:left;box-shadow:0 4px 18px #0004;overflow-wrap:anywhere;z-index:2}.tv-bubble:hover{background:white}.tv-bubble:after{content:'';position:absolute;left:22px;bottom:-8px;border-width:5px 5px 0 0;border-style:solid;border-color:var(--bot-color) transparent transparent transparent}.tv-inspector{background:#151f30;border-left:1px solid var(--tv-line);padding:24px 20px;max-height:650px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;min-width:0}.tv-player-title{border-left:3px solid var(--bot-color);padding-left:12px}.tv-player-title h3{font-family:Georgia,serif;font-size:24px;font-weight:400;line-height:1.15}.tv-stats{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:8px;margin:22px 0;padding-bottom:20px;border-bottom:1px solid var(--tv-line)}.tv-stats strong{display:block;font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.tv-stats small{display:block;font-size:9px;color:var(--tv-muted);margin-top:5px}.tv-inspector h4{font-size:10px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;margin:23px 0 13px;color:#c4d1df}.tv-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.tv-resource{display:flex;align-items:center;gap:7px;font-size:10px;color:#b8c5d4}.tv-resource strong{margin-left:auto;color:#eff3f9;font-weight:500;font-size:13px;font-variant-numeric:tabular-nums}.tv-cube{display:block;width:10px;height:10px;flex-shrink:0;background:var(--resource);box-shadow:inset -2px -2px #0003;border:1px solid #ffffff33;border-radius:2px}.tv-black,.tv-blue,.tv-yellow,.tv-large_wild{width:13px;height:13px}.tv-ultratech{transform:rotate(45deg);border-radius:3px;width:12px;height:12px}.tv-ship{clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%);width:12px;height:14px}.tv-small{font-size:10px;line-height:1.6;color:var(--tv-muted)}.tv-quote{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#d4dfeb}.tv-offer{font-size:11px;padding:12px;background:#202e3d;border-radius:6px;margin-bottom:8px;overflow-wrap:anywhere}.tv-offer strong{font-size:10px;color:#b2d9c7}.tv-offer p{font-size:10px;margin:7px 0 0;line-height:1.5}.tv-roster{display:flex;flex-wrap:wrap;gap:8px;padding:15px 24px;background:#172134;border-top:1px solid var(--tv-line)}.tv-roster button{font-size:11px;background:transparent;border:1px solid #ffffff17;color:#bbc9d9;border-radius:20px;padding:7px 12px}.tv-roster button:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--bot-color);margin-right:8px}.tv-roster button[aria-pressed=true]{background:#ffffff0d;border-color:var(--bot-color);color:white}.tv-footer{display:flex;gap:8px 22px;flex-wrap:wrap;padding:13px 24px;color:#9dacc0;font-size:10px;border-top:1px solid var(--tv-line)}.tv-footer span:last-child{margin-left:auto;color:#8094ab}.tv-activity-details{border-top:1px solid var(--tv-line);padding:13px 24px;font-size:11px;color:#b5c6d8}.tv-activity{max-height:260px;overflow:auto;margin-top:12px;scrollbar-width:thin}.tv-activity-row{border-top:1px solid var(--tv-line);padding:12px 0;overflow-wrap:anywhere}.tv-activity-row small{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.tv-activity-row p{margin:5px 0;white-space:pre-wrap}.tv-load-message{padding:30px;background:#172134;border:1px solid #344154;border-radius:10px}.tv-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tv-shell:fullscreen{overflow:auto;border:0;border-radius:0}.tv-shell:fullscreen .tv-stage{height:calc(100vh - 210px)}.tv-shell:fullscreen .tv-inspector{max-height:calc(100vh - 210px)}
@media(max-width:1000px){.tv-layout{grid-template-columns:minmax(0,1fr) 250px}.tv-stage{height:560px}.tv-inspector{max-height:560px;padding:20px 15px}.tv-resource-grid{gap:12px 10px}.tv-seat-label{font-size:9px;max-width:105px;padding:4px 6px}.tv-footer span:last-child{margin-left:0}}
@media(max-width:720px){.tv-heading{align-items:flex-start;flex-direction:column;padding:18px}.tv-heading h2{font-size:25px}.tv-layout{grid-template-columns:minmax(0,1fr)}.tv-stage{height:480px}.tv-inspector{max-height:none;border-left:0;border-top:1px solid var(--tv-line);padding:20px}.tv-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 26px}.tv-stats{max-width:350px}.tv-roster{padding:12px;gap:6px}.tv-roster button{font-size:10px;padding:7px 9px}.tv-seat-label{max-width:85px;font-size:8px}.tv-bubble{max-width:160px;font-size:10px;padding:8px 10px}.tv-stage-meta{top:15px;left:15px}.tv-footer{padding:12px 16px}.tv-shell:fullscreen .tv-stage{height:55vh}.tv-shell:fullscreen .tv-inspector{max-height:none}}

/* Keep the current phase readable independently of the camera and animation. */
.tv-shell{--tv-phase-color:#c797f0}
.tv-shell[data-phase=economy]{--tv-phase-color:#f0b66f}
.tv-shell[data-phase=confluence]{--tv-phase-color:#91d8e9}
.tv-shell[data-phase=finished]{--tv-phase-color:#a6dfb8}
.tv-shell[data-phase=planning],.tv-shell[data-phase=other]{--tv-phase-color:#bdc7db}
.tv-phase-title{min-width:0;border-left:4px solid var(--tv-phase-color);padding-left:16px}
.tv-heading .tv-phase-name{font-size:34px;line-height:1.15;color:var(--tv-phase-color)}
.tv-phase-detail{font-size:12px;line-height:1.5;color:#bdcbdc;margin:7px 0 0}
.tv-phase-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;counter-reset:phase;padding:0;margin:0;background:#121d2e;border-bottom:1px solid var(--tv-line)}
.tv-phase-track li{counter-increment:phase;display:flex;align-items:center;gap:9px;padding:12px 24px;font-size:12px;color:#8597ae;border-bottom:3px solid transparent}
.tv-phase-track li:before{content:counter(phase);display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border:1px solid #ffffff25;border-radius:50%;font-size:10px}
.tv-phase-track .tv-phase-done{color:#b8c6d6}
.tv-phase-track .tv-phase-done:before{content:'✓'}
.tv-phase-track [aria-current=step]{color:var(--tv-phase-color);background:#ffffff07;border-bottom-color:var(--tv-phase-color);font-weight:600}
.tv-phase-track [aria-current=step]:before{background:var(--tv-phase-color);border-color:var(--tv-phase-color);color:#162235}
.tv-shell:fullscreen .tv-stage{height:calc(100vh - 280px)}
.tv-shell:fullscreen .tv-inspector{max-height:calc(100vh - 280px)}
@media(max-width:720px){.tv-heading{gap:14px}.tv-heading .tv-phase-name{font-size:30px}.tv-phase-title{padding-left:12px}.tv-phase-detail{font-size:11px}.tv-phase-track li{font-size:11px;gap:6px;padding:10px 9px}.tv-phase-track li:before{width:19px;height:19px}.tv-shell:fullscreen .tv-stage{height:55vh}.tv-shell:fullscreen .tv-inspector{max-height:none}}

/* Public auction information stays visible with motion switched off. */
.tv-bid{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;min-width:72px;max-width:132px;padding:6px 9px;border:1px solid #8cbdcd;border-radius:9px;background:#e1f0f5;color:#183346;box-shadow:0 3px 12px #0005;text-align:center;line-height:1.25}
.tv-bid strong{display:block;font-size:15px;font-variant-numeric:tabular-nums}.tv-bid small{display:block;margin-top:2px;font-size:9px;max-width:110px}
.tv-bid-current{background:#fff1c5;border:2px solid #dfb95f;box-shadow:0 0 18px #e6c27750}
.tv-auction-panel{border-top:1px solid var(--tv-line);padding:18px 24px;background:#131f2f;min-width:0}.tv-auction-panel h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:0}.tv-auction-panel p{margin:5px 0 12px}
.tv-auction-cards{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:6px;scrollbar-width:thin}
.tv-auction-card{display:grid;grid-template-columns:42px 1fr;grid-template-rows:1fr auto;gap:4px 9px;flex:0 0 175px;background:#243448;border:1px solid #697e9350;border-radius:7px;color:#e3edf4;padding:9px;text-align:left;min-height:78px}
.tv-auction-card img{grid-row:1 / 3;max-height:63px;width:42px;object-fit:contain}.tv-auction-card strong{font-size:11px;font-weight:500;overflow-wrap:anywhere;align-self:center}.tv-auction-card small{font-size:9px;color:#a9c9d7}.tv-auction-card:not(:has(img)){grid-template-columns:1fr}.tv-auction-card:disabled{opacity:.5;cursor:default}.tv-auction-card:not(:disabled):hover{border-color:#a7d6df;background:#2b4257}
@media(max-width:720px){.tv-bid{min-width:57px;max-width:92px;padding:4px 6px}.tv-bid strong{font-size:12px}.tv-bid small{font-size:8px}.tv-auction-panel{padding:16px}.tv-auction-card{flex-basis:160px}}
