:root{color-scheme:light;--bg:#fafbfc;--surface:#fff;--soft:#f4f5f9;--sidebar:#fafafa;--ink:#20232c;--text:#20232c;--muted:#727989;--line:#e4e6ed;--gold:#6656db;--cyan:#5948c9;--accent:#6656db;--accent-soft:#f0edff;--positive:#17836b;--negative:#bd4c43;--overlay:#18202d80;--shadow:0 3px 16px #20203005}
:root[data-theme=dark]{color-scheme:dark;--bg:#0b0c0f;--surface:#14161b;--soft:#1b1e25;--sidebar:#101115;--ink:#eceef3;--text:#eceef3;--muted:#a4aaba;--line:#2b2e38;--gold:#b6aaff;--cyan:#b9afff;--accent:#a398ff;--accent-soft:#29243f;--positive:#80d3b3;--negative:#ffaaa1;--overlay:#0009;--shadow:none}
body.arsenal-app{background:var(--bg);color:var(--ink);font:14px/1.65 'Segoe UI','Malgun Gothic',sans-serif;margin:0;padding:0}body.arsenal-app>header.shell{display:none}button,input,select,textarea{font:inherit}button{border-radius:7px;background:var(--surface);color:var(--ink);border-color:var(--line)}button:hover{background:var(--soft);border-color:var(--accent)}input,select,textarea{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px}a{color:var(--cyan)}p,li{overflow-wrap:anywhere}button,a{transition:background .12s,border-color .12s}h1,h2,h3{color:var(--ink);font-weight:600}h2{font-size:25px;letter-spacing:-.7px}h3{font-size:16px}.eyebrow{color:var(--muted);letter-spacing:1px;font-size:10px}.muted,.small.muted{color:var(--muted)}.section-head{margin-bottom:22px;align-items:center}.section-head p{font-size:12px;max-width:850px}.section-head h2{margin-bottom:6px}.grade-pill{border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:10px;border-radius:6px}
.nav-wrap{position:fixed!important;inset:0 auto 0 0;width:238px;z-index:110;background:var(--sidebar)!important;border:0;border-right:1px solid var(--line);display:flex;flex-direction:column;backdrop-filter:none}.app-sidebar-brand{display:flex;align-items:center;gap:10px;padding:23px 18px 19px;color:var(--ink);font-size:14px;font-weight:650;text-decoration:none}.app-sidebar-brand>span:first-child{font-size:32px;line-height:1;color:var(--accent)}.app-sidebar-brand small{display:block;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:.2px}.nav-wrap .nav-mobile-bar{display:none!important}.nav-wrap .nav{display:block!important;width:100%;padding:0 12px 20px!important;margin:0;max-width:none;overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.nav-wrap .nav-group{display:block!important;flex:none!important;width:100%;padding:0!important;margin:17px 0 0!important;border:0!important;min-width:0}.nav-wrap .nav-group-label{display:block;margin:0 10px 8px!important;padding:0!important;font-size:10px;letter-spacing:0;color:var(--muted);background:none!important}.nav-wrap .nav-group-items{display:flex!important;flex-direction:column;gap:2px!important;align-items:stretch!important;flex-wrap:nowrap}.nav-wrap .nav button{width:100%;display:flex;align-items:center;text-align:left;justify-content:flex-start;gap:9px;border:1px solid transparent!important;background:transparent;padding:8px 10px!important;min-height:36px;border-radius:7px;color:var(--muted);font-size:12px;white-space:normal}.nav-wrap .nav button:before{content:'◇';color:var(--muted);width:17px;font-size:15px;flex-shrink:0;text-align:center}.nav-wrap .nav button[data-view=weapons]:before{content:'⚒'}.nav-wrap .nav button[data-view=favorites]:before{content:'☆'}.nav-wrap .nav button[data-view=mybuilds]:before{content:'⊞'}.nav-wrap .nav button[data-view=simulator]:before{content:'▦'}.nav-wrap .nav button[data-view=shops]:before{content:'▤'}.nav-wrap .nav button:hover{background:var(--soft)}.nav-wrap .nav button[aria-current=page]{background:var(--surface);border-color:var(--line)!important;color:var(--ink);box-shadow:0 1px 3px #15182605;font-weight:600}.nav-wrap .nav button[aria-current=page]:before{color:var(--accent)}.nav-count{margin-left:auto!important;background:var(--soft);color:var(--muted);font-size:10px;border-radius:4px;min-width:18px}.app-sidebar-bottom{border-top:1px solid var(--line);padding:14px 20px;font-size:11px;display:flex;gap:10px;align-items:center;color:var(--muted)}.app-sidebar-bottom .app-avatar{background:var(--accent-soft);color:var(--accent);border-radius:50%;width:30px;height:30px;display:grid;place-items:center}.app-sidebar-bottom small{display:block;font-size:10px;color:var(--muted)}
.app-topbar{margin-left:238px;min-height:67px;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:var(--surface);display:flex;gap:20px;align-items:center;padding:11px 30px}.app-breadcrumb{display:flex;gap:10px;align-items:center;white-space:nowrap;color:var(--muted);font-size:12px}.app-breadcrumb strong{color:var(--ink);font-weight:500}.app-topbar .global-search{padding:5px 10px;margin:0 0 0 auto;max-width:355px;width:32%;border:1px solid var(--line);border-radius:7px;background:var(--soft);gap:6px;min-height:35px}.app-topbar .global-search label{font-size:0;flex:0}.app-topbar .global-search label:before{content:'⌕';font-size:18px;color:var(--muted)}.app-topbar .global-search input{font-size:11px;flex:1;width:100%;min-width:0;border:0;background:transparent;padding:3px}.app-topbar .global-search .search-shortcut{display:none}.app-topbar .global-search button{padding:0 5px;border:0;min-height:22px;background:none}.app-theme{display:flex;flex-shrink:0;gap:2px;padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--soft)}.app-theme button{padding:4px 8px;font-size:10px;min-height:27px;border:1px solid transparent;background:none;color:var(--muted)}.app-theme button[aria-pressed=true]{background:var(--surface);border-color:var(--line);color:var(--accent)}.app-mobile-toggle{display:none}.app-drawer-backdrop{display:none}.app-search-popover{position:fixed;top:61px;right:195px;max-width:700px;width:calc(100vw - 290px);max-height:70dvh;overflow:auto;z-index:130;background:var(--surface);border:1px solid var(--line);box-shadow:0 15px 45px #12182820;border-radius:9px;padding:14px}.app-search-popover:empty{display:none}.app-search-popover button{font-size:12px;margin:4px}.app-search-popover p{color:var(--muted)}
#main-content{margin-left:238px;min-height:calc(100dvh - 150px)}#main-content>.view{max-width:1580px;padding:30px;margin:auto}body.arsenal-app>footer{margin-left:238px;max-width:none;padding:22px 30px 28px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.toolbar{gap:12px;margin:19px 0}.toolbar label{font-size:11px;color:var(--muted)}.toolbar input,.toolbar select{min-height:35px;font-size:12px;padding:7px 10px}.toolbar input::placeholder{color:var(--muted)}.notice,.layout-hint,.frame-status,.detail-disclosure,.loadout-policy,.detail-conditions,.build-readability-note{background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:8px;box-shadow:none}.detail-disclosure{margin-bottom:20px;padding:9px 13px;font-size:11px}.notice strong{color:var(--ink)}.arsenal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.favorite-shell{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow);display:flex;min-width:0}.favorite-shell:hover{border-color:var(--accent)}.favorite-shell>.arsenal-card{display:flex!important;flex-direction:column-reverse;justify-content:flex-end;align-items:stretch;gap:0!important;min-height:325px;padding:0!important;background:var(--surface)!important;border:0!important;border-radius:0;position:relative;box-shadow:none;text-align:left}.arsenal-card>img{width:100%!important;height:160px!important;object-fit:contain;background:linear-gradient(125deg,var(--soft),var(--surface));padding:7px}.arsenal-card>div{padding:16px;display:flex;flex-direction:column;flex:1;align-items:flex-start;min-width:0}.arsenal-card h3{color:var(--ink)!important;font-size:16px;margin:9px 0 2px}.arsenal-card p{color:var(--muted)!important;font-size:11px;line-height:1.7;margin:3px 0}.arsenal-card p:first-of-type{font-size:10px}.arsenal-card small{margin-top:auto;padding-top:10px;font-size:10px;line-height:1.7}.arsenal-card .grade-label{position:absolute;left:12px;top:12px;font-size:10px;border-radius:5px;border:1px solid var(--line);background:var(--surface);color:var(--accent)}.favorite-compact{right:11px;top:11px;z-index:2;min-width:30px;min-height:29px;padding:3px 6px!important;border-radius:6px;font-size:18px;background:var(--surface)!important;border-color:var(--line)!important}.favorite-compact[aria-pressed=true]{color:var(--accent)!important;background:var(--accent-soft)!important}.favorite-shell>.adversary-market-link{position:absolute;bottom:0;left:0;right:0;padding:9px 15px!important;min-height:35px!important;width:100%;border:0!important;border-top:1px solid var(--line)!important;background:var(--soft)!important;color:var(--accent)!important;border-radius:0!important;font-size:10px;text-align:left}.favorite-shell:has(>.adversary-market-link)>.arsenal-card{padding-bottom:36px!important}.build-hero{padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:10px;gap:22px}.build-hero h2{color:var(--ink)}.build-hero img{height:120px;width:125px}.frame-build-choice,.weapon-build-choices{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.frame-build-buttons button[aria-pressed=true],.weapon-build-choices button[aria-pressed=true],.config-tabs button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.build-body{gap:20px}.build-facts,.sim-panel,.sim-aux,.frame-profile,.frame-operation,.readable-operation,.native-layout-panel,.forma-plan-box,.loadout-card,.mission-card,.saved-card,.pb-compose,.pb-card,.pb-editor,.pb-public-list{background:var(--surface)!important;color:var(--ink);border:1px solid var(--line)!important;border-radius:9px;box-shadow:none}.loadout-card small{color:var(--accent)}.upgrade-screen,.upgrade-main,.upgrade-stats,.upgrade-stats-panel,.upgrade-arcane,.upgrade-trait,.upgrade-slots{background:var(--surface);color:var(--ink);border-color:var(--line)}.upgrade-stat-row{border-color:var(--line);color:var(--muted)}.upgrade-stat-row strong{color:var(--ink)}.mod-card{background:var(--surface)!important;box-shadow:none!important;border-color:var(--line)!important;border-radius:7px}.mod-card>a{color:var(--ink)!important}.mod-card .mod-label{color:var(--ink)!important;font-size:11px}.mod-card .mod-en,.mod-card .mod-effects{color:var(--muted)!important}.mod-card .mod-top{color:#fff}.mod-card .mod-rank i.on{background:var(--accent)}.empty-card{background:var(--soft)!important;border:1px solid var(--line);border-radius:7px;color:var(--muted)}.upgrade-arcane-card,.arcane-card,.arcane-control{border-color:var(--line);background:var(--soft);color:var(--ink)}.mod-card a:focus-visible{outline-color:var(--accent)}.pb-compose input,.pb-compose textarea{background:var(--surface)}.pb-entry-list>article{background:var(--soft);border:1px solid var(--line);border-radius:8px}.pb-toolbar{gap:8px}.pb-badge{background:var(--accent-soft);color:var(--accent);border:0;border-radius:5px}.pb-compose>label{font-size:12px}.pb-grid{gap:16px}.pb-muted{color:var(--muted)}.app-draft-status{font-size:10px;color:var(--muted);margin-right:5px;white-space:nowrap}.app-new-build{background:var(--accent)!important;color:#fff!important;font-size:11px;white-space:nowrap;border-color:var(--accent)!important;padding:9px 12px}.app-new-build:hover{filter:brightness(1.05)}:root[data-theme=dark] .app-new-build{color:#171322!important}.app-state-notice{font-size:11px;color:var(--muted);padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:var(--surface);margin-bottom:18px}
#ai-question-fab{background:var(--ink)!important;border:1px solid var(--ink)!important;color:var(--surface)!important;border-radius:24px!important;box-shadow:0 5px 24px #20203516;padding:10px 17px;min-height:43px;font-size:11px}.ai-question-dialog,.arsenal-modal,dialog{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;border-radius:12px}.ai-question-dialog::backdrop,dialog::backdrop{background:var(--overlay)}.ai-question-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}#ai-question-panel textarea,.ai-question-dialog input,.ai-question-dialog textarea{background:var(--surface);color:var(--ink)}.shop-opening-notice{background:var(--surface);border-color:var(--line);color:var(--ink);left:260px;right:25px;max-width:900px}.app-theme-status{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@media(min-width:1600px){.arsenal-card>img{height:177px!important}.favorite-shell>.arsenal-card{min-height:345px}.arsenal-grid{gap:20px}}
@media(max-width:1300px){.arsenal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-topbar{padding:11px 24px}.app-breadcrumb{font-size:11px}.app-topbar .global-search{width:35%}.app-draft-status{display:none}#main-content>.view{padding:25px}}
@media(max-width:1000px){.nav-wrap{width:208px}.app-sidebar-brand{font-size:13px;padding-left:14px}.app-topbar,#main-content,body.arsenal-app>footer{margin-left:208px}.app-topbar{gap:12px}.app-breadcrumb{display:none}.app-topbar .global-search{width:100%;max-width:none;margin:0}.arsenal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-search-popover{right:20px;width:calc(100vw - 245px)}.shop-opening-notice{left:225px}}
@media(max-width:700px){.nav-wrap{width:238px;transform:translateX(-100%)}body.app-nav-open .nav-wrap{transform:none}.app-topbar,#main-content,body.arsenal-app>footer{margin-left:0}.app-topbar{min-height:60px;padding:10px 14px;gap:8px}.app-mobile-toggle{display:block;padding:4px 6px;min-height:30px;border:0;background:transparent;font-size:19px}.app-theme button{padding:4px 6px}.app-theme button span{display:none}.app-topbar .global-search{min-height:33px;padding:4px 7px}.app-topbar .global-search input{font-size:10px}.app-search-popover{top:55px;left:14px;right:14px;width:auto;max-height:75dvh}body.app-nav-open .app-drawer-backdrop{position:fixed;display:block;inset:0;z-index:109;background:var(--overlay)}#main-content>.view{padding:22px 16px}.section-head{gap:12px;align-items:flex-start}.section-head h2{font-size:23px}.section-head p{font-size:11px}.section-head .grade-pill{display:none}.app-new-build{font-size:10px;padding:8px 9px}.arsenal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px}.favorite-shell>.arsenal-card{min-height:290px}.arsenal-card>img{height:125px!important;padding:6px}.arsenal-card>div{padding:12px}.arsenal-card h3{font-size:14px;margin-top:7px}.arsenal-card p{font-size:10px}.arsenal-card p:first-of-type{font-size:9px}.arsenal-card small{font-size:9px}.arsenal-card .grade-label{font-size:8px;left:8px;top:9px;padding:2px 5px}.favorite-compact{right:8px;top:8px;min-width:26px;min-height:25px;font-size:16px}.toolbar label{min-width:100px}.toolbar input,.toolbar select{max-width:100%;width:100%;min-width:0}.toolbar{align-items:flex-end}.toolbar .grow{flex-basis:100%}.build-hero{padding:15px;gap:13px}.build-hero img{width:80px;height:100px}.build-hero h2{font-size:21px}.build-hero button{font-size:10px}.build-body{gap:15px}.shop-opening-notice{left:14px;right:14px}.pb-workspace,.pb-compose{min-width:0}.pb-grid{grid-template-columns:1fr!important}.pb-compose{padding:16px}body.arsenal-app>footer{padding:20px 16px 85px}.app-state-notice{font-size:10px}.app-sidebar-bottom{padding:12px 20px}}
/* Some existing feature modules insert their own stylesheet on first use. */
#build-detail{padding-right:0!important}.frame-anchor-nav,.detail-shortcuts.frame-anchor-nav{position:sticky!important;top:77px!important;left:auto!important;right:auto!important;width:100%!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:6px;padding:10px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:8px;z-index:4;max-height:none!important;margin:15px 0!important;box-shadow:none!important}.frame-anchor-nav button{width:auto!important;font-size:10px!important;padding:6px 9px!important}.frame-anchor-nav .frame-anchor-title{display:none!important}.frame-build-section{background:var(--surface)!important;border-color:var(--line)!important;border-radius:10px}.upgrade-workspace{grid-template-columns:160px minmax(0,1fr)120px!important;gap:16px!important;padding:18px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:8px;min-width:0}.upgrade-left,.upgrade-center,.upgrade-right{min-width:0}.upgrade-center{overflow-x:auto;padding-bottom:8px}.upgrade-top-row,.frame-normal-slots{min-width:460px}.upgrade-left,.upgrade-right,.upgrade-stat-group,.upgrade-capacity{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}.upgrade-stat-group h4,.upgrade-stat-group h3{color:var(--ink)!important}.upgrade-stat-row strong,.upgrade-stat-row span{color:var(--ink)!important}.upgrade-stat-note,.upgrade-stat-note p{color:var(--muted)!important}.upgrade-right .arcane-card{background:var(--surface)!important}.upgrade-config-title{color:var(--ink)!important}.frame-build-section .mod-card .mod-label{font-size:11px!important}.frame-build-section .mod-card .mod-art{height:85px!important}.upgrade-top-row.frame-upgrade-header{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1250px){.upgrade-workspace{grid-template-columns:145px minmax(0,1fr)!important}.upgrade-right{grid-column:1/-1;display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.upgrade-right>.arcane-card,.upgrade-right>.upgrade-arcane-slot{flex:1;min-width:120px;max-width:230px}}
@media(max-width:850px){.upgrade-workspace{display:block!important;padding:13px!important}.upgrade-left{margin-bottom:17px;max-height:270px;overflow:auto}.upgrade-right{margin-top:15px}.frame-build-section{padding:13px!important}.frame-anchor-nav{top:68px!important}.frame-anchor-nav button{font-size:9px!important}.upgrade-center{width:100%}}
.build-selection-summary,.build-requirements,.pb-community,.skill-button{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;border-radius:9px}.build-requirements li,.build-selection-summary>div,.build-selection-summary .build-summary-item{background:var(--soft)!important;border-color:var(--line)!important}.build-selection-summary h3,.build-requirements h3,.pb-community h3,.build-selection-summary strong{color:var(--ink)!important}.build-selection-summary p,.build-selection-summary dt,.build-requirements p,.pb-community p{color:var(--muted)!important}.skill-button{font-size:12px!important}
body .shop-opening-notice{position:relative!important;left:auto!important;right:auto!important;margin:14px 30px 0 268px!important;max-width:none!important;width:auto!important;border-radius:8px;min-width:0;z-index:1}
#ai-question-launcher{background:var(--ink)!important;color:var(--surface)!important;border:1px solid var(--ink)!important;border-radius:24px!important;box-shadow:0 5px 24px #20203516;font-size:11px;padding:10px 17px}
.upgrade-workspace .native-comparison-tag{font-size:9px;line-height:1.55;padding:6px;max-height:39px;overflow:auto;background:var(--soft)!important;color:var(--muted)!important;border-color:var(--line)!important}.upgrade-workspace .build-role-badge{background:var(--accent-soft)!important;color:var(--cyan)!important;border-color:var(--line)!important;font-size:10px;min-height:20px;padding:2px 7px}.mod-meta,.mod-drain-note{color:var(--muted)!important;font-size:9px!important}.mod-acquisition-button{padding:4px 7px!important;font-size:10px!important;min-height:22px}.frame-build-section [data-frame-anchor],.frame-profile,.frame-build-section{scroll-margin-top:150px!important}
.rg-count{color:var(--muted)!important}.rg-view h3{color:var(--ink)!important}.upgrade-trait-icon{color:var(--gold)!important}.mod-top>span,.mod-top>strong{background:#20252cd9;border-radius:3px;padding:1px 4px;color:#fff!important}.pb-module-add{margin:18px 0}.pb-module-add button{width:100%;border:1px dashed var(--line);background:transparent;color:var(--cyan);padding:17px}.pb-module-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pb-module-picker button{text-align:left;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.pb-module-picker strong,.pb-module-picker small{display:block}.pb-module-picker small{color:var(--muted);font-size:10px;margin-top:5px}.pb-text-module{padding:17px;border:1px solid var(--line);border-radius:8px;background:var(--surface);margin:14px 0}.pb-text-module>div{display:flex;align-items:center;justify-content:space-between}.pb-text-module textarea{width:100%;resize:vertical;background:var(--surface);color:var(--ink);font-size:12px;padding:10px}.pb-text-module label{color:var(--muted);font-size:11px}.pb-text-module button{font-size:11px;padding:5px 8px}
@media(max-width:700px){.pb-module-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pb-compose .pb-text-module{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}.pb-compose .pb-text-module h3{color:var(--ink)!important}.pb-compose .pb-text-module textarea{background:var(--surface)!important;color:var(--ink)!important}
@media(max-width:1000px){body .shop-opening-notice{margin-left:233px!important;margin-right:25px!important}}
@media(max-width:700px){body .shop-opening-notice{margin:12px 16px 0!important;font-size:10px;flex-wrap:wrap}#menu-toggle-label{display:none}}
/* Compact stock overview: price, priority and quick actions stay visible. */
.shop-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.shop-product.shop-product-compact{padding:13px;gap:0;background:var(--surface);border-color:var(--line);border-radius:9px}.shop-product-compact.shop-priority-high{border-color:var(--gold);background:var(--accent-soft)}.shop-product-compact .shop-card-flags{gap:5px;justify-content:space-between;width:100%;margin-bottom:8px}.shop-product-compact .shop-pill{font-size:9px;padding:2px 6px;max-width:75%;overflow-wrap:anywhere}.shop-proof{font-size:9px;color:var(--muted);white-space:nowrap}.shop-product-heading{display:flex;align-items:center;gap:8px;width:100%;min-height:74px}.shop-product-heading>div{min-width:0;flex:1}.shop-product-image{width:64px;height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:center;background:var(--soft);border-radius:7px;overflow:hidden}.shop-product-image img{width:100%;height:100%;object-fit:contain;padding:3px}.shop-image-fallback{display:none;text-align:center;font-size:10px;color:var(--muted)}.shop-product-image.is-missing .shop-image-fallback{display:block}.shop-product-compact h3{font-size:13px;line-height:1.5;margin:0 0 3px;word-break:keep-all;overflow-wrap:anywhere}.shop-product-compact .shop-en{font-size:9px;margin:0;line-height:1.45;color:var(--muted)}.shop-product-compact .shop-recommend{font-size:10px;margin:7px 0 3px;color:var(--gold);line-height:1.5}.shop-product-compact .shop-cost{font-size:12px;padding:0;margin:3px 0 9px;min-height:35px;line-height:1.5;color:var(--ink)}.shop-quick-actions{display:flex;gap:6px;width:100%}.shop-quick-actions button{flex:1;min-width:0;font-size:10px;padding:6px 4px;min-height:30px;white-space:nowrap}.shop-quick-actions button[aria-pressed=true]{background:var(--accent-soft);color:var(--cyan);border-color:var(--cyan)}.shop-product-details{width:100%;font-size:11px;line-height:1.7;border-top:1px solid var(--line);margin-top:10px;padding-top:8px}.shop-product-details summary{font-size:9px;cursor:pointer;color:var(--muted)}.shop-product-details p{font-size:11px;margin:8px 0}.shop-product-details button{font-size:10px;padding:5px 8px;margin:6px 0}.shop-repeat-setting{display:flex;flex-direction:column;gap:5px;margin:6px 0;font-size:10px}.shop-repeat-setting select{width:100%;font-size:10px;padding:5px}.shop-live-summaries{gap:10px;margin:10px 0}.shop-live-summaries .shop-availability{margin:0;padding:12px 15px;background:var(--surface);border-color:var(--line)}.shop-availability summary{cursor:pointer;font-size:12px;line-height:1.7}.shop-availability summary small{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.shop-availability h3{font-size:14px}.shop-availability p{font-size:11px}.shop-command-bar{margin:16px 0 12px}.shop-toolbar{padding:12px;gap:10px}.shop-toolbar input,.shop-toolbar select{font-size:12px;padding:7px}.shop-toolbar label{font-size:11px}.shop-status,.shop-result-count{font-size:11px;line-height:1.6}.shop-status{min-height:0;margin:10px 0}.shop-wish-card .shop-product-image{margin-top:12px}.shop-catalog .shop-product-image{width:48px;height:48px;flex-basis:48px}.shop-catalog article>div{min-width:0;flex:1}.shop-catalog article{padding:10px}.shop-catalog strong{font-size:12px}.shop-catalog small{font-size:10px}.shop-catalog button{font-size:10px;padding:6px}
.workspace-editor-bar{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:13px 16px;background:var(--accent-soft);border:1px solid var(--line);border-radius:9px}.workspace-editor-bar button{flex-shrink:0;font-size:12px;padding:9px 12px}.workspace-editor-bar p{color:var(--muted);font-size:11px;line-height:1.7;margin:0}.workspace-simulator{min-width:0}.workspace-simulator>.section-head{margin-bottom:20px}.workspace-simulator .sim-steps{margin-bottom:16px}#pb-capture-editor{border-color:var(--cyan);color:var(--cyan);font-weight:600}.pb-compose>.pb-entry-list{margin-top:20px}
#shops>.section-head{margin-bottom:10px;align-items:center}#shops>.section-head h2{font-size:26px;margin:4px 0 6px}#shops>.section-head p{font-size:11px;margin:0}#shops>.section-head .eyebrow{font-size:9px}.shop-product-heading{min-height:64px}.shop-product-compact .shop-cost{min-height:20px;margin-bottom:7px}.shop-product-compact .shop-recommend{margin-top:4px}.shop-product-details{margin-top:7px;padding-top:6px}.shop-command-bar{margin-top:12px}.shop-live-summaries .shop-availability{padding:9px 13px}.shop-availability summary small{margin-top:0}.shop-live-summaries{margin:8px 0}body .shop-opening-notice{padding:9px 16px}body .shop-opening-notice button{font-size:11px;padding:7px 10px;min-height:30px}
@media(min-width:1600px){.shop-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1200px){.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-product-compact .shop-card-flags{align-items:flex-start}.workspace-editor-bar{flex-direction:column;align-items:flex-start;gap:8px}}
@media(max-width:450px){.shop-product-grid{gap:9px}.shop-product.shop-product-compact{padding:10px}.shop-product-heading{display:block;min-height:117px}.shop-product-image{width:54px;height:54px;flex-basis:54px}.shop-product-heading h3{font-size:12px;margin-top:7px}.shop-product-compact .shop-en{font-size:8px}.shop-product-compact .shop-card-flags{flex-direction:column;gap:2px;min-height:34px}.shop-product-compact .shop-pill{max-width:100%}.shop-product-compact .shop-cost{font-size:11px;min-height:34px}.shop-quick-actions button{font-size:9px}.shop-product-details summary{font-size:9px}.shop-tabs{width:100%;gap:5px}.shop-tabs button{font-size:10px;padding:7px}.shop-owned-filter small{display:none}.shop-toolbar .shop-owned-filter{max-width:none}.shop-toolbar{gap:8px}.shop-toolbar>label{flex:1;min-width:100px}.shop-toolbar .shop-search-label{min-width:100%;order:-1}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.shop-extra-filters{border:0;padding:0;margin:0}.shop-extra-fields{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.shop-extra-fields>label{min-width:110px}.shop-extra-filters summary{font-size:11px;color:var(--muted);cursor:pointer}.shop-extra-fields .shop-owned-filter{font-size:10px}.shop-extra-fields select{max-width:155px}
@media(min-width:701px){.shop-extra-filters>summary{display:none}.shop-toolbar>.shop-search-label{order:0;min-width:170px}.shop-extra-filters{flex:0 1 auto}}
@media(max-width:700px){.shop-toolbar{display:block}.shop-toolbar>.shop-search-label{min-width:0;display:flex;margin-bottom:9px}.shop-extra-filters{width:100%}.shop-extra-fields{padding-top:12px}.shop-extra-fields>label{flex:1}.shop-live-summaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.shop-live-summaries .shop-availability{padding:9px}.shop-availability summary{font-size:10px}.shop-availability summary small{font-size:9px}.shop-command-bar{flex-wrap:nowrap;align-items:center;gap:7px}.shop-tabs{width:auto;flex:1}.shop-tabs button{font-size:9px;padding:7px 5px}.shop-command-bar>button{font-size:9px;padding:6px;max-width:75px;min-height:30px}.shop-opening-notice>span{display:none}.shop-opening-notice{font-size:10px!important}.shop-opening-notice strong{flex:1}.shop-opening-notice button{font-size:9px!important;white-space:nowrap}#shops>.section-head .eyebrow{display:none}#shops>.section-head h2{font-size:24px}#shops>.section-head p{font-size:10px}}

/* Creator avatar: preserve the entire transparent character, including ears. */
.app-sidebar-bottom .app-avatar{width:34px;height:34px;flex:0 0 34px;background:var(--soft);border:1px solid var(--line);border-radius:50%;padding:2px;overflow:visible}.app-avatar img{display:block;width:100%;height:100%;object-fit:contain}
/* Consistent artwork wells prevent the old 64px image / 112px frame mismatch. */
:root{--muted:#606a7b;--pb-surface:var(--surface);--pb-text:var(--ink);--pb-muted:var(--muted);--pb-line:var(--line);--pb-accent:var(--accent)}
:root[data-theme=dark]{--muted:#a4aaba}
body .upgrade-workspace .mod-card .mod-art-frame{height:112px!important;min-height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--soft)}
body .upgrade-workspace .mod-card .mod-art{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
body .upgrade-workspace .aa-component-card .mod-art-frame{height:140px!important;min-height:140px}
body .upgrade-workspace .aa-component-card .mod-art{padding:12px;box-sizing:border-box}
body .upgrade-workspace{grid-template-columns:190px minmax(0,1fr)148px!important}
body .upgrade-stat-row{gap:8px;align-items:flex-start}
body .upgrade-stat-row>span{flex:1 1 0!important;min-width:0;word-break:keep-all;overflow-wrap:break-word}
body .upgrade-stat-row>strong{flex:0 1 auto!important;max-width:55%;min-width:0;word-break:normal;overflow-wrap:break-word}
body .upgrade-stat-row>strong[data-short-number]{white-space:nowrap;overflow-wrap:normal}
.upgrade-trait>summary,.upgrade-right>h4,.upgrade-stat-group>h4{color:var(--accent)!important}
.rg-view{--rg-line:var(--line);--rg-card:var(--surface);--rg-muted:var(--muted)}
.rg-arc-head img,.arcane-art-frame{background:#17232e!important;border:1px solid #344657!important;border-radius:9px;box-sizing:border-box;padding:7px}
.rg-arc-head img{width:64px;height:64px}
/* Fit the icon inside the padded well instead of giving both boxes the same outer size. */
body .arcane-art-frame{display:grid;place-items:center;overflow:hidden}
body .arcane-art-frame>img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;min-width:0;min-height:0;margin:0;padding:0;box-sizing:border-box;object-fit:contain!important;object-position:center}
.pb-workspace section,.pb-workspace .pb-file{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
.pb-workspace section h3,.pb-workspace .pb-file{color:var(--ink)!important}
.pb-with-community>.pb-community{top:90px}
#extractors{--extractor-gold:var(--accent)}
:root[data-theme=light] #extractors [data-extractor-type=titan]{--extractor-type-color:#1663a6}
:root[data-theme=light] #extractors [data-extractor-type=titan-prime]{--extractor-type-color:#885609}
:root[data-theme=light] #extractors [data-extractor-type=distilling]{--extractor-type-color:#156a4b}
:root[data-theme=light] #extractors [data-extractor-type=distilling-prime]{--extractor-type-color:#7540a4}
#extractors h3,#extractors h4{color:var(--ink)}
#extractors .extractor-type-en,#extractors .extractor-controls label,#extractors .extractor-chip{color:var(--muted)}
:root[data-theme=light] #extractors .extractor-resource{color:#156a4b}
#extractors select{color:var(--ink);background:var(--surface)}
@media(max-width:1300px){body .upgrade-workspace{grid-template-columns:180px minmax(0,1fr)!important}body .upgrade-workspace>.upgrade-right{grid-column:1/-1}}
@media(max-width:850px){body .upgrade-workspace{display:block!important}body .upgrade-workspace .mod-card .mod-art-frame{height:104px!important;min-height:104px}body .upgrade-workspace .aa-component-card .mod-art-frame{height:140px!important;min-height:140px}}
:root[data-theme=light]{--positive:#146f5d}
:root[data-theme=light] .rg-pill,:root[data-theme=light] .rg-element h3,:root[data-theme=light] .rg-shard h3,:root[data-theme=light] .rg-stat strong{color:color-mix(in srgb,var(--tone) 40%,#111827)!important}
:root[data-theme=light] .focus-school-buttons button strong,:root[data-theme=light] .focus-school-header h3{color:color-mix(in srgb,var(--school-color) 48%,#111827)!important}
:root[data-theme=light] .damage-label{color:color-mix(in srgb,var(--damage-color,currentColor) 45%,#111827)!important}
.hosting-section-status{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=light] #starmap [style*="color:"]{color:var(--ink)!important}
:root[data-theme=light] .rg-legend [style*="color:"]{color:var(--ink)!important}
:root[data-theme=light] #starmap .map-tabs button,:root[data-theme=light] #starmap .map-detail h3{color:var(--ink)!important}
.nav-wrap .nav button[data-menu-icon]::before{content:none!important;display:none}
.nav-wrap .nav .app-nav-icon{display:block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:var(--muted);pointer-events:none}
.nav-wrap .nav button:hover .app-nav-icon{color:var(--ink)}
.nav-wrap .nav button[aria-current=page] .app-nav-icon{color:var(--accent)}
#home{max-width:1500px!important}.home-hero{padding:22px 8px 28px;max-width:920px}.home-kicker{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:10px;letter-spacing:1.3px}.home-kicker time{letter-spacing:0;font-size:11px}.home-hero h1{font-size:42px;line-height:1.24;letter-spacing:-1.7px;margin:18px 0 12px;font-weight:650;color:var(--ink)}.home-hero>p{font-size:13px;color:var(--muted);margin-bottom:23px}.home-search{max-width:700px}.home-search>label{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.home-search>div{display:flex;padding:6px;border:1px solid var(--line);background:var(--surface);border-radius:10px;box-shadow:var(--shadow)}.home-search input{border:0;min-width:0;flex:1;padding:10px 12px;background:transparent;font-size:13px}.home-search button{background:var(--accent);color:var(--surface);border:0;padding:9px 22px;font-size:12px}:root[data-theme=dark] .home-search button{color:#171322}.home-search-hints{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:11px;font-size:10px;color:var(--muted)}.home-search-hints button{font-size:10px;border:1px solid var(--line);background:var(--surface);padding:3px 8px}.home-search-results:empty{display:none}.home-search-results{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:14px;margin-top:14px;max-height:420px;overflow:auto;max-width:700px}.home-search-results button{font-size:12px;padding:7px 10px;margin:4px}.home-search-results a{display:inline-block;margin:4px;font-size:12px}.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.home-shortcuts button{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:17px;text-align:left;min-width:0;background:var(--surface)}.home-shortcuts button>span:nth-child(2){flex:1;min-width:0}.home-shortcuts strong{display:block;font-size:13px;font-weight:600}.home-shortcuts small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.home-icon{width:21px;height:21px;display:block;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.home-shortcuts button>span:last-child{color:var(--muted)}.home-week-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.home-panel{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:23px;min-width:0}.home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.home-panel-head h2{font-size:19px;letter-spacing:-.5px;margin:4px 0 0}.home-panel-head h2 small{font-size:12px;color:var(--muted)}.home-panel .home-text-link{border:0;background:none;padding:4px 0;color:var(--accent);font-size:11px;white-space:nowrap}.home-week-label{display:flex;align-items:center;gap:9px;margin-bottom:7px}.home-badge{display:inline-block;font-size:10px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:3px 8px;border-radius:5px}.home-period,.home-countdown,.home-note{font-size:11px;color:var(--muted);line-height:1.7}.home-period{margin:6px 0}.home-countdown{margin:0 0 15px}.home-picks{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-pick{border:1px solid var(--line);border-radius:8px;padding:14px;min-width:0;background:var(--soft)}.home-pick-head{display:flex;gap:10px;align-items:center}.home-pick img{width:57px;height:57px;object-fit:contain;flex:0 0 57px}.home-pick h3{margin:3px 0;font-size:15px}.home-pick small{color:var(--muted);font-size:10px}.home-pick p{font-size:11px;color:var(--muted);margin:10px 0 0}.home-week-weapons{display:flex;gap:5px;flex-wrap:wrap;margin:15px 0 6px}.home-week-weapons span{border:1px solid var(--line);border-radius:5px;padding:3px 7px;font-size:10px;color:var(--muted)}.home-week-weapons .is-pick{border-color:var(--accent);color:var(--accent)}.home-shop-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.home-shop-row:first-child{padding-top:0}.home-shop-row img{width:46px;height:46px;object-fit:contain;flex:0 0 46px}.home-shop-row>div{min-width:0;flex:1}.home-shop-row h3{font-size:12px;margin:4px 0}.home-shop-row p{font-size:10px;color:var(--muted);margin:2px 0}.home-shop-row button{font-size:10px;border:1px solid var(--line);padding:5px 9px;white-space:nowrap}.home-proof{color:var(--accent);font-size:10px}.home-shop-status{font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0}.home-alert-link{font-size:11px;border:1px solid var(--line);padding:9px 12px;width:100%;text-align:left;background:var(--soft);color:var(--ink)}.home-favorite-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-favorite-item{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:var(--surface);padding:12px;min-width:0}.home-favorite-item img{width:48px;height:55px;object-fit:contain;flex:0 0 48px}.home-favorite-item strong{font-size:12px;display:block;overflow-wrap:anywhere}.home-favorite-item small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.home-empty{border:1px dashed var(--line);border-radius:8px;padding:20px;background:var(--soft)}.home-empty strong{font-size:13px}.home-empty p{font-size:12px;color:var(--muted);margin:6px 0 12px}.home-empty button{font-size:11px;border:1px solid var(--line);padding:7px 12px}.home-storage-note{font-size:10px;color:var(--muted);margin:15px 0 0}.home-start{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:25px 5px 4px}.home-start h2{font-size:18px;margin:6px 0}.home-start p{color:var(--muted);font-size:11px;margin:4px 0}.home-start>div:last-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.home-start button{font-size:11px;padding:8px 11px;border:1px solid var(--line)}.nav-wrap .nav>.app-home-link{margin:4px 0 12px}
@media(max-width:1250px){.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-week-grid{grid-template-columns:1fr}.home-favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-start{align-items:flex-start;flex-direction:column;gap:15px}.home-start>div:last-child{justify-content:flex-start}}
@media(max-width:600px){.home-hero{padding:12px 0 22px}.home-hero h1{font-size:30px;letter-spacing:-1px}.home-hero>p{font-size:12px}.home-kicker{gap:10px;flex-wrap:wrap}.home-shortcuts{gap:8px}.home-shortcuts button{padding:12px;gap:8px}.home-shortcuts small{font-size:10px}.home-shortcuts button>span:last-child{display:none}.home-panel{padding:16px}.home-picks,.home-favorite-grid{grid-template-columns:1fr}.home-panel-head{gap:8px}.home-panel-head h2{font-size:18px}.home-search input{font-size:12px;padding:9px 6px}.home-search button{padding:9px 14px}.home-shop-row{gap:8px}.home-shop-row img{width:39px;height:39px;flex-basis:39px}.home-favorite-item img{height:45px}.home-start{padding-top:22px}}
