/* Semantic scenic art. Activity art remains the established mobile artwork. */
:root{--scene-alliance:url('/images/scenes/alliance-v2.webp');--scene-barracks:url('/images/scenes/barracks-v2.webp');--scene-cavern:url('/images/scenes/cavern-v2.webp');--scene-supplies:url('/images/scenes/supplies-v2.webp');--scene-gateway:url('/images/scenes/gateway-v2.webp')}
body .winter-app .winter-barracks{--card-scene:var(--scene-barracks)}
body .winter-app .winter-expedition{--card-scene:var(--scene-cavern)}
body .winter-app .winter-friends{--card-scene:var(--scene-alliance)}
body .winter-app .winter-secondary{--card-scene:var(--scene-supplies)}
body .winter-app .desktop-account-overview{--card-scene:var(--scene-gateway)}
body .winter-app :is(.winter-barracks,.winter-expedition,.winter-friends,.winter-secondary,.desktop-account-overview){background:linear-gradient(100deg,#f9fcfffa 10%,#f5faffee 45%,#f0f8fcbb 75%,#eff7fa88),var(--card-scene) right center/cover!important;border-color:#cfe1eb}
body .winter-app .tier-card{background-position:center,80% 65%!important}
body .winter-app .winter-barracks .winter-troop{color:#385e76}
body .winter-app .alliance-hero,body .admin-workspace .alliance-hero{background:linear-gradient(95deg,#f7fbfdf5 8%,#f3f9fde0 43%,#f0f7fb66 100%),var(--scene-alliance) right center/cover!important}
body .winter-app .alliance-publish-card{background:linear-gradient(100deg,#f4fafdef,#f0f8fbd5),var(--scene-barracks) right center/cover!important}
body .auth-shell:before{background:linear-gradient(100deg,#edf6fbe0,#edf7fbc9),var(--scene-gateway) center/cover!important}
body .auth-shell .auth-card:before{background:linear-gradient(0deg,#fbfdff 2%,transparent 95%),linear-gradient(90deg,#fbfdff 5%,#fbfdffb0 58%,#fbfdff44),var(--scene-gateway) 75% 45%/cover!important}
body .auth-mode-login .auth-card:before{background-image:linear-gradient(0deg,#fbfdff 2%,transparent 95%),linear-gradient(90deg,#fbfdff 5%,#fbfdffb0 58%,#fbfdff44),var(--scene-alliance)!important}
body .auth-shell .registration-window{background:linear-gradient(110deg,#f1f9fcf5,#f5fbfde8),var(--scene-gateway) 80% 45%/cover!important}
body .application-dialog>header{background:linear-gradient(95deg,#fbfdff 5%,#fbfdffdb 65%,#fbfdff88),var(--scene-gateway) right center/cover!important}
body .application-dialog .application-fields{background:#fbfdff}
@media(min-width:1024px){
 body .auth-shell{background:#edf6fa!important}
 body .winter-app .alliance-activities,body .winter-app .alliance-workflows,body .winter-app .alliance-detail-card,body .admin-overview section{background:#fbfdff!important}
 body .winter-app .alliance-event-tile{position:relative;isolation:isolate;overflow:hidden;align-items:flex-start;text-align:left;background:#f8fbfd!important;border:1px solid #cbdde7;border-radius:12px;min-height:132px;box-shadow:inset 0 1px 0 #fff;--event-accent:#477f9a}
 body .winter-app .alliance-event-tile:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#f8fbfdf5 18%,#f8fbfdba 65%,#f8fbfd55),url('/images/winter-event-poster.png') 65% 45%/cover;pointer-events:none}
 body .winter-app .alliance-event-tile:nth-child(1){--event-accent:#967641;border-color:#dfd3bd}
 body .winter-app .alliance-event-tile:nth-child(2){--event-accent:#327f9c;border-color:#b9dce9}
 body .winter-app .alliance-event-tile:nth-child(2):before{background-image:linear-gradient(100deg,#edf8fcf5 18%,#edf8fcb0 65%,#edf8fc66),url('/images/frost-dragon-poster.png');background-position:center,66% 28%}
 body .winter-app .alliance-event-tile:nth-child(3){--event-accent:#577b86}
 body .winter-app .alliance-event-tile:nth-child(4){--event-accent:#698077}
 body .winter-app .alliance-event-tile:nth-child(5){--event-accent:#a57643}
 body .winter-app .alliance-event-tile:nth-child(6){--event-accent:#8a6f73}
 body .winter-app .alliance-event-tile svg{color:var(--event-accent)}
 body .winter-app .alliance-event-tile:hover{border-color:#82b9cf;box-shadow:0 5px 14px #477c9618}
}
@media(max-width:1023px){
 body .winter-mobile .mobile-alliance-overview:before{inset:0 0 0 12%;background:linear-gradient(90deg,#f4f9fc 0%,#f4f9fcdb 48%,#f4f9fc83),var(--scene-alliance) 75% 45%/cover!important;opacity:.8!important}
 body .winter-app.winter-mobile .winter-barracks{background:linear-gradient(100deg,#fffffffa 8%,#fbfdfff0 48%,#f5faffb8),var(--scene-barracks) 80% center/cover!important}
 body .winter-app.winter-mobile .tier-card{background-position:center,95% center!important}
 body .winter-app.winter-mobile .winter-troop{background:#ffffff42!important}
 body .winter-app.winter-mobile .winter-friends,body .winter-app.winter-mobile .winter-expedition{background:linear-gradient(95deg,#f2f9fdf5 4%,#f2f9fde0 54%,#f2f9fd99),var(--card-scene) right center/cover!important}
 body .auth-shell:before{background:linear-gradient(#edf6fbe6,#edf6fbef),var(--scene-gateway) 70% top/cover no-repeat!important}
 body .auth-shell .auth-card:before{background-position:center,center,80% 40%!important}
}

/* Quiet data panels: scenic header, continuous readable rows. */
body .winter-app .home-dashboard .military-panels .winter-barracks {
 background:linear-gradient(90deg,#f9fcff 15%,#f9fcffeb 60%,#f9fcffb8),var(--scene-barracks) right 38%/cover!important;
 background-size:100% 78px,100% 78px!important;background-repeat:no-repeat!important;background-color:#fbfdff!important;
}
body .winter-app .home-dashboard .military-panels .winter-barracks>div {display:grid;gap:0!important;background:transparent!important}
body .winter-app .home-dashboard .military-panels .winter-troop {
 background:transparent!important;border:0!important;border-bottom:1px solid #e4edf3!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important;
}
body .winter-app .home-dashboard .military-panels .winter-troop:last-child {border-bottom:0!important}
body .winter-app .home-dashboard .military-panels .winter-troop:hover {background:#edf6fb!important}
body .winter-app .home-dashboard .military-panels .winter-troop:focus-visible {outline:2px solid #509dbb;outline-offset:2px}
body .winter-app.winter-desktop .home-dashboard .desktop-account-overview {
 background:linear-gradient(90deg,#f9fcff 15%,#f9fcfff5 65%,#f9fcffde),var(--scene-gateway) right 38%/cover!important;
 background-size:100% 78px,100% 78px!important;background-repeat:no-repeat!important;background-color:#fbfdff!important;
}
body .winter-app .desktop-account-overview>div:first-child>span {color:#526f82!important;font-weight:500}
body .winter-app .desktop-account-list button {border-radius:0!important;border:0!important;border-bottom:1px solid #e4edf3!important;background:transparent!important;box-shadow:none!important}
body .winter-app .desktop-account-list button.active {background:#eef6fa!important;border-radius:8px!important;border:0!important}
body .winter-app .desktop-account-list button strong {color:#2d5269!important}
body .winter-app .desktop-account-list button small,body .winter-app .desktop-account-list button em {color:#526f82!important}
body .winter-app .home-dashboard .military-panels .winter-barracks,
body .winter-app.winter-desktop .home-dashboard .desktop-account-overview {background:#fbfdff!important}
body .winter-app .home-dashboard .military-panels .winter-barracks>h2 {
 background:linear-gradient(90deg,#fbfdff 25%,#fbfdfff2 70%,#fbfdffdf),var(--scene-barracks) right 38%/cover!important;
}
body .winter-app .desktop-account-overview>div:first-child {
 background:linear-gradient(90deg,#fbfdff 25%,#fbfdfff7 70%,#fbfdffeb),var(--scene-gateway) right 38%/cover!important;
}

/* Cinematic artwork is a quiet bottom background, never a banner. */
body .winter-app .tier-card{--card-scene:url('/images/scenes/elite-v2.webp')}
body .winter-app .winter-friends,body .winter-app .desktop-account-overview{--card-scene:url('/images/scenes/archives-v2.webp')}
body .winter-app .scene-contribution{--card-scene:url('/images/scenes/contribution-v2.webp')}
body .winter-app .home-dashboard .military-panels .winter-barracks,
body .winter-app.winter-desktop .home-dashboard .desktop-account-overview{
 position:relative;isolation:isolate;overflow:hidden;background:#fbfdff!important;
}
body .winter-app .home-dashboard .military-panels .winter-barracks>h2,
body .winter-app .desktop-account-overview>div:first-child{background:none!important}
body .winter-app .home-dashboard .military-panels .winter-barracks:before,
body .winter-app .desktop-account-overview:before{
 content:'';display:block;position:absolute;inset:30% 0 0 0;z-index:-1;margin:0;height:auto;transform:none;pointer-events:none;border-radius:0;
 background:linear-gradient(90deg,#fbfdff,transparent 65%),var(--card-scene) right bottom/cover no-repeat;opacity:.14;
 mask-image:linear-gradient(to bottom,transparent,black 80%);-webkit-mask-image:linear-gradient(to bottom,transparent,black 80%);
}
body .winter-app.winter-desktop .home-dashboard .military-panels .winter-barracks{height:auto!important;min-height:300px!important;padding:24px!important}
body .winter-app.winter-desktop .home-dashboard .desktop-account-overview{height:268px;min-height:268px}
body .winter-app.winter-mobile .home-dashboard .military-panels .winter-barracks{padding:20px!important}
body .winter-app .home-dashboard .military-panels .winter-troop{color:#365b71!important}
body .winter-app .home-dashboard .military-panels .winter-troop strong{color:#326c85!important}
body .winter-app .desktop-account-overview>div:first-child>span{color:#526f82!important}
body .winter-app .winter-expedition>strong{background:#f8fcfff5!important;color:#326c85!important;padding:8px 12px;border:1px solid #d6e5ee;border-radius:10px;box-shadow:0 2px 8px #24465b0d}
@media(min-width:1024px) and (max-width:1279px){body .winter-app.winter-desktop .home-dashboard .desktop-account-overview{height:auto;min-height:150px}}
/* Expedition metric belongs to the content, without a badge container. */
body .winter-app .home-dashboard .winter-expedition {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:center!important;justify-items:start!important;gap:5px!important;text-align:left!important;
 background:linear-gradient(90deg,#f5faff 28%,#f5faffed 52%,#f5faff66),var(--scene-cavern) right center/cover!important;
}
body .winter-app .home-dashboard .winter-expedition>span{display:contents}
body .winter-app .home-dashboard .winter-expedition h2{grid-row:1;margin:0!important}
body .winter-app .home-dashboard .winter-expedition p{grid-row:3;margin:0!important;color:#617f92}
body .winter-app .home-dashboard .winter-expedition>strong{
 grid-row:2;justify-self:start;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;color:#326c85!important;font-size:28px!important;line-height:1.15;font-weight:700;letter-spacing:.2px;
}
@media(max-width:1023px){body .winter-app .home-dashboard .winter-expedition>strong{font-size:25px!important}}
