/* Pose artwork stays in independent transparent layers so every weapon fits. */
.scene-party{position:absolute;pointer-events:none;isolation:isolate}
.scene-party img{position:absolute;object-fit:contain;height:auto;filter:drop-shadow(0 12px 7px #3d5e6c25)}
.scene-party .party-jester{width:52%;left:-5%;top:0;z-index:1}
.scene-party .party-mage{width:61%;right:-6%;top:1%;z-index:2}
.scene-party .party-warrior{width:76%;left:4%;bottom:0;z-index:3}
.hero .hero-art{object-position:center;opacity:.85}
.hero .hero-light{background:linear-gradient(180deg,#ffffff05 50%,#fff 98%)}
.hero .hero-light:before{background:linear-gradient(110deg,#fff,#fffffff0 55%,#ffffff40);clip-path:polygon(0 0,40% 0,60% 100%,0 100%)}
.hero .scene-party{width:56%;height:min(570px,43vw);right:1%;top:100px;z-index:-2}
.class-scenery{background:linear-gradient(90deg,#f7fcfff2 10%,#f1faffcc 46%,#f1faff40 76%),url('assets/game-poses/scene.webp') center 61%/cover no-repeat}
.class-portrait{background-image:url('assets/class-pairs/warrior-pair.webp');background-size:96% auto;background-position:center;background-repeat:no-repeat;aspect-ratio:3/2;margin:0;filter:drop-shadow(0 15px 8px #425c7420)}
.portal-hero-art{object-position:center 48%;opacity:.82}
.portal-hero .scene-party{width:54%;right:3%;top:calc(10 * var(--u));height:calc(100% - 44 * var(--u));z-index:-1}
.portal-hero .scene-party img{max-height:100%;object-fit:contain}
.portal-hero .party-warrior{width:63%;left:7%;bottom:0}
.portal-hero .party-jester{width:44%;top:0;left:-6%}
.portal-hero .party-mage{width:53%;top:0;right:-5%}
.portal-hero .hero-copy:before{background:radial-gradient(ellipse,#fffffff5,#ffffffb3 65%,#ffffff00 78%)}
.page-heading{background-image:linear-gradient(90deg,#eef8ff 10%,#eef8ffdf 48%,#eef8ff22 77%),url('assets/game-poses/warrior.webp'),url('assets/game-poses/scene.webp');background-size:100% 100%,auto 92%,cover;background-position:center,87% center,center 43%;background-repeat:no-repeat}
.auth-scene{align-self:start;position:sticky;top:96px;min-height:640px;background:linear-gradient(#edfaffee,#edfaff99),url('assets/game-poses/scene.webp') center/cover}
.auth-scene img{object-fit:contain;object-position:center;bottom:70px;left:5%;width:90%;height:300px;mask-image:none;filter:drop-shadow(0 10px 6px #526b7a25)}
.class-card{background:linear-gradient(#fff,#f3faff);overflow:hidden}
img.job-art{display:block;width:100%;max-width:440px;aspect-ratio:3/2;height:auto;object-fit:contain;background:none;padding:8px;filter:drop-shadow(0 8px 5px #4569801a)}
@media(max-width:1100px) and (min-width:761px){.hero .scene-party{top:160px;height:460px;width:57%}}
@media(max-width:760px){
 .hero .hero-art{top:0;left:0;width:100%;height:390px;object-position:center}
 .hero .scene-party{top:105px;right:2%;width:96%;height:280px;max-height:none}
 .hero .hero-light{height:410px;background:linear-gradient(180deg,#ffffff35 0%,#ffffff00 68%,#fff 99%)}
 .hero .hero-content{padding-top:385px}
 .hero .scene-party .party-warrior{width:78%;left:1%}
 .hero .scene-party .party-mage{width:59%;right:-4%;top:2%}
 .hero .scene-party .party-jester{width:51%;left:-4%;top:0}
 .class-scenery{background:linear-gradient(180deg,#f7fcff50,#f3faffed 56%),url('assets/game-poses/scene.webp') center top/auto 530px no-repeat}
 .class-portrait{width:100%;max-width:560px;aspect-ratio:3/2;background-size:96% auto;margin:12px auto 14px}
 .class-stepper{top:auto;bottom:18px;right:8px}
 .portal-hero .scene-party{width:min(430px,100%);height:205px;top:0;right:50%;transform:translateX(50%)}
 .portal-hero .scene-party .party-warrior{width:64%;left:6%;bottom:0}
 .portal-hero .scene-party .party-jester{width:46%;top:-2%;left:0}
 .portal-hero .scene-party .party-mage{width:54%;top:-2%;right:0}
}
@media(max-width:359px){.hero .scene-party{top:108px;height:245px}.hero .hero-art{height:360px}.hero .hero-content{padding-top:350px}.hero .hero-light{height:380px}}
@media(max-width:600px){.class-grid{grid-template-columns:1fr;gap:18px}.class-card{padding:16px 20px 22px}.class-card:last-child{width:100%;grid-column:auto}.class-card p{font-size:14px}.class-card h3{font-size:24px}}
