.coop-shell{position:absolute;inset:0;z-index:85;background:#10241e;color:#eee9d6}
.coop-panel{position:absolute;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:#302447c9}
.coop-box{width:min(540px,100%);max-height:100%;overflow:auto;border:3px solid #baa4d0;border-radius:20px;background:#fff8f0;color:#503c69;padding:24px;box-shadow:0 12px 40px #160d3450}
.coop-box h2{margin:0;font-size:26px}.coop-actions{display:grid;gap:12px;margin:20px 0}
#coop-join-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#coop-code{width:140px;font:bold 20px monospace;letter-spacing:3px;text-transform:uppercase;padding:10px;border:2px solid #baa4d0;border-radius:8px}
#coop-room{margin:16px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}#coop-room-code{font:bold 28px monospace;letter-spacing:4px}#coop-invite{width:100%}
#btn-coop{position:absolute;right:30px;top:100px}.coop-selection{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-bottom:5px;font-size:13px}
.coop-selecting .select-intro{display:none}.coop-selecting .select-footer{display:none}.coop-picked{outline:4px solid #4eac95;outline-offset:-4px}
.coop-status{position:absolute;left:12px;top:60px;z-index:35;max-width:330px;border-radius:8px;background:#302447e8;color:#fff8f0;padding:5px 9px;font:12px system-ui;pointer-events:none}
.coop-leave{position:absolute;left:12px;top:88px;z-index:36;font-size:11px;padding:4px 8px}
.coop-host-note{position:absolute;right:20px;bottom:12px;z-index:55;background:#302447ed;color:#fff8f0;border-radius:8px;padding:7px 12px;font:14px system-ui;pointer-events:none}
.is-coop .js-replay,.is-coop #btn-pause{display:none}.is-coop [data-touch="pause"]{visibility:hidden}
body.mobile-ui .coop-panel{position:fixed;padding:12px}body.mobile-ui .coop-box{padding:16px}body.mobile-ui #screen-select #btn-coop{position:absolute;right:12px;top:68px;margin:0;padding:3px 10px;min-height:0;height:26px;font-size:11px;line-height:1;z-index:3}body.mobile-ui .coop-selection{position:sticky;top:0;z-index:4;flex-wrap:wrap;gap:6px;background:#1c2a36f2;border:1px solid #ffffff2e;border-radius:10px;padding:4px}
body.mobile-ui .coop-status{font-size:11px;top:calc(54px * var(--inv-scale,1));padding:3px 6px}body.mobile-ui:not([data-mode="night"]) .coop-status{top:58px;bottom:auto;left:150px}
body.mobile-ui .coop-leave{top:calc(76px * var(--inv-scale,1));font-size:11px;min-width:40px;min-height:40px;padding:0 6px}body.mobile-ui:not([data-mode="night"]) .coop-leave{top:54px;bottom:auto;left:88px;right:auto}
.hs-partner{margin-top:12px}
.hs-partner [data-partner-uid]{opacity:.65}
/* Outside the night the top-left corner holds the day tabs: keep the 2P status and leave button in the free strip under the day log. */
body:not(.mobile-ui):not([data-mode="night"]) .coop-leave{top:auto;bottom:10px;left:20px}body:not(.mobile-ui):not([data-mode="night"]) .coop-status{top:auto;bottom:13px;left:84px}
/* Keep the day tabs reachable when a faster phone clears the night during 2P QA. */
body.mobile-ui[data-mode="day"] .coop-leave{top:4px;bottom:auto;left:auto;right:60px}
body.mobile-ui[data-mode="day"] .coop-status{top:16px;bottom:auto;left:auto;right:118px;max-width:220px}
/* Clipping 10-24 (co-op day 390x844): the one-line day title ran under the RTT badge and Leave. In portrait it wraps left of them. */
@media(orientation:portrait){body.is-coop.mobile-ui[data-mode="day"] #day-panel.supply-mode #day-title{white-space:normal;padding-right:124px}}
/* The cleared-night report covers the top-left corner on desktop: park the 2P status and leave button in the bottom strip, as in the day. */
body.is-coop:not(.mobile-ui):has(#wave-report:not([hidden])) .coop-leave{top:auto;bottom:10px;left:20px}body.is-coop:not(.mobile-ui):has(#wave-report:not([hidden])) .coop-status{top:auto;bottom:13px;left:84px}
/* Day, desktop: the bottom-right is the departure button; keep the guest note beside the status instead of on top of it. */
body:not(.mobile-ui):not([data-mode="night"]) .coop-host-note{right:auto;left:300px;bottom:13px}
body.mobile-ui:not([data-mode="night"]) .coop-host-note{right:auto;left:12px;bottom:12px}
/* Briefing, desktop: the survivor card runs to the bottom of the left column, so the badge and Leave sit under the right column (UI/UX pass 08). */
body:not(.mobile-ui)[data-mode="brief"] .coop-leave{top:auto;bottom:10px;left:240px}body:not(.mobile-ui)[data-mode="brief"] .coop-status{top:auto;bottom:13px;left:290px}
/* Co-op loadout: every player picks the starting weapon after the survivor (the solo loadout cards, laid out as one compact row). */
.coop-weapons{display:flex;align-items:center;gap:10px;margin:0 0 6px}.coop-weapons[hidden]{display:none}
.coop-weapons-title{flex:none;font-size:13px;font-weight:bold}
#coop-weapons .loadout-cards{flex:1;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#coop-weapons .loadout-card{height:auto;min-height:0;padding:3px 8px 3px 4px;display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:6px;align-items:center}
#coop-weapons .loadout-card canvas{grid-row:1/4;width:76px;height:30px}
#coop-weapons .loadout-card .choice-code{font-size:7px}
#coop-weapons .loadout-card strong{margin:0;font-size:12px}
#coop-weapons .loadout-card>span{font-size:9px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#coop-weapons .loadout-card:disabled{opacity:.7;cursor:default}
body.mobile-ui .coop-weapons{gap:6px;margin:0 0 4px}body.mobile-ui .coop-weapons-title{font-size:11px;writing-mode:horizontal-tb}
body.mobile-ui #coop-weapons .loadout-cards{gap:4px}body.mobile-ui #coop-weapons .loadout-card{height:auto;padding:2px 4px;grid-template-columns:50px minmax(0,1fr)}
body.mobile-ui #coop-weapons .loadout-card canvas{width:50px;height:22px}body.mobile-ui #coop-weapons .loadout-card>span,body.mobile-ui #coop-weapons .loadout-card .choice-code{display:none}
body.mobile-ui #coop-weapons .loadout-card strong{font-size:11px}
.coop-weapon-status{font-size:13px;margin-left:6px;padding-left:12px;border-left:1px solid #ffffff55}.coop-weapon-status:empty{display:none}
body.mobile-ui .coop-selection{color:#fff8f0}body.mobile-ui .coop-weapon-status{border-left-color:#ffffff55}
/* Phones: the survivor cards give up their stat lists while a lobby is open so the weapon row fits without vertical scrolling. */
body.mobile-ui.coop-selecting #screen-select .card{min-height:0}
body.mobile-ui.coop-selecting .card .card-uniq,body.mobile-ui.coop-selecting .card .mastery-badge{display:none}
@media (max-width:600px){
 .coop-weapons{flex-direction:column;align-items:stretch;gap:2px}
 body.mobile-ui #coop-weapons .loadout-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mobile-ui #coop-weapons .loadout-card{grid-template-columns:44px minmax(0,1fr);min-height:30px}
 body.mobile-ui #coop-weapons .loadout-card canvas{width:44px;height:20px}
 body.mobile-ui .coop-weapon-status{flex-basis:100%;margin:0;padding:0;border:0;font-size:12px}
}
/* Rejoin (10-20): the title button after a 退出 sits under 友達と遊ぶ; the panel shows the room and elapsed time while it waits for the survivor. */
#btn-coop-return{position:absolute;right:30px;top:134px}#coop-resume-detail{display:block;margin-top:6px;font-size:13px;opacity:.8}
body.mobile-ui #screen-select #btn-coop-return{position:absolute;right:12px;top:98px;margin:0;padding:3px 10px;min-height:0;height:26px;font-size:11px;line-height:1;z-index:3}
/* While the partner is away the badge carries a full sentence: one line, centred under the night HUD instead of on top of the wave card. */
body[data-mode="night"] .coop-status.coop-away{left:50%;right:auto;top:36px;bottom:auto;transform:translateX(-50%);max-width:none;white-space:nowrap}
body.mobile-ui[data-mode="night"] .coop-status.coop-away{top:calc(27px * var(--inv-scale,1))}
body.mobile-ui:not([data-mode="night"]) .coop-status.coop-away{top:auto;bottom:64px;left:8px;right:8px;max-width:none;text-align:center;pointer-events:none}
/* Desktop night (guest RV round 1): the badge and 退出 used to sit on the stage panel (district name, mission line) and the controls help; they live in the free strip to its right. */
body.is-coop:not(.mobile-ui)[data-mode="night"] .coop-status:not(.coop-away){left:192px;top:46px;max-width:150px}
body.is-coop:not(.mobile-ui)[data-mode="night"] .coop-leave{left:192px;top:72px}
/* Phone night (guest RV round 2): the stage panel and the vault / warehouse touch button own the top-left, so the badge and 退出 sit to their right, above the partner weapon line. */
body.is-coop.mobile-ui[data-mode="night"] .coop-status:not(.coop-away){left:calc(var(--nw-hud-right,176px) + 6px);top:calc(30px * var(--inv-scale,1))}
body.is-coop.mobile-ui[data-mode="night"] .coop-leave{left:calc(var(--nw-hud-right,176px) + 6px);top:calc(52px * var(--inv-scale,1));min-width:calc(40px * var(--inv-scale,1));min-height:calc(40px * var(--inv-scale,1));padding:0 calc(6px * var(--inv-scale,1));font-size:calc(11px * var(--inv-scale,1))}
/* Live partner picks (10-22): P1 amber / P2 sky badge on the partner's survivor and weapon card, one status chip next to the ready button. */
.coop-survivor-card,#coop-weapons .loadout-card{position:relative}
.coop-peer-badge{position:absolute;z-index:3;top:4px;right:4px;padding:0 7px;border-radius:10px;font:bold 12px/18px system-ui,sans-serif;color:#14262e;box-shadow:0 1px 4px #0008;pointer-events:none}
.coop-survivor-card>.coop-peer-badge{right:auto;left:4px}
/* Everyone's picks (CK 10-28): one pill per seat with the survivor and starting weapon; seat colours match the P badges. */
.coop-picks{display:flex;flex-wrap:wrap;gap:4px 8px;justify-content:flex-end;margin:0 0 3px;font-size:12px;color:#fff8f0}.coop-picks[hidden],#coop-selection[hidden]+.coop-picks{display:none}
.coop-pick{display:inline-flex;align-items:center;gap:5px;min-width:0;padding:1px 8px 1px 3px;border-radius:14px;background:#1c2a36e6;border:1px solid #ffffff44;white-space:nowrap}
.coop-pick-badge{flex:none;padding:0 6px;border-radius:9px;font:bold 11px/16px system-ui,sans-serif;color:#14262e}
.coop-pick-p1 .coop-pick-badge{background:#f0ce92}.coop-pick-p2 .coop-pick-badge{background:#86cbe0}.coop-pick-p3 .coop-pick-badge{background:#e89ad8}.coop-pick-p4 .coop-pick-badge{background:#a8dc84}
.coop-pick-name{font-weight:700;max-width:9em;overflow:hidden;text-overflow:ellipsis}
.coop-pick-face{flex:none;width:18px;height:22px;border-radius:4px;background:#2b4356;object-fit:cover}.coop-pick-gun{flex:none;width:36px;height:16px}
.coop-pick-char{color:#f1e5cc}.coop-pick-weapon{color:#bfd0d7}.coop-pick-ready{color:#8fe0ae;font-weight:700}
body.mobile-ui .coop-picks{flex:1 1 100%;order:9;justify-content:flex-start;gap:2px 6px;margin:0;font-size:11px}body.mobile-ui .coop-pick{gap:3px;padding:1px 6px 1px 2px}body.mobile-ui .coop-pick-face,body.mobile-ui .coop-pick-gun{display:none}
.coop-peer-p1{background:#f0ce92}.coop-peer-p2{background:#86cbe0}
.coop-peer-pick{box-shadow:0 0 0 3px #86cbe0 inset}.coop-peer-pick:has(.coop-peer-p1){box-shadow:0 0 0 3px #f0ce92 inset}
.coop-peer-weapon{box-shadow:0 0 0 2px #86cbe0 inset}.coop-peer-weapon:has(.coop-peer-p1){box-shadow:0 0 0 2px #f0ce92 inset}
#coop-weapons .loadout-card>.coop-peer-badge{position:absolute;top:2px;right:2px;grid-area:auto;width:auto;overflow:visible;white-space:nowrap;font:bold 10px/14px system-ui,sans-serif;color:#14262e;padding:0 5px}
.coop-peer{font-size:13px;margin-left:6px;padding-left:12px;border-left:1px solid #ffffff55;display:inline-block;max-width:46vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.coop-peer:empty{display:none}.coop-peer .coop-peer-badge{position:static;display:inline-block;margin-right:4px}
.coop-peer[data-state="waiting"]{opacity:.75}.coop-peer[data-state="ready"]{color:#7fd097}
body.mobile-ui .coop-peer{border-left:0;padding-left:0;font-size:12px}body.mobile-ui .coop-peer[data-state="ready"]{color:#7fd097}
body.mobile-ui .coop-peer{flex:1 1 100%;max-width:none;margin:0;white-space:normal;overflow:visible;text-overflow:clip}
@media (max-width:600px){body.mobile-ui .coop-peer{flex-basis:100%;margin:0;padding:0;border:0;max-width:none}}
/* Desktop: the status row never wraps (it would push the survivor cards onto the armory strip); long texts are cut with an ellipsis, the buttons keep their size. */
body:not(.mobile-ui) .coop-selection{flex-wrap:nowrap}body:not(.mobile-ui) .coop-selection .btn{flex:none;white-space:nowrap}
body:not(.mobile-ui) .coop-selection>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The partner chip carries the weapon and armory picks, so the old "持ち込む武器 自分 / 相手" line (still kept in the DOM for assistive tech) is not drawn twice. */
#coop-selection #coop-weapon-status{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0;padding:0;border:0}
body:not(.mobile-ui) .coop-selection>.coop-peer{flex:0 1 auto;max-width:none}
/* Desktop lobby bar (CK 10-23 names): the own status sits over the partner chip in one column, so both stay whole with 12-character names at 1280x720.
   When space runs short the ready board gives way (its names ellipsize; the chip already names the partner), never the status, the chip or the buttons. */
body:not(.mobile-ui) .coop-selection{display:grid;grid-auto-flow:column;grid-template-rows:auto auto;grid-auto-columns:auto;justify-content:end;column-gap:10px;row-gap:2px}
body:not(.mobile-ui) .coop-selection>*{grid-row:1/span 2}
body:not(.mobile-ui) .coop-selection>#coop-selection-status{grid-row:1;align-self:end}
body:not(.mobile-ui) .coop-selection>.coop-peer{grid-row:2;align-self:start;margin-left:0;padding-left:0;border-left:0;min-width:max-content}
body:not(.mobile-ui) .coop-selection>#coop-selection-status{min-width:max-content}
body:not(.mobile-ui) #coop-selection>.coop-ready-board{max-width:none;overflow:hidden}body:not(.mobile-ui) #coop-selection>.coop-ready-board .coop-ready-rows{flex:0 1 250px}
body:not(.mobile-ui) .coop-selection>.coop-lobby-name{width:176px}
/* Clipping 10-24 (desktop lobby bar, coop-2browser --names / --clip --en): a 12-character name scrolled inside the 142px field (192px of text) and
   the guest's ready row cut "P1(Police Officer)" to 60 of 90px. The label sits over a field wide enough for 12 wide characters at 14px,
   and the room comes from the waiting hint and the Ready button, which wrap to short lines (both fit the bar's two-row height). */
body:not(.mobile-ui) .coop-selection>.coop-lobby-name{width:auto;flex-direction:column;align-items:stretch;gap:0;line-height:1.2}
body:not(.mobile-ui) .coop-lobby-name .coop-name-input{width:196px;min-height:36px;padding:4px 12px}
body:not(.mobile-ui) #coop-selection>.coop-ready-board .coop-ready-hint{max-width:88px;line-height:1.1}
body:not(.mobile-ui) .coop-selection #coop-ready{max-width:96px;white-space:normal;line-height:1.15}
/* UIUX P13-03: the dialog uses the dark glass of the pause/warehouse panels. Code field: visible border, hinted; Join and Cancel share one height. */
.coop-panel{background:#0a1820d0}
.coop-box{background:linear-gradient(145deg,#2a414e,#122635);border:1px solid #8ba0a6;border-radius:10px;color:#e9e3c4;box-shadow:0 16px 60px #0007}
.coop-box h2{color:#f3ead0}.coop-box #coop-progress,.coop-box #coop-join-form label{color:#d3dccb}
#coop-join-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:stretch}
#coop-join-form label{grid-column:1/-1}
#coop-code{width:auto;min-width:0;box-sizing:border-box;background:#0f2530;color:#fff8e6;border:1px solid #8ba0a6;border-radius:6px;min-height:48px;padding:6px 12px;font-size:20px}
#coop-code::placeholder{color:#8ea6a8;letter-spacing:3px}
#coop-code:focus-visible{outline:2px solid #ffdc9f;outline-offset:1px}
#coop-join,#coop-cancel{min-height:48px;box-sizing:border-box}
#coop-cancel{width:100%}
/* Landscape phones (844x390, 667x375): the four stacked 48px rows ran 12-27px past the box. Quick match and Create room share one row, so the dialog fits without an inner scroller. */
@media (orientation:landscape) and (max-height:500px){.coop-actions{grid-template-columns:1fr 1fr;margin:14px 0}#coop-join-form{grid-column:1/-1}}
/* Player names (CK 10-23): the dialog and the lobby each have a name field (coop-names.js). 40 px touch target; long names never widen the row. */
.coop-name-row{display:grid;gap:6px;margin:14px 0 0}.coop-name-row label{color:#d3dccb;font-size:14px}
.coop-name-input{box-sizing:border-box;min-width:0;min-height:44px;padding:6px 12px;background:#0f2530;color:#fff8e6;border:1px solid #8ba0a6;border-radius:6px;font:16px system-ui,sans-serif}
.coop-name-input::placeholder{color:#8ea6a8}.coop-name-input:focus-visible{outline:2px solid #ffdc9f;outline-offset:1px}.coop-name-input:disabled{opacity:.55}
.coop-lobby-name{display:flex;align-items:center;gap:6px;flex:0 1 220px;min-width:120px;white-space:nowrap}.coop-lobby-name .coop-name-input{flex:1 1 auto;width:100%;min-height:40px;font-size:14px}
body.mobile-ui .coop-lobby-name{flex:0 0 auto;order:1}body.mobile-ui #coop-selection-cancel{order:2}body.mobile-ui .coop-selection>.coop-ready-board{order:3;flex:1 1 200px;min-width:0;flex-direction:column;align-items:stretch;gap:1px}body.mobile-ui .coop-selection>.coop-ready-board .coop-ready-hint{overflow:hidden;text-overflow:ellipsis}body.mobile-ui #coop-ready{order:4;flex:0 1 auto;max-width:132px;white-space:normal;line-height:1.15}body.mobile-ui .coop-lobby-name .coop-name-input{flex:none;width:224px;min-height:40px;font-size:16px}
.coop-peer-name{font-weight:700}
/* Clipping scan 10-24 (coop-lobby 667x375): the fixed 224px name field pushed Cancel to the next row and Ready onto a row of its own, so the
   survivor cards below kept only their portraits (names and descriptions cut). The field shrinks: Name + Cancel, then board + Ready, two rows. */
@media (max-width:720px) and (max-height:420px) and (orientation:landscape){body.mobile-ui .coop-selection>.coop-lobby-name{flex:1 1 150px;min-width:0}body.mobile-ui .coop-lobby-name .coop-name-input{flex:1 1 auto;width:auto;min-width:0}body.mobile-ui .coop-selection>.coop-ready-board{flex-basis:130px}body.mobile-ui #coop-ready{max-width:104px;padding:4px 8px}body.mobile-ui .coop-selection>.coop-ready-board .coop-ready-chip{padding:0 6px}}
/* Short landscape phones (844x390): the name field made the dialog taller than the screen. Name and room code sit beside their labels and
   Quick match / Create room share one row, so the dialog fits without scrolling (tests/no-vertical-scroll). */
@media (max-height:500px){.coop-name-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:8px}.coop-box .coop-actions{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
#coop-join-form{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}#coop-join-form label{grid-column:auto}#coop-code{min-height:44px}#coop-join,#coop-cancel{min-height:44px}.coop-box h2{font-size:22px}}
/* Clipping pass (10-23): on a desktop the guest's ready bar ran out of room in English ("Police Officer / Re...", the waiting line cut, the
   "Waiting for P1(Police Officer)" hint under the Ready button): the texts wrap inside the bar's two-row height instead of being cut. */
body:not(.mobile-ui) .coop-selection>span,body:not(.mobile-ui) .coop-selection>.coop-peer{white-space:normal;overflow:visible;text-overflow:clip}
.coop-selection>.coop-ready-board .coop-ready-hint{white-space:normal;max-width:10em}
/* On a landscape phone's day screen the toast lay over the storage buttons (To Hand / Swap): it takes the free strip of the step column above the ready board instead. */
@media (orientation:landscape){body.mobile-ui[data-mode="day"] .coop-ready-toast{left:auto;right:8px;top:132px;bottom:auto;transform:none;width:min(190px,28vw);box-sizing:border-box}}
/* 4P lobby (P3): seat colours P3 pink / P4 lime with the P badge (design 4.1); 3-4 seat ready board as a 2x2 grid (desktop) or one row of pills (phone). */
.coop-peer-p3,.coop-ready-p3{background:#e89ad8}.coop-peer-p4,.coop-ready-p4{background:#a8dc84}
.coop-peer-pick:has(.coop-peer-p3){box-shadow:0 0 0 3px #e89ad8 inset}.coop-peer-pick:has(.coop-peer-p4){box-shadow:0 0 0 3px #a8dc84 inset}
.coop-ready-board[data-seats] .coop-ready-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
.coop-ready-board[data-seats] .coop-ready-chip{min-width:0;padding:0 6px}.coop-ready-chip[data-state="open"],.coop-ready-chip[data-state="host"]{background:#46566a;color:#dfe7ee}
body.mobile-ui .coop-ready-board[data-seats] .coop-ready-rows{display:flex;gap:4px}
body.mobile-ui .coop-ready-board[data-seats] .coop-ready-row{flex:1 1 0;min-width:0;gap:3px;height:24px;padding:0 4px;border-radius:12px;background:#ffffff14}
body.mobile-ui .coop-ready-board[data-seats] .coop-ready-name{max-width:5em}body.mobile-ui .coop-ready-board[data-seats] .coop-ready-chip-text{display:none}
body.mobile-ui .coop-ready-board[data-seats] .coop-ready-chip{line-height:16px;padding:0 4px}body.mobile-ui .coop-ready-board[data-seats] .coop-ready-chip[data-state="ready"]::before{content:"✓"}
.coop-create-row{display:flex;align-items:center;gap:8px}.coop-create-row>span{flex:1 1 auto;color:#d3dccb}.coop-create-row .btn{min-height:44px;min-width:64px}
.coop-sel-invite{flex:none;display:inline-flex;gap:6px;align-items:center;min-height:40px;white-space:nowrap}.coop-sel-invite b{font:bold 14px monospace;letter-spacing:2px}
body:not(.mobile-ui) .coop-selection>.coop-ready-board[data-seats]{max-width:50%}body:not(.mobile-ui) .coop-selection>.coop-ready-board[data-seats] .coop-ready-rows{flex:0 0 400px}
body:not(.mobile-ui) .coop-selection[data-party]>#coop-selection-status{display:none}
/* Landscape phone lobby: the bar and the picks row take the height, leaving 25-47px of card text. The HP / skill lines are in the status popup, so the card keeps its name. */
@media (orientation:landscape){body.mobile-ui.coop-selecting #coop-selection~#card-list :is(.card-growth-stats,.card-skill){display:none!important}body.mobile-ui.coop-selecting #coop-selection~#card-list .card-text{padding-top:2px!important;padding-bottom:2px!important}}
@media (orientation:portrait){body.mobile-ui.coop-selecting #coop-selection[data-party]~#card-list .card-skill{display:none!important}}
/* The two-player portrait picker keeps all three text lines inside each card; the old spacing clipped every Q label at 390px. */
@media (orientation:portrait){
 body.mobile-ui.coop-selecting #coop-selection:not([data-party])~#card-list .card-text{padding-top:1px!important;padding-bottom:1px!important}
 body.mobile-ui.coop-selecting #coop-selection:not([data-party])~#card-list .card-skill{margin-top:0}
 body.mobile-ui.coop-selecting #screen-select .card-status{min-width:40px;min-height:40px}
}
