/* EMPIRE ZERO — X-ENTRY-ARCHITECTURE-146
 * One brand hierarchy, one entry surface, one scroll area and anchored actions.
 * Overrides the legacy HUD/creator styles without altering game controllers.
 */
:root{--entry-ink:#080e12;--entry-panel:#10191d;--entry-metal:#c8aa7f;--entry-line:rgba(204,192,168,.22);--entry-white:#eeeae0;--entry-secondary:#aab8b8}
html,body{overflow-x:hidden}
body:has(#creator.entry-ceremony-enabled:not([hidden]))>.top{display:none!important}
body:has(#creator.entry-ceremony-enabled:not([hidden])){overflow:hidden!important}
#creator.entry-ceremony-enabled:not([hidden]){inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;z-index:30!important}
#entryCeremony{position:absolute;inset:0!important;width:100%;height:100%;overflow:hidden!important;background:var(--entry-ink)}
#entryCeremony .entry-frame{height:100%;min-height:0!important;display:grid!important;grid-template-rows:64px minmax(0,1fr) 32px;overflow:hidden}
#entryCeremony .entry-header{position:relative;height:64px!important;min-height:64px!important;max-height:64px!important;padding:0 clamp(20px,2.8vw,44px)!important;background:#091015!important;border-bottom:1px solid var(--entry-line)!important;z-index:3}
#entryCeremony .entry-mark{width:clamp(130px,12vw,172px)!important;max-width:172px;min-width:0;flex:0 1 auto}
#entryCeremony .entry-mark img{width:100%!important;height:38px!important;object-fit:contain!important;object-position:left center}
#entryCeremony .entry-label{margin-left:auto}
#entryCeremony .entry-label img{width:115px!important;height:27px!important;object-fit:contain}
#entryCeremony .entry-build{font-size:9px;letter-spacing:.12em;font-weight:750;color:#b8a992;max-width:220px}
#entryCeremony .entry-content{display:grid!important;grid-template-columns:minmax(0,44%) minmax(0,56%)!important;grid-template-rows:minmax(0,1fr);height:100%!important;min-height:0!important;overflow:hidden!important}
#entryCeremony .entry-scene{height:100%!important;min-height:0!important;max-height:none!important;min-width:0;padding:clamp(22px,2.4vw,40px)!important;background:linear-gradient(180deg,rgba(7,13,17,.22) 0%,rgba(8,14,18,.25) 48%,#080e12 100%),url('/assets/brand/iron-city-skyline.svg') center 53% / cover!important;border-right:1px solid var(--entry-line);border-bottom:0;overflow:hidden}
#entryCeremony .entry-scene::before{background:linear-gradient(180deg,rgba(9,17,20,.1),rgba(6,12,15,.7))!important}
#entryCeremony .entry-scene::after{display:none!important}
#entryCeremony .entry-grid,#entryCeremony .entry-ring{display:none!important}
#entryCeremony .entry-scene-label{font-size:9px!important;color:#cbb79b}
#entryCeremony #entryPreviewSlot{min-height:0!important;height:100%;flex:1;max-width:100%;align-self:stretch;z-index:2}
#entryCeremony #entryPreviewSlot .operator-preview{height:min(53dvh,430px)!important;min-height:0!important;width:min(85%,440px)!important;max-width:100%!important;border:0!important;box-shadow:none!important}
#entryCeremony #entryPreviewSlot .preview-halo{display:none!important}
#entryCeremony #entryPreviewSlot .preview-body{transform:translate(-50%,-50%) scale(1.25)!important;opacity:.62!important;filter:grayscale(.3) saturate(.75) drop-shadow(0 22px 32px #0008)!important}
#entryCeremony #entryPreviewSlot.entry-model-loaded .preview-body{opacity:0!important}
#entryCeremony .entry-scene-footer{display:grid!important;gap:7px;border-top:1px solid var(--entry-line)!important;padding:16px 0 0!important;position:relative;z-index:4}
#entryCeremony .entry-scene-footer::before{display:none!important}
#entryCeremony .entry-scene-footer strong{font-size:clamp(24px,3.4vw,48px)!important;line-height:1;letter-spacing:-.055em;color:var(--entry-white)}
#entryCeremony .entry-scene-footer small,#entryCeremony .entry-scene-footer span{letter-spacing:.12em;font-size:9px;color:#9aa9ab}
#entryCeremony .entry-workspace{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:28px minmax(0,1fr) auto;min-height:0!important;height:100%!important;min-width:0;padding:clamp(22px,2.9vw,42px) clamp(25px,4.8vw,70px) 16px!important;overflow:hidden!important;background:linear-gradient(138deg,#121b20 0%,#0b1318 60%,#091115 100%)}
#entryCeremony .entry-stepper{height:28px;min-width:0;gap:12px;font-size:9px;color:#c9b79b}
#entryCeremony .entry-pane{display:block;flex:none!important;min-height:0!important;max-width:none!important;height:auto;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6b6d65 transparent;padding:clamp(17px,3.2dvh,30px) 3px 28px 0!important;margin:0!important;animation:none!important}
#entryCeremony .entry-pane[hidden]{display:none!important}
#entryCeremony .entry-kicker{font-size:9px;letter-spacing:.15em;color:#d3b28d;margin-bottom:14px}
#entryCeremony .entry-pane h1,#entryCeremony .entry-pane h2{font-family:Manrope,system-ui,sans-serif!important;font-size:clamp(36px,3.8vw,60px)!important;font-weight:850!important;letter-spacing:-.065em!important;line-height:1.025!important;margin:0 0 18px!important;max-width:620px;text-wrap:balance}
#entryCeremony .entry-pane h1 em,#entryCeremony .entry-pane h2 em{color:#d7b58b}
#entryCeremony .entry-lead{font-size:clamp(12px,1.2vw,14px)!important;line-height:1.65!important;color:#adbbba;max-width:500px;margin-bottom:23px}
#entryCeremony .entry-brief{padding:16px 0;margin:22px 0 17px;gap:11px 19px;border-color:var(--entry-line)!important}
#entryCeremony .entry-brief div{font-size:11px;line-height:1.45;color:#d2d8d3}
#entryCeremony .entry-muted{line-height:1.5}
#entryCeremony .entry-bottom{position:relative!important;bottom:auto!important;z-index:5;min-width:0;margin-top:0!important;border-top:1px solid var(--entry-line)!important;background:linear-gradient(180deg,#0b1318 0%,#0b1318 100%);padding:13px 0 0!important}
#entryCeremony #entryMessage{min-height:0;margin:0 0 8px;font-size:10px;line-height:1.35}
#entryCeremony #entryMessage:empty{display:none}
#entryCeremony .entry-actions{gap:9px}
#entryCeremony .entry-primary,#entryCeremony .entry-secondary{min-height:52px!important;padding:11px 20px!important;letter-spacing:.095em;font-size:10px!important;box-shadow:none!important;transform:none!important}
#entryCeremony .entry-primary{background:#d6b78d!important;border:1px solid #e1c59e!important;color:#101a1e!important}
#entryCeremony .entry-primary:hover{background:#efd3a9!important}
#entryCeremony .entry-secondary{background:#142026;color:#e5e3d8}
#entryCeremony .entry-primary:focus-visible,#entryCeremony .entry-secondary:focus-visible{outline:2px solid #f8e8cf!important;outline-offset:2px}
#entryCeremony .entry-footer{height:32px;min-height:32px;max-height:32px;padding:0 clamp(20px,2.8vw,44px)!important;align-items:center!important;gap:20px;border-top:1px solid var(--entry-line);font-size:8px;letter-spacing:.10em;background:#091015}
#entryCeremony .entry-footer span{min-width:0}
#entryCeremony .entry-footer span:nth-child(2){display:none}
#entryCeremony .entry-footer span:last-child{margin-left:auto}
#entryCeremony #entryAccountSlot .creator-account{padding:12px 14px;margin:10px 0;gap:12px;background:rgba(22,32,36,.72);border-color:var(--entry-line);border-radius:12px}
#entryCeremony #entryAccountSlot .creator-account p{line-height:1.5}
#entryCeremony #entryAccountSlot .creator-account-actions a{border-radius:999px;min-height:42px;display:grid;place-items:center}
#entryCeremony .ez-outfit-card,#entryCeremony .ez-crew-card,#entryCeremony .ez-learning-choices button{box-shadow:none!important;transform:none!important;border-radius:12px!important}
#entryCeremony .ez-outfit-art::before,#entryCeremony .ez-outfit-art::after{opacity:.78}
#entryCeremony .ez-preview-controls{box-shadow:none!important;border-color:#a9987866}
#entryCeremony .ez-preview-controls button{min-height:40px}
body.ez-hud-unified .top{height:60px!important;max-height:60px!important;gap:10px!important;overflow:hidden!important}
body.ez-hud-unified .top .ez-play-brand{display:flex!important;align-items:center;justify-content:flex-start;flex:0 1 164px!important;width:clamp(105px,12vw,164px)!important;height:45px!important;min-width:0;max-width:164px!important;margin:0!important;overflow:hidden!important}
body.ez-hud-unified .top .ez-play-brand img{display:block!important;width:100%!important;height:40px!important;max-width:100%!important;max-height:40px!important;object-fit:contain!important;object-position:left center!important;position:static!important;transform:none!important}
body.ez-hud-unified .top .build{display:none!important}
body.ez-hud-unified .top .top-actions{margin-left:auto!important;flex:0 0 auto;max-width:calc(100vw - 150px);gap:6px!important}
body.ez-hud-unified #ezCrewNav{min-height:42px!important;white-space:nowrap!important;padding:0 12px!important;border-radius:99px!important;font-size:9px!important}
@media(max-width:1000px){
 #entryCeremony .entry-content{grid-template-columns:minmax(0,40%) minmax(0,60%)!important}
 #entryCeremony .entry-workspace{padding:24px 30px 15px!important}
 #entryCeremony .entry-pane h1,#entryCeremony .entry-pane h2{font-size:clamp(36px,4.7vw,52px)!important}
}
@media(max-width:820px){
 #entryCeremony .entry-frame{grid-template-rows:56px minmax(0,1fr)!important}
 #entryCeremony .entry-header{height:56px!important;min-height:56px!important;max-height:56px!important;padding:0 18px!important}
 #entryCeremony .entry-mark{width:135px!important}
 #entryCeremony .entry-mark img{height:32px!important}
 #entryCeremony .entry-label{display:flex!important}
 #entryCeremony .entry-label img{width:89px!important;height:23px!important}
 #entryCeremony .entry-build,.entry-footer{display:none!important}
 #entryCeremony .entry-content{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:clamp(125px,22dvh,194px) minmax(0,1fr)!important;height:100%!important;min-height:0!important;overflow:hidden!important}
 #entryCeremony .entry-scene{width:100%;min-height:0!important;max-height:none!important;height:100%!important;flex:none!important;border-right:0;border-bottom:1px solid var(--entry-line);padding:13px 19px!important;display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}
 #entryCeremony .entry-scene-label{font-size:8px!important}
 #entryCeremony #entryPreviewSlot{position:absolute!important;left:23%;right:23%;top:0;bottom:0;width:auto;height:100%;pointer-events:auto}
 #entryCeremony #entryPreviewSlot .operator-preview{height:100%!important;min-height:0!important;width:min(100%,210px)!important}
 #entryCeremony #entryPreviewSlot .preview-body{transform:translate(-50%,-50%) scale(.9)!important}
 #entryCeremony .entry-scene-footer{margin:0!important;margin-top:auto!important;align-self:flex-end;max-width:42%;z-index:4;padding:0!important;border:0!important;gap:4px;text-align:right}
 #entryCeremony .entry-scene-footer strong{font-size:clamp(17px,4vw,23px)!important}
 #entryCeremony .entry-scene-footer span,#entryCeremony .entry-scene-footer small{font-size:7px!important;line-height:1.2}
 #entryCeremony #entryPreviewSlot .ez-preview-controls{display:none!important}
 #entryCeremony .entry-workspace{width:100%;height:100%!important;min-height:0!important;overflow:hidden!important;grid-template-rows:24px minmax(0,1fr) auto;padding:13px 20px max(12px,env(safe-area-inset-bottom))!important}
 #entryCeremony .entry-pane{min-height:0!important;padding:16px 2px 16px 0!important}
 #entryCeremony .entry-pane h1,#entryCeremony .entry-pane h2{font-size:clamp(34px,6.3vw,50px)!important;line-height:1.04!important;margin-bottom:13px!important}
 #entryCeremony .entry-kicker{margin-bottom:9px}
 #entryCeremony .entry-lead{font-size:12px!important;margin-bottom:17px;line-height:1.58!important}
 #entryCeremony .entry-brief{margin:16px 0 12px;padding:13px 0;gap:9px}
 #entryCeremony .entry-bottom{padding-top:11px!important}
 #entryCeremony .entry-primary,#entryCeremony .entry-secondary{min-height:49px!important}
 #entryCeremony .entry-form-grid select{min-height:48px!important}
 body.ez-hud-unified .top{padding-inline:12px!important}
 body.ez-hud-unified .top .ez-play-brand{max-width:125px!important;flex-basis:125px!important}
 body.ez-hud-unified .top-actions{gap:5px!important}
}
@media(max-width:480px){
 #entryCeremony .entry-content{grid-template-rows:clamp(118px,18dvh,160px) minmax(0,1fr)!important}
 #entryCeremony .entry-header{padding:0 15px!important}
 #entryCeremony .entry-mark{width:119px!important}
 #entryCeremony .entry-workspace{padding:11px 15px max(10px,env(safe-area-inset-bottom))!important}
 #entryCeremony .entry-pane h1,#entryCeremony .entry-pane h2{font-size:clamp(34px,8.4vw,43px)!important}
 #entryCeremony .entry-brief{grid-template-columns:1fr 1fr;gap:9px}
 #entryCeremony .entry-brief div{font-size:10px}
 #entryCeremony .entry-scene-footer strong{font-size:17px!important}
 #entryCeremony .entry-scene-footer span,#entryCeremony .entry-scene-footer small{max-width:140px}
 #entryCeremony .ez-outfit-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 #entryCeremony .entry-actions{gap:7px}
 #entryCeremony .entry-primary,#entryCeremony .entry-secondary{padding:10px 12px!important;font-size:10px!important;min-height:48px!important}
 #entryCeremony #entryAccountSlot .creator-account{flex-direction:column;align-items:stretch}
 body.ez-hud-unified .top .ez-play-brand{flex-basis:95px!important;max-width:95px!important}
 body.ez-hud-unified .top-actions #cameraButton,
 body.ez-hud-unified .top-actions #careerOpen,
 body.ez-hud-unified .top-actions #garageButton,
 body.ez-hud-unified .top-actions #pause{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
 body.ez-hud-unified #ezCrewNav{font-size:8px!important;padding:0 8px!important;min-height:40px!important}
}
@media(max-width:360px){
 body.ez-hud-unified .top-actions #careerOpen{display:none!important}
 #entryCeremony .entry-label{display:none!important}
 #entryCeremony .entry-scene-footer small{display:none}
 #entryCeremony .entry-brief{grid-template-columns:1fr}
 #entryCeremony .entry-brief>span{grid-column:auto}
}
@media(max-height:600px) and (min-width:821px){
 #entryCeremony .entry-frame{grid-template-rows:54px minmax(0,1fr) 0!important}
 #entryCeremony .entry-header{height:54px!important;min-height:54px!important;max-height:54px!important}
 #entryCeremony .entry-footer{display:none!important}
 #entryCeremony .entry-scene{padding:17px!important}
 #entryCeremony .entry-workspace{padding-top:15px!important}
}
@media(prefers-reduced-motion:reduce){#entryCeremony *,#entryCeremony *::before,#entryCeremony *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* The licensed 3D operator is the outfit preview. Material selectors should not
 * pretend to be separate fully authored character models. */
#entryCeremony .ez-outfit-art{height:60px!important;background:linear-gradient(110deg,var(--garment,#53636a),#18262a 71%,#10181d)!important}
#entryCeremony .ez-outfit-art::before{content:""!important;display:block!important;position:absolute!important;left:14px!important;bottom:14px!important;top:auto!important;width:46px!important;height:2px!important;border:0!important;background:#f1d4aa!important;transform:none!important;clip-path:none!important;border-radius:0!important;box-shadow:none!important}
#entryCeremony .ez-outfit-art::after,#entryCeremony .ez-outfit-art i{display:none!important}
#entryCeremony .ez-outfit-card{min-height:115px!important}
@media(max-width:820px){
 #entryCeremony .ez-outfit-gallery{display:grid!important;grid-template-columns:none!important;grid-template-rows:1fr!important;grid-auto-flow:column;grid-auto-columns:minmax(150px,35%);gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 3px 10px;scrollbar-width:thin;scrollbar-color:#9d937e transparent}
 #entryCeremony .ez-outfit-card{min-height:114px!important;scroll-snap-align:start}
}
@media(max-width:480px){#entryCeremony .ez-outfit-gallery{grid-auto-columns:minmax(140px,63%)}}