/* EMPIRE ZERO / X-SESSION-DIRECTOR-154
   No borrowed game UI. A single immersive choice -> play -> verified debrief surface.
*/
body.ez-hud-unified .top-actions #ezSessionLaunch{
 display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;min-width:46px;min-height:46px;
 padding:0!important;border:1px solid #e6c69e!important;border-radius:14px!important;
 background:rgba(201,159,107,.89)!important;color:#111b1f!important;
 box-shadow:0 8px 25px #0004!important;cursor:pointer;pointer-events:auto;
}
body.ez-hud-unified .top-actions #ezSessionLaunch[hidden]{display:none!important}
body.ez-hud-unified .top-actions #ezSessionLaunch:hover{background:#f2d5ae!important;box-shadow:0 0 0 2px #e3c5a545!important}
body.ez-hud-unified .top-actions #ezSessionLaunch:focus-visible{outline:2px solid white!important;outline-offset:2px!important}
body.ez-hud-unified .top-actions #ezSessionLaunch .ez-control-icon{width:21px;height:21px}
.ez-session-director[hidden],.ez-session-director [hidden]{display:none!important}
.ez-session-director{position:fixed;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(14px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));color:#f1eee7;font-family:Manrope,system-ui,sans-serif}
.sd-backdrop{position:absolute;inset:0;background:rgba(3,9,12,.84);backdrop-filter:blur(17px)}
.sd-shell{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,1100px);max-height:min(91dvh,920px);min-height:0;overflow:hidden;border:1px solid rgba(225,199,164,.34);border-radius:18px;background:linear-gradient(145deg,#152127 0%,#0b141a 48%,#0a1217 100%);box-shadow:0 36px 110px #000b}
.sd-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:clamp(18px,3vw,32px) clamp(17px,3.5vw,38px) 16px;border-bottom:1px solid #d2b9942c}
.sd-head span,.sd-section-head small,.sd-result-kicker{display:block;color:#d9b891;font-size:10px;font-weight:800;letter-spacing:.16em}
.sd-head h2{margin:8px 0 0;font-weight:820;font-size:clamp(24px,3vw,39px);letter-spacing:-.05em;line-height:1.08}
.sd-close{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #c2af9562;border-radius:13px;background:#253239;color:#e8e2d6;font-size:28px;line-height:1;font-family:system-ui;cursor:pointer}
.sd-close:hover{background:#405059}
.sd-scroll{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;padding:22px clamp(17px,3.5vw,38px) 18px;scrollbar-width:thin;scrollbar-color:#6c675e #101b20}
.sd-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 25px}
.sd-intro p{max-width:450px;margin:0;color:#b9c1bf;font-size:13px;line-height:1.6}
.sd-stats{display:flex;gap:24px}
.sd-stats div{display:grid;gap:6px}
.sd-stats span,.sd-card-bottom small,.sd-result-metrics small{color:#98a6a8;font-size:9px;font-weight:800;letter-spacing:.11em;white-space:nowrap}
.sd-stats b{font-size:17px;font-weight:750;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
.sd-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:13px}
.sd-section-head strong{display:block;margin-top:7px;font-size:15px;letter-spacing:-.02em}
.sd-section-head button{min-height:38px;flex:0 0 auto;padding:7px 12px;border-radius:10px;border:1px solid #d8c4a04a;color:#e7dfd0;background:#233039;font-size:10px;font-weight:750;letter-spacing:.04em}
.sd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.sd-card{min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:19px 18px 15px;min-height:267px;border:1px solid #b9a68d30;border-radius:14px;background:linear-gradient(152deg,#202f34 0%,#101a20 90%);transition:border-color .15s,background .15s}
.sd-card:hover{border-color:#c5a77c7a;background:linear-gradient(150deg,#27363c,#121c22)}
.sd-card-top{display:flex;align-items:center;justify-content:space-between;gap:5px;color:#b0c1c1;font-size:9px;font-weight:800;letter-spacing:.10em}
.sd-card-top .sd-new{color:#e9c79c}.sd-card-top .sd-earned{color:#bdcbbf}
.sd-card-main{margin:19px 0 17px;flex:1}
.sd-card-main>span{color:#d9ba94;font-size:9px;font-weight:800;letter-spacing:.13em}
.sd-card-main h3{margin:7px 0 8px;color:#f3eee4;font-size:clamp(18px,1.7vw,24px);line-height:1.17;font-weight:800;letter-spacing:-.035em;text-wrap:balance}
.sd-card-main p{margin:0;font-size:11px;line-height:1.58;color:#b8c1bf}
.sd-card-bottom{display:grid;grid-template-columns:1fr 1fr;gap:11px;border-top:1px solid #b5b4a729;padding-top:14px}
.sd-card-bottom>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.sd-card-bottom strong{font-variant-numeric:tabular-nums;font-size:12px;font-weight:780;white-space:nowrap}
.sd-card-bottom button{grid-column:1/-1;min-height:44px;border-radius:11px;border:1px solid #ddbb90;background:#d8b68e;color:#111b1e;font-weight:850;font-size:10px;letter-spacing:.13em;cursor:pointer}
.sd-card-bottom button:not([disabled]):hover{background:#f3d4a9}
.sd-card-bottom button[disabled]{opacity:.5;cursor:not-allowed}
.sd-gate{grid-column:1/-1;margin:0;padding:12px 15px;border:1px solid #cda36b4a;border-radius:12px;color:#e3c6a8;font-size:12px;letter-spacing:.03em}
.sd-empty{grid-column:1/-1;color:#b9c1bf;padding:26px;border:1px solid #b9a68d30;border-radius:12px;font-size:13px;line-height:1.6}
.sd-disclosure{margin:20px 0 0;color:#84989c;font-size:10px;line-height:1.5}
.sd-footer{display:flex;gap:9px;justify-content:flex-end;align-items:center;padding:15px clamp(17px,3.5vw,38px);border-top:1px solid #d2b9942c;background:#0c151a}
.sd-footer button{min-height:44px;border-radius:11px;padding:9px 15px;border:1px solid #c3b0944a;background:#243138;color:#e7e7e1;font-size:10px;font-weight:800;letter-spacing:.06em}
.sd-footer .sd-footer-primary{margin-left:auto;background:#e0c29b;color:#18232a;border-color:#e0c29b}
.sd-footer button:hover,.sd-section-head button:hover{filter:brightness(1.16)}
.sd-summary{margin:2px 0 26px;padding:20px 24px;border:1px solid #d2b48a6b;border-radius:15px;background:linear-gradient(135deg,#283137,#1a2428)}
.sd-summary h3{font-size:clamp(27px,3vw,40px);letter-spacing:-.045em;line-height:1.08;margin:9px 0 16px}
.sd-result-metrics{display:flex;gap:35px;margin-bottom:18px}
.sd-result-metrics div{display:flex;flex-direction:column;gap:5px}
.sd-result-metrics strong{font-variant-numeric:tabular-nums;font-size:22px}
.sd-result-actions{display:flex;gap:9px;flex-wrap:wrap}
.sd-result-actions button{min-height:45px;padding:10px 18px;border:1px solid #dec39d;border-radius:11px;background:#d9b891;color:#101b1f;font-size:11px;font-weight:850;letter-spacing:.08em}
.sd-result-actions button+button{background:transparent;color:#eddfcb}
.sd-result-actions button[disabled]{opacity:.5;cursor:not-allowed}
.sd-shell button:focus-visible{outline:2px solid #fff2df;outline-offset:2px}
@media(max-width:900px){.sd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-intro{gap:16px}.sd-stats{gap:12px}}
@media(max-width:620px){
 body.ez-hud-unified .top-actions #ezSessionLaunch{flex-basis:42px;width:42px;height:42px;min-width:42px;min-height:42px;border-radius:12px}
 body.ez-hud-unified .top .ez-play-brand{flex-basis:clamp(72px,22vw,105px)!important;width:clamp(72px,22vw,105px)!important}
 body.ez-hud-unified .top .top-actions{gap:4px!important;max-width:calc(100vw - 100px)!important}
 .ez-session-director{padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
 .sd-shell{max-height:100dvh;height:100dvh;border:0;border-radius:0}
 .sd-head{padding:18px 17px 15px}
 .sd-head h2{font-size:25px}
 .sd-scroll{padding:17px 15px}
 .sd-intro{display:block;margin-bottom:19px}
 .sd-intro p{font-size:11px;line-height:1.55}
 .sd-stats{justify-content:space-between;gap:8px;padding-top:15px;margin-top:14px;border-top:1px solid #dec4a42e}
 .sd-stats b{font-size:14px}
 .sd-stats span{font-size:8px}
 .sd-grid{grid-template-columns:1fr;gap:10px}
 .sd-card{min-height:0;padding:15px}
 .sd-card-main{margin:12px 0 13px}
 .sd-card-main h3{font-size:20px}
 .sd-card-bottom{grid-template-columns:1fr 1fr}
 .sd-footer{padding:10px 12px max(12px,env(safe-area-inset-bottom,0px));gap:6px;flex-wrap:wrap}
 .sd-footer button{min-height:45px;flex:1 1 0;padding:9px 8px;font-size:9px}
 .sd-footer .sd-footer-primary{margin-left:0}
 .sd-summary{padding:16px}
}
@media(max-width:355px){
 body.ez-hud-unified .top .ez-play-brand{flex-basis:72px!important;width:72px!important}
 body.ez-hud-unified .top-actions #cameraButton{display:none!important}
 .sd-head h2{font-size:23px}
 .sd-section-head button{font-size:9px}
 .sd-card-main h3{font-size:18px}
}
@media(max-height:460px) and (orientation:landscape){
 .sd-shell{height:min(100dvh,460px);max-height:100dvh;width:min(100%,1050px);border-radius:0}
 .sd-head{padding:10px 18px}.sd-head h2{font-size:23px;margin:4px 0 0}
 .sd-scroll{padding:11px 18px}
 .sd-intro{margin-bottom:10px}.sd-stats{gap:13px}
 .sd-card{min-height:0;padding:12px}.sd-card-main{margin:10px 0}.sd-card-main p{font-size:10px}
 .sd-footer{padding:8px 18px}.sd-footer button{min-height:40px}
}
@media(prefers-reduced-motion:reduce){.sd-card{transition:none}}
@media(prefers-reduced-transparency:reduce){.sd-backdrop{backdrop-filter:none;background:#061014ef}}