@import url('../lobby/bond-catalog.css');
@import url('./endless-draft.css');
/* The muster hall: brocade standards, engraved rank seals and gilt ironwork. */
.launch-screen .muster-screen{background:radial-gradient(ellipse at 50% 40%,#59452c38,transparent 64%),linear-gradient(#091d17f2,#172a20ba 48%,#091a14f5);}
.launch-screen .muster-screen.muster-endless{
 background:linear-gradient(180deg,#2a18133d,#2a18131c 45%,#2a1813) top/100% 68cqw no-repeat,
  var(--endless-muster-art) 72% top/auto 68cqw no-repeat,#2a1813;
}
.muster-screen{--rank-metal:#e9c37a;--rank-ink:#59492a;}
.muster-screen [data-rank="S+"]{--rank-metal:#ffe1a0;--rank-ink:#8a3028;}
.muster-screen [data-rank="S"]{--rank-metal:#efcc79;--rank-ink:#655126;}
.muster-screen [data-rank="A"]{--rank-metal:#d1b8ef;--rank-ink:#473456;}
.muster-screen [data-rank="B"]{--rank-metal:#a9d5e0;--rank-ink:#294958;}
.muster-screen [data-rank="C"]{--rank-metal:#bfd0ac;--rank-ink:#3a4c37;}
.launch-screen .muster-screen .muster-title{letter-spacing:5px;font-size:27px;line-height:50px;}
.launch-screen .muster-screen .muster-subtitle{font-size:12px;letter-spacing:2px;}
.muster-recommendation{position:absolute;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:1px 6px;color:#f4d9a5;font:12px var(--serif);white-space:nowrap;border:1px solid #947243;background:linear-gradient(105deg,#241d16,#433321 48%,#241d16);box-shadow:inset 0 0 0 1px #251a11;}
.muster-recommendation[hidden]{display:none}
.muster-recommendation-seal{padding:0 3px;border:1px solid #b79258;background:#663426;color:#ffe1a2;font:11px/14px var(--serif)}
.muster-recommendation span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.launch-screen .muster-screen .muster-preset{border-image-width:16px;font-size:13px!important;background-color:#13261b;}
.launch-screen .muster-screen .muster-preset[aria-pressed=true]{color:#ffe5a6;filter:none;box-shadow:inset 0 -3px #d6ad60,0 2px 7px #050c09;}
.launch-screen .muster-preset[aria-pressed=true]::after{content:'◆';position:absolute;bottom:6px;left:calc(50% - 3px);font-size:7px;color:#dfbb72;}
.launch-screen .muster-screen :is(.muster-hero,.muster-pick){background:#0b1813;border-radius:3px;box-shadow:0 5px 12px #0009,inset 0 0 0 2px var(--rank-metal);isolation:isolate;}
.launch-screen .muster-screen :is(.muster-hero,.muster-pick)::before{z-index:4;pointer-events:none;border-image-width:23px;}
.launch-screen .muster-screen .muster-hero{--muster-plaque:57px;background:#101e17;text-align:center;}
.launch-screen .muster-screen .muster-hero[data-slot="0"]{outline:1px solid #d2aa62;outline-offset:2px;}
.launch-screen .muster-screen .muster-hero:focus-visible{outline:2px solid #ffe2a0;outline-offset:2px;}
.launch-screen .muster-screen .muster-hero::before{z-index:2;border-image-width:16px;}
.muster-hero>.bond-handshake{--handshake-top:32px;--handshake-left:7px;--handshake-size:min(39px,34%,10.2vw)}
.muster-pick>.bond-handshake{--handshake-top:7px;--handshake-left:7px}
.muster-pick-status:not([hidden])~.bond-handshake{--handshake-top:48px}
.launch-screen .muster-screen .muster-hero::after{
 content:'';position:absolute;z-index:2;inset:5px;height:auto;pointer-events:none;
 border:1px solid var(--rank-metal);opacity:.57;background:none;box-shadow:inset 0 0 8px #0c1718a9;
}
.launch-screen .muster-screen .muster-crest{display:none;}
.muster-preview{position:absolute;z-index:0;inset:7px 7px 75px;width:calc(100% - 14px);height:calc(100% - 82px);pointer-events:none;}
.launch-screen .muster-hero>.muster-preview{
 inset:5px 5px calc(var(--muster-plaque) + 5px);width:calc(100% - 10px);height:calc(100% - var(--muster-plaque) - 10px);
}
.launch-screen .muster-screen .muster-portrait{inset:31px 7px 77px;width:calc(100% - 14px);height:calc(100% - 108px);z-index:1;animation-duration:6s;object-position:center bottom;}
.launch-screen .muster-screen .preview-ready :is(.muster-portrait,.muster-picker-portrait){visibility:hidden;}
.launch-screen .muster-screen :is(.muster-portrait,.muster-picker-portrait){visibility:hidden;}
.launch-screen .muster-screen :is(.muster-position,.muster-pick-status){
 position:absolute;top:10px;left:9px;z-index:6;width:20px;height:36px;box-sizing:border-box;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px 0 0;
 writing-mode:horizontal-tb;text-align:center;letter-spacing:0;font:11px/12px var(--serif);color:#ffe4ac;
 background:linear-gradient(100deg,#472015,#803c29 48%,#54251c);border:3px double #d1ac66;border-radius:2px;
 box-shadow:1px 2px 5px #000b,inset 0 0 4px #180c08;pointer-events:none;
}
.launch-screen .muster-screen :is(.muster-position,.muster-pick-status)>span{flex:none;width:12px;}
.launch-screen .muster-screen .muster-position{
 top:8px;left:8px;width:auto;min-width:34px;height:22px;padding:1px 3px 0;font-size:11px;
 background:linear-gradient(100deg,#342718,#54442d,#33271c);color:#ffe8b6;
}
.launch-screen .muster-screen [data-slot="0"]>.muster-position{background:linear-gradient(100deg,#4a2016,#823c29 48%,#54251e);}
.launch-screen .muster-screen .muster-pick:disabled .muster-pick-status{
 flex-direction:row;gap:0;width:30px;height:20px;border-width:1px;border-style:solid;
 color:#fff0ce;background:#594b35;border-color:#c2a572;font-size:10px;
}
.launch-screen .muster-screen .muster-rank{position:absolute;z-index:5;top:9px;right:10px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;height:41px;min-width:0;padding:0 0 7px;font:700 23px/1 var(--camp-font);color:var(--rank-metal);text-shadow:0 2px 2px #000;background:none;clip-path:none;border:0;box-shadow:none;pointer-events:none;}
.muster-rank-art{position:absolute;z-index:5;pointer-events:none;}
.launch-screen .muster-screen [data-rank="S"]>.muster-rank{text-shadow:0 1px 2px #2b1908,0 0 5px #eac46c85;}
.launch-screen .muster-screen [data-rank="S+"]>.muster-rank{color:#fff1c5;text-shadow:0 1px 2px #40150b,0 0 7px #ffca63;}
.launch-screen .muster-hero>.muster-rank{width:28px;height:37px;top:7px;right:7px;font-size:19px;}
.muster-inscription{
 position:absolute;inset:auto 5px 5px;z-index:3;box-sizing:border-box;height:var(--muster-plaque);
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px 4px 3px;
 background:linear-gradient(135deg,var(--rank-ink),#172b20 46%,#0d2119);
 border-top:3px double var(--rank-metal);box-shadow:0 -4px 8px #060d08a0,inset 0 -1px #5b4c32;text-align:center;
}
.launch-screen .muster-inscription :is(.muster-name,.muster-role,.muster-art-title,.muster-change){
 position:static;display:block;flex:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.launch-screen .muster-inscription .muster-name{
 color:#ffdfa1;font:700 clamp(16px,5vw,21px)/26px var(--serif);letter-spacing:.03em;text-shadow:0 1px #241b0e;
}
.launch-screen .muster-inscription .muster-role{color:#e1d0ac;font:10px/14px var(--serif);}
.launch-screen .muster-inscription .muster-art-title{color:#d3b986;font:9px/13px var(--serif);}
.launch-screen .muster-inscription .muster-change{color:#f8db9f;font:10px/14px var(--serif);}
.launch-screen .muster-screen [data-pose=attack]{box-shadow:0 5px 12px #0009,inset 0 0 0 2px var(--rank-metal),0 0 12px #dbb06432;}
.launch-screen .muster-screen .muster-troop{border-image-width:14px;font-size:12px!important;color:#dac695;text-align:center;}
.launch-screen .muster-screen .muster-tip{font-size:11px;letter-spacing:1px;color:#d0b987;}
.launch-screen .muster-tip::before,.launch-screen .muster-tip::after{content:'─ ◆ ─';font-size:7px;color:#a7874e;display:inline-block;margin:0 5px;vertical-align:middle;}
.launch-screen .muster-screen>.muster-save{font-size:14px!important;}
.launch-screen .muster-screen>.muster-start{font-size:24px!important;letter-spacing:6px;}
.launch-screen .muster-screen[data-prologue="false"]>.muster-start{font-size:clamp(18px,5.4vw,23px)!important;letter-spacing:2px;padding-inline:7px;white-space:nowrap;}
.muster-screen>.muster-autoplay-switch{
 position:absolute;display:flex;justify-content:center;align-items:center;gap:4px;box-sizing:border-box;padding:3px;
 font:600 clamp(11px,3.5vw,13px) var(--camp-font);color:#ead2a1;white-space:nowrap;cursor:pointer;
 border:1px solid #9f8054;border-image:url('../camp/suite/order-jade-v2.webp') 18 24 fill/9px 11px stretch;
 background:#142c21;text-shadow:0 1px 1px #091710;
}
.muster-autoplay-switch b{
 min-width:22px;padding:3px 0;border:1px solid #ad8e60;border-radius:2px;
 font:700 11px/1 var(--camp-font);color:#d7c8a2;background:linear-gradient(#39433a,#1a2b23);
}
.muster-autoplay-switch[aria-checked="true"] b{color:#16251c;background:linear-gradient(#dce5b2,#92b98b);border-color:#cdbe82;text-shadow:none;}
.muster-autoplay-switch[hidden]{display:none!important;}
.muster-readiness{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;
 background:linear-gradient(110deg,#242b20,#17271e 52%,#252b1e);border:1px solid #8d7449;box-shadow:inset 0 0 0 1px #122018;}
.muster-readiness[hidden]{display:none;}
.muster-stamina{display:block;color:#eed49c;font-size:11px;line-height:14px;letter-spacing:0;}
.muster-stamina[hidden]{display:none;}
.muster-readiness[data-tired="true"] .muster-stamina:first-child{color:#f4b597;}
.launch-screen .muster-screen .muster-troop-trigger{padding-inline:4px;white-space:nowrap;}
.muster-troop-trigger::after{content:'›';margin-inline-start:4px;color:#d8b572;}
.muster-has-manpower .muster-troop-trigger::after{display:none;}
.launch-screen .muster-screen .muster-count{padding:0 2px;background:#30281b;color:#f3d696;border:1px solid #a28549;text-align:center;font:12px var(--serif);}
.launch-screen .muster-screen .muster-picker{padding:8px 10px max(10px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 5%,#394131,#0a1e16 70%);}
.launch-screen .muster-picker-header{position:relative;box-sizing:border-box;padding:8px 16px;min-height:60px;}
.launch-screen .muster-picker-header h3{font-size:24px;letter-spacing:4px;}
.muster-picker-caption{flex:none;margin:10px 0 6px;text-align:center;color:#cbb58b;font:11px/1.4 var(--serif);}
.muster-rank-filters{flex:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:0 2px 8px;}
.launch-screen .muster-rank-filter{min-height:44px;padding:3px 0;border:0;border-image:url('../camp/suite/panel-v1.webp') 26% fill / 12px;background:#12291e;color:#cbb995;font:600 14px var(--serif);}
.launch-screen .muster-rank-filter[aria-pressed=true]{color:#ffe1a0;background:#403720;box-shadow:inset 0 -3px #d6b06b;}
.launch-screen .muster-picker-grid{min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:12px 8px;padding:7px 3px 14px;scrollbar-width:thin;scrollbar-color:#9a7c49 #14271d;}
.launch-screen .muster-screen .muster-pick{position:relative;display:block;box-sizing:border-box;min-height:190px;height:190px;padding:0;text-align:center;}
.launch-screen .muster-screen .muster-pick::before{z-index:4;border-image-width:19px;}
.launch-screen .muster-screen .muster-pick .muster-preview{inset:6px 6px 45px;width:calc(100% - 12px);height:calc(100% - 51px);}
.launch-screen .muster-screen .muster-pick img{position:absolute;inset:27px 6px 46px;width:calc(100% - 12px);height:calc(100% - 73px);object-fit:contain;object-position:center bottom;}
.launch-screen .muster-screen .muster-pick .muster-pick-name{position:absolute;z-index:5;bottom:23px;left:6px;width:calc(100% - 12px);box-sizing:border-box;line-height:22px;padding:0;border-top:1px solid var(--rank-metal);color:#f2d18b;font-size:17px;background:#10261ee8;}
.launch-screen .muster-screen .muster-pick-role{position:absolute;z-index:5;bottom:8px;left:6px;right:6px;font:10px/1.5 var(--serif);color:#c6b38f;}
.launch-screen .muster-screen .muster-pick .muster-rank{top:8px;right:8px;font-size:19px;width:28px;height:36px;}
.muster-picker-empty{grid-column:1/-1;text-align:center;padding:35px 12px;color:#d8c49c;font:14px var(--serif);}
@media(max-width:350px){
 .launch-screen .muster-screen .muster-name{font-size:17px;letter-spacing:0;}
 .launch-screen .muster-screen .muster-role{font-size:10px;}
 .launch-screen .muster-screen .muster-rank{font-size:19px;width:28px;height:36px;}
 .launch-screen .muster-screen .muster-pick{height:165px;min-height:165px;}
 .launch-screen .muster-screen .muster-pick .muster-pick-name{font-size:15px;}
 .launch-screen .muster-tip::before,.launch-screen .muster-tip::after{content:'◆';margin:0 3px;}
}
.launch-screen .muster-short-card .muster-inscription .muster-art-title{display:none;}
.launch-screen .muster-short-card .muster-inscription .muster-name{font-size:16px;line-height:19px;}
.launch-screen .muster-short-card .muster-position{padding-inline:2px;min-width:30px;height:18px;font-size:10px;}
.launch-screen .muster-short-card .muster-hero>.muster-rank{width:24px;height:31px;font-size:17px;}
.launch-screen .muster-compact .muster-tip{font-size:10px;}
.launch-screen .muster-hide-note .muster-note{display:none;}
.launch-screen .muster-screen .muster-equipment{
 position:absolute;right:6px;bottom:calc(var(--muster-plaque) + 7px);z-index:3;width:41px;height:18px;pointer-events:none;
 border:1px solid #ad8d56;background:#17291fe8;box-shadow:0 1px 4px #080e0ba8;
}
.launch-screen .muster-screen[data-empty=true] .muster-equipment{visibility:hidden}
.launch-screen .muster-screen[data-empty=true] :is(.muster-preview,.muster-rank,.muster-rank-art,.muster-position,.muster-role,.muster-art-title,.muster-change){visibility:hidden;}
.muster-screen[data-troop-picking=true]>:not(.muster-troop-picker){display:none!important;}
.muster-troop-picker:not([hidden]){
 position:absolute;inset:0;z-index:5;box-sizing:border-box;display:flex;flex-direction:column;gap:7px;
 padding:max(8px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom));
 background:radial-gradient(ellipse at 50% 0,#3c4130,transparent 62%),linear-gradient(#142c23,#0b1c16 78%);
}
.muster-troop-header{
 position:relative;flex:none;min-height:50px;display:grid;place-items:center;background:#142820;
 border-image:url('../camp/suite/panel-v1.webp') 26% fill / 20px stretch;
}
.muster-troop-header h3{margin:0;font:700 clamp(19px,5.8vw,24px)/1.2 var(--serif);color:#f3d396;letter-spacing:3px;}
.launch-screen .muster-screen .muster-troop-back{position:absolute;inset:3px auto 3px 5px;min-width:60px;font-size:12px;}
.muster-troop-context{margin:0;text-align:center;color:#d4bc8d;font:13px/18px var(--serif);}
.muster-troop-tabs{flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;}
.launch-screen .muster-screen .muster-troop-tab{
 min-width:0;min-height:58px;padding:3px 3px 4px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:3px;
 border:1px solid #866a46;border-radius:2px;background:linear-gradient(#3a3a29,#12251d 72%);color:#dfcda6;
 box-shadow:inset 0 0 0 1px #151d14,0 2px 4px #060e0a99;font:12px/17px var(--serif);
}
.launch-screen .muster-troop-tab[aria-pressed=true]{
 border-color:#ecc982;background:linear-gradient(#633e2a,#462920);color:#ffebba;
 box-shadow:inset 0 0 0 1px #5f4327,inset 0 -2px #b9924a,0 1px 7px #c690352e;
}
.launch-screen .muster-troop-tab:focus-visible{outline:2px solid #ffe3a0;outline-offset:-3px;}
.muster-troop-thumb{display:block;width:100%;height:clamp(30px,8vw,45px);object-fit:cover;border-bottom:1px solid #c09b595e;opacity:.88;}
.muster-troop-tab[aria-pressed=true] .muster-troop-thumb{opacity:1;}
.muster-troop-scroll{
 display:flex;flex-direction:column;gap:7px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;
 scrollbar-width:thin;scrollbar-color:#886741 transparent;
}
.muster-troop-art{
 position:relative;isolation:isolate;flex:1 0 clamp(108px,38vw,154px);max-height:430px;margin:0;
 border:1px solid #b29057;border-radius:3px;background:var(--troop-tone,#233529);
}
.muster-troop-art::after{content:'';position:absolute;inset:3px;pointer-events:none;border:1px solid #e5bc7373;}
.muster-troop-portrait{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:inherit;}
.muster-troop-identity{position:absolute;inset:10px auto auto 10px;display:grid;gap:3px;max-width:58%;text-shadow:0 2px 4px #020906;}
.muster-troop-identity strong{color:#fff0be;font:700 clamp(21px,6.8vw,30px)/1.2 var(--serif);letter-spacing:2px;}
.muster-troop-identity span{
 justify-self:start;padding:2px 6px;border:1px solid #be995e;background:linear-gradient(145deg,#75503c,#37251a);
 color:#f8dcaa;font:12px/16px var(--serif);white-space:nowrap;
}
.muster-troop-intel{
 flex:none;margin:0;padding:2px 9px;background:#162a21;
 border:1px solid #8e7249;box-shadow:inset 0 0 0 2px #403d2b,0 3px 5px #07110a;
}
.muster-troop-note{display:grid;grid-template-columns:4.6em minmax(0,1fr);gap:6px;align-items:start;padding:8px 0;font:13px/1.45 var(--serif);}
.muster-troop-note+.muster-troop-note{border-top:1px solid #ad8b5063;}
.muster-troop-note dt{color:#e6bf79;}
.muster-troop-note dd{margin:0;color:#f0dfb9;overflow-wrap:anywhere;}
.muster-troop-footer{flex:none;display:grid;gap:5px;}
.muster-troop-quantity:not([hidden]){
 display:grid;grid-template-columns:1fr 44px 46px 44px;align-items:center;min-height:44px;
 padding:0 3px 0 10px;color:#edd39c;background:#172a21;border:1px solid #8a7146;box-shadow:inset 0 0 0 2px #293827;
 font:14px var(--serif);
}
.muster-troop-quantity output{text-align:center;}
.muster-troop-quantity[data-fixed]{grid-template-columns:1fr auto;padding-right:10px;}
.muster-troop-quantity[data-fixed] button{display:none;}
.muster-troop-quantity[data-fixed] output{color:#ffdf9e;font-weight:700;}
.launch-screen .muster-screen .muster-troop-step{
 min-height:44px;border:1px solid #ab8a53;background:linear-gradient(#344a38,#162c22);color:#f9e1aa;font:19px var(--camp-font);
}
.launch-screen .muster-screen .muster-troop-confirm{width:100%;min-height:46px;font-size:17px;}
@media(max-width:350px){
 .muster-troop-picker:not([hidden]){gap:6px;}
 .muster-troop-note{font-size:12px;padding-block:6px;}
 .muster-troop-identity strong{letter-spacing:0;}
}
@media(prefers-reduced-motion:reduce){.launch-screen .muster-screen img{animation:none;}}
.muster-bond-bar{position:absolute;display:flex;gap:5px}
.muster-bond-bar[hidden]{display:none}
.muster-bond-bar button{box-sizing:border-box;height:100%;padding:3px 4px;white-space:nowrap}
.muster-bond-bar .muster-bond-info{flex:0 0 48px;font-size:12px;letter-spacing:0}
.muster-bond-bar[data-ready="0"] .muster-bond-info{flex:1;font-size:13px}
:is(.launch-screen,#viewport,#overlay,#lobby) .muster-bond-bar .muster-bond-toggle[data-order]{display:grid;align-content:center;justify-items:center;gap:2px;flex:1;min-width:0;letter-spacing:0}
.muster-bond-toggle strong{font:700 13px/16px var(--camp-font);color:#f4daad}
.muster-bond-state{display:flex;align-items:center;gap:3px;font:10px/11px var(--camp-font);color:#bce8cd}
.muster-bond-state .bond-action-label{padding:2px 4px;font-size:10px}
.muster-bond-toggle[aria-pressed=true] small{color:#ffe29a}
.launch-screen .muster-screen>.muster-recover{padding-inline:5px;font-size:11px!important;letter-spacing:0;white-space:nowrap}
.sortie-squad .bond-flash .vital-plate { box-shadow:0 0 0 2px #f5d58a,0 0 10px #ffd970b0; }
.sortie-bond-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.launch-screen .muster-hide-note[data-has-notice="true"] .muster-recommendation { visibility:hidden; }
.launch-screen .muster-compact .muster-notice {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
