.game-art{--art-accent:#998d75;display:block;position:relative;isolation:isolate;overflow:hidden;min-width:0;max-width:100%;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--art-accent) 65%,#171813);border-radius:14px;background:#121411;box-shadow:inset 0 0 0 3px #0006,0 4px 18px #0006}
.game-art img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .35s ease}
.game-art:after{content:"";position:absolute;inset:5px;border:1px solid color-mix(in srgb,var(--art-accent) 30%,transparent);border-radius:9px;pointer-events:none}
.game-art--uncommon{--art-accent:#85b69a}.game-art--rare{--art-accent:#78bdf2}.game-art--epic{--art-accent:#c291ed}.game-art--legendary{--art-accent:#f3c461;box-shadow:0 0 22px #b77c2229,inset 0 0 0 3px #be923537}
.game-art--rare:after{border-style:double}.game-art--epic:after,.game-art--legendary:after{inset:4px;border-width:3px;border-style:double}
.game-art--tiny{width:30px;min-width:30px;border-radius:7px;vertical-align:middle;display:inline-block}.game-art--tiny:after{display:none}.game-art--small{width:68px;min-width:68px}.game-art--hero{width:100%;max-width:620px;margin-inline:auto;border-radius:22px}.game-art--hero img{object-fit:contain}.game-art__rarity{position:absolute;bottom:9px;left:9px;right:9px;justify-self:start;width:fit-content;max-width:calc(100% - 18px);padding:4px 9px;border:1px solid var(--art-accent);border-radius:20px;background:#09100deb;color:var(--art-accent);font:700 10px/1.4 system-ui;letter-spacing:.08em;text-transform:uppercase}
.inventory-item .item-icon{width:100%;height:auto;padding:0;border:0;background:none;border-radius:12px;margin:0 0 10px}.inventory-item .game-art{width:100%;aspect-ratio:1}.inventory-item .item-quantity{z-index:2;background:#111a16e8;border:1px solid #b19357;padding:3px 7px;border-radius:8px}.inventory-item{min-width:0;overflow:hidden}.inventory-item b{overflow-wrap:anywhere;white-space:normal}.item-detail-hero{display:flex;flex-direction:column;align-items:stretch}.item-detail-hero .item-detail-icon{width:100%;height:auto;border:0;padding:0;margin:0;background:none}.item-detail-hero .game-art{width:100%}
.shop-offer-card__art{height:auto;min-height:0;padding:0;background:none}.shop-offer-card__art>span{width:100%;height:auto}.shop-offer-card__art .game-art{width:100%;height:auto;border-radius:16px 16px 0 0}.shop-offer-card__art>em{z-index:2;background:#07110be8}.shop-sheet-hero{display:flex;flex-direction:column}.shop-sheet-hero>span{width:100%;height:auto}.shop-sheet-hero .game-art{width:100%}.shop-manager-offer__icon{width:68px;height:auto;background:none;border:0}.inventory-ledger-row .game-art{width:42px;min-width:42px}
.estate-cost>span{display:inline-flex;align-items:center;gap:5px}.estate-resource>.game-art{width:48px;min-width:48px;margin:0 auto 5px}.estate-resource{min-width:0}.resource-art-label{display:inline-flex;gap:8px;align-items:center;min-width:0}.resource-art-label>span{min-width:0;overflow-wrap:anywhere}.recipe-art{width:90px;float:right;margin:0 0 10px 10px}.quest-rewards .game-art,.reward-chip .game-art{vertical-align:middle;margin-right:5px}
.stable-hero{position:relative;overflow:hidden;isolation:isolate;border:1px solid #9b79464d;border-radius:24px;min-height:320px;display:flex;align-items:end;background:#111511}.stable-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.stable-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#080d0bf2,transparent 95%);z-index:-1}.stable-hero__body{padding:25px;width:100%;min-width:0}.stable-hero h3{font:600 clamp(30px,7vw,48px)/1.08 Georgia,serif;margin:8px 0;color:#f7e9bf}.stable-hero p{max-width:38ch;color:#d4c9b2;margin:10px 0}.stable-wallet{display:flex;align-items:center;gap:10px;margin-top:15px}.stable-wallet strong{font-size:22px;color:#eac376}.stable-tabs,.pet-tabs{display:flex;gap:6px;padding:6px;background:#09110ee0;border:1px solid #9d85414f;border-radius:16px;margin:18px 0}.stable-tabs button,.pet-tabs button{flex:1;min-width:0;padding:12px 7px;border:0;border-radius:11px;color:#b6b4a7;background:none;font-size:13px;min-height:44px}.stable-tabs [aria-pressed=true],.pet-tabs [aria-pressed=true]{background:#514126;color:#fff1c7;box-shadow:inset 0 0 0 1px #ab8e5560}
.stable-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:18px}.stable-card{border:1px solid #89704164;border-radius:20px;overflow:hidden;background:linear-gradient(150deg,#18211b,#0a100d);min-width:0}.stable-card>.game-art{border:0;border-radius:0;width:100%;box-shadow:none}.stable-card__body{padding:17px;min-width:0}.stable-card__body h4{font:600 25px/1.13 Georgia,serif;overflow-wrap:anywhere;margin:8px 0;color:#f0e1bb}.stable-card__body p{font-size:14px;line-height:1.5;color:#b7bdad}.stable-card .combat-values{gap:5px}.stable-card .combat-values span{font-size:11px;padding:5px 7px}.stable-card .combat-actions>button{width:100%;white-space:normal}.stable-card .combat-actions{display:grid;grid-template-columns:1fr}.stable-card.is-selected{border-color:#d2b875;box-shadow:0 0 22px #b68c341b}.stable-loadout{display:flex;align-items:center;gap:12px;margin:15px 0;padding:12px;background:#07100ce0;border:1px solid #9c835743;border-radius:13px}.stable-loadout .game-art{width:78px;min-width:78px}.stable-loadout p{margin:0}.stable-loadout b{display:block;color:#ead8ae}.stable-section-note{color:#acb6a7;font-size:14px;line-height:1.6}.stable-armor-options{display:grid;gap:10px;margin-top:15px}.stable-armor-option{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:10px;padding:8px;background:#121b15;border:1px solid #817144;border-radius:13px;color:#e6d9b7;text-align:left;min-height:64px}.stable-armor-option .game-art{width:64px;min-width:64px}.stable-armor-option span{min-width:0;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.game-art img{transition:none}}

.reward-chip{display:inline-flex;align-items:center;gap:4px;margin:3px 8px 3px 0;font-weight:500;font-size:13px}.reward-line>span,.reward-panel>b{display:flex;flex-wrap:wrap}.trade-product-icon{width:68px;height:68px;background:none;border:0;padding:0}.trade-product-icon .game-art{width:68px;height:68px}.trade-sell>.game-art{margin-bottom:14px}.realm-quest-goal-title{flex-wrap:wrap}.realm-quest-goal-title h4{margin:0}.estate-pet-entry>img{border-radius:13px}.pet-dialog .eyebrow{color:#ceba7e}
