/* Homepage display of the same equipped Heroes sprites used in the game. */
body[data-page=home] .classes-section{--classes-scene:url('/assets/portal/classes-citadel-20261016.png');background:linear-gradient(110deg,#f7f3f8e8,#faf5ebbf 55%,#f3eef3e0),var(--classes-scene) center 45%/cover no-repeat;background-color:var(--surface)}
:root[data-theme=dark] body[data-page=home] .classes-section{background-image:linear-gradient(110deg,#061b16e8,#09261ed1 55%,#09231ce0),var(--classes-scene)}
:root[data-theme=blue] body[data-page=home] .classes-section{background-image:linear-gradient(110deg,#091a32e8,#0a213dc9 55%,#0b1b33de),var(--classes-scene)}
body[data-page=home] .classes-section>.container{display:block}
body[data-page=home] .classes-section .section-heading.centered{max-width:760px;margin:0 auto 34px;padding-top:0;text-align:center}
body[data-page=home] .classes-section .centered .section-intro{max-width:680px;margin-inline:auto}
body[data-page=home] .class-showcase{max-width:1100px;margin-inline:auto}
body[data-page=home] .class-feature{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);max-width:none;min-height:470px;margin-top:26px;gap:44px}
body[data-page=home] .class-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;border:0}
body[data-page=home] .class-tab{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:62px;padding:15px 12px;justify-content:center;text-align:center;gap:0;border:1px solid #bb944b;border-bottom:2px solid #8f682f;border-radius:3px;color:#49351c;background:linear-gradient(155deg,#fff7df 2%,#ebd5a8 46%,#d9bc81 100%);box-shadow:inset 0 1px 0 #fff9df,0 3px 9px #37250d14;font:600 13px/1.35 var(--sans);letter-spacing:.015em;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;cursor:pointer}
body[data-page=home] .class-tab>span{position:relative;z-index:2;font:inherit;text-shadow:0 1px 0 #fff7d66b}
body[data-page=home] .class-tab:after{content:'';display:block;position:absolute;inset:4px;z-index:1;border:1px solid #9770315c;border-radius:1px;pointer-events:none;background:none;opacity:1}
body[data-page=home] .class-tab:before{content:'';position:absolute;inset:-20% -65%;z-index:0;background:linear-gradient(112deg,transparent 37%,#fff9df00 44%,#fff9dfad 50%,#fff9df00 56%,transparent 63%);transform:translateX(-58%);opacity:0;pointer-events:none}
body[data-page=home] .class-tab[aria-selected=true]{border-color:#f2d087;border-bottom-color:#977039;color:#30210e;background:linear-gradient(145deg,#fff0bf 0%,#e8c278 42%,#d7ac57 76%,#f1d796 100%);box-shadow:inset 0 1px 0 #fff7d9,inset 0 0 0 2px #c99e4f29,0 4px 16px #ab792e33;font-weight:700}
body[data-page=home] .class-tab[aria-selected=true]:after{display:block;border-color:#92632280}
body[data-page=home] .class-tab:hover{transform:translateY(-2px);color:#30210e;border-color:#e3bd72;background:linear-gradient(145deg,#fff5d6,#ecd098 52%,#ddba74);box-shadow:inset 0 1px 0 #fffae9,0 6px 17px #a1752d2b}
body[data-page=home] .class-tab:is([aria-selected=true],:hover,:focus-visible):before{animation:home-class-gold-sheen 1.2s ease-out both}
body[data-page=home] .class-tab:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
body[data-page=home] .class-tab:active{transform:translateY(1px)}
body[data-page=home] .home-class-art{height:470px;max-height:none;min-width:0;isolation:isolate;border:1px solid var(--line);background:radial-gradient(ellipse at 50% 48%,#d8ba6c30,transparent 62%),linear-gradient(155deg,color-mix(in srgb,var(--surface-raised) 76%,transparent),color-mix(in srgb,var(--paper) 89%,transparent) 70%)}
body[data-page=home] .home-class-art:before,body[data-page=home] .home-class-art:after{content:'';position:absolute;inset:auto;width:34px;height:34px;pointer-events:none;z-index:3;background:none;border-color:var(--gold);opacity:.55}
body[data-page=home] .home-class-art:before{left:10px;top:10px;border-left:1px solid var(--gold);border-top:1px solid var(--gold)}
body[data-page=home] .home-class-art:after{right:10px;bottom:10px;border-right:1px solid var(--gold);border-bottom:1px solid var(--gold)}
body[data-page=home] .home-class-stage{position:absolute;inset:62px 8px 33px;min-width:0;overflow:hidden}
body[data-page=home] .home-class-stage:before{content:'';position:absolute;left:20%;width:60%;height:29px;bottom:40px;transform:perspective(100px) rotateX(18deg);border:1px solid #c49e545c;border-radius:50%;background:radial-gradient(ellipse,#d8bc6b26,transparent 72%);box-shadow:0 5px 0 -3px #b5974b2b,0 8px 25px #d6af4521;pointer-events:none}
body[data-page=home] .home-class-stage .character-figure{position:absolute;inset:0;width:100%;height:100%;z-index:1;image-rendering:pixelated;pointer-events:none}
body[data-page=home] .home-class-art .home-class-label{top:20px;left:16px;right:16px;bottom:auto;align-items:center;text-align:center;color:var(--ink);text-shadow:none;pointer-events:none;z-index:2}
body[data-page=home] .home-class-label span{font:400 22px/1.2 var(--serif)}
body[data-page=home] .home-class-label small{max-width:100%;margin-top:7px;color:var(--muted);font:500 9px/1.5 var(--sans);letter-spacing:.055em;text-transform:none}
body[data-page=home] .home-class-gear{position:absolute;left:12px;right:12px;bottom:12px;margin:0;text-align:center;color:var(--gold-deep);font:500 9px/1.5 var(--sans);letter-spacing:.015em;z-index:2}
body[data-page=home] .home-class-stage .preview-motion{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:2;min-height:30px;max-width:calc(100% - 20px);padding:5px 10px;white-space:nowrap;border:1px solid var(--line);border-radius:2px;background:var(--surface);color:var(--muted);font:500 10px/1.4 var(--sans);cursor:pointer}
body[data-page=home] .home-class-stage .preview-motion:hover{color:var(--ink);border-color:var(--gold)}
body[data-page=home] .home-class-stage .preview-motion:focus-visible,body[data-page=home] .home-class-stage .preview-status button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
body[data-page=home] .home-class-stage .preview-motion:disabled{cursor:default}
body[data-page=home] .home-class-stage .preview-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:30px;z-index:2;color:var(--muted);text-align:center;font:400 12px/1.7 var(--sans)}
body[data-page=home] .home-class-stage .preview-status p{margin:0}
body[data-page=home] .home-class-stage .preview-status button{min-height:40px;padding:8px 14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:500 12px/1.5 var(--sans);cursor:pointer}
body[data-page=home].portal-motion-paused .class-tab{transition:none;transform:none}
body[data-page=home].portal-motion-paused .class-tab:before{animation-play-state:paused!important}
@keyframes home-class-gold-sheen{0%{transform:translateX(-58%);opacity:0}18%{opacity:.65}78%{opacity:.65}100%{transform:translateX(58%);opacity:0}}
@media(max-width:900px){body[data-page=home] .class-feature{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body[data-page=home] .class-tab{font-size:12px;padding-inline:8px}}
@media(max-width:680px){
 body[data-page=home] .classes-section .section-heading.centered{margin-bottom:26px}
 body[data-page=home] .class-feature{grid-template-columns:1fr;gap:0;min-height:0;margin-top:21px}
 body[data-page=home] .class-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 body[data-page=home] .class-tab{font-size:11px;min-height:54px;padding:12px 7px;letter-spacing:0}
 body[data-page=home] .home-class-art{height:400px;max-height:none}
 body[data-page=home] .home-class-stage{inset:62px 4px 33px}
 body[data-page=home] .home-class-label span{font-size:21px}
 body[data-page=home] .home-class-label small{font-size:8px}
 body[data-page=home] .home-class-gear{font-size:8px}
}
@media(prefers-reduced-motion:reduce){body[data-page=home] .class-tab{transition:none;transform:none}body[data-page=home] .class-tab:before{animation:none!important}}
