/* ATHRTY BLACKLINE / original sequential operator and entry CSS. */

/* SOURCE: public/motorworks-physical-repair.css */
/* EMPIRE ZERO — workshop-only physical interaction, existing world renderer */
.ez-physical-repair[hidden]{display:none!important}
.ez-physical-repair{position:fixed;z-index:210;right:clamp(18px,2.4vw,40px);bottom:max(28px,env(safe-area-inset-bottom));width:min(378px,calc(100vw - 32px));padding:19px 20px;border:1px solid rgba(210,182,142,.45);border-radius:16px;background:rgba(11,22,26,.94);color:#eee9e0;box-shadow:0 24px 68px #0008;backdrop-filter:blur(10px);font:500 13px/1.6 system-ui,sans-serif}
.ez-repair-top{display:flex;justify-content:space-between;gap:15px;align-items:start;border-bottom:1px solid #b8a78945;padding-bottom:13px}
.ez-repair-top span{font-size:9px;letter-spacing:.17em;color:#d6b58e;font-weight:760}
.ez-repair-top h2{margin:5px 0 0;font-size:20px;line-height:1.18;letter-spacing:-.05em;font-weight:850;color:#f2eadf}
.ez-repair-top button,.ez-repair-actions button{min-height:44px;border:1px solid #d1b88e78;border-radius:999px;background:#19282d;color:#f4ecdd;cursor:pointer;padding:10px 14px;font:750 10px system-ui;letter-spacing:.07em}
.ez-repair-top button:hover,.ez-repair-actions button:hover{background:#304044}
.ez-repair-directions{font-size:12px;line-height:1.62;color:#b4c3c0;margin:15px 0}
.ez-repair-reading{background:#14252a;border:1px solid #8c9c8b42;padding:13px;border-radius:12px;display:grid;gap:7px}
.ez-repair-reading>div{display:flex;align-items:center;gap:12px;justify-content:space-between}
.ez-repair-reading small{font-size:9px;color:#bcbaa8;letter-spacing:.08em}
.ez-repair-reading strong{font-size:22px;font-variant-numeric:tabular-nums;letter-spacing:-.045em;white-space:nowrap}
.ez-repair-message{font-size:10px;letter-spacing:.03em;color:#d1b993;min-height:30px;margin:12px 0}
.ez-repair-actions{display:flex;gap:8px}
.ez-repair-actions button{flex:1;min-width:0}
.ez-repair-actions [data-repair-commit]{background:#d8b990;color:#0b191e;border-color:#ead1af}
.ez-repair-actions [data-repair-commit]:disabled{opacity:.42;cursor:not-allowed}
.ez-physical-repair button:focus-visible{outline:2px solid #f6d9a9;outline-offset:3px}
body[data-motorworks-repair="true"] .top,body[data-motorworks-repair="true"] #hud{visibility:hidden!important}
body[data-motorworks-repair="true"] #world{cursor:crosshair!important;touch-action:none!important}
@media(max-width:650px){.ez-physical-repair{left:12px;right:12px;bottom:max(9px,env(safe-area-inset-bottom));width:auto;padding:13px 14px}.ez-repair-top h2{font-size:17px}.ez-repair-reading strong{font-size:19px}.ez-repair-directions{margin:10px 0;font-size:11px}}
@media(max-height:440px){.ez-physical-repair{left:auto;right:7px;top:7px;bottom:7px;overflow-y:auto;width:min(320px,45vw)}}
@media(prefers-reduced-motion:reduce){.ez-physical-repair *{animation:none!important;transition:none!important}}


/* SOURCE: public/player-surface-completion-v204.css */
/* EMPIRE ZERO / Player experience completion. Extends canonical UI; no second interface tree. */
:root{--ez-surface:#0b1519;--ez-surface-raised:#16242a;--ez-ink:#f0ece5;--ez-muted:#acb9b5;--ez-accent:#dec09a;--ez-stroke:rgba(205,189,163,.28)}
#motorworksGarage .garage-panel{width:min(535px,100vw);background:linear-gradient(150deg,#132126,#0a1419 72%);border-left:1px solid var(--ez-stroke)}
#motorworksGarage .garage-head{background:#0d191e;border-color:var(--ez-stroke);padding:22px clamp(18px,3vw,30px)}
#motorworksGarage .garage-head h2{font-size:clamp(26px,3vw,37px);letter-spacing:-.065em}
#motorworksGarage .garage-scroll{gap:20px;padding:22px clamp(18px,3vw,30px) 40px}
#motorworksGarage .garage-description{font-size:12px;line-height:1.65;color:var(--ez-muted)}
#motorworksGarage .ez-garage-session{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--ez-stroke);border-radius:13px;overflow:hidden;background:rgba(29,44,48,.58)}
#motorworksGarage .ez-garage-session>div{display:flex;flex-direction:column;gap:8px;padding:14px 12px;min-width:0}
#motorworksGarage .ez-garage-session>div+div{border-left:1px solid var(--ez-stroke)}
#motorworksGarage .ez-garage-session small{font:700 9px/1.3 system-ui;letter-spacing:.1em;color:#b6a78f}
#motorworksGarage .ez-garage-session strong{font:750 clamp(11px,1.3vw,15px)/1.2 system-ui;letter-spacing:-.015em;color:var(--ez-ink);overflow-wrap:anywhere}
#motorworksGarage .garage-section{border-color:var(--ez-stroke)}
#motorworksGarage .garage-swatch{min-height:62px;border-radius:12px;border-color:#455858;background:#15252b;letter-spacing:0;font-size:10px;line-height:1.35}
#motorworksGarage .garage-swatch i{border-radius:12px;width:32px;height:32px;flex-basis:32px}
#motorworksGarage .garage-swatch.selected{background:#30403f;border-color:#e3c99d;box-shadow:inset 0 0 0 1px rgba(222,192,154,.3)}
#motorworksGarage .garage-swatch.finish-locked{opacity:.65}
#motorworksGarage .garage-contract{border-radius:13px;border-color:var(--ez-stroke);background:linear-gradient(140deg,#1d2d30,#111e23);padding:20px}
#motorworksGarage .garage-contract-actions button{min-height:46px}
#motorworksGarage .garage-camera button,#motorworksGarage .garage-head>button{border-radius:999px}
#motorworksGarage .garage-foot{border-color:var(--ez-stroke);background:#0a1418;padding:15px 26px max(15px,env(safe-area-inset-bottom,0px))}
#motorworksGarage .garage-foot button{border-radius:999px;min-height:48px}
#motorworksGarage .garage-world-caption{z-index:1}
#briefing .business-dialog,#debrief .report-dialog{width:min(940px,calc(100vw - 36px));max-width:940px;max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--ez-stroke);border-radius:18px;background:linear-gradient(145deg,#122229,#0b151a);box-shadow:0 35px 120px #000a}
#briefing .business-dialog h2,#debrief .report-dialog h2{font-size:clamp(29px,4vw,48px);letter-spacing:-.055em}
#briefing .ez-business-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--ez-stroke);border-radius:12px;overflow:hidden;margin:20px 0 22px;background:#1b2a2e}
#briefing .ez-business-context>div{display:flex;flex-direction:column;gap:6px;padding:15px 17px;min-width:0}
#briefing .ez-business-context>div+div{border-left:1px solid var(--ez-stroke)}
#briefing .ez-business-context small{font:700 9px/1.3 system-ui;letter-spacing:.11em;color:#cab497}
#briefing .ez-business-context strong{font:750 clamp(16px,2vw,23px)/1.2 system-ui;color:var(--ez-ink)}
#briefing .business-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#briefing .biz-option{border-radius:13px;border:1px solid #52635f;background:#182b30;padding:19px;min-height:166px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;justify-content:space-between;transform:none;box-shadow:none}
#briefing .biz-option:hover,#briefing .biz-option:focus-visible{transform:none;background:#23383b;border-color:var(--ez-accent)}
#briefing .biz-option-main{gap:10px}
#briefing .biz-option b{font-size:13px;line-height:1.35}
#briefing .biz-option small{font-size:11px;line-height:1.5;color:#b7cac4}
#briefing .biz-option>strong{font-size:26px;color:var(--ez-accent)}
#briefing .ez-biz-projection{font-size:9px;line-height:1.4;font-weight:750;letter-spacing:.06em;color:#b9d6c3}
#briefing .ez-biz-projection.ez-biz-risk{color:#f0b59d}
#briefing .business-feedback{background:rgba(20,34,37,.8);padding:12px 14px;border:1px solid var(--ez-stroke);border-radius:10px}
#briefing .lesson-callout,#debrief .lesson-callout{border-radius:12px}
#debrief .finance-report{background:var(--ez-stroke);border:1px solid var(--ez-stroke);border-radius:12px;overflow:hidden}
#debrief .finance-report>div{background:#15252a}
#pauseMenu #ezRestoreLocalBackup[hidden]{display:none!important}
#pauseMenu #syncStatus{line-height:1.5;overflow-wrap:anywhere;min-height:22px}
#pauseMenu [data-menu-panel="system"] .action-list button{min-height:44px}
#pauseMenu .ez-controller-check{margin:20px 0;padding:18px;border:1px solid var(--ez-stroke);border-radius:13px;background:#18272c}
#pauseMenu .ez-controller-check-head{display:flex;justify-content:space-between;align-items:center;gap:14px}
#pauseMenu .ez-controller-check-head h4{margin:5px 0;font-size:18px;letter-spacing:-.025em}
#pauseMenu .ez-controller-check-head small,#pauseMenu .ez-controller-note{font-size:9px;letter-spacing:.06em;color:#b6a78f;line-height:1.6}
#pauseMenu .ez-controller-check-head button{border:1px solid #debf94;border-radius:999px;background:#debf94;color:#141b1d;min-height:44px;padding:10px 16px;font-size:10px;font-weight:750;white-space:nowrap}
#pauseMenu .ez-controller-check>p{font-size:12px;line-height:1.6;color:#b8c5bf}
#pauseMenu .ez-controller-meter{font-weight:750;font-size:11px;letter-spacing:.04em;color:#e7dbca;margin:12px 0}
#pauseMenu .ez-controller-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}
#pauseMenu .ez-controller-coverage span{border:1px solid #50605a;border-radius:9px;background:#182e32;color:#aebcb7;padding:10px;font-size:9px;letter-spacing:.035em}
#pauseMenu .ez-controller-coverage span[data-observed="true"]{border-color:#a9be9e;color:#d6eacb;background:#243830}
@media(max-width:700px){
 #motorworksGarage .garage-panel{width:100vw;max-height:90dvh;height:min(82dvh,740px);border-radius:17px 17px 0 0;border-left:0;border-top:1px solid var(--ez-stroke)}
 #motorworksGarage .garage-head{padding:14px 17px}
 #motorworksGarage .garage-head h2{font-size:25px}
 #motorworksGarage .garage-scroll{padding:15px 17px 20px;gap:15px}
 #motorworksGarage .garage-foot{padding:10px 17px max(10px,env(safe-area-inset-bottom,0px))}
 #motorworksGarage .ez-garage-session>div{padding:11px 9px}
 #motorworksGarage .ez-garage-session strong{font-size:11px}
 #motorworksGarage .garage-world-caption{top:65px;bottom:auto;left:16px;right:16px}
 #briefing .business-dialog,#debrief .report-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:20px 16px}
 #briefing .business-options{grid-template-columns:1fr}
 #briefing .biz-option{min-height:94px;padding:14px;gap:12px;flex-direction:row;align-items:center}
 #briefing .biz-option>strong{font-size:20px}
 #briefing .ez-business-context>div{padding:11px 9px}
 #briefing .ez-business-context small{font-size:8px}
 #briefing .ez-business-context strong{font-size:15px}
}
@media(max-width:370px){
 #motorworksGarage .garage-swatches{grid-template-columns:1fr}
 #motorworksGarage .garage-swatch{min-height:44px}
 #pauseMenu .ez-controller-check{padding:12px}
 #pauseMenu .ez-controller-check-head{align-items:stretch;flex-direction:column}
 #pauseMenu .ez-controller-check-head button{width:100%}
 #pauseMenu .ez-controller-coverage{grid-template-columns:1fr}
 #briefing .ez-business-context{grid-template-columns:1fr}
 #briefing .ez-business-context>div+div{border-left:0;border-top:1px solid var(--ez-stroke)}
}
@media(max-height:480px) and (orientation:landscape){
 #motorworksGarage .garage-panel{height:100dvh;max-height:100dvh;max-width:min(590px,65vw);border-radius:0;border-top:0;border-left:1px solid var(--ez-stroke)}
 #motorworksGarage .garage-world-caption{top:auto;bottom:10px;max-width:30vw}
 #briefing .business-dialog,#debrief .report-dialog{max-height:calc(100dvh - 10px)}
}
@media(prefers-reduced-motion:reduce){#motorworksGarage *,#briefing *,#debrief *,#pauseMenu .ez-controller-check *{transition:none!important;animation:none!important}}


/* SOURCE: public/entry-visual-studio.css */
/* EMPIRE ZERO / single intentional mobile-first visual studio layer. */
#entryCeremony .ez-look-section{margin:20px 0 17px;max-width:620px}
#entryCeremony .ez-look-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}
#entryCeremony .ez-look-heading strong{font-size:10px;letter-spacing:.13em;color:#e6c69f;font-weight:850}
#entryCeremony .ez-look-heading span{font-size:9px;color:#a4b3b4;letter-spacing:.1em}
#entryCeremony .ez-look-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#entryCeremony button.ez-look-choice{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:0!important;border:1px solid #4d6064!important;border-radius:16px!important;background:#141d23!important;color:#f2eadc;text-align:left;box-shadow:none!important;transition:background .15s,border-color .15s}
#entryCeremony button.ez-look-choice:hover{border-color:#c6a17c!important}
#entryCeremony button.ez-look-choice.is-selected{border-color:#e1bd91!important;background:#273038!important;box-shadow:inset 0 0 0 1px #d3b283!important}
#entryCeremony button.ez-look-choice:focus-visible{outline:2px solid #f4c999;outline-offset:3px}
#entryCeremony .ez-look-image{position:relative;display:grid;place-items:center;width:100%;height:clamp(108px,16.5dvh,190px);background:radial-gradient(ellipse at 50% 38%,#3a4b4e,#17252c 56%,#0b1218);overflow:hidden}
#entryCeremony .ez-look-image::after{content:'';position:absolute;inset:auto 0 0;height:25%;background:linear-gradient(transparent,#10181dd9);pointer-events:none}
#entryCeremony .ez-look-image>span{font-size:9px;letter-spacing:.12em;color:#899da2}
#entryCeremony .ez-look-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
#entryCeremony .ez-look-caption{display:flex;min-width:0;min-height:58px;flex-direction:column;gap:5px;padding:11px 10px 10px}
#entryCeremony .ez-look-caption strong{font-size:11px;font-weight:850;letter-spacing:.025em;line-height:1.2}
#entryCeremony .ez-look-caption small{font-size:8px;letter-spacing:.07em;color:#a6b3b3;line-height:1.5}
#entryCeremony .ez-look-disclosure{font-size:10px;line-height:1.55;color:#98aaa9;margin:9px 0 0}
#entryCeremony .ez-account-details{margin:14px 0;border:1px solid #596d6b6e;border-radius:13px;background:#10191ed6}
#entryCeremony .ez-account-details>summary{cursor:pointer;color:#d5c0a3;letter-spacing:.12em;font-weight:850;font-size:10px;padding:15px 17px;min-height:45px;display:list-item}
#entryCeremony .ez-account-details #entryAccountSlot{padding:0 12px 12px}
#entryCeremony .ez-account-details .creator-account{margin:0;min-width:0;max-width:none}
#entryCeremony .entry-pane[data-entry-step='0'] .entry-kicker{font-size:9px}
#entryCeremony .entry-pane[data-entry-step='0'] h1{margin-bottom:13px!important}
#entryCeremony .entry-pane[data-entry-step='0'] .entry-lead{margin-bottom:0}
#entryCeremony .entry-primary span{display:none}
#entryCeremony #entryNext,#entryCeremony #entryLaunch{letter-spacing:.07em;font-size:11px}
@media(max-width:820px){
 #entryCeremony .entry-content{grid-template-rows:clamp(145px,25dvh,235px) minmax(0,1fr)!important}
 #entryCeremony[data-stage='appearance'] .entry-content{grid-template-rows:clamp(185px,33dvh,310px) minmax(0,1fr)!important}
 #entryCeremony .entry-workspace{padding:11px 17px max(12px,env(safe-area-inset-bottom))!important}
 #entryCeremony .entry-pane{padding:11px 2px 12px 0!important}
 #entryCeremony .entry-pane h1,#entryCeremony .entry-pane h2{font-size:clamp(35px,7.2vw,48px)!important}
 #entryCeremony .entry-pane .entry-lead{font-size:12px!important;line-height:1.62!important}
 #entryCeremony .ez-look-section{margin:16px 0 11px}
 #entryCeremony .ez-look-grid{gap:7px}
 #entryCeremony .ez-look-image{height:clamp(110px,17.5dvh,172px)}
 #entryCeremony .ez-look-caption{padding:10px 7px 10px;min-height:59px}
 #entryCeremony .ez-look-caption strong{font-size:9px}
 #entryCeremony .ez-look-caption small{font-size:7.5px;line-height:1.4}
 #entryCeremony .entry-scene-footer{max-width:33%!important}
 #entryCeremony .entry-scene-footer span,#entryCeremony .entry-scene-footer small{display:none!important}
 #entryCeremony .entry-scene-footer strong{font-size:16px!important}
 #entryCeremony #entryPreviewSlot{left:19%!important;right:19%!important}
 #entryCeremony .entry-bottom{padding-top:9px!important}
 #entryCeremony #entryNext,#entryCeremony #entryLaunch{min-height:50px!important}
}
@media(max-width:390px){
 #entryCeremony .entry-content{grid-template-rows:clamp(138px,23dvh,200px) minmax(0,1fr)!important}
 #entryCeremony[data-stage='appearance'] .entry-content{grid-template-rows:clamp(175px,31dvh,255px) minmax(0,1fr)!important}
 #entryCeremony .ez-look-image{height:108px}
 #entryCeremony .ez-look-caption strong{font-size:9px}
 #entryCeremony .ez-look-heading span{font-size:8px}
}
@media(prefers-reduced-motion:reduce){#entryCeremony button.ez-look-choice{transition:none!important}}


/* SOURCE: public/entry-character-selection.css */
/* EMPIRE ZERO / actual dual-rig selection & one-platform starter vehicle configurator. */
/* The 2026 replacement cast has incompatible UVs and no fitted wardrobe assets yet. */
#entryCeremony .ez-look-section{display:none!important}
#entryCeremony .ez-body-selector{margin:16px 0 19px;max-width:620px}
#entryCeremony .ez-body-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:11px}
#entryCeremony .ez-body-section-head strong{color:#e8c7a0;font-size:10px;letter-spacing:.115em}
#entryCeremony .ez-body-section-head small{color:#9eafb1;font-size:8px;letter-spacing:.11em}
#entryCeremony .ez-body-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#entryCeremony .ez-body-card{overflow:hidden;display:flex;flex-direction:column;padding:0!important;border-radius:16px!important;text-align:left;color:#eae5d9;background:#141e24;border:1px solid #506267;min-width:0}
#entryCeremony .ez-body-card.selected{border-color:#edc593;box-shadow:inset 0 0 0 1px #e2c194}
#entryCeremony .ez-body-art{position:relative;height:clamp(115px,19dvh,205px);width:100%;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 60%,#394b4c,#0d171d 70%);color:#90a3a5;font-size:9px;letter-spacing:.14em;overflow:hidden}
/* Portrait capture is 168x230; the grid's indefinite 100% height let the image grow to 400px inside a ~110px slot. Anchor it to the slot and show the whole actual operator instead of cropping to hair only. */
#entryCeremony .ez-body-art img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;object-fit:cover!important;object-position:center 18%!important;}
#entryCeremony .ez-body-name{display:flex;flex-direction:column;gap:4px;padding:12px;min-height:56px}
#entryCeremony .ez-body-name strong{font-size:12px;letter-spacing:.08em}
#entryCeremony .ez-body-name small{font-size:9px;color:#a3b4b6;letter-spacing:.08em}
#entryCeremony .ez-model-provenance,#entryCeremony .ez-character-limitation,#entryCeremony .ez-starter-copy{font-size:10px;line-height:1.6;color:#a7b6b7}
#entryCeremony .ez-character-limitation{padding:14px;border:1px solid #a58e6d66;border-radius:12px;background:#221c17;margin:12px 0 20px}
#entryCeremony .ez-starter-garage{margin:17px 0 27px}
#entryCeremony .ez-starter-copy{margin:2px 0 14px}
#entryCeremony .ez-vehicle-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#entryCeremony button.ez-vehicle-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:11px;min-height:88px;padding:13px!important;border-radius:15px!important;background:#172228;border:1px solid #586a6b;color:#e9e1d6;text-align:left;white-space:normal}
#entryCeremony button.ez-vehicle-choice.selected{border-color:#edc593;box-shadow:inset 0 0 0 1px #e2c194}
#entryCeremony .ez-vehicle-paint{width:34px;height:34px;border:2px solid #f7f4ec4d;border-radius:50%;box-shadow:0 2px 6px #0008}
#entryCeremony .ez-vehicle-choice>span:last-child{font-size:9px;line-height:1.35;letter-spacing:.04em}
#entryCeremony button.ez-body-card:focus-visible,#entryCeremony button.ez-vehicle-choice:focus-visible{outline:2px solid #edcb95;outline-offset:2px}
#entryCeremony[data-character-model=michelle] .ez-look-section{display:none!important}
#entryCeremony[data-character-model=michelle] #entrySkinHair,#entryCeremony[data-character-model=michelle] #entryClothing,#entryCeremony[data-character-model=michelle] #entrySwatches,#entryCeremony[data-character-model=michelle] #ezOutfitGallery,#entryCeremony[data-character-model=michelle] #entryWardrobeDescription{display:none!important}
@media(max-width:820px){
 #entryCeremony .ez-body-grid{gap:8px}
 #entryCeremony .ez-body-art{height:clamp(118px,17dvh,162px)}
 #entryCeremony .ez-body-name{padding:10px;min-height:52px}
 #entryCeremony .ez-body-selector{margin:12px 0 15px}
 #entryCeremony .ez-body-name strong{font-size:11px}
 #entryCeremony .ez-vehicle-choices{gap:6px}
 #entryCeremony button.ez-vehicle-choice{padding:9px!important;min-height:79px}
 #entryCeremony .ez-vehicle-choice>span:last-child{font-size:8px}
 #entryCeremony[data-stage=origin] .entry-content{grid-template-rows:clamp(205px,31dvh,290px) minmax(0,1fr)!important}
}
@media(max-width:390px){
 #entryCeremony .ez-body-art{height:114px}
 #entryCeremony .ez-body-name strong{font-size:10px}
 #entryCeremony .ez-body-section-head small{font-size:8px}
 #entryCeremony .ez-starter-copy{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#entryCeremony .ez-body-card{transition:none!important}}


/* SOURCE: public/entry-avatar-studio.css */
/* EMPIRE ZERO / single-layer mobile character studio, five direct categories */
#entryCeremony .entry-pane[data-entry-step="0"] .ez-look-section{display:none!important}
#entryCeremony .ez-avatar-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:14px 0 13px;max-width:650px}
#entryCeremony .ez-avatar-tabs button{border:1px solid #4b5a5d!important;background:#18252a!important;color:#b7c6c4!important;border-radius:12px!important;min-height:46px;min-width:0;padding:10px 2px!important;font-size:9px;font-weight:800;letter-spacing:.032em;cursor:pointer}
#entryCeremony .ez-avatar-tabs button.active{background:#e2bf94!important;color:#182126!important;border-color:#e9ca9f!important}
#entryCeremony .ez-avatar-tabs button:disabled{opacity:.35;cursor:not-allowed}
#entryCeremony .ez-avatar-tabs button:focus-visible{outline:2px solid #f8d7b1;outline-offset:3px}
#entryCeremony .ez-avatar-panel[hidden]{display:none!important}
#entryCeremony .ez-avatar-panel{max-width:650px;min-width:0;padding-bottom:17px}
#entryCeremony .ez-avatar-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 12px}
#entryCeremony .ez-avatar-section-title strong{font-size:11px;letter-spacing:.11em;color:#e4c19b}
#entryCeremony .ez-avatar-section-title small{font-size:9px;letter-spacing:.06em;color:#9fafae}
#entryCeremony .ez-avatar-scope{color:#9cacac;font-size:11px;line-height:1.65;margin:0 0 15px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="body"] .ez-body-selector{margin:6px 0 14px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="face"] #entrySkinHair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="face"] #entrySkinHair label{min-width:0}
#entryCeremony .ez-avatar-panel[data-avatar-panel="style"] .ez-look-section{margin-top:6px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="identity"] [data-living-panel=story]{padding-top:18px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="identity"] [data-living-panel=story]:before{content:'YOUR AMBITION';display:block;font-size:10px;color:#e4c19b;letter-spacing:.1em;margin-bottom:12px}
#entryCeremony .ez-avatar-panel[data-avatar-panel="identity"] [data-living-panel=presence]:before{content:'YOUR PRESENCE';display:block;font-size:10px;color:#e4c19b;letter-spacing:.1em;margin-bottom:12px}
#entryCeremony .entry-pane[data-entry-step="2"] h2{font-size:clamp(30px,7.3vw,45px);line-height:1.06;letter-spacing:-.055em;margin-bottom:13px}
#entryCeremony .entry-pane[data-entry-step="2"] .entry-lead{font-size:12px;line-height:1.58}
@media(max-width:520px){
 #entryCeremony .ez-avatar-tabs{gap:4px;margin:12px 0 12px}
 #entryCeremony .ez-avatar-tabs button{min-height:44px;font-size:8px;letter-spacing:0;padding:8px 1px!important}
 #entryCeremony .ez-avatar-panel[data-avatar-panel="face"] #entrySkinHair{grid-template-columns:minmax(0,1fr)}
 #entryCeremony .ez-avatar-section-title{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){#entryCeremony .ez-avatar-tabs button{transition:none!important}}


/* SOURCE: public/entry-deep-studio.css */
/* EMPIRE ZERO / Deep Character Studio (DNA v3) — X-PHOTOREAL-CHARACTER-1000000000 */
.ez-deep-toolbar{display:flex;flex-wrap:wrap;gap:.45rem .8rem;align-items:center;margin:.6rem 0;padding:.55rem .7rem;background:#0d1519;border:1px solid #2a3a41;border-radius:10px}
.ez-deep-toolbar>strong{color:#c9a86a;font-size:.68rem;letter-spacing:.14em}
.ez-deep-lock{display:flex;gap:.3rem;align-items:center;color:#9fb2ba;font-size:.62rem;letter-spacing:.08em}
.ez-deep-section{margin-top:1rem;padding-top:.4rem;border-top:1px solid #22313a}
.ez-deep-grid{display:flex;flex-wrap:wrap;gap:.4rem;margin:.45rem 0 .8rem}
.ez-deep-choice{background:#101c22;border:1px solid #2a3a41;color:#d7e2e6;border-radius:9px;padding:.45rem .6rem;cursor:pointer;text-align:left}
.ez-deep-choice strong{display:block;font-size:.66rem;letter-spacing:.08em}
.ez-deep-choice small{display:block;font-size:.58rem;color:#8fa5ae;margin-top:.15rem}
.ez-deep-choice.selected{border-color:#c9a86a;background:#1a2420;color:#f2e7cd}
.ez-deep-swatches{display:flex;flex-wrap:wrap;gap:.4rem;margin:.45rem 0 .8rem}
.ez-deep-swatch{background:#101c22;border:1px solid #2a3a41;border-radius:9px;padding:.35rem .45rem;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:.25rem;color:#c8d6db}
.ez-deep-swatch small{font-size:.54rem;letter-spacing:.06em}
.ez-deep-swatch.selected{border-color:#c9a86a;color:#f2e7cd}
.ez-deep-dot{width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.35);display:block}
.ez-deep-row{display:block;margin:.35rem 0}
.ez-deep-row-head{display:flex;justify-content:space-between;align-items:baseline;color:#c8d6db}
.ez-deep-row-head strong{font-size:.64rem;letter-spacing:.1em}
.ez-deep-row-head output{font-size:.62rem;color:#c9a86a}
.ez-deep-row input[type=range]{width:100%;accent-color:#c9a86a}
.ez-deep-select{width:100%;margin-top:.3rem;background:#101c22;color:#e6eef1;border:1px solid #2a3a41;border-radius:8px;padding:.45rem .5rem;font-size:.72rem;letter-spacing:.06em}
.ez-deep-btn{background:#1a2420;border:1px solid #c9a86a;color:#f2e7cd;border-radius:8px;padding:.4rem .7rem;font-size:.64rem;letter-spacing:.1em;cursor:pointer}
.ez-deep-note{color:#8fa5ae;font-size:.64rem;line-height:1.5;margin:.4rem 0}
.ez-deep-slots{display:flex;flex-wrap:wrap;gap:.5rem}
.ez-deep-slot{background:#101c22;border:1px solid #2a3a41;border-radius:9px;padding:.5rem;display:flex;flex-direction:column;gap:.35rem}
.ez-deep-slot>strong{color:#c8d6db;font-size:.6rem;letter-spacing:.1em}
.ez-deep-code{width:100%;margin:.35rem 0;background:#0a1114;color:#c9d6db;border:1px solid #2a3a41;border-radius:8px;padding:.45rem .5rem;font-size:.62rem}
.ez-deep-color{width:52px;height:30px;border:1px solid #2a3a41;border-radius:8px;background:#101c22;padding:2px}
#entrySkinHair[data-superseded="deep-v3"]{display:none}


/* SOURCE: public/entry-cast-chooser.css */
/* One genuinely selectable authored character look per card; no simulated outfits. */
#entryCeremony .ez-cast-chooser{margin:17px 0 18px;padding:17px 0 0;border-top:1px solid #8e8f8260}
#entryCeremony .ez-cast-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
#entryCeremony .ez-cast-head strong{font-size:14px;color:#ebd0a7;font-weight:820}
#entryCeremony .ez-cast-head small{font-size:11px;color:#bbc6bf}
#entryCeremony .ez-cast-note{font-size:12px;line-height:1.5;color:#b9c6c3;margin:9px 0 13px}
#entryCeremony .ez-cast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#entryCeremony .ez-cast-choice{border:1px solid #56696d!important;border-radius:17px!important;overflow:hidden;min-width:0;padding:0!important;text-align:left;background:#152328!important;color:#eee8dd!important;display:flex;flex-direction:column;align-items:stretch}
#entryCeremony .ez-cast-choice.selected{border:2px solid #ebc498!important;box-shadow:0 0 0 2px #d1ab7840!important}
#entryCeremony .ez-cast-choice:focus-visible{outline:2px solid #ffe0b1;outline-offset:3px}
#entryCeremony .ez-cast-portrait{width:100%;height:148px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 24%,#43565b,#1a292e 75%);color:#bbc4c0;font-size:11px}
#entryCeremony .ez-cast-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%}
#entryCeremony .ez-cast-meta{display:flex;flex-direction:column;gap:4px;padding:12px}
#entryCeremony .ez-cast-meta strong{font-size:14px;letter-spacing:.01em}
#entryCeremony .ez-cast-meta small{font-size:10px;color:#bbc8c3}
#entryCeremony .ez-cast-status{font-size:11px;min-height:20px;color:#cfc6b7;margin:10px 0 0}
@media(min-width:821px){#entryCeremony .ez-cast-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#entryCeremony .ez-cast-portrait{height:165px}}
@media(max-width:360px){#entryCeremony .ez-cast-portrait{height:118px}}
@media(prefers-reduced-motion:reduce){#entryCeremony .ez-cast-choice{transition:none!important}}


/* SOURCE: public/entry-cast-ux-recovery.css */
/* Proper game controls — five destinations, no buried beginner CTA. */
#entryCeremony .ez-deep-advanced,#entryCeremony .ez-easy-body-advanced,#entryCeremony .ez-optional-skin{border-top:1px solid #465b5e4d;margin:12px 0 6px}
#entryCeremony .ez-deep-advanced>summary,#entryCeremony .ez-easy-body-advanced>summary,#entryCeremony .ez-optional-skin>summary{
 display:flex;align-items:center;min-height:48px;padding:10px 0;font-size:13px;font-weight:750;color:#d9c4a4;cursor:pointer;letter-spacing:0
}
#entryCeremony .ez-deep-advanced .ez-deep-toolbar{padding:11px!important;margin:0!important;flex-wrap:wrap}
#entryCeremony .ez-deep-advanced .ez-deep-toolbar strong{font-size:11px!important;letter-spacing:0!important}
#entryCeremony .ez-deep-advanced .ez-deep-toolbar label{font-size:11px!important;letter-spacing:0!important}
#entryCeremony .ez-easy-gender{margin:3px 0 14px}
#entryCeremony .ez-easy-gender>strong{font-size:12px;color:#d8c4a5;display:block;margin-bottom:10px}
#entryCeremony .ez-easy-gender-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#entryCeremony .ez-easy-gender-row button{min-height:51px!important;border-radius:15px!important;border:1px solid #566a6e!important;background:#172329!important;color:#d6e0dc!important;font-size:14px!important;font-weight:750!important;letter-spacing:0!important}
#entryCeremony .ez-easy-gender-row button[aria-pressed=true]{background:#dfbd95!important;color:#10171a!important;border-color:#edcca3!important}
#entryCeremony .ez-easy-gender-row button:focus-visible,#entryCeremony details>summary:focus-visible{outline:2px solid #f6d6ad;outline-offset:3px}
#entryCeremony .ez-avatar-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:520px){#entryCeremony .ez-avatar-tabs button{font-size:12px!important}}
/* The old scene ::after stretches full-screen from top:0/left:0; correct its actual
   containing box instead of merely setting right/bottom and hiding the overlap. */
#entryCeremony.ez-simple-2026 .entry-scene::after{
 position:absolute!important;top:auto!important;left:auto!important;right:19px!important;
 bottom:13px!important;width:auto!important;height:auto!important;min-width:0!important;
 padding:0!important;margin:0!important;transform:none!important;
 background:transparent!important;pointer-events:none!important;
}
@media(max-width:820px){
 #entryCeremony.ez-simple-2026[data-stage=appearance][data-easy-category=body] .entry-content{
  grid-template-rows:clamp(245px,33dvh,310px) minmax(0,1fr)!important;
 }
}