/* EMPIRE ZERO / original source controls, premium scroll-snap item browser.
 * Scoped to first-run; no game HUD, commerce, or character renderer changes. */
#entryCeremony .ez-item-browser{min-width:0;max-width:100%;margin:12px 0 19px;isolation:isolate}
#entryCeremony .ez-item-browser-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#entryCeremony .ez-item-browser-title{display:flex;flex-direction:column;gap:2px;min-width:0}
#entryCeremony .ez-item-browser-title strong{color:#ead4b5;font:800 12px/1.2 system-ui,sans-serif;letter-spacing:.035em}
#entryCeremony .ez-item-browser-title small{color:#b8c8c7;font:600 11px/1.25 system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#entryCeremony .ez-item-browser-actions{display:flex;gap:7px;flex-shrink:0}
#entryCeremony .ez-item-browser-actions .ez-item-arrow{
 display:grid;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;
 border-radius:15px;border:1px solid #61767a;background:#1a292f;color:#f5e7d4;
 font:700 27px/1 system-ui,sans-serif;cursor:pointer;padding:0;
}
#entryCeremony .ez-item-browser-actions .ez-item-arrow:disabled{opacity:.3;cursor:default}
#entryCeremony .ez-item-browser-actions .ez-item-arrow:not(:disabled):active{background:#ddb88d;color:#10171b}
#entryCeremony .ez-item-viewport{max-width:100%;min-width:0;overflow:hidden}
#entryCeremony .ez-item-browser .ez-item-rail{
 box-sizing:border-box;display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;
 grid-auto-columns:minmax(140px,43%)!important;gap:10px!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-padding-inline:2px;
 padding:2px 3px 13px!important;margin:0!important;
 overscroll-behavior-x:contain;touch-action:pan-x pan-y;
 scrollbar-width:thin;scrollbar-color:#56686c transparent;
}
#entryCeremony .ez-item-browser .ez-item-rail>button{
 scroll-snap-align:start;min-width:0!important;max-width:100%;min-height:68px;
 border-radius:16px!important;white-space:normal!important;overflow-wrap:anywhere;
}
#entryCeremony .ez-item-browser[data-kind=cast] .ez-item-rail,
#entryCeremony .ez-item-browser[data-kind=outfits] .ez-item-rail{grid-auto-columns:minmax(158px,47%)!important}
#entryCeremony .ez-item-browser[data-kind=hair] .ez-item-rail{grid-auto-columns:minmax(134px,37%)!important}
#entryCeremony .ez-item-browser[data-kind=colors] .ez-item-rail{grid-auto-columns:minmax(84px,23%)!important}
#entryCeremony .ez-item-browser[data-kind=face] .ez-item-rail{grid-auto-columns:minmax(145px,43%)!important}
#entryCeremony .ez-item-browser[data-kind=select] .ez-item-rail{grid-auto-columns:minmax(150px,43%)!important}
#entryCeremony .ez-item-browser .ez-deep-choice,#entryCeremony .ez-item-select-card{
 padding:13px 14px!important;min-height:76px!important;background:#17262b;
 border:1px solid #57696d;color:#f1ede3;text-align:left;border-radius:16px;
 font:700 13px/1.3 system-ui,sans-serif;cursor:pointer;
}
#entryCeremony .ez-item-select-card.selected,#entryCeremony .ez-item-browser .ez-deep-choice.selected,
#entryCeremony .ez-item-browser .ez-item-rail>button[aria-pressed=true]{
 background:#d9b98e!important;color:#11191d!important;border-color:#f0d3ae!important;
 box-shadow:0 0 0 1px rgba(246,213,173,.30);
}
#entryCeremony .ez-item-browser .ez-item-rail>button[aria-pressed=true] small,
#entryCeremony .ez-item-browser .ez-deep-choice.selected small{color:#3d4140!important}
#entryCeremony .ez-item-browser .ez-cast-choice{min-height:206px!important}
#entryCeremony .ez-item-browser .ez-cast-portrait{height:148px}
#entryCeremony .ez-item-browser .ez-outfit-card{min-height:192px!important}
#entryCeremony .ez-item-browser .ez-outfit-art{height:137px!important}
#entryCeremony .ez-item-browser .ez-groom-card{min-height:148px!important}
#entryCeremony .ez-item-browser .ez-groom-color{min-height:75px!important}
#entryCeremony .ez-item-mirror-row{margin-bottom:0!important}
#entryCeremony .ez-item-mirror-row .ez-deep-row-head{font-size:13px;line-height:1.35}
#entryCeremony .ez-item-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important}
#entryCeremony .ez-item-browser :is(button,.ez-item-arrow):focus-visible{outline:2px solid #ffdbac!important;outline-offset:3px!important}
#entryCeremony .ez-avatar-tabs{position:sticky;top:0;z-index:5;padding:6px 0 8px;background:#0b151a}
@media(max-width:820px){
 /* Give the player a real view of the first clothing items without removing the 3D stage. */
 #entryCeremony.ez-simple-2026[data-stage=appearance][data-easy-category=style] .entry-content{grid-template-rows:clamp(182px,25dvh,224px) minmax(0,1fr)!important}
 #entryCeremony.ez-simple-2026[data-stage=appearance][data-easy-category=hair] .entry-content{grid-template-rows:clamp(190px,26dvh,238px) minmax(0,1fr)!important}
 #entryCeremony .ez-collection-note{margin:6px 0 9px!important;font-size:12px!important;line-height:1.35!important;color:#b7c7c6!important}
 #entryCeremony .ez-item-browser .ez-item-rail{grid-auto-columns:minmax(150px,68%)!important}
 #entryCeremony .ez-item-browser[data-kind=cast] .ez-item-rail,
 #entryCeremony .ez-item-browser[data-kind=outfits] .ez-item-rail{grid-auto-columns:minmax(168px,72%)!important}
 #entryCeremony .ez-item-browser[data-kind=colors] .ez-item-rail{grid-auto-columns:minmax(91px,29%)!important}
 #entryCeremony .ez-item-browser[data-kind=select] .ez-item-rail{grid-auto-columns:minmax(140px,65%)!important}
 #entryCeremony .ez-item-browser-bar{margin-bottom:8px}
 #entryCeremony .ez-item-browser-actions .ez-item-arrow{min-height:44px;height:44px;width:44px;min-width:44px}
 #entryCeremony .ez-item-browser .ez-cast-portrait{height:132px}
}
@media(prefers-reduced-motion:reduce){#entryCeremony .ez-item-browser .ez-item-rail{scroll-behavior:auto!important}}