/* O Jailbreaks — the 🛒 [O]Market seller panel (seller/, seller.js; site v52). Builds on styles.css and members.css
   (colours, the top bar, buttons, the login panel, .mb-panel and the form boxes). Everything new starts sl-, and the
   paid boosts are "boost"/"spot"/"shout"/"offer": ad blockers hide classes that sound like adverts. Plain and readable:
   full-size text, nothing narrower than a phone. */

.sl[aria-busy="true"] { cursor: progress; }
.sl .mb-field > span { font-size: 15.5px; }
.sl .mb-field > small { margin-top: -2px; font-size: 14.5px; line-height: 1.5; }
.sl .mb-count { font-size: 13.5px; }
.sl .mb-submit p { font-size: 15px; }
.sl .mb-field textarea.sl-short { min-height: 104px; }
.sl-opt { font-size: 14px; font-weight: 500; color: var(--muted); }

/* The note at the top: back from Stripe ("Checking your payment…"), a shop just made */
.sl-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px;
  padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font-size: 16px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere;
}
.sl-note p { flex: 1 1 220px; min-width: 0; }
.sl-note.is-wait { border-color: rgba(255, 255, 255, 0.175); background: rgba(255, 255, 255, 0.035); }
.sl-note.is-wait p::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--blue-2); vertical-align: 1px; animation: sl-blink 1.2s ease-in-out infinite alternate; }
.sl-note.is-ok { border-color: rgba(71, 230, 161, .45); background: rgba(71, 230, 161, .08); }
@keyframes sl-blink { from { opacity: .3; } to { opacity: 1; } }

/* Panels. (v55) The dashboard is a column, not a grid: the chips (.sl-jump) can only stay stuck at the top inside a
   column — a grid item can't leave its own row. */
