/* Secret commerce layouts, matched to the approved armory mockups. */
.secret-theme .sc-commerce { min-width:0; color:#bbb6a8; font:11px/1.45 Lunasima,Arial,sans-serif; }
.secret-theme .sc-commerce *, .secret-theme .sc-commerce *::before, .secret-theme .sc-commerce *::after { box-sizing:border-box; }
.secret-theme .sc-commerce [hidden] { display:none!important; }
.secret-theme .sc-commerce :is(h1,h2,h3,h4,p,ul,dl,dd) { margin:0; }
.secret-theme .sc-commerce a { text-decoration:none; }
.secret-theme .sc-commerce :is(a,button,input,select,summary):focus-visible { outline:1px solid #d0b576; outline-offset:2px; }
.secret-theme .sc-commerce :is(button,summary) { cursor:pointer; }
.secret-theme .sc-commerce :is(button:disabled,input:disabled) { opacity:.45; cursor:not-allowed; }
.secret-theme .sc-sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.secret-theme .sc-commerce :is(input:not([type=checkbox]):not([type=hidden]),select) { display:block; width:100%; min-width:0; height:29px; margin:3px 0 0; padding:5px 7px; border:1px solid #3a3a33; border-radius:1px; background:#0c0f0edb; color:#cbc6b7; font:10px/1.3 Lunasima,Arial,sans-serif; box-shadow:inset 0 2px 5px #0008; }
.secret-theme .sc-commerce input[type=checkbox] { width:11px; height:11px; margin:0; accent-color:#c1a361; flex:0 0 11px; }
.secret-theme .sc-commerce label { display:block; min-width:0; color:#aba594; font-size:10px; }
.secret-theme .sc-commerce .sc-button { display:inline-flex; align-items:center; justify-content:center; min-height:30px; min-width:0; padding:6px 13px; border:0; border-radius:0; background:url('../images/button.png') center/100% 100% no-repeat; color:#eedbb0; font:11px/1.3 Lunasima,Arial,sans-serif; text-align:center; white-space:normal; }
.secret-theme .sc-commerce .sc-button:hover { filter:brightness(1.16); }
.secret-theme .sc-commerce .sc-button--quiet { background-image:url('../images/button-small.png'); }
.secret-theme .sc-commerce .sc-button--dark { background:#171b1b url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #ffffff0e; color:#c2baa5; }
.secret-theme .sc-panel { padding:9px; background:#111414 url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #45453c90,0 5px 14px #0009; }
.secret-theme .sc-commerce .sc-empty { padding:24px 12px; text-align:center; grid-column:1/-1; }
.secret-theme .sc-commerce .sc-empty h3 { color:#ddc89a; margin:9px 0; font:700 18px Georgia,serif; }
.secret-theme .sc-commerce .sc-empty .sc-button { margin-top:14px; }
.secret-theme .sc-commerce .sc-empty img { object-fit:contain; }
.secret-theme .sc-commerce .sc-excellent { color:#9dc779!important; }
.secret-theme .sc-commerce .sc-ancient { color:#b4a3da!important; }
.secret-theme .sc-commerce :is(.sc-item img,.sc-detail__image,.sc-shop-tile img,.sc-shop-detail__image img,.sc-lot__image img) { mix-blend-mode:screen; }
/* The commerce shell keeps the site's width and uses the mockups' narrow sidebar. */
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .header { height:32px; }
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .top-content { height:165px; padding:5px 0 15px; gap:0; }
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .logo { top:0; height:145px; padding:0; }
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .logo img { width:190px; height:145px; }
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .main-nav { height:54px; }
.secret-theme.sc-commerce-page:not(.secret-view-web_shop) .main-nav a { font-size:12px; }
.secret-theme.sc-commerce-page .main-content-middle { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:12px; align-items:start; padding:0 9px 9px; }
.secret-theme.sc-commerce-page .main-content-middle > :is(.left-content,.right-content) { width:100%; min-width:0; flex:auto; }
.secret-theme.sc-commerce-page .footer { padding:12px 0 20px; }
.secret-theme.sc-commerce-page .footer-top, .secret-theme.sc-commerce-page .footer-time { display:none; }
.secret-theme.sc-commerce-page .footer-wrapper { gap:8px; padding:0 22px; }
.secret-theme.sc-commerce-page .footer-bottom { padding-top:4px; }
.secret-theme.sc-commerce-page .footer-left { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 20px; width:100%; }
.secret-theme.sc-commerce-page .footer-divider { margin:0; }
.secret-theme.sc-commerce-page .footer-bottom { padding:10px 0 0; margin-top:0; }
.secret-theme.sc-commerce-page .footer-link { color:#a29780; }
.secret-theme.sc-commerce-page .footer-text, .secret-theme.sc-commerce-page .footer-link { font-size:10px; }
.secret-theme.sc-commerce-page .footer-left .footer-links { margin-left:auto; }
.secret-theme.sc-commerce-page .footer-left > .footer-links { width:auto; flex:0 1 auto; }
/* One account panel: real balance, full-width actions and compact trade links. */
.secret-theme .sc-account-card { padding:0 8px 8px; background:#131514 url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #4c49394d,0 5px 10px #0008; }
.secret-theme .sc-account-card .block-title { margin:0 -8px; }
.secret-theme .sc-account-card .block-title-text { font-size:12px; }
.secret-theme .sc-account-card__body { display:grid; gap:7px; padding:13px 5px 10px; text-align:center; }
.secret-theme .sc-account-card__body > p { font-size:10px; color:#aaa799; }
.secret-theme .sc-account-card__body .sc-button { width:100%; min-height:30px; }
.secret-theme .sc-account-card__balance { display:flex; justify-content:center; align-items:center; gap:6px; font-size:10px; }
.secret-theme .sc-account-card__balance strong { color:#e1bd70; font-size:12px; white-space:nowrap; }
.secret-theme .sc-account-card__nav { padding:3px 5px; border-top:1px solid #ffffff0d; }
.secret-theme .sc-account-card__nav a { display:flex; align-items:center; gap:10px; padding:10px; color:#b4ad9c; box-shadow:inset 0 -1px #ffffff09; }
.secret-theme .sc-account-card__nav a[aria-current] { color:#e1c78b; background:linear-gradient(90deg,#9d6f231f,#3228150a); box-shadow:inset 2px 0 #b8954b,inset 0 0 0 1px #b99a5433; }
.secret-theme .sc-account-card__nav i { width:16px; color:#9f957d; font-size:14px; }
.secret-theme .sc-account-card__nav a[aria-current] i { color:#cfac58; }
.secret-theme .sc-account-card--storage { display:none; }
.secret-theme.sc-storage-page .sc-account-card--storage { display:block; }
.secret-theme.sc-commerce-page .main-content-middle > .right-content { display:grid; gap:14px; }
.secret-theme.sc-commerce-page .main-content-middle > .right-content > * { margin:0; }
.secret-theme.sc-commerce-page .castle-block { width:100%; }
.secret-theme.sc-commerce-page .castle-info { padding:4px 16px; }
.secret-theme.sc-commerce-page .events .block-title-text { font-size:11px; }
.secret-theme.sc-commerce-page .events-table { padding:6px 12px; gap:0; }
.secret-theme.sc-commerce-page .events-table > li { padding:8px 0; margin:0; line-height:13px; }
.secret-theme.sc-commerce-page .events-table small { display:block; margin-top:4px; line-height:11px; }
.secret-theme.sc-commerce-page .events-table .secret-event-more { justify-content:center; }
.secret-theme.sc-commerce-page .events-table a, .secret-theme.sc-commerce-page .events-table span { font-size:11px; }
.secret-theme.sc-commerce-page .events-table small { font-size:9px; }
/* Market: banner actions, unlabeled compact filters, six lots per page. */
.secret-theme .sc-market-banner { padding:14px 12px 8px; background:linear-gradient(90deg,#080c0bcc,#080c0b4d 55%,transparent),url('../images/commerce/market-v2.webp') center/cover; }
.secret-theme .sc-market-banner h1 { color:#efdfb7; font:700 28px/1.1 Georgia,serif; text-shadow:0 2px 5px #000; }
.secret-theme .sc-market-banner > p { margin:5px 0 18px; color:#c5bfae; font-size:11px; }
.secret-theme .sc-market-tabs { display:flex; gap:7px; }
.secret-theme .sc-market-tabs > a { min-width:94px; }
.secret-theme .sc-market-tabs .sc-market-list { margin-left:auto; }
.secret-theme .sc-market-filter { display:grid; gap:8px; padding:10px 7px; background:#171a18b3; box-shadow:inset 0 0 0 1px #ffffff09; }
.secret-theme .sc-market-filter__search { position:relative; }
.secret-theme .sc-market-filter__search i { position:absolute; top:12px; left:10px; color:#8b8a7d; }
.secret-theme .sc-market-filter__search input { padding-left:30px!important; }
.secret-theme .sc-market-filter__fields { display:grid; grid-template-columns:1.1fr 1.2fr 1.1fr .9fr 10px .9fr; gap:7px; align-items:center; }
.secret-theme .sc-price-dash { text-align:center; }
.secret-theme .sc-market-filter__bottom { display:flex; gap:10px; align-items:center; }
.secret-theme .sc-market-flags { display:flex; flex-wrap:wrap; gap:11px; margin-right:auto; }
.secret-theme .sc-market-flags label { display:flex; gap:5px; align-items:center; font-size:9px; }
.secret-theme .sc-market-filter__bottom > a { font-size:9px; color:#969182; }
.secret-theme .sc-market-filter__bottom > button { min-width:92px; }
.secret-theme .sc-market-results { display:flex; justify-content:space-between; align-items:center; margin:9px 0 7px; scroll-margin-top:50px; }
.secret-theme .sc-market-results h2 { color:#dfcfa9; font:700 19px Georgia,serif; }
.secret-theme .sc-market-results small { color:#898777; font-size:10px; }
.secret-theme .sc-market-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.secret-theme .sc-lot { display:grid; grid-template-columns:93px minmax(0,1fr); gap:8px; padding:5px; background:linear-gradient(110deg,#181c1ad9,#262b27a6),url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #60625755,inset 0 0 0 4px #0004,0 3px 6px #0007; min-width:0; }
.secret-theme .sc-lot__image { display:flex; align-items:center; justify-content:center; min-height:112px; background:radial-gradient(ellipse,#4e575035,#050a097a); box-shadow:inset 0 0 0 1px #ffffff0c; }
.secret-theme .sc-lot__image img { width:86%; height:102px; object-fit:contain; filter:drop-shadow(0 4px 6px #000); }
.secret-theme .sc-lot__body { min-width:0; padding:4px 4px 3px 0; }
.secret-theme .sc-lot h3 { color:#d5c9aa; font:700 11px/1.35 Lunasima,Arial,sans-serif; overflow-wrap:anywhere; }
.secret-theme .sc-lot__tags { color:#94a685; font-size:9px; margin-top:2px!important; }
.secret-theme .sc-lot__seller { color:#a19c8a; font-size:9px; margin-top:3px!important; overflow-wrap:anywhere; }
.secret-theme .sc-lot__offer { display:flex; gap:6px; justify-content:space-between; align-items:center; margin-top:5px; }
.secret-theme .sc-lot__offer strong { color:#dfc47e; font-size:11px; white-space:nowrap; }
.secret-theme .sc-lot__offer small { display:block; color:#aaa085; font-size:8px; }
.secret-theme .sc-lot__offer .sc-button { min-height:24px; padding:4px 8px; font-size:9px; }
.secret-theme .sc-lot__details { margin-top:5px; color:#969583; font-size:9px; }
.secret-theme .sc-lot__details ul { padding:7px 0 0 12px; color:#a0b6c5; line-height:1.5; overflow-wrap:anywhere; }
.secret-theme .sc-market-footer { display:flex; align-items:center; flex-wrap:wrap; gap:8px; justify-content:space-between; padding:9px 2px 1px; }
.secret-theme .sc-market-footer > p { color:#969282; font-size:9px; }
.secret-theme .sc-pagination, .secret-theme .sc-shop-pagination { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.secret-theme :is(.sc-pagination button,.sc-shop-pagination a) { display:inline-flex; align-items:center; justify-content:center; border:0; min-width:25px; min-height:26px; padding:4px 7px; background:#0e1211; color:#bdb197; font:10px Lunasima,Arial,sans-serif; box-shadow:inset 0 0 0 1px #ffffff0b; }
.secret-theme :is(.sc-pagination button,.sc-shop-pagination a)[aria-current] { background:url('../images/button.png') center/100% 100%; color:#f6dfb0; }
/* Shop retains the standard site header; its title stays inside the catalog. */
.secret-theme .sc-shop-intro { padding:5px 5px 12px; border-bottom:1px solid #ffffff0c; margin-bottom:8px; }
.secret-theme .sc-shop-intro h1 { color:#e5d5ac; font:700 25px/1.15 Georgia,serif; }
.secret-theme .sc-shop-intro p { margin-top:5px; color:#aaa391; font-size:11px; }
.secret-theme .sc-shop-categories { padding:4px 4px 10px; background:linear-gradient(#2427268a,#11141400); }
.secret-theme .sc-shop-categories h2 { color:#dbcba7; font:700 18px Georgia,serif; margin-bottom:7px; }
.secret-theme .sc-shop-categories__row { display:flex; gap:10px; align-items:center; }
.secret-theme .sc-shop-categories__row nav { display:flex; flex:1; gap:4px; min-width:0; }
.secret-theme .sc-shop-categories__row nav .sc-button { flex:1; padding:6px 5px; font-size:10px; min-height:27px; }
.secret-theme .sc-shop-search { position:relative; flex:0 0 155px; }
.secret-theme .sc-shop-search input { margin:0; padding-right:25px!important; }
.secret-theme .sc-shop-search button { position:absolute; top:0; right:0; width:27px; height:29px; padding:0; border:0; background:none; color:#948970; }
.secret-theme .sc-shop-workspace { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:9px; align-items:start; }
.secret-theme .sc-shop-catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; min-width:0; }
.secret-theme .sc-shop-tile { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; position:relative; min-width:0; min-height:155px; padding:8px 5px 7px; color:#d8cdae; border:0; background:#171613 url('../images/option-bg.jpg') center/cover; box-shadow:inset 0 0 0 1px #706a5455,inset 0 0 0 5px #0008,0 3px 5px #0007; }
.secret-theme .sc-shop-tile[aria-selected=true] { box-shadow:inset 0 0 0 1px #c8ad63,inset 0 0 0 5px #0008,0 3px 5px #0007; }
.secret-theme .sc-shop-tile img { width:88%; height:105px; margin-bottom:3px; object-fit:contain; filter:drop-shadow(0 7px 5px #000); }
.secret-theme .sc-shop-tile strong { font:700 12px/1.2 Georgia,serif; overflow-wrap:anywhere; }
.secret-theme .sc-shop-tile small { margin-top:3px; font:10px Lunasima,Arial,sans-serif; color:#c2b596; }
.secret-theme .sc-shop-forms { min-width:0; }
.secret-theme .sc-shop-workspace:has([data-sc-shop-catalog][hidden]) { grid-template-columns:minmax(0,1fr); }
.secret-theme .sc-shop-detail { min-width:0; padding:11px; background:#151916 url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #53554766,inset 0 0 0 4px #0003; scroll-margin-top:55px; }
.secret-theme .sc-shop-detail__title h2 { color:#e1d0a7; font:700 20px/1.15 Georgia,serif; overflow-wrap:anywhere; }
.secret-theme .sc-shop-detail__title p { color:#a29a83; font-size:9px; margin-top:3px; }
.secret-theme .sc-shop-detail__image { display:flex; align-items:center; justify-content:center; height:121px; margin:0 -5px; background:radial-gradient(ellipse,#5a625627,transparent 65%); }
.secret-theme .sc-shop-detail__image img { width:90%; height:112px; object-fit:contain; filter:drop-shadow(0 6px 5px #000); }
.secret-theme .sc-shop-basic { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:6px; }
.secret-theme .sc-shop-checks { display:flex; gap:30px; margin:9px 0; }
.secret-theme .sc-shop-checks label, .secret-theme .sc-shop-options label:has(input[type=checkbox]) { display:flex; align-items:center; gap:6px; font-size:9px; }
.secret-theme .sc-shop-options { margin:5px 0; border:1px solid #ffffff0b; background:#0a0e0d4d; }
.secret-theme .sc-shop-options summary { padding:6px 7px; color:#c4bca6; font-size:10px; }
.secret-theme .sc-shop-options > div { display:grid; gap:6px; padding:3px 8px 8px; }
.secret-theme .sc-shop-options .sc-excellent-limit { color:#857e6d; font-size:8px; }
.secret-theme .sc-shop-price-breakdown { display:grid; gap:4px; padding:8px 0; margin-top:8px; border-top:1px solid #ffffff14; font-size:10px; }
.secret-theme .sc-shop-price-breakdown > div { display:flex; justify-content:space-between; gap:9px; }
.secret-theme .sc-shop-price-breakdown dd { color:#d3bb81; }
.secret-theme .sc-shop-total { display:flex; justify-content:space-between; gap:9px; padding:7px 0 9px; border-top:1px solid #ffffff17; color:#e0c89b; font:700 17px/1.25 Georgia,serif; }
.secret-theme .sc-shop-buy { width:100%; min-height:33px!important; }
.secret-theme .sc-shop .sc-after { margin-top:6px; text-align:center; font-size:9px; color:#b4a080; }
.secret-theme .sc-shop .sc-after.is-low { color:#d39e87; }
.secret-theme .sc-shop .sc-storage-link { display:block; padding-top:8px; text-align:center; font-size:9px; color:#c0a064; text-decoration:underline; }
.secret-theme .sc-shop-pagination { padding:8px 1px 0; }
/* Storage is its own screen, including legacy #web-storage links. */
.secret-theme.sc-storage-page .secret-account-navigation { display:none; }
.secret-theme.sc-storage-page #secret-cms { padding:0; }
.secret-theme.sc-storage-page #secret-cms .lx-account { padding:0!important; margin:0!important; background:none!important; border:0!important; box-shadow:none!important; }
.secret-theme.sc-storage-page .lx-account > :not(.lx-account__storage,.usercp-payment-modal,.usercp-support) { display:none!important; }
.secret-theme.sc-storage-page .lx-account__storage { padding:9px!important; margin:0!important; background:#111414 url('../images/bg-h-content.jpg') center/cover!important; box-shadow:inset 0 0 0 1px #46483d80; }
.secret-theme .sc-breadcrumb { display:none; padding:2px 2px 9px; color:#a9a392; font-size:10px; }
.secret-theme .sc-breadcrumb a { color:#d0b27a; }
.secret-theme .sc-breadcrumb span { padding:0 8px; }
.secret-theme.sc-storage-page .sc-breadcrumb { display:block; }
.secret-theme #secret-cms .sc-hero--storage { min-height:105px; padding:20px 14px; margin:0; background:linear-gradient(90deg,#070b0ac4,transparent 65%),url('../images/commerce/vault-v2.webp') center/cover; }
.secret-theme #secret-cms .sc-hero--storage h2 { margin:0!important; padding:0!important; color:#efdfb6!important; font:700 29px/1.1 Georgia,serif!important; text-shadow:0 2px 5px #000; }
.secret-theme #secret-cms .sc-hero--storage p { max-width:68%; margin:6px 0 0!important; color:#c1b99f; font:11px/1.45 Lunasima,Arial,sans-serif!important; }
.secret-theme #secret-cms .lx-account__storage-tabs { display:flex; align-items:center; gap:5px; margin:5px 0 0; padding:0; border:0; background:#20242180; }
.secret-theme #secret-cms .lx-account__storage-tabs a { margin:0; padding:9px 15px; border:0; border-radius:0; color:#b9b4a2; font:11px Lunasima,Arial,sans-serif!important; background:#141817; box-shadow:inset 0 0 0 1px #ffffff10; }
.secret-theme #secret-cms .lx-account__storage-tabs a[aria-selected=true] { color:#e0c27e; background:linear-gradient(#3b321f,#211f16); box-shadow:inset 0 2px #ae863d,inset 0 0 0 1px #81714588; }
.secret-theme #secret-cms .sc-storage-online { margin-left:auto; padding-right:8px; font-size:9px; color:#bb9e70; }
.secret-theme #secret-cms .sc-storage-online.is-offline { color:#89ae6e; }
.secret-theme #secret-cms .sc-storage-online.is-offline::before { content:''; display:inline-block; width:6px; height:6px; margin-right:6px; border-radius:50%; background:#91dc44; box-shadow:0 0 7px #88db33; }
.secret-theme.secret-view-usercp #secret-cms .page-card--usercp .lx-account__storage-panel { padding:0!important; margin:0!important; border:0!important; outline:none!important; background:none!important; }
.secret-theme #secret-cms .sc-storage :is(input:not([type=checkbox]):not([type=hidden]),select) { min-height:29px!important; height:29px!important; padding:5px 7px!important; font:10px/1.3 Lunasima,Arial,sans-serif!important; }
.secret-theme #secret-cms .sc-storage .sc-search input { padding-left:23px!important; }
.secret-theme #secret-cms .sc-storage label { font:10px/1.4 Lunasima,Arial,sans-serif!important; }
.secret-theme #secret-cms .sc-storage { font:11px/1.45 Lunasima,Arial,sans-serif!important; }
.secret-theme #secret-cms .sc-storage :is(h3,h4,p,dl,dd) { margin:0; }
.secret-theme #secret-cms .sc-storage-toolbar { display:flex; justify-content:space-between; align-items:center; gap:9px; padding:7px 1px; }
.secret-theme #secret-cms .sc-storage-toolbar > p { flex:1; color:#8f9386; font:9px/1.4 Lunasima,Arial,sans-serif!important; }
.secret-theme #secret-cms .sc-storage-toolbar > p i { margin-right:5px; }
.secret-theme #secret-cms .sc-storage-tools { display:flex; flex:0 0 280px; gap:5px; align-items:center; }
.secret-theme #secret-cms .sc-storage-tools > label { flex:1; min-width:0; }
.secret-theme #secret-cms .sc-search { position:relative; margin:0; }
.secret-theme #secret-cms .sc-search i { position:absolute; top:12px; left:7px; font-size:10px; }
.secret-theme #secret-cms .sc-search input { padding-left:23px; }
.secret-theme #secret-cms .sc-storage__workspace { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,1fr); gap:7px; align-items:start; }
.secret-theme #secret-cms .sc-inventory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; min-width:0; max-height:490px; overflow:auto; padding:3px; background:#0b100db3; box-shadow:inset 0 0 0 1px #55554777; }
.secret-theme #secret-cms .sc-item { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; min-height:116px; padding:7px 5px; border:0; border-radius:2px; background:radial-gradient(ellipse at 50% 25%,#363c3052,#0e1311db); box-shadow:inset 0 0 0 1px #5f63554f,inset 0 0 0 3px #0004; color:#b9c4ad; font:9px/1.25 Lunasima,Arial,sans-serif; text-align:center; overflow-wrap:anywhere; }
.secret-theme #secret-cms .sc-item img { width:90%; height:79px; object-fit:contain; margin-bottom:5px; filter:drop-shadow(0 5px 5px #000); }
.secret-theme #secret-cms .sc-item[aria-current=true] { background:radial-gradient(ellipse at 50% 25%,#766c3b3b,#151a13e0); }
.secret-theme #secret-cms .sc-item[aria-current=true]::after { content:''; position:absolute; inset:2px; pointer-events:none; background:linear-gradient(#e5b946,#e5b946) left top/10px 2px no-repeat,linear-gradient(#e5b946,#e5b946) left top/2px 10px no-repeat,linear-gradient(#e5b946,#e5b946) right top/10px 2px no-repeat,linear-gradient(#e5b946,#e5b946) right top/2px 10px no-repeat,linear-gradient(#e5b946,#e5b946) left bottom/10px 2px no-repeat,linear-gradient(#e5b946,#e5b946) left bottom/2px 10px no-repeat,linear-gradient(#e5b946,#e5b946) right bottom/10px 2px no-repeat,linear-gradient(#e5b946,#e5b946) right bottom/2px 10px no-repeat; filter:drop-shadow(0 0 2px #b78436); }
.secret-theme #secret-cms .sc-item--excellent { color:#9bc878!important; }
.secret-theme #secret-cms .sc-item--ancient { color:#b5a1db!important; }
.secret-theme #secret-cms .sc-storage__details { display:grid; gap:7px; min-width:0; }
.secret-theme #secret-cms .sc-detail { min-width:0; background:linear-gradient(#171c1699,#171c1699),url('../images/bg-h-content.jpg') center/cover; box-shadow:inset 0 0 0 1px #5b61514d; scroll-margin-top:55px; }
.secret-theme #secret-cms .sc-bar { padding:9px 10px; background:#20251f url('../images/block-title.png') center/100% 100%; color:#decba0; font:700 15px/1.1 Georgia,serif!important; }
.secret-theme #secret-cms .sc-detail__body { padding:9px 10px; }
.secret-theme #secret-cms .sc-detail__content { display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px; min-height:215px; align-items:start; }
.secret-theme #secret-cms .sc-detail__image { width:100%; height:205px; object-fit:contain; filter:drop-shadow(0 5px 5px #000); }
.secret-theme #secret-cms .sc-detail__text { min-width:0; }
.secret-theme #secret-cms .sc-detail h3 { color:#cbb994; font:700 10px/1.4 Lunasima,Arial,sans-serif!important; overflow-wrap:anywhere; margin:5px 0 12px!important; }
.secret-theme #secret-cms .sc-options { list-style:none; padding:0; color:#b3bbaf; font:9px/1.5 Lunasima,Arial,sans-serif; overflow-wrap:anywhere; }
.secret-theme #secret-cms .sc-options li { padding:3px 0; }
.secret-theme #secret-cms .sc-meta { display:grid; gap:7px; margin:13px 0 10px!important; padding-top:9px; border-top:1px solid #ffffff12; font-size:9px; }
.secret-theme #secret-cms .sc-meta > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 8px; }
.secret-theme #secret-cms .sc-meta dd { color:#cbc3ac; }
.secret-theme #secret-cms .sc-storage .sc-button { width:100%; min-height:31px; font-size:10px; }
.secret-theme #secret-cms .sc-sell { margin-top:7px; }
.secret-theme #secret-cms .sc-sell form { display:grid; gap:7px; padding:9px 10px; }
.secret-theme #secret-cms .sc-sell input { height:29px; font:11px Lunasima,Arial,sans-serif!important; }
/* Responsive placement retains the same controls and item actions. */
@media(max-width:980px) {
 .secret-theme.sc-commerce-page .main-content-middle { grid-template-columns:minmax(0,1fr) 220px; }
 .secret-theme .sc-shop-categories__row { flex-wrap:wrap; }
 .secret-theme .sc-shop-categories__row nav { flex:1 1 100%; }
 .secret-theme .sc-shop-search { flex:1; }
 .secret-theme .sc-lot { grid-template-columns:76px minmax(0,1fr); }
 .secret-theme .sc-lot__offer { flex-wrap:wrap; }
 .secret-theme #secret-cms .sc-detail__content { grid-template-columns:72px minmax(0,1fr); }
 .secret-theme #secret-cms .sc-storage-tools { flex-basis:230px; }
}
@media(max-width:760px) {
 .secret-theme.sc-commerce-page .main-content-middle { grid-template-columns:minmax(0,1fr); padding:0 6px 8px; }
 .secret-theme.sc-commerce-page .main-content-middle > .right-content { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
 .secret-theme.sc-commerce-page .events { grid-column:1/-1; }
 .secret-theme.sc-commerce-page:not(.secret-view-web_shop) .top-content { height:150px; }
 .secret-theme.sc-commerce-page:not(.secret-view-web_shop) .logo img { width:170px; height:130px; }
}
@media(max-width:600px) {
 .secret-theme.sc-commerce-page:not(.secret-view-web_shop) .header { height:auto; }
 .secret-theme.sc-commerce-page:not(.secret-view-web_shop) .main-nav a { font-size:11px; }
 .secret-theme.sc-commerce-page .main-content-middle > .right-content { grid-template-columns:minmax(0,1fr); }
 .secret-theme .sc-market-banner h1 { font-size:25px; }
 .secret-theme .sc-market-banner > p { max-width:80%; }
 .secret-theme .sc-market-tabs { gap:4px; flex-wrap:wrap; }
 .secret-theme .sc-market-tabs > a { min-width:0; padding:6px 9px; font-size:10px; }
 .secret-theme .sc-market-filter__fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .secret-theme .sc-price-dash { display:none; }
 .secret-theme .sc-market-filter__bottom { flex-wrap:wrap; }
 .secret-theme .sc-market-flags { flex:1 1 100%; gap:10px; }
 .secret-theme .sc-market-filter__bottom > a { margin-left:auto; }
 .secret-theme .sc-market-grid { grid-template-columns:minmax(0,1fr); }
 .secret-theme .sc-lot { grid-template-columns:90px minmax(0,1fr); }
 .secret-theme .sc-lot__offer { flex-wrap:nowrap; }
 .secret-theme .sc-shop-workspace { grid-template-columns:minmax(0,1fr); }
 .secret-theme .sc-shop-catalog { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .secret-theme .sc-shop-tile { min-height:135px; }
 .secret-theme .sc-shop-tile img { height:88px; }
 .secret-theme .sc-shop-tile strong { font-size:11px; }
 .secret-theme .sc-shop-detail__image { height:155px; }
 .secret-theme .sc-shop-detail__image img { height:145px; }
 .secret-theme.sc-commerce-page .footer-left .footer-links { margin-left:0; }
 .secret-theme #secret-cms .lx-account__storage-tabs { flex-wrap:wrap; }
 .secret-theme #secret-cms .lx-account__storage-tabs a { padding:9px 11px; font-size:10px!important; }
 .secret-theme #secret-cms .sc-storage-online { padding:6px 7px; font-size:8px; }
 .secret-theme #secret-cms .sc-storage-toolbar { flex-wrap:wrap; }
 .secret-theme #secret-cms .sc-storage-toolbar > p { flex:1 1 100%; }
 .secret-theme #secret-cms .sc-storage-tools { flex:1 1 100%; }
 .secret-theme #secret-cms .sc-storage__workspace { grid-template-columns:minmax(0,1fr); }
 .secret-theme #secret-cms .sc-inventory { max-height:380px; }
 .secret-theme #secret-cms .sc-detail__content { grid-template-columns:110px minmax(0,1fr); }
}
@media(max-width:370px) {
 .secret-theme .sc-shop-catalog { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .secret-theme .sc-shop-categories__row nav { flex-wrap:wrap; }
 .secret-theme .sc-shop-categories__row nav .sc-button { flex:1 0 28%; }
 .secret-theme #secret-cms .sc-inventory { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .secret-theme .sc-lot__offer { flex-wrap:wrap; }
}
