/* Survivor picker: use the same light/dark design tokens and fixture surfaces as other games. */
.survivor-gameplay .tp-gameplay-main,
.survivor-gameplay .tp-gameplay-aside{min-width:0}
.survivor-round-panel{min-width:0}
.survivor-round-panel .survivor-round-head{margin-bottom:18px}
.survivor-pick-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:18px 0 14px;padding:5px;background:var(--tp-panel-2);border:1px solid var(--tp-line);border-radius:14px}
.survivor-pick-mode button{min-width:0;border:1px solid transparent;background:transparent;color:var(--tp-muted);padding:11px 9px;border-radius:10px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.survivor-pick-mode button.active{background:var(--tp-panel-3);color:var(--tp-text);border-color:var(--tp-green);box-shadow:0 1px 5px rgba(0,0,0,.05)}
.survivor-pick-mode button:hover:not(.active){background:var(--tp-panel)}
.survivor-choice-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.survivor-choice-box{min-width:0;border:1px solid var(--tp-line);background:var(--tp-panel-2);border-radius:13px;padding:13px 14px}
.survivor-choice-box span{display:block;color:var(--tp-muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.survivor-choice-box strong{display:block;margin-top:6px;font-size:15px;color:var(--tp-text);overflow-wrap:anywhere}
.survivor-choice-box.pending strong{color:var(--tp-warn)}
.survivor-choice-value{display:flex;align-items:center;gap:8px;min-width:0;margin-top:6px}
.survivor-choice-value strong{margin:0;min-width:0;overflow-wrap:anywhere}
.survivor-choice-shirt{display:inline-flex;flex:0 0 auto;align-items:center}
.survivor-choice-shirt:empty{display:none}
.survivor-choice-shirt .tp-shirt{display:inline-flex}

.survivor-fixture-list{display:grid;gap:12px}
.survivor-fixture-card{min-width:0;padding:0;overflow:hidden;background:var(--tp-panel);border:1px solid var(--tp-line);border-radius:16px}
.survivor-fixture-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:12px 15px;color:var(--tp-muted);font-size:12px;background:var(--tp-panel-2);border-bottom:1px solid var(--tp-line)}
.survivor-fixture-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:stretch;padding:14px 15px;border:0;background:var(--tp-panel)}
.survivor-versus{display:grid;place-items:center;color:var(--tp-muted);font-size:11px;font-weight:850;padding:0 3px}
.survivor-team-choice{min-width:0;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;border:1px solid var(--tp-line);background:var(--tp-panel-2);color:var(--tp-text);border-radius:12px;padding:12px 10px;font:inherit;font-size:15px;line-height:1.35;font-weight:800;cursor:pointer;text-align:center;overflow-wrap:anywhere;transition:background-color .15s ease,border-color .15s ease}
.survivor-team-side{font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:var(--tp-muted)}
.survivor-fixture-warning{margin:0;padding:14px 16px;font-size:13px;line-height:1.5;color:var(--tp-danger);background:var(--tp-panel)}
.survivor-team-identity{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;width:100%}
.survivor-team-identity strong{font-size:inherit;font-weight:800;min-width:0;overflow-wrap:anywhere}
.survivor-team-identity .tp-shirt{display:inline-flex;flex:0 0 auto}
.survivor-team-choice:hover:not(:disabled){border-color:var(--tp-green);background:var(--tp-panel-3)}
.survivor-team-choice.selected-primary{border:2px solid var(--tp-green);background:var(--tp-panel-3);color:var(--tp-text)}
.survivor-team-choice.selected-reserve{border:2px solid var(--tp-blue);background:color-mix(in srgb,var(--tp-blue) 9%,var(--tp-panel));color:var(--tp-text)}
.survivor-team-choice:disabled{cursor:not-allowed}
.survivor-team-choice:disabled:not(.selected-primary):not(.selected-reserve){opacity:.55}
.survivor-team-choice small{display:block;color:var(--tp-muted);font-weight:600;font-size:12px;line-height:1.25}
.survivor-pick-badge{display:inline-block;position:static;margin-bottom:2px;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800;letter-spacing:.02em}
.survivor-pick-badge.primary{background:color-mix(in srgb,var(--tp-green) 15%,var(--tp-panel));color:var(--tp-text)}
.survivor-pick-badge.reserve{background:color-mix(in srgb,var(--tp-blue) 14%,var(--tp-panel));color:var(--tp-text)}
.survivor-pick-badge.used{background:color-mix(in srgb,var(--tp-danger) 12%,var(--tp-panel));color:var(--tp-danger)}
.survivor-picker-help{margin:12px 0 14px;color:var(--tp-muted);font-size:13px;line-height:1.5}
.survivor-picker-help strong{color:var(--tp-text)}
.survivor-gameplay .survivor-save-row.tp-save-dock{margin-top:20px;flex-wrap:wrap}
.survivor-gameplay .survivor-save-row.tp-save-dock p{max-width:650px;font-size:13px;line-height:1.5;color:var(--tp-muted)}
.survivor-gameplay .survivor-save-row.tp-save-dock p strong{color:var(--tp-text)}
.survivor-gameplay .survivor-round-head h2{color:var(--tp-text)}
.survivor-gameplay .survivor-round-head p{color:var(--tp-muted)}
.survivor-gameplay .survivor-count span{color:var(--tp-muted)}
.survivor-gameplay .survivor-history-row small{color:var(--tp-muted)}
.survivor-gameplay .survivor-used-chip{display:inline-flex;gap:5px;align-items:center;border-color:var(--tp-line);background:var(--tp-panel-2);color:var(--tp-text)}
.survivor-gameplay .survivor-used-chip .tp-shirt svg{width:25px;height:auto}
.survivor-gameplay .survivor-rules p{color:var(--tp-muted)}
.survivor-team-choice:focus-visible,.survivor-pick-mode button:focus-visible{outline:3px solid var(--tp-green);outline-offset:3px}
@media(max-width:900px){.survivor-gameplay .tp-gameplay-layout{grid-template-columns:1fr}.survivor-gameplay .tp-gameplay-aside{position:static}}
@media(max-width:620px){
  .survivor-gameplay .tp-gameplay-shell{padding-inline:12px}
  .survivor-choice-summary{gap:8px}
  .survivor-choice-box{padding:11px}
  .survivor-pick-mode{gap:4px}
  .survivor-pick-mode button{font-size:12px;padding:10px 6px}
  .survivor-fixture-teams{gap:6px;padding:10px}
  .survivor-team-choice{font-size:13px;padding:10px 7px;min-height:104px}
  .survivor-team-identity{flex-direction:column;gap:4px}
  .survivor-choice-box .tp-shirt svg{width:27px;height:auto}
  .survivor-team-choice .tp-shirt svg{width:34px;height:auto}
  .survivor-fixture-meta{padding:11px;font-size:11px}
  .survivor-versus{padding:0}
  .survivor-gameplay .survivor-save-row.tp-save-dock{align-items:stretch;flex-direction:column}
  .survivor-gameplay .survivor-save-row.tp-save-dock .btn{width:100%}
}
@media(max-width:360px){.survivor-fixture-teams{grid-template-columns:minmax(0,1fr)}.survivor-versus{min-height:12px}.survivor-team-choice{min-height:54px}}
