/* Approved visual kit: stone hall, bronze navigation, heraldic frames and pedestal. */
body[data-layout=sidebar]{--citadel-surface:url('assets/citadel-design-v115/panels/panel-bronze-surface-v1.svg');--citadel-slot:url('assets/citadel-design-v115/item-backgrounds-v2/item-pedestal-v1.svg');background:#252019 url('assets/citadel-design-v115/backgrounds/app-background-a-stone-hall-v1.png') center/cover fixed!important}
body[data-layout=sidebar] :is(.panel,.current-panel,.hh-panel,.building-inset,.current-item-dialog,.layout-footer,.smith-c-drawer){background:#1b2119 var(--citadel-surface) center/cover!important;border:1px solid #8d784a99!important;border-image:none!important;box-shadow:0 4px 20px #0004}
body[data-layout=sidebar] .layout-sidebar-background{background:#1b2119 var(--citadel-surface) center/cover!important;border:0!important;border-right:1px solid #aa8c53!important;border-image:none!important;box-shadow:4px 0 18px #0005}
body[data-layout=sidebar] .layout-navigation>button,body[data-layout=sidebar] .layout-navigation .top-actions>button{background:url('assets/citadel-design-v115/buttons/nav-bronze-normal-v1.svg') center/100% 100% no-repeat!important;border:0!important;color:#d9cbab!important;isolation:isolate}
body[data-layout=sidebar] .layout-navigation>button:hover,body[data-layout=sidebar] .layout-navigation .top-actions>button:hover{background-image:url('assets/citadel-design-v115/buttons/nav-bronze-hover-v1.svg')!important}
body[data-layout=sidebar] .layout-navigation>button.active{background-image:url('assets/citadel-design-v115/buttons/nav-bronze-active-v1.svg')!important;color:#ffe3a4!important}
body[data-layout=sidebar] .layout-navigation>button>.smith-button-skin,body[data-layout=sidebar] .layout-navigation .top-actions>button>.smith-button-skin{display:none!important}
body[data-layout=sidebar] .layout-navigation>button>.smith-button-label,body[data-layout=sidebar] .layout-navigation .top-actions>button>.smith-button-label{color:inherit!important;font-weight:normal!important;justify-content:flex-start!important;padding-left:29px!important;line-height:1.15!important}
body[data-layout=sidebar] .layout-navigation :is(.woodland-nav-icon,.painted-icon){display:none!important}
body[data-layout=sidebar] .layout-nav-hint{display:none!important}
body[data-layout=sidebar] .layout-navigation button:is([data-view],[data-action=account],[data-action=settings],[data-action=help]):before{content:'';position:absolute;left:11px;top:calc(50% - 11px);width:21px;height:22px;background:var(--nav-symbol,url('assets/citadel-design-v115/icons/nav-hero-v1.svg')) center/contain no-repeat;pointer-events:none;z-index:2}
body[data-layout=sidebar] .layout-navigation [data-view=fortress]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-fortress-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=hero]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-hero-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=expeditions]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-expeditions-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=pets]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-pets-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=shop]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-shop-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=updates]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-updates-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=bugReports]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-bug-v1.svg')}
body[data-layout=sidebar] .layout-navigation :is([data-view=admin],[data-action=admin-open]){--nav-symbol:url('assets/citadel-design-v115/icons/nav-admin-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-view=characters]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-characters-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-action=account]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-account-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-action=help]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-help-v1.svg')}
body[data-layout=sidebar] .layout-navigation [data-action=settings]{--nav-symbol:url('assets/citadel-design-v115/icons/nav-settings-v1.svg')}
body[data-layout=sidebar] :is(.current-cell,.current-gear,.approved-offer){--citadel-slot-frame:url('assets/citadel-design-v115/frames-v2/slot-heraldic-common-v1.svg');--citadel-card-frame:url('assets/citadel-design-v115/frames-v2/card-heraldic-common-v1.svg')}
body[data-layout=sidebar] :is([data-rarity='1'],[data-inspect-rarity='1']){--citadel-slot-frame:url('assets/citadel-design-v115/frames-v2/slot-heraldic-uncommon-v1.svg');--citadel-card-frame:url('assets/citadel-design-v115/frames-v2/card-heraldic-uncommon-v1.svg')}
body[data-layout=sidebar] :is([data-rarity='2'],[data-inspect-rarity='2']){--citadel-slot-frame:url('assets/citadel-design-v115/frames-v2/slot-heraldic-rare-v1.svg');--citadel-card-frame:url('assets/citadel-design-v115/frames-v2/card-heraldic-rare-v1.svg')}
body[data-layout=sidebar] :is([data-rarity='3'],[data-inspect-rarity='3']){--citadel-slot-frame:url('assets/citadel-design-v115/frames-v2/slot-heraldic-epic-v1.svg');--citadel-card-frame:url('assets/citadel-design-v115/frames-v2/card-heraldic-epic-v1.svg')}
body[data-layout=sidebar] :is([data-rarity='4'],[data-inspect-rarity='4']){--citadel-slot-frame:url('assets/citadel-design-v115/frames-v2/slot-heraldic-legendary-v1.svg');--citadel-card-frame:url('assets/citadel-design-v115/frames-v2/card-heraldic-legendary-v1.svg')}
body[data-layout=sidebar] .current-hero.smith-design :is(button.current-cell,button.current-gear){background:var(--citadel-slot) center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;padding:7px!important}
body[data-layout=sidebar] :is(.current-cell,.current-gear):before{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;background:var(--citadel-slot-frame) center/100% 100% no-repeat!important;opacity:1!important;animation:none!important}
body[data-layout=sidebar] .current-vacant:before{opacity:.4!important}
.approved-market{height:100%;min-height:0;display:flex;flex-direction:column;gap:13px;position:relative;color:#eadcbd;font-family:Georgia,serif;--muted:#b6ad96}
.approved-market-title{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;min-height:45px}.approved-market-title small{font-size:9px;letter-spacing:1.5px;color:#b59a62}.approved-market-title h1{font-size:29px;margin:4px 0 0;color:#f0dfb8}.approved-wallet{display:flex;gap:18px;padding:9px 14px;background:#141a13ba;border-block:1px solid #9d824e66}.approved-price{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#dec18c}.approved-price .icon{width:22px!important;height:22px!important;flex:none}.approved-price b{font-weight:normal}
.approved-market-panel{flex:1;min-height:0;display:flex;flex-direction:column;background:#1b2119 var(--citadel-surface) center/cover;border:1px solid #8d784a99;padding:14px 16px;box-shadow:0 5px 22px #0005;position:relative}.approved-merchants{display:flex;align-items:center;gap:6px;border-bottom:1px solid #8d784a66;padding-bottom:11px;flex:none}.approved-market .approved-merchants>button{min-height:40px;font-size:13px;padding:8px 15px}.approved-info{margin-left:auto;position:relative;color:#c3b58e;font-size:18px}.approved-info summary{cursor:pointer;list-style:none}.approved-info p{position:absolute;right:0;top:25px;width:320px;max-width:70vw;background:#20271d;border:1px solid #9f8651;padding:13px;box-shadow:0 8px 30px #000a;font-size:12px;line-height:1.7;z-index:8;color:#e2d2b0}.approved-stock-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;flex:none}.approved-stock-heading h2{font-size:21px;font-weight:normal;margin:0 0 5px}.approved-stock-note,.approved-count{font-size:10px;color:#b9ad90}.approved-market .approved-refresh{font-size:11px;min-height:34px;padding:5px 12px}.approved-filters{display:flex;gap:6px;flex-wrap:wrap}.approved-filters select{font-size:11px;min-height:29px;padding:4px 7px;background:#172018;color:#e6d8b5;border:1px solid #887449;max-width:180px}
.approved-stock{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.approved-market .offer.approved-offer{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:0;min-width:0;padding:5px;background:#101711;border:0;box-shadow:0 2px 8px #0005;text-align:left;overflow:hidden}.approved-offer:before{content:'';position:absolute;inset:0;background:var(--citadel-card-frame) center/100% 100% no-repeat;pointer-events:none;z-index:3}.approved-market .approved-inspect{display:flex;flex-direction:column;min-height:0;flex:1;min-width:0;max-width:100%;width:100%;border:0!important;background:none!important;padding:0!important;color:inherit;text-align:left;box-shadow:none!important;transform:none!important}.approved-art{display:block;position:relative;flex:1;min-height:35px;width:100%;background:var(--citadel-slot) center/100% 100% no-repeat}.approved-art>svg{display:block;width:100%!important;height:100%!important;position:absolute;inset:0;padding:13px 3px 2px}.approved-tier,.approved-level{position:absolute;top:8px;z-index:1;font-size:8px;line-height:1.1;color:var(--item-rarity);font-family:Georgia,serif}.approved-tier{left:7px}.approved-level{right:7px;color:#b4b09b}.approved-caption{display:block;flex:none;width:100%;padding:6px 6px 4px}.approved-caption>strong{display:block;height:29px;font-size:11px;line-height:1.25;color:#e8d9b8;font-weight:normal;overflow:hidden}.approved-card-stats{display:flex;align-items:center;justify-content:space-between;gap:3px;font-size:10px;color:#b9c4ab;margin-top:3px}.approved-card-stats .approved-price{font-size:11px;gap:3px}.approved-card-stats .icon{width:16px!important;height:16px!important}.approved-market .approved-buy{flex:none;width:100%;min-height:27px;height:27px;padding:3px 6px;font-size:10px;z-index:2}.approved-market .approved-buy .smith-button-label{font-size:10px}.approved-offer[data-sold=true] .approved-art{filter:grayscale(.75);opacity:.6}.approved-market-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;padding-top:9px}.approved-market-bottom>small{font-size:9px;color:#b1a78c}.approved-market-pager{display:flex;align-items:center;gap:9px;font-size:11px}.approved-market .approved-market-pager button{min-width:28px;min-height:27px;height:27px;padding:2px 6px;font-size:17px}.approved-empty{grid-column:1/-1;font-size:13px;color:#bbae90}.approved-building{font-size:11px;color:#d1bd92;flex:none}.approved-building summary{cursor:pointer;width:max-content}.approved-building[open]>.current-building-upgrade{position:absolute;bottom:30px;right:0;max-height:70vh;max-width:550px;width:min(550px,100%);overflow:auto;background:#20271c;border:1px solid #9a7f4c;padding:15px;z-index:9;box-shadow:0 6px 30px #000a}.approved-admin-link{position:absolute;right:0;bottom:0}.approved-market .approved-admin-link button{font-size:10px;min-height:25px;height:25px;padding:3px 10px}
@media(min-width:901px){body[data-layout=sidebar] #app{grid-template-rows:0 minmax(0,1fr) auto!important}body[data-layout=sidebar] .layout-topbar{height:0!important;min-height:0!important;display:block!important;border:0!important;margin:0!important;padding:0!important;background:none!important}body[data-layout=sidebar] .layout-header-context{display:none}body[data-layout=sidebar][data-view=shop] .layout-footer{display:none!important}body[data-layout=sidebar][data-view=shop] .main-content{padding:21px 10px 12px 24px!important;overflow:visible!important}body[data-layout=sidebar][data-view=shop] .view-content{height:100%!important;min-height:0!important;display:flex;flex-direction:column}.approved-market{flex:1}}
@media(min-width:901px) and (max-height:680px){.approved-market{gap:9px}.approved-market-title{min-height:37px}.approved-market-title h1{font-size:25px}.approved-market-panel{padding:10px 12px}.approved-merchants{padding-bottom:8px}.approved-market .approved-merchants>button{min-height:34px;font-size:11px;padding:5px 11px}.approved-stock-heading{padding:9px 0}.approved-stock-heading h2{font-size:18px}.approved-filters select{font-size:10px;min-height:25px}.approved-caption>strong{font-size:10px;height:26px}.approved-card-stats{font-size:9px}.approved-market .approved-buy{min-height:24px;height:24px;font-size:9px}.approved-art{min-height:25px}.approved-stock{gap:7px}.approved-market .approved-buy .smith-button-label{font-size:9px}.approved-stock-note{font-size:9px}.approved-market .approved-refresh{min-height:28px;font-size:10px}.approved-wallet{padding:7px 10px;gap:10px}.approved-price{font-size:12px}}
@media(max-width:900px){.approved-market{height:auto;min-height:0;gap:12px}.approved-market-title{flex-wrap:wrap;min-height:0}.approved-market-title h1{font-size:26px}.approved-wallet{gap:15px;padding:7px 10px}.approved-price{font-size:12px}.approved-market-panel{padding:10px}.approved-merchants{gap:3px;padding-bottom:9px}.approved-market .approved-merchants>button{font-size:11px;padding:7px 8px;min-height:36px;flex:1}.approved-info{flex:none;font-size:16px}.approved-stock-heading{align-items:start}.approved-stock-heading h2{font-size:20px}.approved-filters{gap:4px}.approved-filters select{font-size:10px;max-width:125px;min-height:30px}.approved-market .approved-refresh{font-size:10px;padding:5px 7px;min-height:33px;max-width:110px}.approved-stock{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:231px;gap:9px}.approved-art{min-height:80px}.approved-caption>strong{font-size:12px;height:30px}.approved-caption{padding:6px}.approved-tier,.approved-level{font-size:9px}.approved-card-stats{font-size:11px}.approved-market .approved-buy{min-height:32px;height:32px;font-size:11px}.approved-market .approved-buy .smith-button-label{font-size:11px}.approved-market-bottom{align-items:center}.approved-market-bottom>small{font-size:9px;max-width:60%;line-height:1.5}.approved-building[open]>.current-building-upgrade{position:relative;bottom:auto;max-height:none;max-width:none;box-shadow:none}.approved-admin-link{position:relative;right:auto;bottom:auto}.approved-market .approved-admin-link button{height:32px;min-height:32px}.approved-building{font-size:12px}.approved-info p{max-width:76vw;width:310px}.approved-count{font-size:9px}}
@media(min-width:901px){body[data-layout=sidebar][data-view=shop] .growth-screen.approved-market{height:100%!important;min-height:0!important}}
.approved-market{max-width:none;margin:0;width:100%;padding:0;line-height:1.3}
body[data-layout=sidebar] .layout-navigation [data-action=admin-open]:before{content:'';position:absolute;left:11px;top:calc(50% - 11px);width:21px;height:22px;background:url('assets/citadel-design-v115/icons/nav-admin-v1.svg') center/contain no-repeat;pointer-events:none;z-index:2}
/* Match shared legacy selector strength while retaining original action-button artwork. */
body[data-layout=sidebar] .layout-topbar .layout-navigation button :is(.woodland-nav-icon,.painted-icon,.icon){display:none!important}
body[data-layout=sidebar] .layout-topbar .layout-navigation button>.smith-button-skin{display:none!important}
body[data-layout=sidebar] .layout-topbar .layout-navigation>button.active>.smith-button-label{color:#ffe3a4!important;font-weight:normal!important}
body[data-layout=sidebar] .layout-topbar .layout-navigation .layout-language{background:url('assets/citadel-design-v115/buttons/nav-bronze-normal-v1.svg') center/100% 100% no-repeat!important}
body[data-layout=sidebar] .layout-topbar .layout-navigation .layout-language>.smith-button-skin{display:none!important}
.growth-screen.approved-market .offer.approved-offer{gap:0!important;padding:5px!important}
.growth-screen.approved-market button.approved-inspect{min-height:0!important;height:auto!important;padding:0!important;line-height:1.2!important}
.growth-screen.approved-market button.approved-buy{height:27px!important;min-height:27px!important;padding:3px 6px!important;font-size:10px!important;line-height:1.1!important;margin:0!important}
.growth-screen.approved-market .approved-caption{height:51px!important;min-height:51px!important;padding:5px 5px 3px!important;line-height:1.2}
.growth-screen.approved-market .approved-caption>strong{font-size:11px!important;line-height:1.2!important;height:27px!important;margin:0!important}
.growth-screen.approved-market .approved-card-stats{line-height:1.2!important}
.growth-screen.approved-market .approved-stock-heading h2{margin:0 0 5px!important}
.approved-info summary::after,.approved-info summary::-webkit-details-marker{display:none!important}
@media(min-width:901px) and (max-height:680px){.growth-screen.approved-market button.approved-buy{height:24px!important;min-height:24px!important;padding:2px 5px!important}.growth-screen.approved-market .approved-caption{height:46px!important;min-height:46px!important}.growth-screen.approved-market .approved-caption>strong{font-size:10px!important;height:24px!important}}
@media(max-width:900px){.growth-screen.approved-market button.approved-buy{height:32px!important;min-height:32px!important;font-size:11px!important}.growth-screen.approved-market .approved-caption{height:56px!important;min-height:56px!important}.growth-screen.approved-market .approved-caption>strong{font-size:12px!important;height:30px!important}}
.growth-screen.approved-market button.approved-inspect{gap:0!important;margin:0!important}
.growth-screen.approved-market .approved-merchants>button{min-height:39px!important;height:39px!important;padding:7px 14px!important;font-size:12px!important;margin:0!important}
.growth-screen.approved-market button.approved-refresh{min-height:32px!important;height:32px!important;padding:5px 10px!important;font-size:11px!important;margin:0!important}
.approved-building>summary{min-height:20px!important;height:20px!important;padding:0!important;font-size:11px!important;line-height:20px!important}
@media(max-width:900px){.growth-screen.approved-market .approved-merchants>button{min-height:36px!important;height:36px!important;padding:5px 8px!important;font-size:11px!important}.growth-screen.approved-market button.approved-refresh{min-height:32px!important;height:32px!important;max-width:108px;font-size:10px!important}}
