
.shop-app { min-height: 100vh; display: flex; flex-direction: column; }
.shop-main { flex: 1; margin: 8px 16px 8px; border-radius: 22px; min-height: 0; display: flex; }
.shop-inner {
  display: flex; flex-direction: column; gap: 12px;
  padding: 12px 16px 16px; flex: 1; min-height: 0; height: 100%; box-sizing: border-box;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto auto auto minmax(220px, 1fr);
  gap: 10px;
  align-items: center;
}
.shop-toolbar select,
.shop-search {
  height: 40px; border-radius: 14px; border: 1px solid rgba(180,210,245,.18);
  background: rgba(8,18,36,.35); color: inherit; padding: 0 14px; font: inherit;
  min-width: 0;
}
html.playarc .shop-toolbar select,
html.playarc .shop-search {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 14px !important;
}
.shop-search { width: 100%; }
.shop-toolbar .btn,
.shop-toolbar a.btn {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-size: 13px;
  line-height: 1;
  border-radius: 14px;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 12px; flex: 1; min-height: 0;
}

.shop-list-pane,
.shop-detail-pane,
.detail-card {
  border-radius: 18px;
  border: 1px solid rgba(120, 168, 230, .12);
  background: rgba(8, 16, 34, .72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.shop-list-pane {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  padding: 10px;
}
.shop-detail-pane {
  min-height: 0; overflow: auto; padding: 14px 16px 18px;
}

.pane-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
}
.pane-head h2, .pane-head h3, .detail-hero h2 {
  margin: 0; font-size: 1.05rem; font-weight: 750;
}
.pane-head h3 { font-size: .95rem; }

.btn.sm { height: 32px; padding: 0 12px; font-size: 12px; border-radius: 10px; }

.shop-app .btn,
.shop-app button.btn,
.shop-app a.btn,
.shop-dlg .btn {
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  font-size: 13px;
  border-radius: 12px;
}
.shop-app .btn.sm { min-height: 36px; height: 36px; padding: 0 12px; font-size: 12.5px; }

.cust-list, .item-list, .history-list {
  list-style: none; margin: 0; padding: 0; overflow: auto; min-height: 0;
}
.cust-list { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.cust-list li {
  border-radius: 14px; padding: 10px 12px; cursor: pointer;
  border: 1px solid transparent;
  background: rgba(255,255,255,.03);
  transition: background .15s, border-color .15s;
}
.cust-list li.is-active {
  border-color: rgba(94,200,255,.35);
  background: rgba(94,200,255,.12);
}
.cust-list .c-name { font-weight: 700; display: block; }
.cust-list .c-sub { font-size: 12px; opacity: .7; margin-top: 3px; }
.cust-list .c-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cust-list .tag {
  font-size: 10.5px; padding: 2px 7px; border-radius: 999px;
  background: rgba(94,200,255,.12); border: 1px solid rgba(94,200,255,.2);
}

.detail-empty {
  min-height: 0; flex: 1; display: grid; place-content: center; text-align: center; gap: 6px;
}
.detail-empty .muted { opacity: .6; font-size: 13px; }

.detail-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(180,210,245,.1);
}
.detail-meta { margin: 4px 0 0; opacity: .7; font-size: 13px; }
.detail-stats {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.detail-stats > div {
  min-width: 110px; padding: 8px 12px; border-radius: 14px;
  background: rgba(94,200,255,.08); border: 1px solid rgba(94,200,255,.16);
}
.detail-stats span { display: block; font-size: 11px; opacity: .65; }
.detail-stats b { font-size: 13px; font-weight: 750; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 12px;
}
.detail-card { padding: 12px; }

.item-list li, .history-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(180,210,245,.08);
  font-size: 13px;
}
.item-list li:last-child, .history-list li:last-child { border-bottom: 0; }
.item-list .serial { font-family: var(--mono, monospace); direction: ltr; font-size: 12px; opacity: .85; }
.history-list .h-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 650; }
.history-list .h-sub { margin-top: 4px; opacity: .7; font-size: 12px; white-space: pre-wrap; }
.history-list .pill {
  display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 999px;
  background: rgba(255,255,255,.08); margin-inline-end: 6px;
}
.history-list .pill.sale { background: rgba(61,214,140,.15); color: #9dffc8; }
.history-list .pill.service { background: rgba(94,200,255,.15); color: #b8e7ff; }

.visit-form { display: flex; flex-direction: column; gap: 8px; }
.visit-form input, .visit-form select, .visit-form textarea,
.shop-dlg input, .shop-dlg select, .shop-dlg textarea {
  width: 100%; box-sizing: border-box;
  border-radius: 12px; border: 1px solid rgba(180,210,245,.18);
  background: rgba(8,18,36,.4); color: inherit; padding: 9px 11px; font: inherit;
}
.visit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.shop-dlg {
  border: 1px solid rgba(180,210,245,.22);
  border-radius: 18px; padding: 0;
  background: rgba(8,16,32,.94); color: inherit;
  max-width: 420px; width: calc(100% - 24px);
  
  margin: auto;
  margin-top: 12vh;
  position: fixed;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
  height: fit-content;
}
.shop-dlg::backdrop { background: rgba(2,8,18,.55); }
.shop-dlg form { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.shop-dlg h3 { margin: 0 0 4px; }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }

.status { margin: 0; font-size: 12px; opacity: .75; min-height: 1.2em; }

.shop-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
}
.shop-tab {
  height: 40px; min-height: 40px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgba(140, 190, 255, .14);
  background: rgba(8,16,34,.55); color: rgba(214,226,240,.86);
  font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
  white-space: nowrap; line-height: 1;
}
.shop-tab.is-on {
  color: #f4f8ff;
  background: linear-gradient(180deg, rgba(70, 140, 255, .34), rgba(20, 50, 120, .5));
  border-color: rgba(154, 228, 255, .22);
}
.shop-board {
  border-radius: 18px;
  border: 1px solid rgba(120, 168, 230, .12);
  background: rgba(8, 16, 34, .72);
  padding: 14px 16px 18px;
}
.shop-lead { margin: 0 0 12px; opacity: .7; font-size: 13px; }
.shop-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px;
}
.shop-form input, .shop-form select, .shop-form textarea {
  width: 100%; box-sizing: border-box;
  border-radius: 12px; border: 1px solid rgba(180,210,245,.18);
  background: rgba(8,18,36,.4); color: inherit; padding: 9px 11px; font: inherit;
}
.shop-form textarea, .shop-form .permit-picks, .shop-form .dlg-actions {
  grid-column: 1 / -1;
}
.deal-form .deal-time {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(186,210,235,.7);
}
.deal-form .deal-time input { width: 100%; }
.deal-form .deal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.deal-form .deal-field > span {
  font-size: 12px;
  color: rgba(186,210,235,.72);
}
.deal-form .deal-flags {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.deal-form .deal-switch {
  min-height: 64px;
  border-radius: 16px;
  background: rgba(6,12,24,.45);
  box-shadow: inset 0 0 0 1px rgba(140,190,255,.1);
}
.deal-form .deal-picks { grid-column: 1 / -1; }
.deal-list li { padding: 12px 0; }
@media (max-width:720px){ .deal-form .deal-flags { grid-template-columns: 1fr; } }
.shop-form .look-public,
.shop-form .tg-row {
  grid-column: 1 / -1;
  min-height: 64px;
  border-radius: 16px;
  background: rgba(6,12,24,.45);
  box-shadow: inset 0 0 0 1px rgba(140,190,255,.1);
}
.shop-app .tg-switch {
  position: relative;
  width: 46px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.shop-app .tg-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4f8ff;
  transition: transform .16s ease;
}
.shop-app .tg-switch.is-on { background: #3aa0ff; box-shadow: none; }
.shop-app .tg-switch.is-on::after { transform: translateX(-18px); }
.shop-app .tg-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  color: inherit;
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.shop-app .tg-row-copy strong,
.shop-app .tg-row-copy span { display: block; }
.shop-app .tg-row-copy strong { font-size: 14px; font-weight: 700; }
.shop-app .tg-row-copy span { margin-top: 3px; font-size: 12px; color: rgba(186,210,235,.72); }
.shop-permit-chip {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(180,210,245,.18); opacity: .8;
}
.shop-permit-chip.is-on { border-color: rgba(61,214,140,.4); color: #9dffc8; }
.shop-permit-chip.is-off { border-color: rgba(255,138,160,.35); color: #ffb3c0; }
.shelf-list, .catalog-list, .permit-list { list-style: none; margin: 0; padding: 0; }
.shelf-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(180,210,245,.08);
}
.shelf-list li:last-child { border-bottom: 0; }
.stock-tog {
  height: 32px; padding: 0 12px; border-radius: 999px; font: inherit; cursor: pointer;
  border: 1px solid rgba(180,210,245,.2); background: rgba(8,18,36,.35); color: inherit;
}
.stock-tog.is-on { border-color: rgba(61,214,140,.45); background: rgba(61,214,140,.14); color: #9dffc8; }
.permit-picks {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px; border-radius: 12px; border: 1px solid rgba(180,210,245,.12);
}
.permit-pick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(94,200,255,.08); font-size: 13px;
}
.permit-pick input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  background: rgba(8,14,28,.72);
  box-shadow: inset 0 0 0 1px rgba(140,190,255,.22);
  display: inline-grid;
  place-items: center;
}
.permit-pick input[type=checkbox]:checked {
  background: #3aa0ff;
  box-shadow: none;
}
.permit-pick input[type=checkbox]:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid #f4f8ff;
  border-top: 0;
  border-inline-start: 0;
  transform: rotate(45deg) translateY(-1px);
}
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 720px) {
  .shop-form { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-list-pane { max-height: 280px; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .shop-toolbar { grid-template-columns: minmax(160px, 1fr) auto auto; }
  .shop-search { grid-column: 1 / -1; }
}

.pub-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; list-style:none; padding:0; margin:0; }
.pub-grid a, .pub-grid li { display:flex; flex-direction:column; gap:6px; padding:14px; border-radius:16px; border:1px solid rgba(180,210,245,.14); background:rgba(6,14,28,.35); color:inherit; text-decoration:none; }
.pub-grid img { width:100%; height:120px; object-fit:cover; border-radius:12px; }
.pub-hero { position:relative; min-height:80px; border-radius:18px; overflow:hidden; margin-bottom:12px; }
.pub-banner { width:100%; height:180px; object-fit:cover; display:block; }
.pub-logo { width:72px; height:72px; object-fit:cover; border-radius:16px; position:absolute; bottom:12px; inset-inline-start:12px; border:2px solid rgba(255,255,255,.4); }

@media (max-width: 720px) {
  .pub-grid { grid-template-columns: 1fr; }
  .shop-main { margin: 8px 10px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .pub-grid a, .pub-grid li { min-height: 44px; }
}

.net-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0 18px}
.net-kpis div{padding:12px 14px;border-radius:14px;border:1px solid rgba(140,190,255,.14);background:rgba(8,16,34,.7)}
.net-kpis span{display:block;font-size:12px;opacity:.65;margin-bottom:4px}
.net-kpis b{font-size:16px}
.net-sub{margin:18px 0 8px;font-size:14px}
.net-top{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.net-top li{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;padding:10px 12px;border-radius:12px;background:rgba(40,92,180,.16);border:1px solid rgba(154,228,255,.16)}
.net-table-wrap{overflow:auto;border-radius:14px;border:1px solid rgba(140,190,255,.12)}
.net-table{width:100%;border-collapse:collapse;font-size:13px}
.net-table th,.net-table td{padding:10px 12px;text-align:start;border-bottom:1px solid rgba(180,210,245,.08);vertical-align:top}
.net-table th{opacity:.7;font-weight:650}




.shop-app .btn.primary,
.shop-dlg .btn.primary {
  background: linear-gradient(180deg, #5ec8ff, #2f7dff) !important;
  color: #041018 !important;
  font-weight: 800 !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 24px -10px rgba(47,125,255,.6), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
.shop-app .btn.primary:hover,
.shop-dlg .btn.primary:hover { filter: brightness(1.08); }


.shop-app .btn:not(.primary),
.shop-dlg .btn:not(.primary),
.shop-toolbar .btn,
.shop-toolbar a.btn {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #eaf2ff !important;
  font-weight: 650 !important;
}
.shop-app .btn:not(.primary):hover,
.shop-dlg .btn:not(.primary):hover,
.shop-toolbar .btn:hover,
.shop-toolbar a.btn:hover {
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(140,200,255,.5) !important;
}


.shop-tab { border-color: rgba(255,255,255,.14); color: rgba(200,214,232,.8); }
.shop-tab:hover { color: #fff; background: rgba(255,255,255,.05); }
.shop-tab.is-on {
  color: #fff !important;
  background: rgba(94,200,255,.14) !important;
  border-color: rgba(94,200,255,.55) !important;
  box-shadow: inset 0 0 0 1px rgba(94,200,255,.35), 0 6px 18px -8px rgba(47,125,255,.45);
}


.permit-pick {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(210,222,240,.85);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.permit-pick:hover { border-color: rgba(140,200,255,.4); color: #fff; }
.permit-pick:has(input:checked) {
  background: rgba(94,200,255,.16);
  border-color: rgba(94,200,255,.6);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(94,200,255,.3);
}
.permit-pick input[type=checkbox] {
  background: rgba(10,18,34,.9);
  box-shadow: inset 0 0 0 1.5px rgba(168,196,236,.5);
  cursor: pointer;
}
.permit-pick input[type=checkbox]:hover { box-shadow: inset 0 0 0 1.5px rgba(140,200,255,.8); }
.permit-pick input[type=checkbox]:checked {
  background: #2f7dff;
  box-shadow: none;
}


.cust-list li { border-color: rgba(255,255,255,.06); }
.cust-list li.is-active {
  border-color: rgba(94,200,255,.6);
  background: rgba(94,200,255,.13);
  box-shadow: inset 0 0 0 1px rgba(94,200,255,.25);
}


.shop-app .btn:focus-visible,
.shop-tab:focus-visible,
.permit-pick input[type=checkbox]:focus-visible {
  outline: 2px solid #5ec8ff;
  outline-offset: 2px;
}


html.playarc .shop-app .btn.primary,
html.playarc .shop-dlg .btn.primary { color: #041018 !important; }



.shelf-list { display: flex; flex-direction: column; gap: 8px; }
.shelf-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  transition: border-color .15s ease, background .15s ease;
}
.shelf-list li:hover { border-color: rgba(140,200,255,.35) !important; background: rgba(255,255,255,.035); }
.shelf-list li.is-stock { border-color: rgba(74,222,128,.18) !important; }
.shelf-list li > div { min-width: 0; }
.shelf-list li b { display: block; font-size: 13.5px; }
.shelf-list .c-sub { font-size: 12px; color: var(--color-dim, #a8bcd8); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34rem; }


.stock-tog {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700;
  cursor: pointer; flex: none;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.03) !important;
  color: #c9d7ea !important;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.stock-tog::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; opacity: .85; }
.stock-tog:hover { border-color: rgba(140,200,255,.5) !important; }
.stock-tog.is-on {
  border-color: rgba(74,222,128,.5) !important;
  background: rgba(74,222,128,.1) !important;
  color: #86efac !important;
}


.shop-permit-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.12) !important; background: rgba(255,255,255,.04) !important;
  color: #c9d7ea !important;
}
.shop-permit-chip::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; opacity: .85; }
.shop-permit-chip.is-on { border-color: rgba(74,222,128,.45) !important; background: rgba(74,222,128,.08) !important; color: #86efac !important; }
.shop-permit-chip.is-off { border-color: rgba(248,113,113,.4) !important; background: rgba(248,113,113,.07) !important; color: #fca5a5 !important; }


.shelf-list li.muted {
  justify-content: center; text-align: center;
  border: 1px dashed rgba(255,255,255,.12) !important; background: transparent !important;
  color: var(--color-dim, #a8bcd8); padding: 26px 14px; cursor: default;
}
.shelf-list li.muted:hover { border-color: rgba(255,255,255,.12) !important; }


.shop-board > .pane-head h2, .shop-board > .pane-head h3 { font-size: 1rem; }
.shop-lead { color: var(--color-dim, #a8bcd8); }




.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.shelf-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.shelf-card:hover {
  border-color: rgba(140,200,255,.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(47,125,255,.55);
}

.shelf-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120px 70px at 70% 20%, rgba(94,200,255,.14), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.shelf-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.shelf-card-thumb {
  font-size: 40px; line-height: 1; opacity: .85;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.shelf-card-condition {
  position: absolute; top: 10px; inset-inline-start: 10px;
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(8,14,26,.72); color: #cfe0f4;
  backdrop-filter: blur(6px);
}
.shelf-card-condition.c-new { border-color: rgba(74,222,128,.5); color: #86efac; }
.shelf-card-condition.c-likenew { border-color: rgba(94,200,255,.5); color: #7dd3fc; }
.shelf-card-condition.c-used { border-color: rgba(250,179,21,.55); color: #fcd34d; }
.shelf-card-status {
  position: absolute; top: 10px; inset-inline-end: 10px;
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,14,26,.72); color: #b9c9de;
}
.shelf-card-status.st-sold { border-color: rgba(248,113,113,.45); color: #fca5a5; }
.shelf-card-status.st-hidden { border-color: rgba(255,255,255,.1); color: #8fa2ba; }

.shelf-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shelf-card-name { font-size: 14px; font-weight: 800; color: #f2f6fc; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-card-sub { font-size: 12px; color: var(--color-dim, #a8bcd8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-card-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.shelf-card-price { font-size: 15.5px; font-weight: 900; color: #7dd3fc; }
.shelf-card-price small { font-size: 11px; font-weight: 700; color: var(--color-dim, #a8bcd8); }
.shelf-card-qty { font-size: 11.5px; font-weight: 800; color: #9dffc8; border: 1px solid rgba(74,222,128,.35); border-radius: 999px; padding: 2px 9px; }
.shelf-card-qty.q-zero { color: #fca5a5; border-color: rgba(248,113,113,.4); }

.shelf-card-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.shelf-card-actions .btn { flex: 1; justify-content: center; }


.shelf-card .stock-tog { height: 32px; flex: none; }


.listing-dlg {
  width: min(560px, 92vw);
  max-height: 86vh; overflow: auto;
}
.listing-dlg .lst-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px;
}
.listing-dlg .lst-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--color-dim, #a8bcd8); }
.listing-dlg .lst-field > span { font-weight: 700; }
.listing-dlg input,
.listing-dlg select,
.listing-dlg textarea {
  width: 100%; font: inherit; font-size: 13.5px;
  padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,14,26,.6); color: #e8eef8;
}
.listing-dlg input:focus, .listing-dlg select:focus, .listing-dlg textarea:focus {
  outline: none; border-color: rgba(94,200,255,.55);
  box-shadow: 0 0 0 3px rgba(94,200,255,.12);
}
.listing-dlg .lst-gallery { margin-top: 12px; border-top: 1px dashed rgba(255,255,255,.12); padding-top: 10px; }
.listing-dlg .lst-gallery-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--color-dim, #a8bcd8); }
.listing-dlg .photo-row { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.listing-dlg .photo-row input { flex: 1; }
.listing-dlg .photo-row .photo-thumb { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.listing-dlg .dlg-hint { margin: 4px 0 8px; font-size: 12px; color: var(--color-dim, #a8bcd8); }


.idt-logo-row { display: flex; align-items: center; gap: 12px; margin: 8px 0 10px; }
.idt-logo-preview {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
}
.idt-logo-fallback {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; letter-spacing: .5px;
  color: #9dc7f5; border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.03);
}
.idt-review-hint { margin-top: 8px; font-size: 12px; color: #fcd34d; }
.idt-review-hint.is-ok { color: #9dffc8; }


.soldbook { margin-top: 22px; }
.soldbook .pane-head { align-items: center; }
#soldBookNet { color: #9dffc8; }
#soldBookList li { cursor: default; }
.soldbook-row-book .pill { background: rgba(248,113,113,.15); color: #fca5a5; }
.soldbook-row-cancel .pill { background: rgba(255,255,255,.08); color: #8fa2ba; }


.idt-logo-row { position: relative; width: 72px; height: 72px; margin: 8px 0 12px; gap: 0; }
.idt-logo-preview { width: 72px; height: 72px; border-radius: 18px; }
.idt-logo-fallback { width: 72px; height: 72px; border-radius: 18px; font-size: 14px; }
.idt-logo-clear {
  position: absolute; top: -7px; inset-inline-end: -7px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 1px solid rgba(248,113,113,.5);
  background: #2a1215; color: #fca5a5; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
  transition: background .15s ease, transform .15s ease;
}
.idt-logo-clear:hover { background: #7f1d1d; color: #fff; transform: scale(1.08); }
.idt-logo-clear svg { width: 12px; height: 12px; display: block; }




html.playarc .shell-bar .shell-meta:has(.pa-search),
html.playarc .shell-bar .shell-meta:has(.home-search),
html.playarc .shell-bar .shell-meta:has(.wiki-search),
html.playarc .shell-bar .shell-meta:has(#uniQ),
html.playarc .shell-bar .shell-meta:has(input[type="search"]),
html.playarc .shell-end .shell-meta:has(.pa-search),
html.playarc .shell-end .shell-meta:has(.home-search),
html.playarc .shell-end .shell-meta:has(.wiki-search),
html.playarc .shell-end .shell-meta:has(#uniQ),
html.playarc .shell-end .shell-meta:has(input[type="search"]),
html.playarc body.home-console .shell-meta:has(.home-search),
html.playarc body.home-console .shell-meta:has(.pa-search),
html.playarc.ps-fx .shell-bar .shell-meta:has(.home-search),
html.playarc.ps-fx .shell-bar .shell-meta:has(.pa-search),
html.playarc.ps-fx .liquidGL .shell-meta:has(.home-search),
html.playarc.ps-fx .liquidGL .shell-meta:has(.pa-search),
html.playarc.ps-fx .liquidGL .shell-bar .shell-meta:has(.home-search),
html.playarc .shop-app .shell-meta:has(.home-search),
html.playarc .shop-app .shell-meta:has(.pa-search),
html.playarc .shop-app .shell-meta:has(input[type="search"]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  padding: 0 !important;
  padding-inline: 0 !important;
  padding-block: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  color: inherit !important;
}


html.playarc .pa-search,
html.playarc .home-search,
html.playarc .wiki-search,
html.playarc label.pa-search,
html.playarc label.home-search,
html.playarc label.wiki-search,
html.playarc .shell-bar .pa-search,
html.playarc .shell-bar .home-search,
html.playarc .shell-bar .wiki-search,
html.playarc .shell-end .pa-search,
html.playarc .shell-end .home-search,
html.playarc .shell-meta .pa-search,
html.playarc .shell-meta .home-search,
html.playarc .shell-meta .wiki-search,
html.playarc body.home-console .shell-bar .home-search,
html.playarc body.home-console .shell-bar .home-search.home-search,
html.playarc body.home-console .shell-meta .home-search.home-search,
html.playarc body.home-console label.home-search,
html.playarc body.home-console label.pa-search,
html.playarc.ps-fx .shell-bar .home-search,
html.playarc.ps-fx .shell-bar .pa-search,
html.playarc.ps-fx .liquidGL .home-search,
html.playarc .shop-app .home-search,
html.playarc .shop-app .pa-search {
  position: relative !important;
  display: inline-flex !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(150, 195, 245, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(8, 16, 32, 0.92) !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  overflow: hidden !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.playarc .pa-search:focus-within,
html.playarc .home-search:focus-within,
html.playarc .wiki-search:focus-within,
html.playarc label.pa-search:focus-within,
html.playarc label.home-search:focus-within,
html.playarc .shell-bar .home-search:focus-within,
html.playarc .shell-meta .home-search:focus-within,
html.playarc body.home-console .shell-bar .home-search:focus-within,
html.playarc.ps-fx .shell-bar .home-search:focus-within {
  border-color: rgba(106, 212, 255, 0.55) !important;
  box-shadow: none !important;
  background: rgba(7, 15, 32, 0.96) !important;
}

html.playarc .pa-search::before,
html.playarc .pa-search::after,
html.playarc .home-search::before,
html.playarc .home-search::after,
html.playarc .wiki-search::before,
html.playarc .wiki-search::after,
html.playarc label.pa-search::before,
html.playarc label.pa-search::after,
html.playarc label.home-search::before,
html.playarc label.home-search::after,
html.playarc label.wiki-search::before,
html.playarc label.wiki-search::after,
html.playarc .shell-bar .home-search::before,
html.playarc .shell-bar .home-search::after,
html.playarc .shell-meta .home-search::before,
html.playarc .shell-meta .home-search::after,
html.playarc body.home-console .shell-bar .home-search::before,
html.playarc body.home-console .shell-bar .home-search::after,
html.playarc.ps-fx .home-search::before,
html.playarc.ps-fx .home-search::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.playarc .pa-search input,
html.playarc .home-search input,
html.playarc .wiki-search input,
html.playarc .pa-buy-search input,
html.playarc .pa-search input#uniQ,
html.playarc .home-search input#uniQ,
html.playarc .pa-search input[type="search"],
html.playarc .home-search input[type="search"],
html.playarc .wiki-search input[type="search"],
html.playarc .shell-bar .home-search input,
html.playarc .shell-bar .home-search input#uniQ,
html.playarc .shell-bar .home-search input[type="search"],
html.playarc .shell-meta .home-search input,
html.playarc .shell-meta .home-search input#uniQ,
html.playarc .shell-meta .home-search input[type="search"],
html.playarc body.home-console .shell-bar .home-search input#uniQ,
html.playarc body.home-console .shell-bar .home-search input[type="search"],
html.playarc body.home-console label.home-search input,
html.playarc body.home-console .home-search input[type="search"],
html.playarc.ps-fx .shell-bar .home-search input#uniQ,
html.playarc.ps-fx .home-search input[type="search"],
html.playarc .shop-app .home-search input,
html.playarc .shop-app .pa-search input,
html.playarc .shell-end input[type="search"] {
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 16px !important;
  padding-inline: 16px !important;
  padding-block: 0 !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 999px !important; 
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: inherit !important;
  caret-color: #e8eef8 !important;
}

html.playarc .pa-search input:focus,
html.playarc .home-search input:focus,
html.playarc .wiki-search input:focus,
html.playarc .pa-search input[type="search"]:focus,
html.playarc .home-search input#uniQ:focus,
html.playarc .shell-bar .home-search input#uniQ:focus,
html.playarc .shell-meta .home-search input#uniQ:focus,
html.playarc body.home-console .shell-bar .home-search input#uniQ:focus,
html.playarc body.home-console .home-search input[type="search"]:focus,
html.playarc .shell-end input[type="search"]:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  width: 100% !important;
  height: 100% !important;
  color: inherit !important;
}

html.playarc .pa-search input[type="search"]::-webkit-search-decoration,
html.playarc .pa-search input[type="search"]::-webkit-search-cancel-button,
html.playarc .pa-search input[type="search"]::-webkit-search-results-button,
html.playarc .pa-search input[type="search"]::-webkit-search-results-decoration,
html.playarc .home-search input[type="search"]::-webkit-search-decoration,
html.playarc .home-search input[type="search"]::-webkit-search-cancel-button,
html.playarc .wiki-search input[type="search"]::-webkit-search-decoration,
html.playarc .wiki-search input[type="search"]::-webkit-search-cancel-button,
html.playarc .shell-end input[type="search"]::-webkit-search-decoration,
html.playarc .shell-end input[type="search"]::-webkit-search-cancel-button {
  display: none !important;
  -webkit-appearance: none !important;
}


html.playarc .shell-bar > .shell-meta:empty,
html.playarc .shell-end > .shell-meta:empty,
html.playarc .shell-bar > .shell-meta.is-hollow,
html.playarc .shell-end > .shell-meta.is-hollow,
html.playarc .shell-bar > .shell-meta[hidden],
html.playarc .shell-end > .shell-meta[hidden],
html.playarc .shell-bar > .shell-meta[aria-hidden="true"],
html.playarc .shell-end > .shell-meta[aria-hidden="true"],
html.playarc .shop-app .shell-meta#shopMeta.is-hollow,
html.playarc .shop-app .shell-meta#shopMeta:not(:has(input, .home-search, .pa-search, .wiki-search, a[href], button:not([hidden]), img, svg.meta-ico, .meta-ico)),
html.playarc.ps-fx .shell-bar > .shell-meta:empty,
html.playarc.ps-fx .shell-end > .shell-meta:empty,
html.playarc.ps-fx .shell-bar > .shell-meta.is-hollow,
html.playarc.ps-fx .shell-end > .shell-meta.is-hollow {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  flex: 0 0 0 !important;
}


html.playarc .pa-cart-chip,
html.playarc .shell-bar > .shell-end .pa-cart-chip,
html.playarc .pa-cart-root {
  visibility: visible;
}


html.playarc .pa-search input,
html.playarc .home-search input,
html.playarc .wiki-search input,
html.playarc .pa-buy-search input,
html.playarc .pa-search input#uniQ,
html.playarc .home-search input#uniQ,
html.playarc .pa-search input[type="search"],
html.playarc .home-search input[type="search"],
html.playarc .wiki-search input[type="search"],
html.playarc .shell-meta input[type="search"],
html.playarc .shell-meta input#uniQ,
html.playarc.ps-fx .pa-search input,
html.playarc.ps-fx .home-search input,
html.playarc.ps-fx .wiki-search input,
html.playarc.ps-fx input[type="search"],
html.ps-fx .pa-search input,
html.ps-fx .home-search input,
html.ps-fx .wiki-search input,
html.ps-fx .shell-meta input[type="search"],
html.ps-fx .shell-meta input#uniQ,
html.ps-fx input#uniQ,
html.ps-fx .shell-bar input[type="search"],
html.playarc body.home-console .shell-bar .home-search input#uniQ,
html.playarc body.home-console .shell-bar .home-search.home-search input#uniQ,
html.playarc .shop-app input[type="search"],
html.playarc .shop-app #uniQ {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 999px !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  width: 100% !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}


html.playarc .pa-search,
html.playarc .home-search,
html.playarc .wiki-search,
html.playarc label.pa-search,
html.playarc label.home-search,
html.playarc.ps-fx .pa-search,
html.playarc.ps-fx .home-search,
html.ps-fx .pa-search,
html.ps-fx .home-search {
  overflow: hidden !important;
  isolation: isolate !important;
}




.idt-upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 8px; }
.idt-upload-note { font-size: 11.5px; line-height: 1.5; color: rgba(168, 188, 216, 0.8); }
.idt-upload-note.is-bad { color: #ffb4ae; }
.idt-upload-note.is-ok { color: #9dffc8; }


.shop-tab.is-on {
  background: #b8ff3c !important;
  color: #0c1700 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.shop-app .btn.primary,
.shop-dlg .btn.primary,
.shop-app .btn.primary:hover,
.shop-dlg .btn.primary:hover {
  background: #b8ff3c !important;
  background-image: none !important;
  color: #0c1700 !important;
  box-shadow: none !important;
  filter: none;
}


html.playarc .shop-app .shop-toolbar,
html.playarc .shop-app .shop-list-pane,
html.playarc .shop-app .shop-detail-pane,
html.playarc .shop-app .shop-inner,
html.playarc .shop-dlg {
  border: 0 !important;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(185, 163, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(22, 35, 61, 0.7), rgba(8, 14, 26, 0.9)) !important;
  box-shadow: inset 0 0 0 1px rgba(136, 184, 244, 0.22), 0 24px 48px -28px rgba(0,0,0,.75) !important;
  border-radius: 16px;
}
html.playarc .shop-app .shop-toolbar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
}
html.playarc .shop-app .shop-toolbar .btn,
html.playarc .shop-app .shop-search,
html.playarc .shop-app .shop-toolbar select {
  background: rgba(8, 14, 26, 0.85) !important;
  border: 1px solid rgba(136, 184, 244, 0.28) !important;
  color: #eaf4ff !important;
  border-radius: 11px;
}
html.playarc .shop-app h1,
html.playarc .shop-app h2 {
  font: 800 18px/1.3 Saira, Vazirmatn, Tahoma, sans-serif !important;
  color: #eaf4ff !important;
}
@media (max-width: 720px) {
  html.playarc .shop-app .shop-toolbar,
  html.playarc .shop-app .shop-list-pane,
  html.playarc .shop-app .shop-detail-pane { border-radius: 12px; }
}



body.pa-embed .shop-app,
body.pa-desk-embed .shop-app {
  min-height: 100% !important;
  height: 100% !important;
}
body.pa-embed,
body.pa-desk-embed {
  min-height: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #06101f !important;
}
body.pa-embed .shop-main,
body.pa-desk-embed .shop-main {
  margin: 8px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}


.cat-photos { margin-top: 6px; }
.cat-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.cat-photo {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(140, 190, 255, .16);
  background: rgba(4, 7, 14, .55);
  aspect-ratio: 4 / 3;
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-photo.is-cover { border-color: rgba(94, 200, 255, .55); }
.cat-photo figcaption {
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  padding: 2px 8px;
  border-start-start-radius: 10px;
  font-size: 10px; font-weight: 800;
  background: rgba(94, 200, 255, .9);
  color: #06101f;
}
.cat-photo-del {
  position: absolute;
  top: 4px; inset-inline-end: 4px;
  width: 20px; height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, .5);
  background: rgba(8, 14, 26, .82);
  color: #fca5a5;
  font-size: 13px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cat-photo-del:hover { background: rgba(127, 29, 29, .55); color: #fff; }
.cat-photo-empty { font-size: 12px; }
.cat-photo-note { font-size: 12px; min-height: 18px; margin: 6px 0 0; color: var(--color-dim, #a8bcd8); }
.cat-photo-note.is-ok { color: #86efac; }
.cat-photo-note.is-bad { color: #fca5a5; }


.cat-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.cat-cover {
  width: 46px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(140, 190, 255, .16);
  background: rgba(4, 7, 14, .55);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}
.cat-cover-none { opacity: .7; }


.desk-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid rgba(94, 200, 255, .18);
  background:
    radial-gradient(340px 130px at 88% 0%, rgba(94, 200, 255, .14), transparent 70%),
    linear-gradient(150deg, rgba(10, 20, 38, .85), rgba(6, 12, 24, .65));
  box-shadow: 0 18px 40px -26px rgba(47, 125, 255, .5);
}
.desk-hero-id { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.desk-avatar {
  width: 58px; height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(94, 200, 255, .55);
  box-shadow: 0 0 0 4px rgba(94, 200, 255, .12);
  flex: 0 0 auto;
}
.desk-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  font: 800 24px/1 var(--font-ui, "Vazirmatn UI FD");
  color: #bfe6ff;
  background: linear-gradient(150deg, rgba(47, 125, 255, .35), rgba(94, 200, 255, .15));
}
.desk-id-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.desk-id-copy strong {
  font-size: 19px; font-weight: 900; color: #f2f6fc;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px;
}
.desk-id-sub { font-size: 12px; color: var(--color-dim, #a8bcd8); }
.desk-hero-shop {
  display: flex; align-items: center; gap: 12px;
  flex: 1 1 260px;
  min-width: 240px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid rgba(140, 190, 255, .14);
}
.desk-shop-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(140, 190, 255, .25);
  background: rgba(4, 7, 14, .55);
  flex: 0 0 auto;
}
.desk-shop-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.desk-shop-copy select { width: 100%; max-width: 280px; font-weight: 800; }
.desk-shop-sub { font-size: 12px; color: var(--color-dim, #a8bcd8); }
.desk-hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .desk-hero { flex-direction: column; align-items: stretch; }
  .desk-hero-shop { border-inline-start: 0; padding-inline-start: 0; }
}



.shop-overview { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 10px; }


.ov-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(94, 200, 255, .16), transparent 55%),
    linear-gradient(160deg, #14213a 0%, #0a1424 100%);
  box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .18), 0 18px 40px -26px rgba(0, 0, 0, .9);
}
.ov-cover {
  position: absolute; inset: 0;
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(4, 7, 14, .05), rgba(4, 7, 14, .82));
  background-size: cover; background-position: center;
}
.ov-hero-id {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  width: 100%;
  box-sizing: border-box;
}
.ov-logo {
  width: 76px; height: 76px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(4, 7, 14, .6);
  box-shadow: 0 0 0 2px rgba(184, 255, 60, .35), 0 12px 26px -12px rgba(0, 0, 0, .9);
  flex: 0 0 auto;
}
.ov-logo-fallback {
  display: grid; place-items: center;
  font-size: 30px; font-weight: 800; color: #0a1600;
  background: linear-gradient(145deg, var(--ov-accent, #b8ff3c), #7ec8ff);
}
.ov-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.ov-copy h2 { margin: 0; font-size: 22px; font-weight: 800; color: #eef5ff; }
.ov-blurb { margin: 0; font-size: 13px; color: var(--color-dim, #a8bcd8); max-width: 640px; }
.ov-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }


.ov-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ov-kpi {
  border-radius: 16px;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, #182231, #131b28);
  box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .16);
}
.ov-kpi span { font-size: 12px; color: var(--color-dim, #a8bcd8); }
.ov-kpi b { font-size: 20px; font-weight: 800; color: #eef5ff; }


.ov-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; align-items: start; }
.ov-card {
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #182231, #131b28);
  box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .16);
}
.ov-card .pane-head { margin-bottom: 10px; }
.ov-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ov-tile { margin: 0; border-radius: 14px; overflow: hidden; background: rgba(7, 17, 32, .6); box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .12); }
.ov-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.ov-tile-thumb { width: 100%; aspect-ratio: 1; display: grid; place-items: center; font-size: 26px; }
.ov-tile figcaption { font-size: 11px; padding: 6px 8px 8px; color: var(--color-dim, #a8bcd8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-sales { display: flex; flex-direction: column; gap: 8px; }
.ov-sale {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 12px; padding: 10px 12px;
  background: rgba(7, 17, 32, .6);
  box-shadow: inset 0 0 0 1px rgba(140, 180, 255, .12);
}
.ov-sale > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-sale b { font-size: 13px; color: #eef5ff; }
.ov-sale .muted { font-size: 11px; color: var(--color-dim, #a8bcd8); }

@media (max-width: 960px) {
  .ov-cols { grid-template-columns: minmax(0, 1fr); }
  .ov-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-logo { width: 60px; height: 60px; border-radius: 16px; }
}


html.playarc[data-pa-shop-locale] { --pa-shop-overview: "PA_SHOP_OVERVIEW_V1"; }


.ov-cols.is-single { grid-template-columns: minmax(0, 1fr); }
.ov-cols.is-single .ov-shelf { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 960px) { .ov-cols.is-single .ov-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ov-cols.is-single .ov-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


.shop-app .btn.primary, .shop-dlg .btn.primary {
  background: linear-gradient(180deg, #ffb07a, #ee7eb6) !important;
  color: #2c103f !important; -webkit-text-fill-color: #2c103f !important;
  box-shadow: 0 10px 24px -10px rgba(238, 126, 182, .6), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}


.shop-tab.is-on {
  background: linear-gradient(180deg, #ffd9c0, #ffb07a) !important;
  color: #2c103f !important; -webkit-text-fill-color: #2c103f !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px -10px rgba(255, 176, 122, .55) !important;
}
html.playarc { --pa-shop-sunset: "PA_SHOP_SUNSET_V2"; }