.sl-dash { display: flex; flex-direction: column; gap: 16px; }
.sl-box { display: grid; gap: 14px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.sl-box > * { min-width: 0; }
.sl-box > .pp-mbtn { justify-self: start; }
.sl-h2 { margin: 0; font: 800 clamp(24px, 3.4vw, 32px)/1.2 var(--font); letter-spacing: -.02em; text-transform: none; color: #fff; overflow-wrap: anywhere; }
.sl-h3 { display: flex; align-items: center; gap: 10px; font: 700 20px/1.3 var(--font); letter-spacing: -.01em; color: #fff; }
.sl-h3 .ico { font-size: 21px; color: var(--ice); }
.sl-h4 { display: flex; align-items: center; gap: 9px; font: 700 17.5px/1.3 var(--font); color: #fff; }
.sl-emoji { font-size: 21px; line-height: 1; }
.sl-sub { font-size: 15px; line-height: 1.6; color: var(--text-2); white-space: pre-line; }
.sl-state { font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--text); }
.sl-kicker { font: 600 14px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sl-meta { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.sl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sl-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 18px; }
.sl-top-text { flex: 1 1 220px; min-width: 0; display: grid; gap: 4px; }
.sl-count { padding-top: 3px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* What a request said: amber for "can't do that", green when it worked */
.sl-msg {
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(245, 177, 74, .4); background: rgba(245, 177, 74, .08);
  font-size: 15px; line-height: 1.55; color: #ffe2b0; overflow-wrap: anywhere;
}
.sl-msg.is-ok { border-color: rgba(71, 230, 161, .45); background: rgba(71, 230, 161, .08); color: #ececec; }

/* Bigger buttons than elsewhere: easy to hit, easy to read */
.sl-box .pp-mbtn { height: 44px; padding: 0 16px; font-size: 15px; }
.sl-box .pp-mbtn .ico { font-size: 17px; }
.sl .pp-mbtn:disabled { opacity: .5; cursor: not-allowed; }
.sl .pp-mbtn:disabled:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.sl .pp-mbtn.primary:disabled:hover { border-color: #f5f5f5; background: #f5f5f5; }
.sl .btn:disabled { opacity: .6; pointer-events: none; }

/* Open / Closed switch */
.sl-switch {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 18px 6px 7px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font: 600 16px var(--font); color: var(--text-2);
  transition: border-color .2s, background .2s, color .2s;
}
.sl-knob { position: relative; flex: none; width: 54px; height: 32px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: background .25s; }
.sl-knob::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.sl-switch[aria-checked="true"] { border-color: rgba(71, 230, 161, .5); background: rgba(71, 230, 161, .08); color: #fff; }
.sl-switch[aria-checked="true"] .sl-knob { background: var(--green); }
.sl-switch[aria-checked="true"] .sl-knob::after { transform: translateX(22px); }
.sl-switch:hover:not(:disabled) { border-color: var(--line-3); }
.sl-switch:disabled { opacity: .55; cursor: not-allowed; }

/* What has to happen before the shop can open (the bot's words) */
.sl-cant { display: grid; gap: 8px; }
.sl-cant li {
  position: relative; padding: 11px 14px 11px 40px; border-radius: 12px; border: 1px solid rgba(245, 177, 74, .35);
  background: rgba(245, 177, 74, .07); font-size: 15.5px; line-height: 1.5; color: var(--text);
}
.sl-cant li::before { content: ''; position: absolute; left: 15px; top: 17px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--amber); }

/* Shop fee: weekly or monthly */
.sl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.sl-plan {
  display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; text-align: left; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.175); background: linear-gradient(140deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.017));
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.sl-plan b { font: 700 16px var(--font); color: #fff; }
.sl-plan span { font-size: 15px; color: var(--ice); }
.sl-plan:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.315); transform: translateY(-1px); box-shadow: 0 12px 30px -16px rgba(255, 255, 255, 0.315); }
.sl-plan:disabled { opacity: .55; cursor: not-allowed; }

/* Items. (v62) A short row each: its picture, name and price, stock and pictures at a glance (tap one to open it), and a
   Manage menu; its parts (Stock & versions, Pictures & clips, Category) open under the row. */
.sl-list { display: grid; gap: 8px; }
.sl-item { position: relative; min-width: 0; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 10, 10, .55); }
.sl-item.is-wait { border-color: rgba(245, 158, 11, .32); }
.sl-item-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; padding: 12px 14px; }
.sl-item-thumb { width: 48px; height: 48px; overflow: hidden; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: #0b0b0b; }
.sl-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sl-item-ini { font: 600 18px var(--mono); color: var(--muted); }
.sl-item-ini .ico { width: 20px; height: 20px; }
.sl-item-main { min-width: 0; display: grid; gap: 6px; }
.sl-item .sl-tags { gap: 5px; }
.sl-item .sl-tag { min-height: 26px; padding: 3px 10px; font-size: 13px; }
.sl-item .sl-tag.is-soft { padding: 3px 4px; }
.sl-item .sl-tag .ico { width: 14px; height: 14px; }
.sl-item .sl-tag.is-hint { border-color: rgba(245, 158, 11, .35); color: #fcd34d; }
button.sl-tag { cursor: pointer; transition: border-color .15s, color .15s; }
button.sl-tag:hover { border-color: var(--line-3); color: var(--text); }
button.sl-tag:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 1px; }
.sl-menu { position: relative; align-self: start; }
.sl-box .sl-menu-btn { height: 40px; padding: 0 10px 0 14px; gap: 6px; }
.sl-menu-btn .ico:first-child { display: none; }
.sl-menu-btn .ico:last-child { transition: transform .2s; }
.sl-menu-btn[aria-expanded="true"] .ico:last-child { transform: rotate(180deg); }
.sl-menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 7; display: grid; gap: 2px; min-width: 216px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2, #161616); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9);
}
.sl-menu-list.is-up { top: auto; bottom: calc(100% + 6px); }
.sl-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 9px;
  background: transparent; font: 500 14.5px var(--font); color: var(--text); text-align: left; white-space: nowrap; cursor: pointer;
}
.sl-menu-item .ico { flex: none; font-size: 17px; color: var(--muted); }
.sl-menu-item:hover, .sl-menu-item:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.sl-menu-item.is-danger, .sl-menu-item.is-danger .ico { color: #fca5a5; }
.sl-menu-item.is-sure { background: rgba(255, 92, 92, .16); color: #ffc4c4; }
.sl-menu-item:disabled { opacity: .5; cursor: not-allowed; }
.sl-item-panel { display: grid; gap: 12px; min-width: 0; margin: 0 14px 14px; padding: 12px 14px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.sl-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-right: -6px; }
.sl-panel-head b { font: 600 14.5px var(--font); color: var(--text); }
.sl-panel-x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.sl-panel-x:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.sl-panel-x:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 1px; }
.sl-panel-x .ico { width: 16px; height: 16px; }
.sl-panel-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.sl-text-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; cursor: pointer; }
.sl-text-btn:hover { text-decoration-color: currentColor; }
.sl-item-panel .sl-media { padding-top: 0; border-top: 0; }
.sl-item-panel .sl-stock { margin-left: 0; }
.sl-cat { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-cat select { flex: 1 1 200px; min-width: 0; height: 44px; padding: 0 10px; font: 500 15px var(--font); color: var(--text); }
/* Above the list: New item, then (from 6 items) a search box and a sort */
.sl-items-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sl-find { display: flex; flex-wrap: wrap; gap: 10px; }
.sl-find-q { position: relative; flex: 1 1 240px; min-width: 0; }
.sl-find-q .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 17px; color: var(--muted); pointer-events: none; }
.sl-find-q input { width: 100%; height: 44px; padding: 0 12px 0 40px; font: 400 15px var(--font); color: var(--text); }
.sl-find-sort { display: flex; align-items: center; gap: 8px; font: 500 14px var(--font); color: var(--muted); }
.sl-find-sort select { height: 44px; padding: 0 10px; font: 500 14.5px var(--font); color: var(--text); cursor: pointer; }
.sl-find-note { margin: -4px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) {
  /* (A phone: the picture, name and ⋯ on one line; the stock and pictures, and what's waiting, across the row under it.) */
  .sl-item-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "thumb name menu" "tags tags tags" "wait wait wait"; gap: 8px 10px; padding: 12px; }
  .sl-item-main { display: contents; }
  .sl-item-thumb { grid-area: thumb; width: 40px; height: 40px; border-radius: 9px; }
  .sl-item-name { grid-area: name; align-self: center; }
  .sl-item-row > .sl-item-main > .sl-tags { grid-area: tags; }
  .sl-item-row .sl-item-wait { grid-area: wait; margin-top: 0; }
  .sl-menu { grid-area: menu; }
  .sl-box .sl-menu-btn { width: 44px; padding: 0; justify-content: center; }
  .sl-menu-btn > span, .sl-menu-btn .ico:last-child { display: none; }
  .sl-menu-btn .ico:first-child { display: block; font-size: 20px; }
  .sl-item-panel { margin: 0 10px 10px; padding: 10px 12px 12px; }
  .sl-find-sort { flex: 1 1 100%; }
  .sl-find-sort select { flex: 1; min-width: 0; }
}
.sl-item-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 16px; }
.sl-item-name b { min-width: 0; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.sl-item-price { font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-item-about { font-size: 15px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.sl-item-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.sl .pp-mbtn.is-sure { border-color: rgba(255, 120, 120, .6); background: rgba(255, 92, 92, .14); color: #ffc4c4; }
.sl-empty { padding: 22px 16px; border-radius: 14px; border: 1px dashed var(--line-2); text-align: center; font-size: 15px; color: var(--muted); }
.sl-item-form { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Boosts: 🔝 top spot, ⭐ recommended, 📢 an ad post, 🏷️ a promotion post. (v62) Each one folds open (a .sl-fold): its
   name and price on the line, what it does and Pay inside. */
.sl-boost-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sl-boost { min-width: 0; background: rgba(10, 10, 10, .55); }
.sl-boost > summary .sl-price { margin-left: auto; font-size: 15.5px; }
.sl-boost > .pp-mbtn { display: inline-flex; }
.sl-boost.is-off { opacity: .6; }
.sl-price { font: 700 18px var(--font); color: #fff; font-variant-numeric: tabular-nums; }
.sl-weeks select { max-width: 220px; }

@media (max-width: 760px) {
  .sl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .sl-note { padding: 13px 15px; }
  .sl-row .btn { width: 100%; justify-content: space-between; }
  .sl-box > .pp-mbtn, .sl-boost > .pp-mbtn { justify-self: stretch; justify-content: center; }
  .sl-weeks select { max-width: none; }
  .sl-item-tools { width: 100%; }
  .sl-item-tools .pp-mbtn { flex: 1 1 0; justify-content: center; }
}
/* (v52) An item waiting for olliE to check it, or a change waiting. */
.sl-item-wait { margin-top: 4px; font-size: 15px; line-height: 1.5; color: #fcd34d; }

/* (v54) 📜 I agree to the [O]Market seller terms: a tick box before applying, paying the shop fee or opening the shop
   (seller.js). It lights up (is-need) when they try without it. */
.sl-agree {
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 15px; line-height: 1.5; color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.sl-agree:hover { border-color: var(--line-3); }
.sl-agree input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sl-tick {
  flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 0; border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .4); background: #0a0a0a; color: transparent; font-size: 14px; transition: background .15s, border-color .15s, color .15s;
}
.sl-tick .ico { stroke-width: 2.6; }
.sl-agree input:checked + .sl-tick { border-color: #fafafa; background: #fafafa; color: #000; }
.sl-agree input:focus-visible + .sl-tick { outline: 2px solid var(--accent-1); outline-offset: 2px; }
.sl-agree:has(input:checked) { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .06); }
.sl-agree-text a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.sl-agree-text a:hover { text-decoration-color: currentColor; }
.sl-agree.is-need { border-color: rgba(245, 158, 11, .7); background: rgba(245, 158, 11, .08); box-shadow: 0 0 0 3px rgba(245, 158, 11, .14); animation: sl-nudge .4s ease; }
.sl-agree.is-need .sl-tick { border-color: var(--amber); }
@keyframes sl-nudge { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .sl-agree.is-need { animation: none; } }

/* (v62) 🧭 The bar of parts — Overview, Items, Money, Shop page, Boosts — just under the top bar as the page scrolls. One
   part shows at a time (seller.js). Tabs on a wide screen; on a phone, a drop-down ("Section"). */
.sl-jump {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 6;
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(12, 12, 12, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 16px 32px -22px rgba(0, 0, 0, .95);
}
.sl-tabs { display: flex; flex: 1; gap: 2px; min-width: 0; }
.sl-tabs [role="tab"] {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 42px; padding: 0 10px;
  border: 0; border-radius: 10px; background: transparent; font: 500 14.5px var(--font); color: var(--muted); white-space: nowrap; cursor: pointer;
}
.sl-tabs [role="tab"] .ico { flex: none; font-size: 17px; }
.sl-tabs [role="tab"] > span { overflow: hidden; text-overflow: ellipsis; }
.sl-tabs [role="tab"]:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.sl-tabs [role="tab"][aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sl-tabs [role="tab"][aria-selected="true"] .ico { color: var(--ice); }
.sl-tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: -2px; }
.sl-tab-n { flex: none; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); font: 500 12px/1.3 var(--font); font-variant-numeric: tabular-nums; color: var(--text-2); text-align: center; }
.sl-tab-n:empty { display: none; }
.sl-pick { display: none; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 0 0 0 10px; }
.sl-pick > span { flex: none; font: 600 13px var(--font); color: var(--muted); }
.sl-pick select { flex: 1; min-width: 0; height: 42px; padding: 0 10px; font: 600 15px var(--font); color: var(--text); cursor: pointer; }
.sl-pick select:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 1px; }
@media (max-width: 720px) {
  .sl-tabs { display: none; }
  .sl-pick { display: flex; }
}
.sl-part { display: grid; gap: 16px; min-width: 0; }
.sl-part > * { min-width: 0; }

/* (v62) ✅ What to do next: a new shop's steps, each with a button that goes there */
.sl-todo { border-color: rgba(59, 130, 246, .32); background: linear-gradient(160deg, rgba(59, 130, 246, .08), rgba(11, 11, 11, .82) 60%); }
.sl-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sl-step { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.sl-step-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-3); font: 600 14px var(--font); color: var(--text-2); }
.sl-step-dot .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.sl-step.is-done .sl-step-dot { border-color: transparent; background: rgba(34, 197, 94, .16); color: var(--green); }
.sl-step-text { display: grid; gap: 3px; min-width: 0; }
.sl-step-text b { font: 600 15.5px/1.35 var(--font); color: var(--text); }
.sl-step.is-done .sl-step-text b { font-weight: 500; color: var(--text-2); }
.sl-step-text p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sl-step-cant { display: grid; gap: 3px; margin: 2px 0 0; padding-left: 18px; list-style: disc; font-size: 14px; line-height: 1.5; color: #ffe2b0; overflow-wrap: anywhere; }
.sl-step-ok { font: 500 13.5px var(--font); color: var(--green); }
.sl-box .sl-step .pp-mbtn { height: 40px; padding: 0 14px; }
@media (max-width: 560px) {
  .sl-step { grid-template-columns: 30px minmax(0, 1fr); align-items: start; }
  .sl-step > .pp-mbtn, .sl-step-ok { grid-column: 2; justify-self: start; }
}

/* (v62) Folds (<details data-fold>): a summary line (what's set shows on it while it's closed), then what's inside.
   Each seller's open ones are remembered (seller.js). */
.sl-fold { min-width: 0; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.sl-fold > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border-radius: 13px; cursor: pointer; list-style: none; transition: background .15s; }
.sl-fold > summary::-webkit-details-marker { display: none; }
.sl-fold > summary::after { content: ''; flex: none; width: 8px; height: 8px; margin: 0 2px 4px 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.sl-fold[open] > summary::after { margin-bottom: -2px; transform: rotate(-135deg); }
.sl-fold > summary:hover { background: rgba(255, 255, 255, .03); }
.sl-fold > summary:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 2px; }
.sl-fold[open] > summary { border-bottom: 1px solid var(--line); border-radius: 13px 13px 0 0; }
.sl-fold-t { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font: 600 15.5px/1.3 var(--font); color: var(--text); }
.sl-fold-t .ico { flex: none; font-size: 17px; color: var(--ice); }
.sl-fold-s { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-fold > :not(summary) { margin-left: 16px; margin-right: 16px; }
.sl-fold > summary + * { margin-top: 16px; }
.sl-fold > :not(summary) + :not(summary) { margin-top: 14px; }
.sl-fold[open] { padding-bottom: 16px; }
.sl-fold .sl-link, .sl-fold #sl-look-form { margin-top: 16px; padding-top: 0; border-top: 0; }
@media (max-width: 560px) {
  /* (A phone: what's set goes on its own line under the title.) */
  .sl-fold > summary { flex-wrap: wrap; row-gap: 2px; }
  .sl-fold-t { flex: 1 1 0; }
  .sl-fold > summary::after { order: 2; }
  .sl-fold-s { order: 3; flex: 1 1 100%; padding-left: 26px; text-align: left; white-space: normal; }
  .sl-boost > summary .sl-price { order: 3; flex: 1 1 100%; margin-left: 0; padding-left: 30px; }
}
@media (prefers-reduced-motion: reduce) { .sl-fold > summary::after { transition: none; } }

/* (v55) 📈 Overview: the shop in numbers (stat tiles), then its sales a week for the last 12 weeks. One series, so one
   colour (the site's blue) and no legend; thin bars with rounded tops on a hairline baseline, quiet gridlines, values in
   a tooltip on hover or focus, and every week in a table under it too. Colours are the theme's tokens. */
.sl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 10px; }
.sl-tile {
  container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; min-width: 0; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.sl-tile dt { font-size: 13.5px; line-height: 1.3; color: var(--muted); }
.sl-tile-v { font: 600 21px/1.15 var(--font); font-size: clamp(17px, 20cqi, 24px); letter-spacing: -.02em; color: var(--text); white-space: nowrap; } /* (seller.js makes a long amount smaller to fit) */
.sl-tile-star { margin-right: 5px; font-size: .78em; vertical-align: .1em; color: var(--amber); }
.sl-tile-s { font-size: 13.5px; line-height: 1.35; color: var(--muted); }

.sl-chart { display: grid; gap: 12px; min-width: 0; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.sl-chart-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.sl-chart-cap b { font: 600 16px/1.3 var(--font); color: var(--text); }
.sl-chart-cap span { font-size: 13.5px; color: var(--muted); }
.sl-chart-body {
  --sl-bar: var(--accent-1); --sl-bar-hi: var(--blue-2); --sl-grid: var(--line); --sl-base: var(--line-3); --sl-ink: var(--muted);
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 168px auto; gap: 8px 10px; padding-top: 8px;
}
.sl-y { position: relative; font: 500 12px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--sl-ink); text-align: right; }
.sl-y i { display: block; height: 0; overflow: hidden; visibility: hidden; font-style: normal; white-space: nowrap; } /* (the widest label: sets the width) */
.sl-y span { position: absolute; right: 0; transform: translateY(50%); white-space: nowrap; }
.sl-plot { position: relative; min-width: 0; border-bottom: 1px solid var(--sl-base); }
.sl-gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--sl-grid); }
.sl-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr)); list-style: none; }
.sl-col {
  position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; min-width: 0;
  border-radius: 6px 6px 0 0; transition: background .15s; -webkit-tap-highlight-color: transparent;
}
.sl-col:focus-visible { outline-offset: -2px; border-radius: 6px 6px 0 0; }
.sl-bar { display: block; width: min(24px, 62%); border-radius: 4px 4px 0 0; background: var(--sl-bar); transition: background .15s; }
.sl-col.is-on { background: rgba(255, 255, 255, .045); }
.sl-col.is-on .sl-bar { background: var(--sl-bar-hi); }
.sl-x { grid-column: 2; display: grid; grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr)); font: 500 12px/1.2 var(--font); color: var(--sl-ink); }
.sl-x span { grid-row: 1; justify-self: center; white-space: nowrap; }
.sl-x .is-end { justify-self: end; color: var(--text-2); }
.sl-tip {
  position: absolute; z-index: 3; top: 0; left: 0; display: grid; gap: 2px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
  white-space: nowrap; pointer-events: none;
}
.sl-tip b { font: 600 15px/1.25 var(--font); color: var(--text); }
.sl-tip span { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.sl-chart .sl-empty { padding: 30px 16px; }
/* Every week as a table: the same numbers without hovering */
.sl-wk summary {
  display: inline-flex; align-items: center; gap: 9px; min-height: 32px; cursor: pointer; list-style: none;
  font: 500 14px var(--font); color: var(--text-2); transition: color .15s;
}
.sl-wk summary::-webkit-details-marker { display: none; }
.sl-wk summary::before { content: ''; width: 7px; height: 7px; margin: 0 2px 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.sl-wk[open] summary::before { transform: rotate(45deg); margin-bottom: 4px; }
.sl-wk summary:hover { color: var(--text); }
.sl-wk-scroll { margin-top: 10px; border-radius: 12px; border: 1px solid var(--line); overflow-x: auto; }
.sl-wk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sl-wk-table th, .sl-wk-table td { padding: 9px 14px; border-top: 1px solid var(--line); text-align: left; }
.sl-wk-table thead th { border-top: 0; background: rgba(255, 255, 255, .02); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.sl-wk-table tbody th { font-weight: 500; color: var(--text-2); }
.sl-wk-table td, .sl-wk-table thead th + th { text-align: right; white-space: nowrap; }
.sl-wk-table td { font-variant-numeric: tabular-nums; color: var(--text); }

/* (v57) 🖼️ Pictures and clips on each item: thumbnails (amber edge while waiting for olliE), ✕ to take one off (tap
   twice), + Add (a file), or a YouTube link. */
.sl-media { flex: 1 1 100%; display: grid; gap: 10px; min-width: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.sl-media-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 14px; }
.sl-media-head b { font-weight: 600; color: var(--text); }
.sl-media-head small { font-size: 13px; color: var(--muted); }
.sl-mlist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sl-mthumb { position: relative; width: 92px; height: 92px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: #0b0b0b; }
.sl-mthumb img, .sl-mthumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-mthumb.is-wait { border-color: rgba(245, 158, 11, .6); }
.sl-mstate { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 2px 5px; border-radius: 6px; background: rgba(0, 0, 0, .78); font: 500 10.5px/1.3 var(--font); color: #fff; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-mthumb.is-wait .sl-mstate { color: #fcd34d; }
.sl-mplay { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); color: #fff; pointer-events: none; }
.sl-mplay .ico { width: 24px; height: 24px; }
.sl-mx { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .75); color: #fff; cursor: pointer; }
.sl-mx .ico { width: 14px; height: 14px; }
.sl-mx.is-sure { background: var(--red); }
.sl-madd { position: relative; display: grid; place-content: center; justify-items: center; gap: 2px; width: 92px; height: 92px; border: 1px dashed var(--line-3); border-radius: 10px; font: 500 13px var(--font); color: var(--text-2); cursor: pointer; transition: border-color .2s, color .2s; }
.sl-madd:hover, .sl-madd:focus-within { border-color: var(--text); color: var(--text); }
.sl-madd .ico { width: 20px; height: 20px; }
.sl-madd input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sl-mlink { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-mlink input { flex: 1 1 220px; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font: 400 15px var(--font); color: var(--text); }
.sl-mlink input:focus { outline: none; border-color: var(--line-3); }
.sl-media-hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--dim); }
@media (max-width: 480px) { .sl-mthumb, .sl-madd { width: 78px; height: 78px; } }

/* (v55) 📦 Stock on each item: how many are left (amber when it's nearly gone, red when it's sold out), how many sold,
   how many are held by unpaid orders, and a box to change it there and then (empty: no limit). */
.sl-list { grid-template-columns: minmax(0, 1fr); } /* (a row is never wider than the panel, whatever is in it) */
.sl-item-foot {
  flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
  min-width: 0; padding-top: 12px; border-top: 1px solid var(--line);
}
.sl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.sl-tag {
  display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 13.5px/1.3 var(--font); color: var(--text-2);
}
.sl-tag.is-in::before, .sl-tag.is-low::before, .sl-tag.is-out::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sl-tag.is-in::before { background: var(--green); }
.sl-tag.is-low { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); color: #fcd34d; }
.sl-tag.is-out { border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .1); color: #fca5a5; }
.sl-tag.is-soft { padding: 4px 6px; border-color: transparent; background: none; color: var(--muted); }
.sl-stock { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sl-stock label { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-2); cursor: text; }
.sl-stock input {
  width: 104px; height: 40px; padding: 0 12px; font: 500 15px var(--font); font-variant-numeric: tabular-nums;
  transition: border-color .2s, box-shadow .2s;
}
.sl-stock input::placeholder, .sl-stock-field input::placeholder { color: var(--dim); }
.sl-stock input.is-saved { border-color: rgba(34, 197, 94, .65) !important; box-shadow: 0 0 0 3px rgba(34, 197, 94, .12) !important; }
.sl-box .sl-stock .pp-mbtn { height: 40px; padding: 0 14px; }

/* (v55) No boost has a price yet: one line in place of the cards */
[data-boost-none] { color: var(--text-2); }

@media (max-width: 680px) {
  .sl-chart-body { grid-template-rows: 140px auto; }
  .sl-stock { flex: 1 1 100%; margin-left: 0; }
  .sl-stock label { flex: 1; min-width: 0; }
  .sl-stock input { flex: 1 1 0; width: 0; min-width: 0; height: 44px; }
  .sl-box .sl-stock .pp-mbtn { height: 44px; justify-content: center; }
  .sl-wk-table th, .sl-wk-table td { padding: 9px 10px; }
}
@media (max-width: 480px) {
  .sl-x .is-mid { display: none; } /* (under 12 bars on a phone, room for two labels: a date and "This week") */
}
@media (prefers-reduced-motion: reduce) { .sl-col, .sl-bar, .sl-wk summary::before, .sl-menu-btn .ico { transition: none; } }

/* (v61) 🔗 The shop's own link: "ojailbreaks.com/" then the box to type it */
.sl-link { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.sl-link-row { display: flex; align-items: stretch; min-width: 0; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--surface); }
.sl-link-row:focus-within { border-color: var(--text); }
.sl-link-host { display: flex; align-items: center; padding: 0 1px 0 12px; font: 500 14px/1 var(--font); color: var(--muted); white-space: nowrap; }
.sl-link-row #sl-link-in { flex: 1; min-width: 0; margin: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 0 !important; outline: none; }
@media (max-width: 380px) { .sl-link-host { font-size: 13px; padding-left: 10px; } }

/* (v61) 🎨 Shop page: how their page on ojailbreaks.com/<link> looks — a preview, the banner and logo (class names say
   "cover", never the words ad blockers hide), then the headline, colour and page style. Matches mkt.css's .mk-shop. */
.sl-look-preview { --look-accent: #3b82f6; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.sl-look-cover { aspect-ratio: 5 / 1; background: var(--surface-2); border-bottom: 3px solid transparent; }
.sl-look-preview.has-accent .sl-look-cover { border-bottom-color: var(--look-accent); }
.sl-look-preview.has-accent:not(:has(.sl-look-cover:not([hidden]))) { border-top: 3px solid var(--look-accent); }
.sl-look-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sl-look-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.sl-look-face { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font: 600 20px var(--mono); color: var(--muted); }
.sl-look-face img { width: 100%; height: 100%; object-fit: cover; }
.sl-look-face.is-logo { background: #fff; }
.sl-look-face.is-logo img { object-fit: contain; }
.sl-look-cover:not([hidden]) + .sl-look-head .sl-look-face { margin-top: -30px; box-shadow: 0 0 0 3px var(--surface); }
.sl-look-words { display: grid; gap: 3px; min-width: 0; }
.sl-look-words b { font: 600 17px/1.3 var(--font); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-look-words span { font-size: 14px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.sl-look-words small { font: 600 14px var(--font); color: var(--text); }
.sl-look-preview.has-accent .sl-look-words b, .sl-look-preview.has-accent .sl-look-words small { color: var(--look-ink, var(--look-accent)); }
.sl-look-preview.is-light.has-accent .sl-look-words small { color: var(--look-accent); }
.sl-look-preview.is-midnight { background: #0b1226; border-color: #1e2a4a; }
.sl-look-preview.is-midnight .sl-look-cover:not([hidden]) + .sl-look-head .sl-look-face { box-shadow: 0 0 0 3px #0b1226; }
.sl-look-preview.is-light { background: #f7f7f8; border-color: #e4e4e7; }
.sl-look-preview.is-light .sl-look-cover:not([hidden]) + .sl-look-head .sl-look-face { box-shadow: 0 0 0 3px #f7f7f8; }
.sl-look-preview.is-light .sl-look-words b, .sl-look-preview.is-light .sl-look-words span, .sl-look-preview.is-light:not(.has-accent) .sl-look-words small { color: #111; }
.sl-look-preview.is-gradient { background: linear-gradient(135deg, color-mix(in srgb, var(--look-accent) 32%, var(--surface)) 0%, var(--surface) 70%); }
.sl-look-preview.is-gradient .sl-look-cover:not([hidden]) + .sl-look-head .sl-look-face { box-shadow: 0 0 0 3px color-mix(in srgb, var(--look-accent) 26%, var(--surface)); }

.sl-look-pics { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
.sl-look-pic { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sl-look-frame { position: relative; overflow: hidden; display: grid; place-items: center; border: 1px dashed var(--line-3); border-radius: 12px; background: #0b0b0b; }
.sl-look-frame.is-wide { aspect-ratio: 5 / 1; }
.sl-look-frame.is-square { aspect-ratio: 1; width: min(100%, 132px); }
.sl-look-frame:has(img) { border-style: solid; border-color: var(--line-2); }
.sl-look-frame img { width: 100%; height: 100%; object-fit: cover; }
.sl-look-frame.is-square img { object-fit: contain; background: #fff; }
.sl-look-frame.is-wait img { opacity: .7; }
.sl-look-none { padding: 0 10px; font-size: 13px; color: var(--muted); text-align: center; }
.sl-look-state { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.sl-look-state.is-wait { color: #fcd34d; }
.sl-look-state:empty { display: none; }
.sl-look-add { position: relative; overflow: hidden; cursor: pointer; }
.sl-look-add input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.sl-look-add:focus-within { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 2px; }
#sl-look-form { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.sl-look-colour { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sl-look-colour input[type="color"] { width: 52px; height: 44px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); cursor: pointer; }
.sl-look-colour input[type="color"]:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 2px; }
.sl-look-hex { font: 500 14px var(--mono); color: var(--text-2); }
.sl-look-styles { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sl-look-styles legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font: 600 14.5px var(--font); color: #fff; }
.sl-look-styles label { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 9px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font: 500 14.5px var(--font); color: var(--text-2); cursor: pointer; transition: border-color .2s, color .2s; }
.sl-look-styles label:hover { color: var(--text); }
.sl-look-styles input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.sl-look-styles label:has(input:checked) { border-color: var(--text); background: var(--surface-2); color: var(--text); }
.sl-look-styles label:has(input:focus-visible) { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 2px; }
.sl-look-swatch { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .16); }
.sl-look-swatch.is-dark { background: #141414; }
.sl-look-swatch.is-midnight { background: #0b1226; }
.sl-look-swatch.is-light { background: #f7f7f8; }
.sl-look-swatch.is-gradient { background: linear-gradient(135deg, #3b82f6, #141414 75%); }
@media (max-width: 640px) {
  .sl-look-pics { grid-template-columns: minmax(0, 1fr); }
  .sl-look-cover, .sl-look-frame.is-wide { aspect-ratio: 3 / 1; }
  .sl-look-styles label { flex: 1 1 calc(50% - 5px); }
}
/* ✂️ (v61) Fitting a banner or logo to its exact size before it goes up (seller.js cropPicture) */
.sl-crop { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line-2); border-radius: 18px; background: #0d0d0d; color: var(--text); }
.sl-crop::backdrop { background: rgba(0, 0, 0, .7); }
.sl-crop-in { display: grid; gap: 14px; padding: 22px; }
.sl-crop-frame { position: relative; overflow: hidden; aspect-ratio: 5 / 1; border: 1px solid var(--line-3); border-radius: 12px; background: repeating-conic-gradient(#1c1c1c 0 25%, #141414 0 50%) 0 0 / 20px 20px; cursor: grab; touch-action: none; user-select: none; }
.sl-crop-frame.is-square { width: min(100%, 320px); aspect-ratio: 1; justify-self: center; }
.sl-crop-frame:active { cursor: grabbing; }
.sl-crop-frame:focus-visible { outline: 2px solid var(--accent-1, #3b82f6); outline-offset: 2px; }
.sl-crop-frame img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.sl-crop-zoom { display: flex; align-items: center; gap: 12px; font: 600 14px var(--font); color: var(--text-2); }
.sl-crop-zoom input { flex: 1; accent-color: #f5f5f5; }

/* 🧩 (v62) Versions of an item. In its form: rows of Name / Price / Stock, each with a button to take it off (on a phone
   the name gets its own line); "Add a version" under them, up to 10. In the list: each one under its item's name. */
.sl-vers { display: grid; gap: 10px; margin: 2px 0 0; padding: 0; list-style: none; }
.sl-vers:empty { display: none; }
.sl-ver { display: grid; grid-template-columns: minmax(0, 1fr) 116px 108px 44px; align-items: end; gap: 8px; min-width: 0; }
.sl-ver label { display: grid; gap: 5px; min-width: 0; cursor: text; }
.sl-ver label > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.sl-vers .sl-ver input[type="text"] { width: 100%; min-width: 0; height: 44px; padding: 0 12px; font-size: 15px; }
.sl-ver-price input, .sl-ver-stock input { font-variant-numeric: tabular-nums; }
.sl-box .sl-ver .sl-ver-x { width: 44px; height: 44px; padding: 0; justify-content: center; }
.sl-vers-field > .pp-mbtn { justify-self: start; }
@media (max-width: 560px) {
  .sl-ver { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .sl-ver-name { grid-column: 1 / -1; }
}
.sl-item-vers { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.sl-item-vers li { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; max-width: 100%; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 13.5px; line-height: 1.35; color: var(--text-2); }
.sl-item-vers b { min-width: 0; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.sl-item-vers span { color: var(--green); font-variant-numeric: tabular-nums; }
.sl-item-vers small { font-size: 12.5px; color: var(--muted); }
.sl-item-vers small.is-low { color: #fcd34d; }
.sl-item-vers small.is-out { color: #fca5a5; }


/* ---------- 💬 (v65) Chats with buyers (sellchat.js): the list on the left, the open chat on the right ---------- */
.sc-box .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-grid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 14px; min-height: 520px; }
.sc-list { display: grid; align-content: start; gap: 6px; max-height: 72vh; overflow-y: auto; padding-right: 2px; }
.sc-row {
  position: relative; display: grid; gap: 4px; width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.sc-row:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.sc-row.is-open { border-color: rgba(71, 230, 161, .45); background: rgba(71, 230, 161, .06); }
.sc-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.sc-row-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14.5px; color: var(--text); }
.sc-price { flex: none; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.sc-row-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.sc-row-sub span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-row-sub time { flex: none; font-variant-numeric: tabular-nums; }
.sc-row-foot { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc-row-foot small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--dim); }
.sc-row.is-new .sc-row-top b { color: #fff; }
.sc-dot { flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #47e6a1; box-shadow: 0 0 0 3px rgba(71, 230, 161, .18); }
.sl-tab-n.is-new:not(:empty) { background: rgba(71, 230, 161, .2); color: #b6f5d8; }
.sc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.sc-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sc-pill.is-paid { border-color: rgba(245, 177, 74, .4); color: #f3c98a; }
.sc-pill.is-unpaid, .sc-pill.is-chat { color: var(--muted); }
.sc-pill.is-delivered { border-color: rgba(96, 165, 250, .4); color: #9cc6fb; }
.sc-pill.is-complete { border-color: rgba(71, 230, 161, .4); color: #8fe2ae; }
.sc-pill.is-problem { border-color: rgba(240, 110, 110, .45); color: #f29b9b; }
.sc-none { padding: 18px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sc-wait { display: flex; justify-content: center; gap: 6px; padding: 24px; }
.sc-wait span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: sc-blink 1s infinite ease-in-out; }
.sc-wait span:nth-child(2) { animation-delay: .15s; }
.sc-wait span:nth-child(3) { animation-delay: .3s; }
@keyframes sc-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sc-wait span { animation: none; opacity: .6; } }

.sc-view { display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; gap: 10px; min-width: 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7, 7, 7, .55); }
.sc-head { display: grid; gap: 6px; min-width: 0; }
.sc-head:empty { display: none; }
.sc-head-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sc-back { display: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); cursor: pointer; }
.sc-num { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-discord { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--text-2); }
.sc-discord:hover { color: #fff; }
.sc-item { font: 600 19px/1.25 var(--font); letter-spacing: -.02em; color: var(--text); overflow-wrap: anywhere; }
.sc-big { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.sc-big small { margin-left: 6px; font-size: 13px; color: var(--muted); }
.sc-facts { display: grid; gap: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sc-facts small { color: var(--dim); }
.sc-bad { color: #f29b9b; }
.sc-others { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sc-chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 12.5px var(--font); color: var(--text-2); cursor: pointer; }
.sc-chip:hover { border-color: var(--line-3); color: #fff; }
.sc-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-acts:empty { display: none; }
.sc-acts .pp-mbtn, .sc-form .pp-mbtn, .sc-compose .pp-mbtn { height: 40px; padding: 0 14px; font-size: 14px; }
.sc-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.sc-form[hidden] { display: none; }
.sc-form-h { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.sc-field { display: grid; gap: 5px; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.sc-field input, .sc-compose textarea {
  width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #0b0b0b; color: var(--text);
  font: 400 15px var(--font); outline: none; transition: border-color .2s;
}
.sc-field input:focus, .sc-compose textarea:focus { border-color: rgba(71, 230, 161, .55); }
.sc-form-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-msgs { display: grid; align-content: start; min-height: 220px; max-height: 56vh; overflow-y: auto; padding: 4px 2px; overscroll-behavior: contain; }
.sc-day { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sc-day:first-child { margin-top: 0; }
.sc-day::before, .sc-day::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sc-msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 9px; margin-top: 10px; }
.sc-msg.is-cont { margin-top: 3px; }
.sc-av { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: #181818; font: 600 12.5px/1 var(--font); color: var(--text-2); }
.sc-bubble { grid-column: 2; grid-row: 1; justify-self: start; min-width: 0; max-width: min(100%, 540px); padding: 8px 12px 9px; border-radius: 4px 14px 14px 14px; border: 1px solid var(--line); background: #0f0f0f; }
.sc-msg.is-cont .sc-bubble { border-radius: 14px; }
.sc-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 3px; font-size: 12.5px; line-height: 1.3; }
.sc-who b { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.sc-role { --c: 163, 163, 163; padding: 3px 6px; border-radius: 5px; border: 1px solid rgba(var(--c), .35); background: rgba(var(--c), .08); font: 500 10.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--c)); }
.sc-who time { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.sc-text { font-size: 14.5px; line-height: 1.55; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-text b { font-weight: 600; color: var(--text); }
.sc-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.sc-files a, .sc-files li > span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 10px 0 8px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035); font-size: 12.5px; color: var(--text); }
.sc-files span span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* You (the seller) on the right in green; the buyer in blue; olliE in amber; the bot quieter */
.sc-msg.is-seller { grid-template-columns: minmax(0, 1fr) 30px; }
.sc-msg.is-seller .sc-av { grid-column: 2; border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .12); color: #bbf7d0; }
.sc-msg.is-seller .sc-bubble { grid-column: 1; justify-self: end; border-radius: 14px 4px 14px 14px; border-color: rgba(34, 197, 94, .3); background: rgba(34, 197, 94, .08); }
.sc-msg.is-seller.is-cont .sc-bubble { border-radius: 14px; }
.sc-msg.is-seller .sc-who { justify-content: flex-end; }
.sc-msg.is-seller .sc-role { --c: 134, 239, 172; }
.sc-msg.is-buyer .sc-av { border-color: rgba(59, 130, 246, .45); background: rgba(59, 130, 246, .16); color: #bfdbfe; }
.sc-msg.is-buyer .sc-role { --c: 147, 197, 253; }
.sc-msg.is-olliE .sc-av { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .12); color: #fde68a; }
.sc-msg.is-olliE .sc-bubble { border-color: rgba(245, 158, 11, .25); }
.sc-msg.is-olliE .sc-role { --c: 252, 211, 77; text-transform: none; letter-spacing: 0; font-size: 11px; }
.sc-msg.is-staff .sc-role { --c: 216, 180, 254; }
.sc-msg.is-bot .sc-av { border-style: dashed; background: #111; font-size: 14px; color: var(--muted); }
.sc-msg.is-bot .sc-bubble { border-style: dashed; background: rgba(255, 255, 255, .02); }
.sc-msg.is-bot .sc-text { font-size: 13.5px; color: var(--muted); }
.sc-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
.sc-compose[hidden] { display: none; }
.sc-compose textarea { min-height: 42px; max-height: 160px; resize: none; line-height: 1.45; }
.sc-hint { grid-column: 1 / -1; font-size: 12px; color: var(--dim); }
.sc-view[data-state="empty"] { grid-template-rows: minmax(0, 1fr); align-content: center; }

/* Phones: the list, or the open chat (with a back button) */
@media (max-width: 760px) {
  .sc-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sc-box.is-reading .sc-list { display: none; }
  .sc-box:not(.is-reading) .sc-view { display: none; }
  .sc-back { display: grid; }
  .sc-form { grid-template-columns: 1fr; }
  .sc-msgs { max-height: 60vh; }
  .sc-list { max-height: none; }
}

/* (v65) ⏸️ Pause the shop */
.sl-pause { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-2); }
.sl-pause[hidden] { display: none; }
.sl-pause .sl-sub { flex: 1 1 260px; font-size: 14px; }
