/* Light and surface polish. No geometry, typography, frame or hitbox changes. */
.city-light{background:radial-gradient(ellipse at 68% 12%,#ffe5ac26,transparent 52%),linear-gradient(0deg,#17120d33,transparent 35%,transparent 80%,#17120d20)}
.city-atmosphere::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 25%,#ffe9bb10 37%,transparent 48%,#ffe9bb0b 55%,transparent 65%);animation:art-daylight 18s ease-in-out infinite alternate}
.city-experience:not(.is-lobby) .palace-scene::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 76% 26%,#ffdb9124,transparent 52%),linear-gradient(115deg,transparent 33%,#ffe2ab12 42%,transparent 54%);animation:art-daylight 16s ease-in-out infinite alternate}
.city-experience[data-facility=map] .palace-scene::after,.city-experience[data-facility=archive] .palace-scene::after{display:none}
@keyframes art-daylight{from{opacity:.35;transform:translate3d(-1%,0,0)}to{opacity:.8;transform:translate3d(1%,0,0)}}
.city-lantern-glow{background:radial-gradient(ellipse,#ffe4aa88,#f8b14a30 35%,transparent 72%)}
.city-smoke-source i{animation-timing-function:cubic-bezier(.3,.1,.6,.9)}
/* Keep the original rank-specific artwork. Surface highlights do not add frames. */
:is(.city-plaque,.palace-room,.room-return){transition:filter .18s ease-out}
:is(.city-plaque strong,.palace-room strong){text-shadow:0 2px 2px #000,0 -1px #f1dba525}
@media(hover:hover) and (pointer:fine){
 .city-building:hover .city-plaque,.palace-room:not(:disabled):hover,.room-return:hover{filter:brightness(1.16)}
 .palace-command:not(:disabled):not([aria-disabled=true]):hover .palace-command-art img{transform:scale(1.035)}
}
.palace-command-art{overflow:hidden}
.palace-command-art img{transition:transform .35s ease-out;transform-origin:center}
.palace-command:focus-visible{outline:2px solid #eacb88;outline-offset:3px}
.palace-command.art-selected{animation:art-silk-touch .38s ease-out both}
@keyframes art-silk-touch{0%,100%{filter:brightness(1)}40%{filter:brightness(1.15)}}
/* Portraits remain still and uncropped; shared grading unifies painted faces. */
.action-scene-face,.retainer-report-portrait{box-shadow:0 3px 10px #0005}
.action-scene-face img,.retainer-report-portrait{filter:saturate(.96) contrast(1.035)!important}
.action-scene-art img{filter:saturate(1.05) contrast(1.025)!important}
.result-verdict-heading{ text-shadow:0 2px 5px #0009 }
:is(.growth-outcome,.retainer-ability-change){animation:art-value-arrive .5s ease-out both}
:is(.growth-outcome,.retainer-ability-change):nth-child(2){animation-delay:.07s}
:is(.growth-outcome,.retainer-ability-change):nth-child(3){animation-delay:.14s}
.retainer-ability-track>span{transform-origin:left;animation:art-gauge-fill .75s cubic-bezier(.2,.7,.2,1) both}
@keyframes art-gauge-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes art-value-arrive{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}
/* Map contact effects stay under labels and never block city selection. */
.map-contact-dust{opacity:0;pointer-events:none}
.map-army-scene.is-contact .map-contact-dust{animation:art-contact-dust .85s ease-out infinite}
.map-army-scene.is-contact .map-contact-dust:nth-child(2){animation-delay:-.3s}
.map-army-scene.is-contact .map-contact-dust:nth-child(3){animation-delay:-.6s}
@keyframes art-contact-dust{0%{opacity:0;transform:translateY(3px) scale(.6)}35%{opacity:.45}100%{opacity:0;transform:translateY(-16px) scale(1.35)}}
.map-clash-spark{opacity:0;pointer-events:none}
.map-army-scene.is-contact .map-clash-spark{animation:art-contact-spark .7s ease-out infinite}
@keyframes art-contact-spark{0%,100%{opacity:0}20%{opacity:.8}45%{opacity:0}}
.season-intro-motes i[data-depth=near]{filter:drop-shadow(0 2px 2px #1a160b40)}
.season-intro[data-season=winter] .season-intro-motes i[data-depth=near]{filter:drop-shadow(0 0 3px #fff6)}
html.art-suspended :is(.city-atmosphere,.city-atmosphere *,.palace-scene,.season-intro-motes i){animation-play-state:paused!important}
html.art-suspended :is(.city-atmosphere,.palace-scene)::after{animation-play-state:paused!important}
@media(max-width:700px){.city-atmosphere::after{animation:none;opacity:.5}.city-experience:not(.is-lobby) .palace-scene::after{animation:none;opacity:.45}.city-smoke-source:nth-child(3){display:none}}
@media(prefers-reduced-motion:reduce){
 .city-atmosphere::after,.city-experience:not(.is-lobby) .palace-scene::after{animation:none;opacity:.5}
 .palace-command.art-selected,:is(.growth-outcome,.retainer-ability-change),.retainer-ability-track>span,.map-contact-dust,.map-clash-spark{animation:none!important}
 .palace-command-art img{transition:none!important;transform:none!important}
}

/* The same fill timing is shared by player and companion receipts. */
.growth-graph-before,.growth-stat-base{transform-origin:left;animation:art-gauge-fill .75s cubic-bezier(.2,.7,.2,1) both}
.report-critical .result-verdict-mark{animation:art-honor-glow 1.2s ease-out both}
@keyframes art-honor-glow{0%{opacity:.3;transform:scale(.8)}40%{text-shadow:0 0 24px #efc166;transform:scale(1.1)}100%{opacity:1;transform:none}}
.city-experience[data-facility=guests] .palace-scene::after{background:radial-gradient(ellipse at 25% 65%,#ffc77e30,transparent 55%)}
.city-experience[data-facility=court] .palace-scene::after{background:linear-gradient(115deg,transparent 20%,#ffe6b524 37%,transparent 54%)}
.city-experience[data-facility=military] .palace-scene::after{background:radial-gradient(ellipse at 75% 20%,#f2ddb32b,transparent 65%)}
@media(prefers-reduced-motion:reduce){.growth-graph-before,.growth-stat-base,.report-critical .result-verdict-mark{animation:none!important}}

.growth-graph{animation:art-value-arrive .5s ease-out both}
.growth-graph:nth-child(2){animation-delay:.07s}.growth-graph:nth-child(3){animation-delay:.14s}
.growth-graph-values>strong,.reward-gauge-values>strong{ text-shadow:0 2px 5px #0008 }
.reward-gauge-base{transform-origin:left;animation:art-gauge-fill .75s cubic-bezier(.2,.7,.2,1) both}
.report-success .result-verdict-mark{color:#c9e9c9;text-shadow:0 0 16px #b5d5a780}
.report-failure .result-verdict-mark{color:#e8ad9c;text-shadow:0 0 12px #b25e4533}
@media(prefers-reduced-motion:reduce){.growth-graph,.reward-gauge-base{animation:none!important}}
