/* Original painted component art. Labels and values remain live HTML. */
@font-face{font-family:ShanheKai;src:url('./assets/painted-ui/InterfaceKai.woff') format('woff');font-weight:100 900;font-display:swap}
body,body button,body input,body select,body h1,body h2,body h3,body h4,body p,body a,body summary,body svg text{font-family:ShanheSong,'Songti SC',SimSun,serif!important}
.painted-nav-icon{position:relative;display:block;width:38px;height:42px;flex:none}.painted-nav-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.painted-nav-icon .nav-red{opacity:0}.app-nav button.active .nav-red{opacity:1}.app-nav button.active .nav-ink{opacity:0}
body .app-nav button:after{display:none!important}
@media(min-width:1000px){
body .app-nav button{gap:4px;font-size:20px!important}.painted-nav-icon{width:43px;height:47px}
body .page-heading h1,body #page-shop .page-heading h1{background:transparent url('./assets/painted-ui/title-plaque.webp') center/100% 100% no-repeat!important;border:0!important;border-image:none!important;outline:none;box-shadow:none;border-radius:0;min-width:350px;min-height:72px;padding:15px 70px!important;line-height:1.2}
body .page-heading h1:before,body .page-heading h1:after{display:none}
body .header-tools .coin-pill{background:transparent url('./assets/painted-ui/currency-plaque.webp') center/100% 100% no-repeat!important;border:0;border-radius:0;box-shadow:none;padding:12px 30px;min-width:150px}
body .soft-button,body .secondary,body .text-button:not(.app-nav button),body .progress-button,body .shop-framing button,body .avatar-motion-controls button,body #page-shop .product-info .text-button,body #page-shop [data-action=reset-preview]{background:transparent url('./assets/painted-ui/button-paper.webp') center/100% 100% no-repeat!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;padding:12px 25px;min-height:42px;color:#674320}
body .primary,body #page-shop .product-buy:not(.owned),body .filter-tabs button[aria-pressed=true],body .rank-tabs button[aria-pressed=true]{background:transparent url('./assets/painted-ui/button-red.webp') center/100% 100% no-repeat!important;border:0!important;outline:none!important;box-shadow:none!important;border-radius:0!important;color:#fff3d2!important;padding:12px 27px;min-height:45px}
body .primary:disabled,body #page-shop .product-buy:disabled,body #page-shop .product-buy.owned{background:transparent url('./assets/painted-ui/button-jade.webp') center/100% 100% no-repeat!important;color:#596858!important;opacity:1}
body .filter-tabs button[aria-pressed=true],body .rank-tabs button[aria-pressed=true]{background-image:url('./assets/painted-ui/tab-red.webp')!important}
body #page-shop .shop-tabs button{padding:9px 15px!important;background:transparent!important;color:#284e42!important}
body #page-shop .shop-tabs button[aria-pressed=true]{background:transparent url('./assets/painted-ui/tab-red.webp') center/100% 100% no-repeat!important;color:#fff1d2!important}
body #page-shop .shop-tabs button:after{display:none}
body .primary:before,body .primary:after,body .wardrobe .stage-actions>.primary:before,body .wardrobe .stage-actions>.primary:after{display:none!important}
body:not(.answering) .home-controls .painted-action{background:transparent url('./assets/painted-ui/action-teal.webp') center/100% 100% no-repeat!important;border:0!important;border-image:none!important;outline:none!important;box-shadow:none!important;border-radius:0!important;height:135px!important;min-height:135px;padding:25px 36px!important}
body:not(.answering) .home-controls .pvp-action{background-image:url('./assets/painted-ui/action-burgundy.webp')!important}
.home-controls .painted-action:after{display:none!important}.home-controls .painted-action strong{font-size:37px!important}.home-controls .pvp-action{font-size:34px!important}
body .home-traveler [data-home-title]{background:transparent url('./assets/painted-ui/currency-plaque.webp') center/100% 100% no-repeat!important;border:0;clip-path:none;padding:10px 24px}
body .surface,body .journey-metric,body .shop-catalog,body .honor-overview .player-window,body .home-controls .game-energy,body .wardrobe-item,body .tag-score,body .recent-row,body .rank-tabs,body .wardrobe .filter-tabs,body .tier-filter select,body .region-filter select,body dialog{background:transparent!important;border:15px solid transparent!important;border-image:url('./assets/painted-ui/frame-paper.webp') 48 fill / 15px / 0 stretch!important;border-radius:0!important;outline:0;box-shadow:none!important}
body #page-shop .product-card{background:transparent!important;border:12px solid transparent!important;border-image:url('./assets/painted-ui/frame-daily.webp') 42 fill / 12px / 0 stretch!important;border-radius:0!important;box-shadow:none!important;overflow:visible}
body #page-shop .product-card[data-tier=ethnic]{border-image-source:url('./assets/painted-ui/frame-ethnic.webp')!important}body #page-shop .product-card[data-tier=dynasty]{border-image-source:url('./assets/painted-ui/frame-dynasty.webp')!important}body #page-shop .product-card[data-tier=world]{border-image-source:url('./assets/painted-ui/frame-world.webp')!important}
body #page-shop .product-card:after{display:none}body #page-shop .product-card.previewing{outline:2px solid #b12f22;outline-offset:-4px}body #page-shop .product-info{padding:10px 8px}body #page-shop .product-info h3{font-size:23px}.product-tag{background:transparent url('./assets/painted-ui/currency-plaque.webp') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;padding:7px 13px!important}
body:not(.answering) #page-play .home-hero,body #page-avatar .big-avatar,body #page-shop .shop-avatar{border:17px solid transparent!important;border-image:url('./assets/painted-ui/frame-scene.webp') 48 / 17px / 0 stretch!important;outline:none!important;border-radius:0!important;box-shadow:none!important}
body #page-avatar .big-avatar,body #page-shop .shop-avatar{overflow:hidden}
body .journal-medal{border:0;background:none;border-radius:0;width:120px;height:120px}.journal-medal img{width:100%;height:100%;object-fit:contain}
body #energy-cells i{width:35px;height:25px;border:0!important;box-shadow:none!important;border-radius:0;background:transparent url('./assets/painted-ui/energy-empty.webp') center/contain no-repeat!important}body #energy-cells i.filled{background-image:url('./assets/painted-ui/energy-filled.webp')!important}
body .empty-podium{background-image:url('./assets/painted-ui/podium.webp');height:320px}
body .wardrobe-item.selected{outline:2px solid #b12f22;outline-offset:-5px}.wardrobe .stage-actions .primary{min-height:66px;padding:17px 52px;font-size:28px}
body .compact-skins button{border-image:none!important;background-image:none!important}
body button:hover:not(:disabled){filter:brightness(1.035)}body button:active:not(:disabled){transform:translateY(1px)}body button:focus-visible{outline:2px solid #b33122!important;outline-offset:3px!important}
}
@media(max-width:999px){.painted-nav-icon{width:29px;height:31px}}
@media(prefers-reduced-motion:reduce){body button:active:not(:disabled){transform:none}}
@media(min-width:1000px){
body .honor-overview .player-window{border-image-source:url('./assets/painted-ui/frame-profile.webp')!important}
body .fitting-name{border:0!important;background:url('./assets/painted-ui/divider.webp') center bottom/100% 20px no-repeat;padding-bottom:25px!important}
body .home-controls .game-energy{margin-bottom:12px}.home-controls .home-actions{margin:0}.home-controls .home-actions .painted-action{margin:0}
body #page-avatar .wardrobe-add,body .appearance-controls button:not([data-skin]),body .profile-settings button,body .account-panel button,body .attachment-controls button,body .scene-framing button{background:transparent url('./assets/painted-ui/button-paper.webp') center/100% 100% no-repeat!important;border:0!important;box-shadow:none;border-radius:0!important;min-height:43px;padding:10px 24px}
body .tier-filter select,body .region-filter select{padding:5px 12px!important;border-width:9px!important;border-image-width:9px!important}
}
@media(min-width:1000px) and (max-width:1250px){body .app-header{gap:14px;padding-inline:18px}body .brand .brand-wordmark{width:185px}body .app-nav{gap:12px}body .app-nav button{font-size:17px!important;letter-spacing:1px}.painted-nav-icon{width:36px;height:39px}body .header-tools .coin-pill{min-width:115px;padding:10px 20px;font-size:20px}body .header-tools{gap:7px}body #page-shop .shop-tabs{gap:3px}body #page-shop .shop-tabs button{font-size:20px;padding-inline:11px!important}.home-controls .painted-action strong{font-size:30px!important}.home-controls .pvp-action{font-size:29px!important}}
