@import url('./card-identity.css');
/* A card collection in the existing burgundy / aged-brass armory.
   One bounded page of cards; browser scrolling, no virtual-focus tricks. */
#shopPanel .catalog-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#shopPanel .armory-workspace{grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr)}
#shopPanel .armory-catalog{overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:2px 4px 4px 2px;scroll-padding:4px}
#shopPanel .armory-search-row{display:flex;align-items:stretch;gap:8px;margin:0 0 10px;flex:none}
#shopPanel .armory-search{min-width:0;flex:1;display:block}
#shopPanel .armory-search input,#shopPanel .armory-refinements select,#shopPanel .armory-compact-category select{min-height:44px;width:100%;min-width:0;border:1px solid #b68c4980;border-radius:2px;padding:9px 10px;background:#1e141d;color:#f7e7c6;font:14px/1.3 system-ui,sans-serif;color-scheme:dark}
#shopPanel .armory-search input::placeholder{color:#bfaa8d}
#shopPanel input:focus-visible,#shopPanel select:focus-visible{outline:2px solid #fff0c8;outline-offset:2px}
#shopPanel .armory-search-row button{font-size:14px;padding:9px 12px}
#shopPanel .armory-compact-category{display:none}
#shopPanel .armory-refinements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none;padding:10px;margin-bottom:10px;border:1px solid #b68c4940;background:#190f18}
#shopPanel .armory-refinements label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#dec69f;min-width:0}
#shopPanel .armory-refinements>button{grid-column:1/-1;justify-self:start;font-size:14px;min-height:44px;padding:8px 12px}
#shopPanel .armory-refinements.hidden{display:none}
#shopPanel .ability-filters{flex-wrap:nowrap;overflow:auto;position:static;gap:6px;padding:2px;margin:0 0 8px;max-width:100%;background:none}
#shopPanel .ability-filters>button{flex:none;white-space:nowrap;font-size:14px;padding:8px 10px;min-height:44px}
#shopPanel .ability-filters>button span{font-size:12px}
#shopPanel .armory-results-line{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:0 2px 8px;flex:none;min-height:25px}
#shopPanel #shopResultCount{font-size:13px;color:#e1caa5}#shopPanel #shopFilterSummary{font-size:12px;color:#bdaa91}
#shopPanel .armory-scroll{overflow:visible;flex:none;min-height:0;outline-offset:2px}
#shopPanel .armory-catalog:focus-visible{outline:2px solid #fff0c8}
#shopPanel .shop-grid{overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr));padding:1px;gap:10px}
#shopPanel .shop-card{padding:12px;gap:10px;border-radius:3px;box-shadow:inset 0 3px #b68c4929}
#shopPanel .shop-card[data-selected=true]{box-shadow:inset 0 3px #e5be7d,0 0 0 1px #e5be7d33}
#shopPanel .card-kicker{display:flex;flex-wrap:wrap;gap:4px 8px;justify-content:space-between;color:#d2b98e;font-size:12px;line-height:1.25}
#shopPanel .card-kicker>span:last-child{color:#bca78b}
#shopPanel .shop-card .shop-inspect{min-height:64px;align-items:center;flex-direction:row;gap:10px;min-width:0}
#shopPanel .shop-inspect strong{font:400 21px/1.15 Georgia,serif;overflow-wrap:anywhere}
#shopPanel .shop-inspect small{font-size:12px;line-height:1.4;margin-top:6px}
#shopPanel .shop-inspect .skill-icon{width:36px;height:36px}
#shopPanel .shop-card-description{font-size:14px;line-height:1.45;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#shopPanel .card-state{font-size:13px;line-height:1.35;flex:none;color:#ccb896}
#shopPanel .card-state[data-state=owned]{color:#bdd3a7}
#shopPanel .card-state[data-state=available]{color:#f5d694}
#shopPanel .shop-card .shop-buy{min-height:44px;padding:9px;font-size:14px;line-height:1.25}
#shopPanel .shop-card .shop-buy:disabled{color:#c3ae91}
#shopPanel .companion-catalog-card{background:linear-gradient(125deg,#3a463833,#302131);border-color:#acbe8a80}
#shopPanel .armory-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 1px 2px}
#shopPanel .armory-pagination button{min-height:44px;min-width:76px;font-size:14px;padding:9px 12px}
#shopPanel .armory-pagination button[aria-disabled=true]{color:#a38e77;border-color:#9e7e442a;background:#241820;cursor:default}
#shopPanel #shopPageLabel{font-size:13px;color:#d8c09a;text-align:center}
#shopPanel .armory-empty{grid-column:1/-1;border:1px dashed #b68c4966;padding:20px;text-align:center}
#shopPanel .armory-empty strong{font-size:16px;font-weight:600;color:#f0d6a4}
#shopPanel .armory-empty p{font-size:14px;line-height:1.5;margin:10px 0}
#shopPanel .armory-empty button{font-size:14px}
#shopPanel .armory-detail-location{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 15px}
#shopPanel .armory-detail-location>span{font-size:12px;color:#d0b48a}
#shopPanel .armory-browse{display:inline-flex;font-size:14px;min-height:44px;margin:0;padding:8px 11px}
#shopPanel .armory-details>p{font-size:14px;line-height:1.55}
#shopPanel .armory-detail-title h3{font-size:28px;overflow-wrap:anywhere}
#shopPanel .card-subtitle{font-size:14px;margin:4px 0 0;color:#cdb99a}
#shopPanel .armory-traits{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 12px}
#shopPanel .armory-traits>span{font-size:12px;border:1px solid #b68c4944;border-radius:2px;padding:3px 7px;color:#e0c598}
#shopPanel .armory-facts>div{font-size:13px;line-height:1.4;padding:9px 0;gap:12px}
#shopPanel .armory-details>.armory-eligibility{font-size:14px;line-height:1.5}
#shopPanel #shopDetailAction{font-size:14px;min-height:46px}
#shopPanel .armory-details>.armory-price-note{font-size:12px;color:#c6b295;line-height:1.5}
@media(max-height:600px) and (orientation:landscape){
 #shopPanel .armory-workspace{grid-template-columns:minmax(0,1.7fr) minmax(205px,1fr);gap:12px;padding:6px 12px}
 #shopPanel .armory-search-row{gap:6px;margin-bottom:7px}
 #shopPanel .armory-compact-category{display:block;width:110px;flex:none}
 #shopPanel .ability-filters{display:none}
 #shopPanel .armory-search input{font-size:14px;padding-inline:8px}
 #shopPanel .armory-search-row button{padding-inline:8px}
 #shopPanel .shop-grid{gap:8px}
 #shopPanel .shop-card{padding:10px;gap:8px}
 #shopPanel .shop-inspect strong{font-size:20px}
 #shopPanel .shop-inspect .skill-icon{width:30px;height:30px}
 #shopPanel .armory-detail-title{margin-bottom:10px;gap:9px}
 #shopPanel .armory-detail-title h3{font-size:25px}
 #shopPanel .armory-detail-location{margin-bottom:10px}
 #shopPanel .armory-facts{margin:12px 0}
 #shopPanel .armory-refinements{grid-template-columns:1fr}
 #shopPanel .armory-refinements label{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;font-size:12px}
}
@media(max-width:780px) and (orientation:landscape){#shopPanel .shop-grid{grid-template-columns:minmax(0,1fr)}#shopPanel .armory-compact-category{width:92px}#shopPanel .armory-search input{font-size:13px}}
@media(max-width:620px) and (orientation:portrait){
 #shopPanel .armory-workspace{display:flex;flex-direction:column;overflow:auto;padding:12px;gap:18px;scroll-padding:12px}
 #shopPanel .armory-catalog{overflow:visible;flex:none;padding:2px}
 #shopPanel .armory-details{overflow:visible;flex:none;padding:16px 2px 2px;scroll-margin-top:12px}
 #shopPanel .armory-refinements{grid-template-columns:1fr}
 #shopPanel .armory-refinements label{display:grid;grid-template-columns:85px minmax(0,1fr);align-items:center}
 #shopPanel .shop-card{padding:11px;gap:8px}
 #shopPanel .shop-card .shop-inspect{flex-direction:column;align-items:start;min-height:100px;gap:8px}
 #shopPanel .shop-inspect strong{font-size:20px}
 #shopPanel .shop-card-description{font-size:14px;-webkit-line-clamp:3}
 #shopPanel .shop-card .shop-buy{font-size:14px;min-height:48px;padding:8px}
 #shopPanel .card-kicker{min-height:32px}
 #shopPanel .menu-footer>button{width:auto;font-size:13px;min-height:44px}
}
@media(max-width:360px) and (orientation:portrait){#shopPanel .shop-grid{grid-template-columns:minmax(0,1fr)}#shopPanel .shop-card .shop-inspect{flex-direction:row;min-height:64px;align-items:center}}
@media(forced-colors:active){#shopPanel .shop-card[data-selected=true]{outline:2px solid Highlight}#shopPanel .card-state{color:CanvasText}}

/* V36: a storefront, collection and card workspace, with one bounded catalog. */
#shopPanel .armory-workspace{display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden;min-height:0}
#shopPanel .armory-mode-nav{display:flex;gap:6px;flex:none;border-bottom:1px solid #b68c4948;padding:7px 18px;background:#1c121b70;overflow:auto}
#shopPanel .armory-mode-nav>button{font-size:14px;min-height:44px;white-space:nowrap;padding:8px 13px;border-color:transparent;background:transparent}
#shopPanel .armory-mode-nav>button[aria-pressed=true]{border-color:#d4ae6c;background:#70404b55;color:#ffe8b3}
#shopPanel #shopCompareOpen{margin-left:auto;border-color:#b68c4955}
#shopPanel #shopCompareOpen[aria-disabled=true]{color:#aa9780}
#shopPanel #shopCompareCount{padding:3px 6px;border:1px solid #b68c4944;font-size:12px}
#shopPanel .armory-stage{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;overflow:hidden;position:relative}
#shopPanel .armory-stage.detail-open{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)}
#shopPanel .armory-browser{display:grid;grid-template-columns:170px minmax(0,1fr);min-height:0;min-width:0;overflow:hidden}
#shopPanel .armory-departments{border-right:1px solid #b68c4944;padding:18px 12px;overflow:auto;min-height:0}
#shopPanel .armory-rail-heading{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#c6ae85;margin:0 6px 10px}
#shopPanel #shopDepartmentRail{display:grid;gap:5px}
#shopPanel #shopDepartmentRail>button{justify-content:space-between;text-align:left;font-size:14px;min-height:48px;padding:9px;border-color:transparent;background:transparent}
#shopPanel #shopDepartmentRail>button[aria-pressed=true]{background:#62324670;border-color:#b68c4977;color:#f7ddb0}
#shopPanel #shopDepartmentRail span{font-size:12px;color:#c7b394}
#shopPanel .armory-department-hint{font-size:12px;line-height:1.5;padding:14px 6px;color:#bca587}
#shopPanel .armory-subtypes{display:grid;gap:4px;padding-top:12px;border-top:1px solid #b68c4933}
#shopPanel .armory-subtypes button{justify-content:start;padding:9px;font-size:13px;background:transparent;border-color:transparent}
#shopPanel .armory-subtypes button[aria-pressed=true]{color:#ffdfa0;border-color:#b68c4955}
#shopPanel .armory-catalog{padding:18px;min-height:0;overflow:auto;scroll-padding:12px}
#shopPanel .armory-browser-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
#shopPanel .armory-browser-heading h3{font-size:27px}
#shopPanel .armory-browser-heading>button{padding:8px;font-size:13px;background:transparent}
#shopPanel .armory-compact-category{display:none}
#shopPanel .shop-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:13px}
#shopPanel .shop-card{gap:11px;padding:14px}
#shopPanel .shop-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:auto}
#shopPanel .shop-card .shop-compare-card{font-size:13px;min-height:44px;margin:0;padding:7px;background:transparent;border-color:#b68c4944;color:#d7bd90}
#shopPanel .shop-card .shop-compare-card[aria-pressed=true]{color:#fbe8b8;border-color:#e0b776;background:#643342}
#shopPanel .shop-card-description{min-height:41px}
#shopPanel .armory-pinned-tray{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
#shopPanel .armory-pinned-tray:empty{display:none}
#shopPanel .armory-pinned-tray>button{font-size:12px;min-height:44px;padding:7px 10px;gap:10px;background:#4c2e3d;border-color:#b68c4966}
#shopPanel .armory-pinned-tray span{font-size:18px}
#shopPanel .armory-refinements{grid-template-columns:repeat(2,minmax(0,1fr))}
#shopPanel .armory-refinements label.hidden{display:none}
#shopPanel .armory-details{padding:14px 18px;border-left:1px solid #b68c4966;overflow:auto;min-width:0;min-height:0;scroll-padding:12px;background:linear-gradient(135deg,#442737d9,#241922);box-shadow:inset 3px 0 #e7c6860a}
#shopPanel .armory-detail-nav{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}
#shopPanel .armory-detail-nav>button{font-size:13px;padding:8px 10px;min-height:44px}
#shopPanel .armory-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding-bottom:10px;margin-bottom:15px;border-bottom:1px solid #b68c4944}
#shopPanel .armory-detail-tabs>button{font-size:13px;padding:7px 5px;min-height:44px;background:transparent;border-color:transparent}
#shopPanel .armory-detail-tabs>button[aria-pressed=true]{border-color:#c19958;background:#552c3c;color:#f5dba4}
#shopPanel #shopDetails>p{font-size:14px;line-height:1.55}
#shopPanel #shopDetails>.armory-eligibility{margin-bottom:12px;color:#e4c795}
#shopPanel #shopDetails .card-description-full{margin-top:16px}
#shopPanel #shopDetails .armory-price-note{font-size:12px;line-height:1.6;color:#c3ad8b;margin:15px 0}
#shopPanel .armory-detail-location{gap:7px;margin-bottom:10px}
#shopPanel .armory-browse{font-size:12px;padding:6px 8px;min-height:44px}
#shopPanel h4{font:400 21px/1.25 Georgia,serif;color:#f4ddae;margin:0 0 10px}
#shopPanel .armory-tactics{padding:16px 0;border-top:1px solid #b68c4944}
#shopPanel .armory-tactics ul,#shopPanel .armory-stat-notes{padding-left:19px;margin:0;display:grid;gap:10px;font-size:14px;color:#cdbb9f;line-height:1.6}
#shopPanel .armory-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:20px 0 8px}
#shopPanel .armory-section-title>span{font-size:12px;color:#c9b18b}
#shopPanel .armory-rank-preview>p,#shopPanel .armory-equip>p{font-size:14px;line-height:1.6;margin-bottom:12px}
#shopPanel .armory-preview-select,#shopPanel .armory-compare-rank{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#e6cd9e;margin:14px 0 8px}
#shopPanel .armory-preview-select select,#shopPanel .armory-compare-rank select{min-height:44px;font-size:14px;background:#211620;color:#f6dfae;border:1px solid #b68c4977;border-radius:2px;padding:8px;max-width:60%;min-width:0;color-scheme:dark}
#shopPanel .armory-preview-note{font-size:12px!important;color:#c1aa89!important;margin-bottom:15px!important}
#shopPanel .armory-stat-table,#shopPanel .armory-comparison-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.4;color:#e8d3af}
#shopPanel .armory-stat-table th,#shopPanel .armory-stat-table td,#shopPanel .armory-comparison-table th,#shopPanel .armory-comparison-table td{padding:10px 7px;text-align:left;vertical-align:top;border-bottom:1px solid #b68c4944;overflow-wrap:anywhere;font-weight:400}
#shopPanel .armory-stat-table thead th,#shopPanel .armory-comparison-table thead th{color:#ffe3a7;border-bottom-color:#c2955666;font-weight:650}
#shopPanel .armory-stat-table th:first-child{width:40%}
#shopPanel .armory-stat-table small,#shopPanel .armory-comparison-table small{display:block;font-size:12px;color:#bba486;line-height:1.4;margin-top:4px;font-weight:400}
#shopPanel .armory-stat-table .stat-delta{color:#e1c189}
#shopPanel .armory-stat-notes{margin-top:17px;font-size:12px}
#shopPanel .armory-equip-pages{display:flex;gap:6px;margin:12px 0}
#shopPanel .armory-equip-pages>button{flex:1;min-height:44px;font-size:14px;padding:8px}
#shopPanel .armory-equip-pages>button[aria-pressed=true]{border-color:#e5bd77;background:#68374a}
#shopPanel .armory-quick-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
#shopPanel .armory-quick-slots>button{display:flex;flex-direction:column;gap:5px;min-height:93px;min-width:0;padding:6px 3px;position:relative;border-color:#b68c4955;background:#251922}
#shopPanel .armory-quick-slots>button[aria-pressed=true]{border-color:#f3cd86;background:#744050}
#shopPanel .armory-quick-slots b{font-size:12px;line-height:1;color:#f0cb88;align-self:start}
#shopPanel .armory-quick-slots .skill-icon{width:24px;height:24px;display:block}
#shopPanel .armory-quick-slots small{font-size:10px;line-height:1.25;color:#d3bf9e;overflow-wrap:anywhere}
#shopPanel .armory-equip-review{padding:12px;margin:13px 0;background:#1c131d;border:1px solid #b68c4955}
#shopPanel .armory-equip-review p{font-size:14px;line-height:1.5;margin-bottom:10px}
#shopPanel .armory-equip-review>div{display:flex;flex-wrap:wrap;gap:6px}
#shopPanel .armory-equip-review button{font-size:13px;min-height:44px;padding:8px 11px}
#shopPanel #shopEquipConfirm:not(:disabled){background:#dfbc80;color:#261b15;border-color:#edce93}
#shopPanel #shopOpenFullLoadout{font-size:13px;min-height:44px;width:100%;margin:4px 0 10px}
#shopPanel .armory-autocast{display:flex;align-items:center;gap:10px;font-size:14px;color:#e4cfae;padding:12px 0;min-height:44px}
#shopPanel .armory-autocast input{width:22px;height:22px;accent-color:#cca05e;flex:none}
#shopPanel .armory-autocast small{font-size:12px;display:block;line-height:1.5;margin-top:4px;color:#bda98c}
#shopPanel .armory-discover{overflow:auto;padding:24px;min-height:0;min-width:0}
#shopPanel .armory-discover-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
#shopPanel .armory-discover-heading h3{font-size:34px;margin-bottom:8px}
#shopPanel .armory-discover-heading p{font-size:15px;max-width:500px}
#shopPanel .armory-discover-heading button{font-size:14px;flex:none;min-height:44px}
#shopPanel .armory-department-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#shopPanel .armory-department-card{display:flex;flex-direction:column;align-items:start;justify-content:start;text-align:left;gap:12px;padding:20px;background:linear-gradient(130deg,#5a2e416b,#1d1620);border:1px solid #b68c4966;min-width:0;min-height:220px;box-shadow:inset 0 3px #b68c4933}
#shopPanel .armory-department-card:hover{border-color:#e2b877;background:#5b3040}
#shopPanel .armory-department-card>strong{font:400 27px/1.15 Georgia,serif;color:#f6dfb3}
#shopPanel .armory-department-card>span:not(.department-art){font-size:14px;line-height:1.5;font-weight:400;color:#cbb697}
#shopPanel .armory-department-card>small{font-size:12px;color:#e5c58c}
#shopPanel .armory-department-card>b{font-size:12px;font-weight:500;color:#d7be95;margin-top:auto}
#shopPanel .department-art{display:flex;gap:8px;align-items:center;min-height:45px;color:#e7bf77}
#shopPanel .department-art .skill-icon{display:block;width:36px;height:36px;line-height:0}
#shopPanel .department-art .skill-icon:first-child{width:48px;height:48px}
#shopPanel .armory-discovery-shelves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px;padding-top:22px;border-top:1px solid #b68c4944}
#shopPanel .armory-discovery-shelves p{font-size:14px;line-height:1.6;margin-bottom:13px}
#shopPanel .armory-discovery-shelves button{min-height:44px;font-size:13px;padding:8px 11px}
#shopPanel .armory-role-jumps{display:flex;flex-wrap:wrap;gap:6px}
#shopPanel .armory-compare{overflow:auto;padding:22px;min-height:0;min-width:0;grid-column:1/-1}
#shopPanel .armory-comparison-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
#shopPanel .armory-comparison-heading h3{font-size:32px}
#shopPanel .armory-comparison-heading>button{font-size:14px;min-height:44px}
#shopPanel .armory-compare-rank{max-width:550px}
#shopPanel .armory-comparison-table{font-size:14px;table-layout:fixed;margin-top:18px}
#shopPanel .armory-comparison-table th:first-child{width:27%}
#shopPanel .armory-comparison-table thead .skill-icon{display:block;width:40px;height:40px;margin-bottom:9px}
#shopPanel .armory-comparison-table strong{display:block;font:400 25px/1.2 Georgia,serif}
#shopPanel .armory-comparison-table button{font-size:13px;min-height:44px;padding:8px 10px;margin-top:10px}
#shopPanel .armory-comparison-table ul{padding-left:18px;margin:0;line-height:1.5}
#shopPanel .armory-comparison-table li+li{margin-top:8px}
#shopPanel .armory-comparison-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}
#shopPanel .armory-comparison-notes ul{padding-left:18px;font-size:13px;color:#c6b191;line-height:1.6}
#shopPanel .armory-comparison-notes button{font-size:13px;min-height:44px}
@media(max-width:1100px){
 #shopPanel .detail-open .armory-browser{grid-template-columns:minmax(0,1fr)}
 #shopPanel .detail-open .armory-departments{display:none}
 #shopPanel .detail-open .armory-compact-category{display:block;width:120px}
 #shopPanel .detail-open .shop-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
}
@media(max-height:600px) and (orientation:landscape){
 /* Keep balance and feedback in the title row, reserving the height for cards. */
 #shopPanel>.panel-head{height:48px;min-height:48px;padding:0 12px}
 #shopPanel .armory-summary{position:absolute;left:150px;right:140px;top:0;height:48px;padding:3px 6px;gap:8px;border:0;background:none;flex-wrap:nowrap;overflow:hidden;pointer-events:none}
 #shopPanel .armory-summary .resource-pill{font-size:12px;padding:5px 7px;white-space:nowrap;flex:none}
 #shopPanel #shopOwnedCount{display:none}
 #shopPanel #shopStatus{margin:0;min-width:0;font-size:11px;line-height:14px;max-height:28px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #shopPanel .menu-footer{height:48px;min-height:48px;padding:1px 12px;gap:8px}
 #shopPanel .menu-footer>button{min-height:44px}
 #shopPanel .armory-mode-nav{padding:0 10px;gap:3px}
 #shopPanel .armory-mode-nav>button{font-size:13px;padding:7px 10px}
 #shopPanel .armory-browser{grid-template-columns:minmax(0,1fr)}
 #shopPanel .armory-departments{display:none}
 #shopPanel .armory-compact-category,#shopPanel .detail-open .armory-compact-category{display:block;width:115px}
 #shopPanel .armory-catalog{padding:10px 12px}
 #shopPanel .armory-browser-heading{display:none}
 #shopPanel .armory-stage.detail-open{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}
 #shopPanel .armory-details{padding:10px 12px}
 #shopPanel .armory-discover{padding:15px}
 #shopPanel .armory-discover-heading{margin-bottom:8px}
 #shopPanel .armory-discover-heading h3{font-size:23px}
 #shopPanel .armory-discover-heading p{display:none}
 #shopPanel .armory-department-card{min-height:170px;padding:14px;gap:8px}
 #shopPanel .armory-department-card>strong{font-size:24px}
 #shopPanel .armory-discovery-shelves{margin-top:18px;padding-top:17px;gap:15px}
 #shopPanel .armory-refinements{grid-template-columns:1fr}
 #shopPanel .armory-compare{padding:15px}
}
@media(max-width:780px){
 #shopPanel .armory-browser{grid-template-columns:minmax(0,1fr)}
 #shopPanel .armory-departments{display:none}
 #shopPanel .armory-compact-category,#shopPanel .detail-open .armory-compact-category{display:block;width:115px}
 #shopPanel .armory-stage.detail-open{grid-template-columns:minmax(0,1fr)}
 #shopPanel .detail-open #shopBrowseView{display:none}
 #shopPanel .armory-details{border-left:0;padding:14px 18px}
 #shopPanel .armory-quick-slots{grid-template-columns:repeat(5,minmax(0,1fr))}
 #shopPanel .armory-comparison-table{font-size:13px}
}
@media(max-width:620px) and (orientation:portrait){
 #shopPanel .armory-workspace{display:flex;padding:0;gap:0;overflow:hidden}
 #shopPanel .armory-mode-nav{padding:5px 8px;gap:2px}
 #shopPanel .armory-mode-nav>button{font-size:12px;padding:7px 9px;min-width:0}
 #shopPanel #shopCompareOpen{gap:5px}
 #shopPanel #shopCompareCount{font-size:11px;padding:2px 3px}
 #shopPanel .armory-catalog{overflow:auto;min-height:0;flex:1;padding:13px}
 #shopPanel .armory-browser-heading{margin-bottom:11px}
 #shopPanel .armory-browser-heading h3{font-size:25px}
 #shopPanel .armory-search-row{flex-wrap:wrap;gap:6px}
 #shopPanel .armory-search{flex:1 1 100%}
 #shopPanel .armory-compact-category{flex:1;width:auto}
 #shopPanel .armory-search-row #shopFilterToggle{flex:1}
 #shopPanel .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #shopPanel .shop-card{padding:11px;gap:9px}
 #shopPanel .shop-card-actions{gap:5px}
 #shopPanel .shop-card .shop-buy{font-size:13px}
 #shopPanel .armory-details{overflow:auto;flex:1;min-height:0;padding:14px}
 #shopPanel .armory-discover{padding:16px}
 #shopPanel .armory-discover-heading{display:block;margin-bottom:17px}
 #shopPanel .armory-discover-heading h3{font-size:30px}
 #shopPanel .armory-discover-heading p{font-size:14px}
 #shopPanel .armory-discover-heading button{margin-top:13px;width:100%}
 #shopPanel .armory-department-cards{grid-template-columns:1fr;gap:12px}
 #shopPanel .armory-department-card{min-height:0;padding:17px;gap:9px;display:grid;grid-template-columns:1fr 80px}
 #shopPanel .armory-department-card .department-art{grid-column:2;grid-row:1/4;flex-wrap:wrap;justify-content:center;gap:0;align-self:center}
 #shopPanel .armory-department-card>strong,#shopPanel .armory-department-card>span:not(.department-art),#shopPanel .armory-department-card>small{grid-column:1}
 #shopPanel .armory-department-card>b{grid-column:1/-1;padding-top:8px;border-top:1px solid #b68c4933;width:100%}
 #shopPanel .armory-discovery-shelves{grid-template-columns:1fr;gap:20px}
 #shopPanel .armory-compare{padding:13px}
 #shopPanel .armory-comparison-heading{align-items:start}
 #shopPanel .armory-comparison-heading h3{font-size:27px}
 #shopPanel .armory-comparison-heading button{font-size:12px;padding:7px 9px}
 #shopPanel .armory-comparison-table th,#shopPanel .armory-comparison-table td{padding:9px 5px;font-size:12px}
 #shopPanel .armory-comparison-table thead strong{font-size:19px}
 #shopPanel .armory-comparison-table thead button{font-size:12px;padding:6px}
 #shopPanel .armory-comparison-table th:first-child{width:29%}
 #shopPanel .armory-comparison-notes{grid-template-columns:1fr;gap:18px}
}
@media(max-width:360px) and (orientation:portrait){#shopPanel .shop-grid{grid-template-columns:minmax(0,1fr)}#shopPanel .armory-mode-nav>button{font-size:11px;padding:7px}#shopPanel .shop-card .shop-inspect{flex-direction:row;min-height:64px}}
#shopPanel .armory-detail-mode-compact{display:none;min-width:0;flex:1}
#shopPanel .armory-detail-mode-compact select{width:100%;min-width:0;min-height:44px;font-size:13px;background:#241722;color:#f5dcac;border:1px solid #b68c4977;padding:6px;color-scheme:dark}
@media(max-height:600px) and (orientation:landscape){
 #shopPanel .armory-detail-mode-compact{display:block}
 #shopPanel .armory-detail-tabs{display:none}
 #shopPanel .armory-detail-nav{gap:5px;margin-bottom:11px}
 #shopPanel .armory-detail-nav>button{max-width:88px;min-width:44px;padding:6px;font-size:12px}
 #shopPanel .armory-detail-location.on-page{display:none}
}

/* Market expansion: bounded cart, editorial plans and distinct card identities. */
#shopPanel .armory-mode-nav>button{flex:none}
#shopPanel #shopCompareOpen{margin-left:0}
#shopPanel #shopCartOpen{margin-left:auto;border-color:#b68c4966}
#shopPanel #shopCartCount,#shopPanel #shopWishlistCount{display:inline-block;min-width:18px;margin-left:5px;color:#ffe1a5;font-size:12px}
#shopPanel .shop-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:15px}
#shopPanel .shop-card{padding:0;gap:0;overflow:hidden;background:linear-gradient(145deg,#3f2634,#1e1820);border-color:#ad865955;box-shadow:0 5px 10px #0002,inset 0 3px var(--card-accent)}
#shopPanel .shop-card[data-selected=true]{outline:2px solid var(--card-accent);outline-offset:-2px;box-shadow:0 6px 18px #0004}
#shopPanel .shop-card .card-kicker{padding:11px 12px 0;min-height:0;align-items:center;font-size:11px;letter-spacing:.035em;text-transform:uppercase;color:var(--card-accent)}
#shopPanel .shop-card .card-kicker>span:last-child{color:#f0d4a0;white-space:nowrap;font-weight:650}
#shopPanel .shop-card .shop-inspect{display:flex;flex-direction:column;padding:0;gap:0;border:0;background:transparent;min-height:0;width:100%;text-align:center}
#shopPanel .card-art-stage{display:flex;align-items:center;justify-content:center;width:100%;height:108px;margin:0;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 60%,var(--card-wash),transparent 72%);overflow:hidden}
#shopPanel .card-art-stage:before,#shopPanel .card-art-stage:after{content:'';position:absolute;z-index:-1;inset:18px 18%;border:1px solid var(--card-accent);opacity:.25;transform:rotate(45deg)}
#shopPanel .card-art-stage:after{inset:25px 23%;opacity:.14;transform:rotate(-45deg)}
#shopPanel [data-card-type="army"] .card-art-stage:before{transform:none;border-radius:40% 40% 45% 45%}
#shopPanel [data-card-type="companions"] .card-art-stage:before{transform:rotate(30deg);border-width:2px}
#shopPanel .shop-inspect .card-medallion{width:72px;height:72px;position:relative;z-index:1}
#shopPanel .shop-card .card-name{padding:1px 12px 12px;width:100%;box-sizing:border-box}
#shopPanel .shop-card .card-name strong{font:400 25px/1.1 Georgia,serif;display:block;color:#f7e4ba}
#shopPanel .shop-card .card-name small{display:block;font-size:11px;color:var(--card-accent);font-weight:500;line-height:1.4}
#shopPanel .card-quick-facts{display:grid;grid-template-columns:1fr 1fr;margin:0 12px;padding:9px 0;border-block:1px solid #bd965637;gap:8px}
#shopPanel .card-quick-facts>div{display:flex;flex-direction:column;gap:3px;text-align:center}
#shopPanel .card-quick-facts>div+div{border-left:1px solid #bd965637}
#shopPanel .card-quick-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#b8a58a}
#shopPanel .card-quick-facts dd{font-size:13px;color:#e9d7b5;margin:0;font-weight:600}
#shopPanel .shop-card .shop-card-description{padding:10px 12px 0;margin:0;line-height:1.45;font-size:12px;min-height:35px}
#shopPanel .shop-card .card-state{padding:9px 12px;font-size:11px;margin:0;min-height:16px}
#shopPanel .shop-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:auto;padding:0 10px 10px}
#shopPanel .shop-card-actions>button{font-size:12px;min-height:44px;margin:0;padding:6px;line-height:1.25}
#shopPanel .shop-card .shop-buy,#shopPanel .shop-card .shop-cart-card{grid-column:1/-1}
#shopPanel .shop-card .shop-cart-card{background:#201820;border-color:#bb955853;color:#e8c99a}
#shopPanel .shop-card .shop-cart-card[aria-pressed=true],#shopPanel .shop-card .shop-save-card[aria-pressed=true]{background:#634137;border-color:#d9bb7e;color:#ffedc9}
#shopPanel .shop-card .shop-save-card{background:transparent;border-color:#b68c4944;color:#d7bd90}
#shopPanel .market-detail-title{border:1px solid #bb965644;background:linear-gradient(110deg,var(--card-wash),transparent);padding:15px;gap:17px}
#shopPanel .market-detail-title .card-medallion{width:72px;height:72px}
#shopPanel .market-detail-title .eyebrow{color:var(--card-accent)}
#shopPanel .market-detail-actions{display:flex;flex-wrap:wrap;gap:6px}
#shopPanel .market-detail-actions>button{font-size:12px;min-height:44px;flex:1 1 45%;padding:9px}
#shopPanel .market-detail-actions>#shopDetailAction{flex-basis:100%}
#shopPanel .market-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:25px}
#shopPanel .market-overview>button{display:flex;align-items:center;justify-content:start;gap:14px;text-align:left;padding:13px 17px;background:#231923;border-color:#b68c4944}
#shopPanel .market-overview b{font:400 32px Georgia,serif;color:#e8c48b}
#shopPanel .market-overview span{font-size:14px;color:#efd6ad}
#shopPanel .market-overview small{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#b9a489}
#shopPanel .market-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:15px}
#shopPanel .market-section-heading h4{font-size:28px;margin:4px 0 0}
#shopPanel .market-section-heading>p{font-size:12px;color:#baa789;text-align:right;max-width:240px}
#shopPanel .market-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
#shopPanel .market-plan-card{background:linear-gradient(150deg,var(--card-wash),#221923 62%);border:1px solid #bd985a66;border-top:2px solid var(--card-accent);padding:16px;display:flex;flex-direction:column;gap:9px;min-width:0}
#shopPanel .market-plan-art{display:flex;justify-content:center;align-items:center;min-height:78px;gap:0;margin:1px 0 8px}
#shopPanel .market-plan-art .card-medallion{width:55px;height:55px;position:relative}
#shopPanel .market-plan-art .card-medallion:nth-child(2){width:68px;height:68px;z-index:1;margin-inline:-6px}
#shopPanel .market-plan-card>.eyebrow{font-size:9px;letter-spacing:.12em;color:var(--card-accent)}
#shopPanel .market-plan-card h4{font-size:25px;margin:0}
#shopPanel .market-plan-card p{font-size:13px;line-height:1.5;color:#cebea2}
#shopPanel .market-plan-card small{font-size:11px;color:#e2c595;margin-top:auto;padding-top:5px}
#shopPanel .market-plan-card>button{font-size:13px;min-height:44px;padding:8px;margin-top:3px;background:#34222d;border-color:#b78f5377}
#shopPanel .market-budget-section,#shopPanel .market-department-section{margin-top:28px;padding-top:25px;border-top:1px solid #b68c493c}
#shopPanel .market-budget-section>p{font-size:12px;color:#bda98c;margin-bottom:13px;line-height:1.5}
#shopPanel #shopBudgetForm{display:flex;align-items:end;gap:8px;max-width:310px}
#shopPanel #shopBudgetForm label{font-size:11px;color:#d9bd92;display:flex;flex-direction:column;gap:4px;min-width:0}
#shopPanel #shopBudgetForm input{width:130px;max-width:100%;box-sizing:border-box;min-height:44px;border:1px solid #b68c4977;background:#1e1620;color:#f3dcb4;font-size:15px;padding:8px}
#shopPanel #shopBudgetForm button{font-size:12px;min-height:44px;white-space:nowrap;padding:8px 10px}
#shopPanel .market-pick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#shopPanel .market-mini-card{border:1px solid #b68c4955;background:linear-gradient(135deg,var(--card-wash),#241923 60%);display:flex;flex-direction:column;min-width:0}
#shopPanel .market-mini-inspect{display:flex;align-items:center;justify-content:start;gap:12px;border:0;background:transparent;padding:13px;text-align:left;min-width:0}
#shopPanel .market-mini-inspect .card-medallion{width:48px;height:48px}
#shopPanel .market-mini-inspect>span:last-child{min-width:0}
#shopPanel .market-mini-inspect small{display:block;font-size:9px;color:var(--card-accent);letter-spacing:.05em;text-transform:uppercase}
#shopPanel .market-mini-inspect strong{font:400 20px/1.15 Georgia,serif;color:#f5dfb5;display:block;margin:4px 0;overflow-wrap:anywhere}
#shopPanel .market-mini-inspect b{font-size:11px;font-weight:500;color:#d0b891}
#shopPanel .market-mini-action{font-size:12px;min-height:44px;padding:8px;border:0;border-top:1px solid #b68c4944;background:#21161e99;margin-top:auto}
#shopPanel .market-empty-note{grid-column:1/-1;padding:20px;border:1px dashed #b68c4977;font-size:14px;line-height:1.6}
#shopPanel .market-department-section .armory-department-card{min-height:155px;padding:17px;gap:8px}
#shopPanel .market-lower-shelves{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:22px;margin-top:28px;padding-top:25px;border-top:1px solid #b68c493c}
#shopPanel .market-lower-shelves p{font-size:13px;line-height:1.5;margin:9px 0;color:#c8b697}
#shopPanel .market-lower-shelves button{font-size:12px;min-height:44px;padding:8px 10px}
#shopPanel .market-session-note{font-size:11px!important;line-height:1.5;color:#b39d80!important;padding-top:18px;margin-top:15px;border-top:1px solid #b68c492b}
#shopPanel .armory-plan-view,#shopPanel .armory-cart-view{overflow:auto;min-height:0;min-width:0;padding:24px;grid-column:1/-1}
#shopPanel .market-page-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px}
#shopPanel .market-page-heading h3{font-size:34px;margin:5px 0 9px}
#shopPanel .market-page-heading h3>span{color:#cfb28a;font-size:23px}
#shopPanel .market-page-heading p{font-size:14px;line-height:1.5;max-width:620px;color:#cfba99}
#shopPanel .market-page-heading>button{font-size:13px;min-height:44px;white-space:nowrap;flex:none;padding:9px 13px}
#shopPanel .market-plan-layout,#shopPanel .market-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;align-items:start;gap:23px}
#shopPanel .market-plan-explanation{background:linear-gradient(135deg,var(--card-wash),#251a24 65%);border-left:3px solid var(--card-accent);padding:21px;margin-bottom:20px}
#shopPanel .market-plan-explanation h4{font-size:21px;margin-bottom:9px}
#shopPanel .market-plan-explanation p{font-size:14px;color:#dbc8a8;line-height:1.65}
#shopPanel .market-plan-explanation p+h4{margin-top:20px}
#shopPanel .market-plan-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#shopPanel .market-plan-review,#shopPanel .market-cart-summary{padding:19px;border:1px solid #b68c4977;background:#21161e;position:sticky;top:0}
#shopPanel .market-plan-review p,#shopPanel .market-cart-summary>p{font-size:12px;line-height:1.6;color:#c9b493;margin:12px 0}
#shopPanel .market-plan-review>button,#shopPanel .market-cart-summary>button{width:100%;min-height:44px;font-size:13px;padding:10px;margin-top:8px}
#shopPanel .market-cart-summary dl{margin:16px 0}
#shopPanel .market-cart-summary dl>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #b68c4938;padding:9px 0;font-size:14px}
#shopPanel .market-cart-summary dt{color:#baa88c}
#shopPanel .market-cart-summary dd{margin:0;color:#f5dcac}
#shopPanel .market-cart-summary dl>div:last-child{font-size:17px;border-bottom:0}
#shopPanel .market-cart-lines{display:grid;gap:9px}
#shopPanel .market-cart-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 12px 5px 5px;background:linear-gradient(110deg,var(--card-wash),#271b26 55%);border:1px solid #b68c4944}
#shopPanel .market-cart-inspect{display:flex;gap:17px;align-items:center;justify-content:start;flex:1;min-width:0;background:transparent;border:0;text-align:left;padding:10px}
#shopPanel .market-cart-inspect .card-medallion{width:55px;height:55px}
#shopPanel .market-cart-inspect small{font-size:10px;color:var(--card-accent);text-transform:uppercase;letter-spacing:.06em}
#shopPanel .market-cart-inspect strong{display:block;font:400 23px/1.2 Georgia,serif;color:#f4dfb7;margin:5px 0}
#shopPanel .market-cart-inspect b{font-size:12px;color:#d6be94;font-weight:500}
#shopPanel .market-cart-inspect em{font-size:12px;color:#f5b18d;display:block;margin-top:5px;line-height:1.4}
#shopPanel .market-cart-line>button:last-child{font-size:12px;padding:8px;min-height:44px;background:transparent;border-color:#b68c4944;flex:none}
#shopPanel .market-receipt{border:1px solid #c4d69866;background:#3b493022;padding:19px;margin-bottom:22px}
#shopPanel .market-receipt p{font-size:14px;line-height:1.5;color:#d5cfb2;margin-bottom:13px}
#shopPanel .market-receipt-links{display:flex;flex-wrap:wrap;gap:7px}
#shopPanel .market-receipt button{min-height:44px;font-size:12px;padding:9px 12px}
#shopPanel #shopReceiptDismiss{background:transparent;margin-top:12px;border-color:transparent;text-decoration:underline}
@media(max-width:1100px){#shopPanel .market-plan-grid,#shopPanel .market-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#shopPanel .market-plan-cards{grid-template-columns:1fr}#shopPanel .market-mini-inspect{padding:12px}#shopPanel .market-plan-layout,#shopPanel .market-cart-layout{grid-template-columns:minmax(0,1fr) 245px;gap:15px}}
@media(max-width:780px){#shopPanel .market-plan-layout,#shopPanel .market-cart-layout{grid-template-columns:1fr}#shopPanel .market-cart-summary,#shopPanel .market-plan-review{position:static}#shopPanel .market-plan-cards{grid-template-columns:repeat(3,minmax(0,1fr))}#shopPanel .market-lower-shelves{grid-template-columns:1fr 1fr}#shopPanel .market-lower-shelves>section:last-child{grid-column:1/-1}#shopPanel .market-plan-cards .market-mini-inspect{flex-direction:column;text-align:center;gap:9px}}
@media(max-height:600px) and (orientation:landscape){#shopPanel .armory-discover,#shopPanel .armory-plan-view,#shopPanel .armory-cart-view{padding:15px}#shopPanel .market-overview{margin-bottom:18px;gap:8px}#shopPanel .market-overview>button{padding:9px 12px;gap:9px}#shopPanel .market-overview b{font-size:27px}#shopPanel .market-section-heading h4{font-size:25px}#shopPanel .market-plan-card{padding:14px}#shopPanel .market-plan-art{min-height:64px;margin:0}#shopPanel .market-page-heading h3{font-size:29px}#shopPanel .market-page-heading{margin-bottom:15px}#shopPanel .shop-grid,#shopPanel .detail-open .shop-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}#shopPanel .card-art-stage{height:88px}#shopPanel .shop-inspect .card-medallion{width:59px;height:59px}#shopPanel .shop-card .card-name strong{font-size:23px}#shopPanel .market-detail-title{padding:10px;gap:12px}#shopPanel .market-detail-title .card-medallion{width:54px;height:54px}}
@media(max-width:620px) and (orientation:portrait){#shopPanel .armory-mode-nav{padding:5px 8px;scrollbar-width:thin}#shopPanel .armory-mode-nav>button{font-size:12px;padding:7px 10px}#shopPanel #shopCartOpen{margin-left:0}#shopPanel .armory-discover,#shopPanel .armory-plan-view,#shopPanel .armory-cart-view{padding:15px}#shopPanel .armory-discover-heading h3{font-size:31px}#shopPanel .market-overview{grid-template-columns:1fr 1fr;gap:8px}#shopPanel .market-overview>button{padding:11px;gap:10px}#shopPanel .market-overview>button:last-child{grid-column:1/-1}#shopPanel .market-overview b{font-size:28px}#shopPanel .market-overview span{font-size:12px}#shopPanel .market-section-heading{display:block}#shopPanel .market-section-heading>p{text-align:left;margin-top:9px;max-width:none}#shopPanel .market-plan-grid{grid-template-columns:1fr}#shopPanel .market-plan-card{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:7px 12px;padding:15px}#shopPanel .market-plan-art{grid-column:2;grid-row:1/5;flex-wrap:wrap;align-self:center;min-width:0}#shopPanel .market-plan-art .card-medallion{width:43px;height:43px}#shopPanel .market-plan-art .card-medallion:nth-child(2){width:52px;height:52px;margin:0 -6px}#shopPanel .market-plan-card>.eyebrow,#shopPanel .market-plan-card>h4,#shopPanel .market-plan-card>p,#shopPanel .market-plan-card>small{grid-column:1}#shopPanel .market-plan-card>button{grid-column:1/-1}#shopPanel .market-plan-card h4{font-size:26px}#shopPanel .market-pick-grid{grid-template-columns:1fr}#shopPanel #shopBudgetForm{margin-top:13px;max-width:none}#shopPanel #shopBudgetForm label{flex:1}#shopPanel #shopBudgetForm input{width:100%}#shopPanel .market-lower-shelves{grid-template-columns:1fr}#shopPanel .market-plan-cards{grid-template-columns:1fr}#shopPanel .market-plan-cards .market-mini-inspect{flex-direction:row;text-align:left}#shopPanel .market-page-heading{display:block}#shopPanel .market-page-heading>button{margin-top:13px}#shopPanel .market-page-heading h3{font-size:32px}#shopPanel .market-cart-inspect{gap:12px;padding:9px 5px}#shopPanel .market-cart-inspect .card-medallion{width:45px;height:45px}#shopPanel .market-cart-inspect strong{font-size:21px}#shopPanel .market-cart-line{gap:5px;padding-right:8px}#shopPanel .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#shopPanel .shop-card .card-name strong{font-size:21px}#shopPanel .shop-card .card-kicker{padding:10px 9px 0;min-height:30px;font-size:9px;gap:3px}#shopPanel .shop-card .card-name{padding:0 8px 11px}#shopPanel .shop-card-actions{padding:0 8px 8px;gap:4px}#shopPanel .card-quick-facts{margin:0 9px;gap:5px}#shopPanel .card-quick-facts dd{font-size:11px}#shopPanel .shop-card .shop-card-description{padding-inline:9px;font-size:11px}#shopPanel .shop-card .card-state{padding-inline:9px;font-size:10px;min-height:25px}#shopPanel .shop-card .card-name small{font-size:10px}#shopPanel .card-art-stage{height:98px}#shopPanel .shop-inspect .card-medallion{width:64px;height:64px}#shopPanel .shop-card-actions>button{font-size:11px}#shopPanel .shop-card .shop-buy{font-size:12px}}
@media(max-width:360px){#shopPanel .shop-grid{grid-template-columns:minmax(0,1fr)}#shopPanel .market-overview{grid-template-columns:1fr}#shopPanel .market-overview>button:last-child{grid-column:auto}}

/* Mobile market: gallery first. The complete card workspace is one tap away.
   No page scaling: the structure changes, with the same 44px action targets. */
#shopPanel .card-mobile-kind,#shopPanel .card-mobile-action{display:none}
#shopPanel .armory-filter-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
#shopPanel .armory-filter-heading h3{font-size:23px;margin:0}
#shopPanel .armory-filter-heading button{min-height:44px;min-width:70px;font-size:13px;padding:8px}
#shopPanel .armory-filter-departments{grid-column:1/-1;border:0;padding:0;margin:0 0 4px;min-width:0}
#shopPanel .armory-filter-departments legend{font-size:12px;color:#dec69f;margin-bottom:6px}
#shopPanel #shopDepartmentChips{display:flex;gap:6px;flex-wrap:wrap}
#shopPanel #shopDepartmentChips button{min-height:44px;min-width:44px;font-size:13px;padding:8px 11px;background:#241923;border-color:#b68c4966}
#shopPanel #shopDepartmentChips button[aria-pressed=true]{background:#68354a;border-color:#d5b276;color:#ffebbd}
#shopPanel .armory-filter-actions{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;padding-top:9px}
#shopPanel .armory-filter-actions button{min-height:44px;min-width:90px;font-size:13px;padding:9px 13px}
#shopPanel .armory-filter-actions .primary{margin-left:auto}
#shopPanel .armory-filter-heading,#shopPanel .armory-filter-departments,#shopPanel .armory-filter-actions{display:none}
@media(max-width:620px) and (orientation:portrait),(max-height:500px) and (orientation:landscape){
 #shopPanel .armory-filter-heading,#shopPanel .armory-filter-actions{display:flex}
 #shopPanel .armory-filter-departments{display:block}
#shopPanel .filters-active .armory-refinements{position:absolute;inset:0;z-index:7;margin:0;padding:16px;background:linear-gradient(125deg,#3b2634,#211922);overflow:auto;overscroll-behavior:contain;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #b68c4980}
#shopPanel .filters-active .armory-refinements label{display:flex;flex-direction:column;align-items:stretch;font-size:13px;gap:5px}
#shopPanel .filters-active .armory-refinements label.hidden{display:none}
#shopPanel .filters-active .armory-refinements select{font-size:14px;min-height:44px}
}
#shopPanel .market-wallet-rule{border-left:2px solid #d8b578;padding-left:10px;color:#efd5a2!important}

@media(max-width:620px) and (orientation:portrait),(max-height:500px) and (orientation:landscape){
 #shopPanel>.panel-head{height:50px;min-height:50px;padding:3px 10px;gap:6px}
 #shopPanel>.panel-head h2{font-size:23px;line-height:1.1}
 #shopPanel>.panel-head .eyebrow{display:none}
 #shopPanel #closeShop{width:88px;min-width:88px;min-height:44px;padding:4px 6px;font-size:12px;white-space:normal}
 #shopPanel #closeShop .menu-icon{display:none}
 #shopPanel .menu-footer{height:0;min-height:0;padding:0;border:0;pointer-events:none}
 #shopPanel #shopContinue{display:none}
 #shopPanel #shopLoadout{position:absolute;top:3px;right:104px;width:88px;min-width:88px;min-height:44px;max-height:44px;margin:0;padding:4px 7px;font-size:12px;line-height:1.15;pointer-events:auto}
 #shopPanel #shopLoadout .menu-icon{display:none}
 #shopPanel .armory-summary{height:27px;min-height:27px;padding:0 10px;gap:10px;flex-wrap:nowrap;overflow:hidden}
 #shopPanel .armory-summary .resource-pill{font:650 12px/1.2 system-ui,sans-serif;padding:2px 0;border:0;background:none;white-space:nowrap}
 #shopPanel #shopOwnedCount{display:block;font-size:11px;white-space:nowrap}
 /* The live announcement remains accessible; detailed feedback is in the card/cart. */
 #shopPanel #shopStatus{position:absolute;width:1px;height:1px;min-width:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #shopPanel .armory-workspace{min-height:0;overflow:hidden;padding:0;gap:0}
 #shopPanel .armory-mode-nav{gap:0;padding:0 4px;min-height:44px;scrollbar-width:thin}
 #shopPanel .armory-mode-nav>button{font:600 12px/1.2 system-ui,sans-serif;min-height:44px;padding:7px 10px}
 #shopPanel #shopCartOpen{margin-left:0}
 #shopPanel #shopCartCount,#shopPanel #shopWishlistCount{margin-left:4px;min-width:12px;font-size:11px}
 #shopPanel .armory-browser,#shopPanel .armory-stage.detail-open{grid-template-columns:minmax(0,1fr)}
 #shopPanel .detail-open #shopBrowseView{display:none}
 #shopPanel .armory-departments,#shopPanel .armory-browser-heading,#shopPanel .armory-compact-category,#shopPanel .detail-open .armory-compact-category{display:none}
 #shopPanel .armory-catalog{padding:8px;overflow:auto;min-height:0;min-width:0;scroll-padding:8px}
 #shopPanel .armory-search-row{flex-wrap:nowrap;gap:6px;margin:0 0 5px}
 #shopPanel .armory-search{flex:1 1 0;min-width:0}
 #shopPanel .armory-search input{font-size:14px;min-height:44px;height:44px;padding:8px}
 #shopPanel .armory-search-row #shopFilterToggle{flex:0 0 auto;min-width:74px;min-height:44px;font-size:12px;padding:7px 9px}
 #shopPanel .armory-results-line{min-height:20px;padding:0 1px 5px;gap:2px 6px;align-items:center}
 #shopPanel #shopResultCount,#shopPanel #shopFilterSummary{font-size:11px;line-height:1.25}
 #shopPanel .armory-pinned-tray{margin-bottom:4px;gap:4px}
 #shopPanel .armory-pinned-tray>button{font-size:11px;min-height:44px;padding:5px 7px}
 #shopPanel .shop-grid,#shopPanel .detail-open .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:1px;min-width:0}
 #shopPanel .shop-card{padding:0;gap:0;min-width:0;border-radius:4px}
 #shopPanel .shop-card .card-kicker{padding:6px 7px 4px;min-height:24px;gap:2px 5px;letter-spacing:0;text-transform:none;font-size:10px;line-height:1.2}
 #shopPanel .shop-card .card-kicker>span:last-child{font-size:11px}
 #shopPanel .card-desktop-kind,#shopPanel .shop-card .card-desktop-action{display:none}
 #shopPanel .card-mobile-kind,#shopPanel .shop-card .card-mobile-action{display:inline}
 #shopPanel .shop-card .shop-inspect{display:flex;flex-direction:column;align-items:stretch;min-height:0;gap:0;text-align:center}
 #shopPanel .shop-card .shop-inspect .card-art-stage{height:84px;margin:0 0 5px;background:#241923}
 #shopPanel .shop-inspect .card-medallion{width:56px;height:56px}
 #shopPanel .shop-card .card-name{padding:0 6px 4px;min-height:40px;display:flex;align-items:center;justify-content:center}
 #shopPanel .shop-card .card-name strong{font:600 17px/1.1 Georgia,serif;overflow-wrap:normal}
 #shopPanel .shop-card .card-name small,#shopPanel .shop-card .card-quick-facts,#shopPanel .shop-card .shop-card-description{display:none}
 #shopPanel .shop-card .card-state{font-size:11px;line-height:1.3;min-height:29px;padding:3px 7px 6px;margin:0;text-align:center}
 #shopPanel .shop-card-actions{display:flex;flex-direction:column;gap:0;padding:0 6px 6px;margin-top:auto}
 #shopPanel .shop-card-actions .shop-compare-card,#shopPanel .shop-card-actions .shop-save-card,#shopPanel .shop-card:not(.owned) .shop-buy{display:none}
 #shopPanel .shop-card .shop-cart-card,#shopPanel .shop-card.owned .shop-buy{display:flex;min-height:44px;width:100%;padding:6px;font-size:12px;margin:0}
 #shopPanel .armory-pagination{padding-top:10px;gap:6px}
 #shopPanel .armory-pagination button{min-width:68px;font-size:12px}
 #shopPanel #shopPageLabel{font-size:11px}
 #shopPanel .armory-details{padding:9px;overflow:auto;min-height:0;border:0}
 #shopPanel .armory-detail-nav{margin-bottom:7px;gap:6px}
 #shopPanel .armory-detail-nav>button{font-size:12px;padding:6px 8px}
 #shopPanel .armory-detail-mode-compact{display:block}
 #shopPanel .armory-detail-tabs{display:none}
 #shopPanel .market-detail-title{padding:10px;gap:10px;margin-bottom:12px}
 #shopPanel .armory-detail-title h3{font-size:25px}
 #shopPanel .card-portrait-thumb{width:85px;height:74px}
 #shopPanel .market-detail-actions>button{font-size:13px}
 #shopPanel .armory-discover,#shopPanel .armory-plan-view,#shopPanel .armory-cart-view,#shopPanel .armory-compare{padding:10px}
 #shopPanel .armory-discover-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}
 #shopPanel .armory-discover-heading .eyebrow{display:none}
 #shopPanel .armory-discover-heading h3{font-size:22px;margin:0}
 #shopPanel .armory-discover-heading p{display:none}
 #shopPanel .armory-discover-heading button{width:auto;min-width:87px;font-size:12px;padding:6px 9px;min-height:44px;margin:0;white-space:normal}
 #shopPanel .market-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 16px}
 #shopPanel .market-overview>button,#shopPanel .market-overview>button:last-child{grid-column:auto;display:block;padding:7px;min-height:57px;text-align:center}
 #shopPanel .market-overview b{font-size:21px;display:block;line-height:1}
 #shopPanel .market-overview span{font-size:11px;display:block;margin-top:4px}
 #shopPanel .market-overview small{display:none}
 #shopPanel .market-section-heading{display:block;margin-bottom:9px}
 #shopPanel .market-section-heading .eyebrow{font-size:9px}
 #shopPanel .market-section-heading h4{font-size:22px;margin-top:3px}
 #shopPanel .market-section-heading>p{font-size:11px;text-align:left;margin-top:5px;max-width:none}
 #shopPanel .market-plan-grid{display:flex;gap:9px;overflow-x:auto;padding:0 0 7px;scroll-snap-type:x proximity;scrollbar-width:thin}
 #shopPanel .market-plan-card{display:flex;flex:0 0 176px;padding:10px;gap:6px;scroll-snap-align:start;min-width:0}
 #shopPanel .market-plan-art{display:flex;grid-column:auto;grid-row:auto;align-self:auto;min-height:52px;margin:0;flex-wrap:nowrap}
 #shopPanel .market-plan-art .card-medallion{width:38px;height:38px}
 #shopPanel .market-plan-art .card-medallion:nth-child(2){width:47px;height:47px;margin:0 -3px}
 #shopPanel .market-plan-card h4{font-size:20px}
 #shopPanel .market-plan-card p{font-size:12px;line-height:1.4}
 #shopPanel .market-plan-card small{font-size:11px;line-height:1.4}
 #shopPanel .market-plan-card>button{font-size:12px;min-height:44px;margin-top:auto}
 #shopPanel .market-budget-section,#shopPanel .market-department-section{margin-top:16px;padding-top:15px}
 #shopPanel .market-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #shopPanel .market-mini-inspect{padding:9px;gap:8px;flex-direction:column;align-items:start;min-height:0}
 #shopPanel .market-mini-inspect strong{font-size:18px}
 #shopPanel .market-mini-action{font-size:12px;min-height:44px}
 #shopPanel .armory-department-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #shopPanel .market-department-section .armory-department-card{display:flex;min-height:0;padding:10px;gap:7px}
 #shopPanel .armory-department-card>.department-art,#shopPanel .armory-department-card>b{display:none}
 #shopPanel .armory-department-card>strong{font-size:20px}
 #shopPanel .armory-department-card>span:not(.department-art){font-size:12px;line-height:1.4}
 #shopPanel .armory-department-card>small{font-size:11px}
 #shopPanel .market-lower-shelves{gap:15px;margin-top:16px;padding-top:15px}
 #shopPanel .market-page-heading{display:flex;align-items:start;gap:10px;margin-bottom:13px}
 #shopPanel .market-page-heading h3,#shopPanel .armory-comparison-heading h3{font-size:26px}
 #shopPanel .market-page-heading>button{margin:0;min-width:74px;max-width:110px;white-space:normal;font-size:12px;padding:7px}
 #shopPanel .market-page-heading p{font-size:13px;line-height:1.45}
 #shopPanel .market-plan-explanation{padding:13px;margin-bottom:12px}
 #shopPanel .market-plan-explanation p{font-size:13px;line-height:1.6}
 #shopPanel .market-plan-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 #shopPanel .market-plan-cards .market-mini-inspect{flex-direction:column;align-items:start;text-align:left}
 #shopPanel .market-plan-review,#shopPanel .market-cart-summary{padding:13px}
 #shopPanel .market-cart-inspect strong{font-size:20px}
 #shopPanel .market-cart-inspect{gap:9px;padding:7px}
 #shopPanel .market-cart-inspect .card-medallion{width:40px;height:40px}
 #shopPanel .market-cart-line{padding-right:5px}
}
@media(max-width:380px) and (orientation:portrait){
 #shopPanel>.panel-head h2{font-size:21px}
 #shopPanel #shopLoadout{right:98px;width:80px;min-width:80px;font-size:11px}
 #shopPanel #closeShop{width:82px;min-width:82px;font-size:11px}
 #shopPanel .shop-card .shop-inspect .card-art-stage{height:76px}
 #shopPanel .shop-card .card-kicker{align-items:center;flex-direction:row;min-height:24px;padding:6px 7px 4px}
 #shopPanel .shop-card .card-name strong{font-size:16px}
 #shopPanel .market-plan-cards{grid-template-columns:1fr}
 #shopPanel .market-plan-cards .market-mini-inspect{flex-direction:row;align-items:center}
}
@media(max-height:500px) and (orientation:landscape){
 #shopPanel>.panel-head{height:48px;min-height:48px}
 #shopPanel>.panel-head h2{font-size:23px}
 #shopPanel .armory-summary{position:absolute;left:140px;right:208px;top:0;height:48px;min-height:48px;padding:0 8px;border:0;background:none;pointer-events:none}
 #shopPanel .armory-summary .resource-pill{font-size:12px}
 #shopPanel #shopOwnedCount{font-size:11px}
 #shopPanel .armory-workspace{display:grid;grid-template-columns:106px minmax(0,1fr);flex:1}
 #shopPanel .armory-mode-nav{display:flex;flex-direction:column;gap:0;overflow-y:auto;overflow-x:hidden;padding:3px;border:0;border-right:1px solid #b68c4955;min-height:0}
 #shopPanel .armory-mode-nav>button{flex:none;min-height:44px;width:100%;text-align:left;justify-content:start;padding:6px 7px;font-size:12px;white-space:normal;border-radius:3px}
 #shopPanel #shopCartOpen{margin:0}
 #shopPanel #shopCompareOpen{font-size:11px;gap:4px}
 #shopPanel #shopCompareCount{font-size:10px;padding:2px}
 #shopPanel .armory-catalog{padding:7px 9px}
 #shopPanel .armory-search-row{margin-bottom:4px}
 #shopPanel .armory-search input{font-size:13px}
 #shopPanel .shop-grid,#shopPanel .detail-open .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #shopPanel .shop-card .shop-inspect .card-art-stage{height:65px;margin-bottom:4px}
 #shopPanel .shop-card .card-name{min-height:36px;padding-bottom:3px}
 #shopPanel .shop-card .card-name strong{font-size:17px}
 #shopPanel .shop-card .card-state{min-height:23px;font-size:11px;padding:2px 5px 5px}
 #shopPanel .shop-card .card-kicker{min-height:22px;padding:5px 6px 3px;font-size:10px}
 #shopPanel .armory-discover-heading{margin-bottom:8px}
 #shopPanel .market-overview{margin-bottom:13px;max-width:550px}
 #shopPanel .market-overview>button{display:flex;gap:8px;justify-content:center;min-height:44px;padding:6px}
 #shopPanel .market-overview span{margin:0}
 #shopPanel .market-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:9px}
 #shopPanel .market-plan-card{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:5px 7px;min-width:0;flex-basis:auto}
 #shopPanel .market-plan-art{grid-column:2;grid-row:1/5;align-self:center}
 #shopPanel .market-plan-art .card-medallion{width:32px;height:32px}
 #shopPanel .market-plan-art .card-medallion:nth-child(2){width:42px;height:42px;margin-inline:-7px}
 #shopPanel .market-plan-card>button{grid-column:1/-1}
 #shopPanel .market-pick-grid,#shopPanel .armory-department-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 #shopPanel .market-plan-layout,#shopPanel .market-cart-layout{grid-template-columns:minmax(0,1fr) minmax(210px,.65fr);gap:12px}
 #shopPanel .market-plan-cards{grid-template-columns:1fr}
 #shopPanel .market-plan-cards .market-mini-inspect{flex-direction:row;align-items:center;text-align:left}
 #shopPanel .market-cart-summary,#shopPanel .market-plan-review{position:static}
 #shopPanel .filters-active .armory-refinements{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px}
 #shopPanel .armory-filter-heading{position:sticky;top:-12px;z-index:1;background:#332330;padding-block:3px}
}
@media(min-width:880px) and (max-height:500px) and (orientation:landscape){
 #shopPanel .shop-grid,#shopPanel .detail-open .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 #shopPanel .shop-card .shop-inspect .card-art-stage{height:75px}
}
@media(max-width:650px) and (max-height:500px) and (orientation:landscape){
 #shopPanel .armory-workspace{grid-template-columns:94px minmax(0,1fr)}
 #shopPanel .shop-grid,#shopPanel .detail-open .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #shopPanel #shopOwnedCount{display:none}
 #shopPanel .market-plan-layout,#shopPanel .market-cart-layout{grid-template-columns:1fr}
 #shopPanel .filters-active .armory-refinements{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px) and (orientation:portrait),(max-height:500px) and (orientation:landscape){
 #shopPanel[data-battle-continuation="true"] .menu-footer{height:48px;min-height:48px;padding:2px 10px;border-top:1px solid #b68c4944;justify-content:flex-end}
 #shopPanel[data-battle-continuation="true"] #shopContinue{display:flex;width:auto;min-width:150px;min-height:44px;padding:6px 12px;font-size:13px;pointer-events:auto}
}
@media(max-width:620px) and (orientation:portrait),(max-height:500px) and (orientation:landscape){
 /* Price + Add are sufficient for a browse tile; eligibility is fully explained
    before purchase in the detail or cart, which is where gold is spent. */
 #shopPanel .shop-card:not(.owned) .card-state{display:none}
}
@media(max-height:340px) and (orientation:landscape){
 #shopPanel .armory-results-line{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #shopPanel .shop-card .shop-inspect .card-art-stage{height:40px;margin-bottom:3px}
 #shopPanel .shop-card .card-name{min-height:32px;padding-bottom:2px}
 #shopPanel .shop-card .card-state{min-height:18px;padding:1px 5px 3px}
}

/* A contract's field invitation belongs to the illustrated detail, not another market tile. */
.armory-field-trial{display:flex;align-items:center;gap:16px;margin:18px 0;padding:14px 0;border-block:1px solid #b78f5059}
.armory-field-trial>div{flex:1;min-width:0}.armory-field-trial h4{font-size:18px;margin:3px 0 5px;color:#f4db9d}.armory-field-trial p{font-size:14px;line-height:1.45;margin:0;color:#e1d3bc}
.armory-field-trial button{min-height:44px;flex:0 1 auto;background:#72562d;color:#fff0c9;border:1px solid #c7a268;padding:10px 15px;font-size:14px}
@media(max-width:620px),(max-height:500px){.armory-field-trial{gap:10px;margin:10px 0;padding:10px 0;align-items:stretch}.armory-field-trial h4{font-size:16px}.armory-field-trial button{max-width:42%}}

/* Verified contract identity stays readable alongside the original painting. */
#shopPanel .shop-card .card-name .card-mobile-deploy{display:none}
#shopPanel .card-tactical-caution{font:13px/1.55 system-ui,sans-serif;color:#ddc6a2;padding:10px 0;border-block:1px solid #b68c4944}
#shopPanel .card-tactical-caution strong{display:block;color:#f3d99e;margin-bottom:3px}
#shopPanel .comparison-portrait{display:block;width:100%;max-width:156px;height:96px;margin:0 0 9px;overflow:hidden;border:1px solid #b68c4966;border-radius:3px}
#shopPanel .comparison-purpose{color:#e2c18b;line-height:1.4}
@media(max-width:620px) and (orientation:portrait),(max-height:500px) and (orientation:landscape){
 #shopPanel .shop-card[data-card-type="army"] .card-name{display:flex;flex-direction:column;gap:3px;padding-bottom:7px}
 #shopPanel .shop-card[data-card-type="army"] .card-name small{display:block;font:11px/1.35 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere}
 #shopPanel .shop-card[data-card-type="army"] .card-name .card-mobile-deploy{color:#ddccb0;font-size:10px}
 #shopPanel .comparison-portrait{height:70px;max-width:120px}
}

/* Castle SVGs keep their common world scale; existing card paintings are unchanged. */
#shopPanel .armory-castle-portrait{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
#shopPanel .armory-castle-portrait>svg,#shopPanel svg[data-castle-preview]{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%}
#shopPanel .shop-card[data-card-type="castles"] .card-name small{display:block;white-space:normal;line-height:1.35}
#shopPanel .armory-facts dd small{display:block;font-size:11px;line-height:1.45;margin-top:3px;font-weight:400}
