.bunker-tile{--tile:#e5bb74;background:#f4e2c0}
.bunker-room{--b-bg:#121820;--b-panel:#1b2531;--b-line:#435369;--b-ink:#f3ede1;--b-muted:#b9c5d4;--b-accent:#f2bc84;--b-blue:#1d354c;--b-pink:#3d273a;--b-red:#5b2832;background:radial-gradient(ellipse at 48% 0,#2a3748,#121820 73%);color:var(--b-ink)}
.bunker-room::before,.bunker-room::after{display:none}
.bunker-room .frame{width:min(1580px,calc(100% - 44px))}
.bunker-room .top,.bunker-room .room-head,.bunker-room .panel,.bunker-room footer.frame{border-color:#39495c}
.bunker-room .room-head,.bunker-room .stage,.bunker-room .roster{background:var(--b-panel);color:var(--b-ink)}
.bunker-room .stage{justify-items:stretch;padding:clamp(12px,1.8vw,24px);min-width:0}
.bunker-room .room-head .invite-chip,.bunker-room .room-head .soft-icon,.bunker-room .room-head .bunker-undo-turn,.bunker-room .stage .secondary,#bunker-passport .secondary{background:#28384b;border-color:#455973;color:var(--b-ink)}
.bunker-room .room-head .code-visibility,.bunker-room .top .brand span,.bunker-room .top nav a{color:#f1c99d}
.bunker-room .primary{background:#edbd8e;color:#211b18;border-color:#ba8a63}
.bunker-room .primary:hover:not(:disabled){background:#ffce9e}
.bunker-room .room-head p,.bunker-room .hint{color:var(--b-muted)}
.bunker-room .bunker-grid{grid-template-columns:minmax(0,1fr) minmax(270px,.48fr);grid-template-areas:"stage people";align-items:start;align-content:start}
.bunker-grid>.stage{grid-area:stage}
.bunker-grid>.room-side{grid-area:people}
.bunker-board{background:#192432;border:1px solid #38495c;border-radius:11px;color:var(--b-ink);padding:14px;min-width:0}
.bunker-board>header,.bunker-passport-heading,.bunker-brief-footer,.bunker-person>header{display:flex;align-items:center;gap:9px;justify-content:space-between}
.bunker-board>header h2{margin:0;font-size:1.04rem;letter-spacing:-.02em}
.bunker-board>header span{font-size:.66rem;font-weight:750;color:var(--b-accent)}
.bunker-room .room-head .bunker-passport-button{min-height:36px;padding:6px 10px;font-size:.75rem;line-height:1.1}
#bunker-passport{width:min(580px,calc(100% - 24px));background:#192432;border-color:#536984;color:var(--b-ink);box-shadow:0 18px 50px #0008;overscroll-behavior:contain}
#bunker-passport[open]{display:flex;flex-direction:column;overflow:hidden}
#bunker-passport [data-passport-content]{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#bunker-passport .bunker-passport-heading h2{margin:0}
#bunker-passport .bunker-passport-heading button{min-height:34px;padding:5px 9px;font-size:.75rem}
#bunker-passport .bunker-vitals{margin-top:15px}
#bunker-passport .bunker-dossier-group li+li{margin-top:4px}
.bunker-vitals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0 7px}
.bunker-vitals div{padding:8px;background:#263448;border-radius:6px}
.bunker-vitals dt,.bunker-impact dt{font-size:.67rem;font-weight:760;color:var(--b-muted)}
.bunker-vitals dd{margin:3px 0 0;font-size:clamp(.83rem,1.3vw,1.2rem);font-weight:850;color:#ffe0ae;font-variant-numeric:tabular-nums}
.bunker-dossier-group p,.bunker-dossier-group li,.bunker-log p,.bunker-viewers{margin:0;font-size:.76rem;line-height:1.5;color:#d3dce8}
.bunker-dossier-group{border-top:1px solid #43536988;margin-top:10px;padding-top:9px}
.bunker-dossier-group h3{font-size:.82rem;margin:0 0 5px;color:var(--b-accent)}
.bunker-dossier-group ul{margin:0;padding-inline-start:16px}
.bunker-update article+article{margin-top:8px}
.bunker-update strong{font-size:.76rem}
.bunker-log{border:1px solid #43536988;border-radius:6px;margin-top:10px;padding:6px 8px;font-size:.81rem}
.bunker-log summary{cursor:pointer;font-weight:700}
.bunker-log p{margin:6px 0}
.bunker-people{display:grid;gap:7px;margin-top:10px}
.bunker-person{background:#243347;border:1px solid #4b5e76;border-radius:7px;padding:7px;color:var(--b-ink);min-width:0}
.bunker-person[data-offline]:not([data-out]) img{filter:grayscale(1);opacity:.65}
.bunker-person[data-offline]:not([data-out]) .bunker-person-id>strong{color:#c3cdd9;text-decoration:line-through}
.bunker-person[data-out]{background:var(--b-red);border-color:#aa5d69}
.bunker-person[data-out] img{filter:grayscale(.8);opacity:.7}
.bunker-person[data-out] .bunker-person-id>strong{text-decoration:line-through;color:#ffc8ca}
.bunker-person[data-out] .bunker-person-status{color:#ffc8ca}
.bunker-avatar{display:grid;justify-items:center;flex:none;gap:3px;width:38px}
.bunker-avatar img{border-radius:6px;object-fit:cover}
.bunker-avatar small{font-size:.65rem;font-weight:900;line-height:1.1;color:#ffdfeb;white-space:nowrap}
.bunker-person[data-sex=male] .bunker-avatar small{color:#c8e8ff}
.bunker-person-id{flex:1;min-width:0}
.bunker-person-id>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.91rem}
.bunker-person-status{font-size:.66rem;font-weight:800;color:var(--b-accent);flex:none;max-width:6em;text-align:right}
.bunker-job-line{display:flex;align-items:center;gap:5px;margin-top:2px;line-height:1.24;font-size:.72rem;overflow-wrap:anywhere}
.bunker-job-line small{display:block;color:var(--b-muted);font-size:.66rem}
.bunker-person dl{display:grid;gap:4px;margin:6px 0 1px;font-size:.73rem}
.bunker-person dl>div{display:flex;align-items:start;gap:6px;padding-top:4px;border-top:1px solid #c1cddd2c}
.bunker-person dt{font-size:.63rem;color:var(--b-muted);font-weight:750}
.bunker-person dd{margin:1px 0 0;overflow-wrap:anywhere}
.bunker-vote-row{display:flex;justify-content:flex-start;align-items:center;gap:5px;margin-top:7px;border-top:1px solid #c1cddd3a;padding-top:6px}
.bunker-vote-row b{color:#ffdfae;font-variant-numeric:tabular-nums}
.bunker-vote-row button,.bunker-vote-row span{margin-inline-start:auto}
.bunker-vote-row button{padding:4px 8px;min-height:32px;font-size:.73rem}
.bunker-vote-row span{font-size:.67rem}
.bunker-viewers{margin-top:7px}
.bunker-hero,.bunker-transmission{position:relative;display:grid;align-content:end;isolation:isolate;overflow:hidden;min-height:clamp(190px,26vw,345px);background:#121b24}
.bunker-hero img,.bunker-transmission img,.bunker-hero::after,.bunker-transmission::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:cover}
.bunker-hero::after,.bunker-transmission::after{content:"";background:linear-gradient(0deg,#15202c 2%,#15202c40 63%,transparent 85%)}
.bunker-hero div,.bunker-transmission-copy{padding:clamp(16px,4vw,35px)}
.bunker-hero h2,.bunker-transmission h2{margin:0;font-size:clamp(2.1rem,5vw,5rem);letter-spacing:-.07em;line-height:.98;text-wrap:balance}
.bunker-room .bunker-brief-grid .stage{padding:0;overflow:hidden}
.bunker-hero{border-radius:8px}
.bunker-lobby-foot{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:10px}
.bunker-incident,.bunker-brief-footer{padding:12px clamp(12px,2.8vw,28px)}
.bunker-passport-brief{padding:15px clamp(12px,2.8vw,28px);background:#1a2838;border-block:1px solid #465971}
.bunker-passport-brief>h2{margin:0;font-size:clamp(1.2rem,2.5vw,1.55rem)}
.bunker-passport-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:680px){.bunker-passport-brief .bunker-vitals{grid-template-columns:repeat(4,minmax(0,1fr))}}
.bunker-incident>p{font-size:clamp(.9rem,1.16vw,1.06rem);line-height:1.58;margin:0 0 9px}
.bunker-impact{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 10px;align-items:baseline;margin:8px 0}
.bunker-impact dd{margin:0;font-size:.77rem}
.bunker-brief-footer{border-top:1px solid #465971;background:#162230}
.bunker-audio{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:8px}
.bunker-audio button{min-height:35px;padding:6px 9px;font-size:.74rem}
.bunker-audio [role=status]{font-size:.72rem;color:var(--b-accent)}
.bunker-turn-banner,.bunker-step{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:11px;border-radius:7px;background:#26364b}
.bunker-step>*{width:100%}
.bunker-step button{width:auto}
.bunker-step h3,.bunker-step p,.bunker-turn-banner h3,.bunker-turn-banner p{margin:0}
.bunker-step p,.bunker-turn-banner p{color:var(--b-muted);font-size:.8rem}
.bunker-council{padding:14px;border:1px solid #526278;border-radius:10px;background:#1d2939;min-width:0}
.bunker-council-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px}
.bunker-council-header h3{margin:0;font-size:1.08rem;line-height:1.2}
.bunker-council-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bunker-council-choice{
  --choice-ink:#c4eee5;--choice-line:#4f857d;--choice-fill:#253d40;
  display:grid;align-content:start;gap:8px;min-width:0;padding:9px;border:1px solid var(--choice-line);
  border-radius:8px;background:var(--choice-fill);color:var(--choice-ink)
}
.bunker-council-choice[data-choice=remove]{--choice-ink:#ffdac2;--choice-line:#98624f;--choice-fill:#49342f}
.bunker-council-choice[data-picked],.bunker-council-choice:focus-within{border-color:var(--choice-ink);box-shadow:inset 0 0 0 1px var(--choice-ink)}
.bunker-council-choice header{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:.8rem;min-height:36px}
.bunker-council-choice header>span{flex:none;display:grid;place-items:center;min-width:2em;padding:3px;border-radius:6px;background:#0d182970;font-weight:850;font-variant-numeric:tabular-nums}
.bunker-council ul{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none;min-width:0}
.bunker-council li{display:flex;align-items:center;gap:5px;min-width:0;padding:2px 6px 2px 2px;border-radius:6px;background:#0d182970;font-size:.72rem}
.bunker-council li span{overflow-wrap:anywhere}
.bunker-council img{flex:none;border-radius:4px;object-fit:cover}
.bunker-council-choice header button{min-width:0;min-height:36px;padding:5px 8px;background:var(--choice-ink);color:#15232c;border:0;border-radius:6px;font-size:.8rem;line-height:1.15}
.bunker-council-choice header button:hover{filter:brightness(1.09)}
.bunker-council-choice small{font-size:.72rem}
.bunker-turn-banner{border-inline-start:3px solid var(--b-accent);justify-content:space-between;flex-wrap:nowrap}
.bunker-turn-banner small,.bunker-hud small{color:var(--b-accent);font-size:.67rem;font-weight:800}
.bunker-clock{font:800 .88rem ui-monospace,monospace;color:#ffe0ad;flex:none;background:#172738;border-radius:6px;padding:7px 8px}
.bunker-screen{display:grid;gap:11px}
.bunker-screen h2{margin:1px 0 0}
.bunker-exile{display:flex;justify-content:space-between;align-items:center;gap:6px;background:#532631;color:#ffd1d2;border-radius:6px;padding:6px 9px;font-size:.77rem}
.bunker-exile strong{overflow-wrap:anywhere}
.bunker-exile span{flex:none}
.bunker-hand h3{margin:0 0 6px;font-size:.93rem}
.bunker-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.bunker-card{border-radius:7px;border:1px solid #475b71;background:#233247;min-width:0}
.bunker-card[data-open]{background:#16212e;border-color:#304155;color:#aab6c5}
.bunker-card[data-open] .bunker-symbol{filter:saturate(.35) brightness(.8)}
.bunker-card-copy{height:100%;min-width:0;padding:8px;display:flex;flex-direction:column;gap:5px}
.bunker-card-copy strong,.bunker-card-copy small,.bunker-card-copy p{overflow-wrap:anywhere}
.bunker-card-copy>header{display:flex;align-items:center;gap:5px;color:var(--b-accent)}
.bunker-card-copy>header small{font-size:.63rem;text-transform:uppercase;font-weight:800}
.bunker-card-copy strong{font-size:.82rem;line-height:1.28}
.bunker-card-copy small,.bunker-card-copy span,.bunker-card-copy p{margin:0;font-size:.68rem;color:inherit;line-height:1.35}
.bunker-card-copy>button{min-height:32px;padding:4px 5px;font-size:.73rem;margin-top:auto}
.bunker-options{display:flex;flex-wrap:wrap;gap:4px}
.bunker-options button{padding:4px 6px;min-height:28px;font-size:.68rem;overflow-wrap:anywhere}
.bunker-symbol{flex:none;display:block;width:22px;aspect-ratio:1;background:#192928 url('/bunker-symbols.webp') 0 0 / 400% 400%;border-radius:4px}
.bunker-card-copy .bunker-symbol{width:31px}
.bunker-symbol[data-symbol="7"]{background-position:100% 33.3333%}
.bunker-symbol[data-symbol="14"]{background-position:66.6667% 100%}
.bunker-symbol:is([data-symbol="16"],[data-symbol="17"],[data-symbol="18"],[data-symbol="19"],[data-symbol="20"],[data-symbol="21"]){background-image:url('/bunker-symbols-v2.webp');background-size:300% 200%;background-color:#1b2534}
.bunker-symbol[data-symbol="16"]{background-image:url('/bunker-profession.webp');background-size:cover}
.bunker-symbol[data-symbol="17"]{background-position:50% 0}
.bunker-symbol[data-symbol="18"]{background-position:100% 0}
.bunker-symbol[data-symbol="19"]{background-position:0 100%}
.bunker-symbol[data-symbol="20"]{background-position:50% 100%}
.bunker-symbol[data-symbol="21"]{background-position:100% 100%}
#bunker-notice{max-width:min(570px,calc(100vw - 34px));width:100%;padding:0;overflow:visible;background:#eee5d5;color:#252b33;border:0;border-radius:12px;box-shadow:0 30px 86px #0008}
#bunker-notice::backdrop{background:#08121edb}
#bunker-notice[open]{animation:bunker-notice-in .32s cubic-bezier(.16,1,.3,1) both}
.bunker-notice-paper{position:relative;display:grid;justify-items:start;gap:11px;padding:clamp(20px,5vw,41px);border-top:6px solid #ce6c42;border-radius:inherit}
#bunker-notice:is([data-kind=vote],[data-kind=removed]) .bunker-notice-paper{border-color:#993a4c}
.bunker-notice-close{position:absolute;inset:9px 9px auto auto;min-width:40px;min-height:40px;font-size:1.4rem;border:0;background:transparent;color:#252b33}
.bunker-notice-symbol{width:50px}
.bunker-notice-paper p,.bunker-notice-paper h2{margin:0;overflow-wrap:anywhere}
.bunker-notice-paper p,.bunker-notice-paper small{color:#39404a;font-size:.83rem}
.bunker-notice-paper h2{font-size:clamp(2rem,7vw,3.4rem);line-height:1;letter-spacing:-.05em}
.bunker-notice-target{display:flex;align-items:center;gap:7px}
.bunker-notice-target span{font-size:.68rem;font-weight:800;text-transform:uppercase;color:#834527}
@keyframes bunker-notice-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:820px){
  .bunker-room .frame{width:calc(100% - 25px)}
  .bunker-room .bunker-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "people"}
  .bunker-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bunker-person{padding:8px}
}
@media(prefers-reduced-motion:reduce){#bunker-notice[open],#bunker-passport[open]{animation:none}}
.bunker-screen>.bunker-board{padding:0;background:transparent;border:0}
.bunker-screen>.bunker-board>header{margin-bottom:8px}
.bunker-screen .bunker-people{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px}
.bunker-screen .bunker-person{display:flex;flex-direction:column;min-height:92px}
.bunker-screen .bunker-person>header{min-height:39px}
.bunker-screen .bunker-person .bunker-vote-row{margin-top:auto;min-height:38px;padding-top:4px}
.bunker-screen .bunker-person .bunker-vote-row:empty{border-top-color:transparent}
.bunker-screen .bunker-person dl{margin-bottom:6px}
.bunker-screen .bunker-person .bunker-vote-row small{font-size:.64rem}
.bunker-room .bunker-hand{background:#192432;border:1px solid #38495c;border-radius:11px;padding:10px}
.bunker-hand .bunker-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.bunker-turn-actions{display:grid;justify-items:end;gap:6px;flex:none}
.bunker-turn-actions button{padding:6px 10px;min-height:35px;font-size:.74rem}
.bunker-jump{display:none}
.bunker-last-action{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:2px;border:1px solid #566a7b;color:#ecedec;background:#243345;border-radius:6px;padding:7px 9px;font-size:.78rem}
.bunker-last-action small,.bunker-announcement small{color:#f8cc94;font-weight:800;font-size:.66rem}
.bunker-last-action span{overflow-wrap:anywhere}
.bunker-announcement{display:grid;gap:3px;border-inline-start:3px solid #ecc18f;padding:8px 10px;background:#2b3b4e;border-radius:4px 6px 6px 4px;font-size:.81rem}
.bunker-announcement p{margin:0;color:#d0dce8}
.bunker-exile{display:grid;gap:6px}
.bunker-exile>div{display:flex;justify-content:space-between;gap:6px;align-items:center}
.bunker-exile dl,.bunker-notice-exposures{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:5px;margin:0;width:100%}
.bunker-exile dl>div,.bunker-notice-exposures>div{display:grid;grid-template-columns:21px minmax(0,1fr);align-items:start;gap:5px;border-top:1px solid #92919168;padding-top:4px}
.bunker-exile dl .bunker-symbol,.bunker-notice-exposures .bunker-symbol{width:20px}
.bunker-exile dt,.bunker-notice-exposures dt{font-weight:800;font-size:.66rem}
.bunker-exile dd,.bunker-notice-exposures dd{margin:0;font-size:.73rem;overflow-wrap:anywhere}
.bunker-swap-options{display:grid;gap:4px;font-size:.72rem}
.bunker-swap-options summary{cursor:pointer}
.bunker-consult h4{margin:8px 0 4px;font-size:.77rem}
#bunker-hand-title{scroll-margin-top:10px}
@media(max-width:1020px){.bunker-screen .bunker-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
  .bunker-jump{display:block;font-size:.74rem;color:#ffdcad}
}
@media(max-width:480px){.bunker-screen .bunker-people{grid-template-columns:1fr}.bunker-turn-banner{align-items:start}.bunker-turn-actions button{max-width:8em}}
.bunker-person-status small{display:block;font-size:.63rem;line-height:1.2}
.bunker-hand .bunker-condition{grid-column:1/-1}
.bunker-parent-plan{display:block;margin-top:4px;color:var(--b-accent);font-size:.66rem;font-weight:750}
.bunker-room .bunker-epilogue-grid{grid-template-columns:minmax(0,1fr);width:min(1320px,100%);margin-inline:auto}
.bunker-room .bunker-epilogue-grid .stage{padding:0;overflow:hidden;border-color:#536174}
.bunker-epilogue{--verdict:#bce0bc;--hero-shadow:#142024;color:var(--b-ink);background:#192432}
.bunker-epilogue[data-outcome=defeat]{--verdict:#ffc4bd;--hero-shadow:#281e29}
.bunker-epilogue-hero{position:relative;isolation:isolate;display:grid;align-content:start;background:var(--hero-shadow)}
.bunker-epilogue-hero>img,.bunker-epilogue-hero::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.bunker-epilogue-hero>img{object-fit:cover;object-position:center top}
.bunker-epilogue-hero::after{content:"";background:linear-gradient(0deg,#141e29cc 1%,#111b2477 54%,#111b2418 100%),linear-gradient(90deg,#111b246b,transparent 76%)}
.bunker-epilogue-hero>div{padding:clamp(20px,4vw,48px);padding-top:clamp(20px,4vw,48px);padding-bottom:clamp(12px,2vw,24px)}
.bunker-verdict{display:inline-block;border:1px solid currentcolor;border-radius:4px;padding:5px 9px;color:var(--verdict);background:#151e27b2;text-transform:uppercase;letter-spacing:.09em;font-size:.72rem;font-weight:900}
.bunker-epilogue-hero h2{max-width:14ch;margin:.18em 0 .1em;font-size:clamp(2.35rem,6vw,5.1rem);line-height:.91;letter-spacing:-.072em;text-wrap:balance}
.bunker-epilogue-hero p{max-width:45ch;margin:10px 0 0;color:#f4eddf;font-size:clamp(.87rem,1.7vw,1.09rem);line-height:1.45;text-wrap:pretty}
.bunker-epilogue-body{display:grid;gap:clamp(18px,3vw,32px);padding:clamp(15px,3vw,32px)}
.bunker-epilogue-body h3{margin:0 0 10px;font-size:clamp(.94rem,2vw,1.19rem)}
.bunker-epilogue-survivors{padding:0 clamp(14px,4vw,48px) clamp(18px,4vw,38px)}
.bunker-epilogue-survivors h3{text-align:center;margin:0 0 10px;font-size:1.05rem;color:#f6ebda}
.bunker-epilogue-team{list-style:none;display:flex;justify-content:center;align-items:stretch;flex-wrap:wrap;gap:12px;margin:0;padding:0}
.bunker-epilogue-team>li{width:min(100%,285px);min-width:0;display:flex}
.bunker-survivor-card{width:100%;border:1px solid #698196;border-radius:10px;background:#19283aee;overflow:hidden;color:#f2eddf;box-shadow:0 10px 25px #0713205c}
.bunker-survivor-card[data-sex=female]{border-color:#a4829c;background:#332838f2}
.bunker-survivor-card[data-sex=male]{border-color:#719bbf;background:#1c3045ef}
.bunker-survivor-card>header{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:10px;padding:11px 11px 8px}
.bunker-survivor-avatar{display:grid;justify-items:center;gap:3px}
.bunker-survivor-avatar img{display:block;width:56px;height:56px;object-fit:cover;border-radius:7px}
.bunker-survivor-avatar span{color:#c4e7ff;font-size:.72rem;font-weight:850}
.bunker-survivor-card[data-sex=female] .bunker-survivor-avatar span{color:#ffd2e8}
.bunker-survivor-identity{display:grid;align-content:start;gap:4px;min-width:0;overflow-wrap:anywhere}
.bunker-survivor-identity>strong{font-size:1.03rem;line-height:1.21}
.bunker-survivor-identity .bunker-job-line{color:#f0ca99;font-size:.79rem}
.bunker-survivor-fields{margin:0;padding:0 11px 8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}
.bunker-survivor-fields>div{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:6px;border-top:1px solid #a9bbcd42;padding:5px 0;min-width:0}
.bunker-survivor-fields .bunker-symbol{width:19px}
.bunker-survivor-fields dt{color:#b9d1e4;font-size:.63rem;font-weight:800}
.bunker-survivor-fields dd{margin:1px 0 0;font-size:.75rem;line-height:1.37;hyphens:auto;overflow-wrap:break-word}
.bunker-survivor-fields dd>small{display:block;margin-top:2px;color:#d4dae6;font-size:.65rem}
.bunker-survivor-fields dd>small:last-child{color:#f0ca99}
.bunker-outcome-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bunker-outcome-source{display:block;color:#dce4ee;font-size:inherit}
.bunker-outcome-source+.bunker-outcome-source{margin-top:5px}
.bunker-goal-group{margin-top:7px;color:#d3dce8;font-size:.76rem}
.bunker-goal-group ul{padding-inline-start:15px;margin:5px 0}
.bunker-outcome-check{padding:7px 9px;border-inline-start:2px solid #8fc5a8;background:#243346;border-radius:3px 6px 6px 3px}
.bunker-outcome-check[data-passed=false]{border-color:#de9690}
.bunker-outcome-check header{display:flex;justify-content:space-between;align-items:baseline;gap:6px;flex-wrap:wrap}
.bunker-outcome-check h4{margin:0;font-size:.82rem}
.bunker-outcome-check span{color:#bce0bc;font-size:.67rem;font-weight:800}
.bunker-outcome-check[data-passed=false] span{color:#ffc4bd}
.bunker-outcome-check p{margin:3px 0 0;color:#dce4ee;font-size:.76rem;line-height:1.42}
.bunker-epilogue-body footer{grid-column:1/-1;display:flex;justify-content:flex-end}
.stage-enter .bunker-epilogue-hero>div{animation:bunker-epilogue-in .5s ease-out both}
@keyframes bunker-epilogue-in{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:700px){.bunker-outcome-checks{grid-template-columns:1fr}.bunker-epilogue-hero>img{height:min(820px,100%)}.bunker-epilogue-team>li{width:min(100%,310px)}}
@media(prefers-reduced-motion:reduce){.stage-enter .bunker-epilogue-hero>div{animation:none}}

.bunker-location{margin:0 0 9px;color:#ffe0ac;font-size:.76rem;font-weight:800;letter-spacing:.025em}
.bunker-losses{margin:10px 0;border-inline-start:2px solid #dbaa77;padding-inline-start:10px}
.bunker-losses h3{margin:0 0 4px;font-size:.81rem;color:#f0c493}
.bunker-losses p{margin:0;line-height:1.52;font-size:.86rem;color:#dce6ef}
.bunker-result-rules{margin:0;background:#223244;padding:9px 12px}
.bunker-result-rules ol{padding-inline-start:19px;margin:8px 0 2px}
.bunker-result-rules ol>li+li{margin-top:8px}
@media(max-width:480px){.bunker-impact{grid-template-columns:minmax(0,1fr);gap:2px}.bunker-impact dd+dt{margin-top:5px}}

@media(min-width:1080px){
  .bunker-epilogue-team[data-size="4"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .bunker-epilogue-team[data-size="4"]>li{width:auto}
}
.bunker-transition{color:var(--b-accent);font-variant-numeric:tabular-nums;font-weight:750}
.bunker-condition .bunker-card-copy{position:relative}
.bunker-condition .bunker-card-copy>header{padding-right:24px}
.bunker-power-info>summary{
  position:absolute;right:7px;top:7px;display:grid;place-items:center;width:24px;height:24px;
  border:1px solid currentColor;border-radius:50%;color:var(--b-accent);cursor:pointer;
  font:italic bold .82rem/1 Georgia,serif;list-style:none
}
.bunker-power-info>summary::-webkit-details-marker{display:none}
.bunker-power-info[open]>p{
  position:absolute;inset:31px 7px auto auto;z-index:3;width:min(240px,calc(100% - 14px));
  box-sizing:border-box;margin:0;padding:8px;border:1px solid #697d96;border-inline-start:2px solid var(--b-accent);
  border-radius:6px;background:#172231;box-shadow:0 8px 18px #111a26a8;color:#e6edf6;line-height:1.45
}
#bunker-notice[data-kind=ability] .bunker-notice-symbol{width:66px}
#bunker-notice[data-kind=ability] .bunker-notice-paper{background:radial-gradient(ellipse at 10% 0,#e6b78e70,transparent 64%)}

.bunker-room .room-head:has(.bunker-phase){
  position:sticky;top:0;z-index:15;display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  gap:12px;background:#182331f7;box-shadow:0 10px 26px #0b11184d
}
.bunker-phase{
  display:flex;align-items:center;gap:12px;min-width:0;padding:6px 11px;
  border-inline-start:3px solid #78bfdd;background:#23364a;border-radius:4px 8px 8px 4px
}
.bunker-phase[data-phase=bunker-vote],.bunker-phase[data-phase=bunker-decision]{border-color:#ffc893;background:#44323b}
.bunker-phase>div{display:grid;gap:1px}
.bunker-phase>div>span{font-size:.65rem;color:#c8dae8}
.bunker-phase strong{font-size:.83rem;color:#fff}
.bunker-phase-player{font-size:.75rem;max-width:16ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bunker-phase time{font-size:1.2rem;font-variant-numeric:tabular-nums;font-weight:850;color:#ffe4bb;min-width:3ch}
.bunker-pause-label{padding:3px 6px;border-radius:4px;background:#ffe4bb;color:#32271d;font-size:.72rem;font-weight:800}
.bunker-host-controls{display:flex;flex-wrap:wrap;gap:5px}
.bunker-room .room-head .actions{flex-wrap:wrap;min-width:0}
.bunker-finish:not([hidden]){animation:bunker-control-in .4s ease-out both}
@keyframes bunker-control-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.bunker-person[data-sex=female],.bunker-survivor-card[data-sex=female]{--profile-line:#ff6dec;--profile-fill:#4a2857;--profile-text:#ffcaf5}
.bunker-person[data-sex=male],.bunker-survivor-card[data-sex=male]{--profile-line:#7cddff;--profile-fill:#203f60;--profile-text:#c4f2ff}
.bunker-person:is([data-sex=female],[data-sex=male]):not([data-out]),
.bunker-survivor-card:is([data-sex=female],[data-sex=male]){
  background:var(--profile-fill);border-color:var(--profile-line);
  box-shadow:inset 0 0 0 1px var(--profile-line)
}
.bunker-person:is([data-sex=female],[data-sex=male]):not([data-out]) .bunker-avatar small,
.bunker-survivor-card:is([data-sex=female],[data-sex=male]) .bunker-survivor-avatar span{color:var(--profile-text)}
.bunker-person[aria-current=step],
.bunker-person:is([data-sex=female],[data-sex=male])[aria-current=step]:not([data-out]){
  border-color:#ffe253;box-shadow:inset 4px 0 #ffe253,inset 0 0 0 1px #ffe253
}
.bunker-turn-chip{display:inline-block;padding:3px 5px;border-radius:4px;background:#ffe253;color:#26200b;font-weight:850}
.bunker-vote-row .bunker-ballot-pick{
  width:100%;padding:5px 8px;border:1px solid #60829f;border-radius:6px;
  background:#263b51;color:#f0f6ff;font-size:.72rem;min-height:29px
}
.bunker-vote-row .bunker-ballot-pick[aria-pressed=true]{background:#f5cfa3;color:#24192b;border-color:#ffe2bf}
#bunker-notice{
  max-width:min(560px,calc(100vw - 30px));color:#f7ecdf;
  background:#17212e;border:1px solid #746778;border-radius:14px;
  box-shadow:0 30px 86px #000b;max-height:calc(100dvh - 30px);overflow:auto
}
#bunker-notice[open]{animation:bunker-notice-reveal .42s cubic-bezier(.2,.88,.28,1) both}
#bunker-notice .bunker-notice-paper{
  gap:12px;padding:clamp(23px,5vw,38px);border:0;
  background:linear-gradient(125deg,#34475b,#192330 59%)
}
#bunker-notice:is([data-kind=vote],[data-kind=removed]) .bunker-notice-paper{
  background:linear-gradient(145deg,#733442,#332737 46%,#182330 86%)
}
.bunker-notice-top{display:flex;align-items:center;gap:14px;padding-right:20px}
.bunker-notice-avatar{border:1px solid #edb19e;border-radius:11px;align-self:start}
.bunker-notice-top p{color:#f5bba8;font-size:.69rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.bunker-notice-top h2{font-size:clamp(1.6rem,6vw,2.65rem);margin-top:4px}
.bunker-notice-person{font-size:clamp(1.05rem,4.6vw,1.5rem);overflow-wrap:anywhere}
.bunker-notice-paper>small,.bunker-notice-close{color:#ecd9d8}
.bunker-notice-exposures{color:#ffebdf}
.bunker-notice-exposures>div{border-color:#e8b4a753}
@keyframes bunker-notice-reveal{from{opacity:0;transform:translateY(-16px) rotate(-1.8deg) scale(.95)}to{opacity:1;transform:none}}
@media(max-width:900px){
  .bunker-room .room-head:has(.bunker-phase){grid-template-columns:minmax(0,1fr) auto}
  .bunker-room .room-head:has(.bunker-phase)>.actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:520px){
  .bunker-room .room-head:has(.bunker-phase){padding:7px;gap:6px}
  .bunker-room .room-head:has(.bunker-phase)>.room-title{grid-column:1/-1}
  .bunker-room .room-head:has(.bunker-phase)>.actions{gap:5px;flex-wrap:wrap}
  .bunker-room .room-head .actions>button,.bunker-host-controls button{font-size:.69rem;min-height:32px;padding-inline:6px}
  .bunker-phase{gap:7px;padding:4px 7px}
  .bunker-phase-player{max-width:9ch}
}
@media(prefers-reduced-motion:reduce){#bunker-notice[open],.bunker-finish:not([hidden]){animation:none}}

.bunker-radio-toast{
  position:fixed;inset:auto 0 20px;z-index:22;margin-inline:auto;width:min(480px,calc(100% - 28px));
  pointer-events:none;padding:12px 17px;display:grid;gap:3px;
  background:#192940;color:#edf6fc;border:1px solid #75adcb;border-inline-start:4px solid #75adcb;
  border-radius:9px;box-shadow:0 10px 34px #0b111898;animation:bunker-control-in .3s ease-out
}
.bunker-radio-toast[hidden]{display:none}
.bunker-radio-toast span{font-size:.69rem;letter-spacing:.045em;color:#b3d8ec;text-transform:uppercase}
.bunker-radio-toast p{margin:0;font-size:.84rem}
.bunker-mic-status{font-size:.79rem;color:#ffcbad}
[data-bunker-mic][aria-pressed=true]{border-color:#8cc4ab!important;color:#d9f2e4!important}

.bunker-voters{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap}
.bunker-voters>b{font-variant-numeric:tabular-nums;font-size:.95rem;padding:4px 3px;color:#ffdfae}
.bunker-voters>span{display:grid;justify-items:center;gap:1px;min-width:23px}
.bunker-voters img{width:23px;height:23px;object-fit:cover;border:1px solid #8799a9;border-radius:6px}
.bunker-voters>span[data-random] img{border-style:dashed;border-color:#efc788}
.bunker-voters small{line-height:1;color:#e0ebf4}
.bunker-screen .bunker-person .bunker-vote-row{flex-wrap:wrap}
[data-player-row][data-bunker-speaking]{outline:2px solid #6be7a1;outline-offset:-2px}
.bunker-person[aria-current=step][data-bunker-speaking]:not(:focus-visible){outline:none}
.bunker-auto-reveal{margin:0;color:#f2c994;font-variant-numeric:tabular-nums;font-size:.75rem}
.bunker-turn-banner:has(.bunker-auto-reveal){flex-wrap:wrap}
.bunker-room #settings{
  --panel:#172230;--surface:#222f42;--line:#465b73;--ink:#f3ede1;--muted:#c4cddd;--accent:#f2bc84;
  color-scheme:dark;border-color:var(--line);box-shadow:0 12px 35px #0a0e19a6;
  width:min(300px,calc(100vw - 27px));max-height:min(400px,calc(100dvh - 92px))
}
.bunker-room #settings .setting-row{color:var(--ink);background:var(--surface)}
.bunker-settings-audio{display:grid;gap:4px}
#bunker-settings .setting-row[aria-pressed=true]::after{
  content:"";margin-inline-start:auto;width:7px;height:7px;border-radius:50%;background:#83dda7;flex:none
}
#bunker-settings .bunker-mic-status{margin:4px 3px 6px;font-size:.72rem;line-height:1.35;color:var(--muted)}

@media(min-width:1120px){
  .bunker-room .bunker-grid:not(.bunker-brief-grid){
    grid-template-columns:minmax(0,1fr) minmax(252px,.28fr);
    gap:12px
  }
  .bunker-screen .bunker-people{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .bunker-screen .bunker-person{padding:6px}
  .bunker-screen .bunker-person dl{gap:2px}
  .bunker-person .bunker-job-line{gap:3px}
  .bunker-incident>.bunker-vitals{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.bunker-person>header{min-width:0;gap:5px}
.bunker-person-status{max-width:4.5em;overflow-wrap:anywhere;font-size:.62rem}
.bunker-person-status .bunker-turn-chip{padding-inline:3px;white-space:nowrap}
.bunker-all-cards{border:1px solid #62788f;border-radius:10px;background:#202f41}
.bunker-all-cards>summary{display:flex;align-items:center;gap:8px;padding:12px;color:#f4ecdf;font-weight:800;cursor:pointer;list-style:none}
.bunker-all-cards>summary::-webkit-details-marker{display:none}
.bunker-all-cards>summary::after{content:"";width:8px;height:8px;flex:none;margin:0 5px 4px 3px;border:solid #efc38c;border-width:0 2px 2px 0;transform:rotate(45deg)}
.bunker-all-cards[open]>summary::after{transform:rotate(225deg);margin-block:4px 0}
.bunker-all-cards>summary:focus-visible{outline:2px solid #ffe253;outline-offset:3px;border-radius:8px}
.bunker-all-cards-count{margin-inline-start:auto;padding:2px 6px;border-radius:5px;background:#354a62;color:#e4eeff;font-size:.76rem}
.bunker-all-cards:not([open]) .bunker-all-cards-hide,.bunker-all-cards[open] .bunker-all-cards-show{display:none}
.bunker-all-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:9px;list-style:none;margin:0;padding:0 9px 9px}
.bunker-all-cards-grid>li{display:flex;min-width:0}
.bunker-final-status{justify-self:start;padding:2px 5px;border-radius:4px;background:#243b38;color:#c4e8d7;font-size:.67rem;font-weight:750}
.bunker-final-status[data-location=outside]{background:#4e2835;color:#ffd2d9}
.bunker-history{border:1px solid #455a70;border-radius:8px;background:#1c2a3a}
.bunker-history summary{cursor:pointer;padding:9px 12px;font-size:.85rem;font-weight:800}
.bunker-history summary span{font-size:.68rem;margin-left:5px;color:#cdb18e}
.bunker-history ol{margin:0;padding:0 10px 8px;max-height:305px;overflow:auto;list-style:none}
.bunker-history li{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:8px;border-top:1px solid #3f5167;padding:6px 0;font-size:.74rem}
.bunker-history li>span{color:#c7ad91}
.bunker-history p{margin:2px 0 0;color:#d2dce7;overflow-wrap:anywhere}
.bunker-card-copy{position:relative}
.bunker-card:has(.bunker-power-info) .bunker-card-copy>header{padding-right:24px}
.bunker-defense-step,.bunker-review-step{border-inline-start:3px solid #ecbc8b}

.bunker-card[data-major]{border-color:#bd8a59}
.bunker-card[data-major] .bunker-card-copy>header{color:#ffce98}
.bunker-card[data-objective]{border-color:#6795ad}
.bunker-card[data-objective] .bunker-card-copy>header{color:#b8e3f5}

