/* MakeTag · «Магазин» (2026-10-28) — the section of the tag page drawn by decos.js into #lvApp. Looks like its neighbours (levels.css): hairlines, the dark glass card, light pills. */
.ds { display: grid; gap: 0; min-width: 0; }
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 0; }
.ds-head h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.ds-mine { appearance: none; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); background: transparent; color: var(--ink-soft, #a3a3ad); font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: color .15s, border-color .15s; }
.ds-mine:hover { color: #f2f2f4; border-color: rgba(255, 255, 255, .4); }
.ds-mine[hidden] { display: none; }
.ds-lead { margin: 8px 0 0; max-width: 640px; color: var(--ink-soft, #a3a3ad); line-height: 1.55; font-size: 15px; }
.ds-search.ct-tags-search { margin: 22px 0 14px; }

/* the types */
.ds-types { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.ds-t { appearance: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); background: transparent; color: var(--ink-soft, #a3a3ad); font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .18s, color .18s, border-color .18s; -webkit-tap-highlight-color: transparent; }
.ds-t:hover { color: #f2f2f4; border-color: rgba(255, 255, 255, .4); }
.ds-t.on { background: #f2f2f4; color: #0a0a0c; border-color: #f2f2f4; }
.ds-t svg { flex: none; }
.ds-t em { font-style: normal; font-size: 11.5px; font-weight: 600; opacity: .55; }
.ds-h { margin: 26px 0 16px; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

/* the grid of items */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ds-card { position: relative; display: grid; grid-template-rows: auto auto auto; gap: 0; min-width: 0; padding: 14px 14px 14px; border: 1px solid var(--line, rgba(255, 255, 255, .1)); border-radius: 18px; background: rgba(10, 10, 12, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .18s; }
.ds-card:hover { border-color: var(--line-2, rgba(255, 255, 255, .17)); }
.ds-card.ds-sk { height: 270px; background: linear-gradient(100deg, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .03) 70%) 0 0 / 220% 100%; animation: ds-sk 1.4s linear infinite; }
@keyframes ds-sk { to { background-position: -220% 0; } }
.ds-name { margin: 12px 0 12px; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-buy { width: 100%; padding: 10px 12px; font-size: 13px; text-transform: none; letter-spacing: 0; }

/* the preview boxes */
.ds-pv { position: relative; height: 176px; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 60%), rgba(0, 0, 0, .35); display: grid; place-items: center; }
.ds-av { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: rgba(255, 255, 255, .8); background: linear-gradient(140deg, #5b7cfa 0%, #8b5cf6 55%, #ec6aa6 100%); }
.ds-av svg { opacity: .92; }
.ds-av.img { background-size: cover; background-position: center; background-color: #1d1e23; }
.ds-avw { position: relative; width: 96px; height: 96px; }
.ds-avw .ds-av { width: 100%; height: 100%; }
.ds-deco { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; user-select: none; }
.ds-pv-np { padding: 0 10px; }
.ds-npw { position: relative; width: 100%; }
.ds-npw > img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ds-npw .ds-av { position: absolute; left: 7px; top: 50%; width: 34px; height: 34px; transform: translateY(-50%); }
.ds-npw .ds-av svg { width: 55%; height: 55%; }
.ds-mock { position: absolute; left: 14%; right: 14%; top: 14%; bottom: -30%; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #2b2d33, #1d1e23); border: 1px solid rgba(255, 255, 255, .06); padding: 52% 12px 0; display: grid; align-content: start; gap: 7px; }
.ds-mock .ds-mav { position: absolute; left: 12px; top: 16%; width: 30%; aspect-ratio: 1; border-radius: 50%; padding: 3px; background: #1d1e23; }
.ds-mock i { display: block; height: 7px; width: 78%; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.ds-mock i.s { width: 52%; }
.ds-over { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; user-select: none; }
.ds-over.ct { object-fit: contain; object-position: center; padding: 4px; box-sizing: border-box; }
.ds-pv-fr .ds-mock { left: 18%; right: 18%; top: 22%; }

/* the admin block */
.ds-adm { display: grid; gap: 12px; margin: 0 0 24px; padding: 18px 20px; }
.ds-adm-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ds-adm-top b { font-size: 16px; }
.ds-adm-note { color: var(--ink-soft, #a3a3ad); font-size: 13px; margin-right: auto; }
.ds-vis { height: 38px; display: inline-flex; align-items: center; gap: 10px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); background: transparent; color: #a3a3ad; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ds-vis:hover { color: #f2f2f4; border-color: rgba(255, 255, 255, .4); }
.ds-vis i { position: relative; flex: none; width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background .15s; }
.ds-vis i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #f2f2f4; transition: transform .15s; }
.ds-vis.on { color: #f2f2f4; }
.ds-vis.on i { background: #34d399; }
.ds-vis.on i::after { transform: translateX(12px); background: #0a0a0c; }
.ds-vis:disabled { opacity: .6; cursor: default; }
.ds-adm-pay { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft, #a3a3ad); }      /* the payment methods: both / card / crypto */
@media (max-width: 520px) { .ds-adm-pay .ct-seg { display: flex; width: 100%; } .ds-adm-pay .ct-seg button { flex: 1 1 auto; min-width: 0; padding: 8px 5px; font-size: 12.5px; white-space: nowrap; } }
.ds-adm-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ds-f { display: grid; gap: 6px; flex: 1 1 200px; min-width: 0; font-size: 12.5px; color: var(--ink-soft, #a3a3ad); }
.ds-f input { box-sizing: border-box; height: 44px; width: 100%; padding: 0 14px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); border-radius: 12px; background: rgba(0, 0, 0, .35); color: #f2f2f4; font: inherit; font-size: 15px; outline: 0; }
.ds-f input::placeholder { color: rgba(255, 255, 255, .3); }
.ds-save { flex: none; height: 44px; padding: 0 22px; }
.ds-adm-help, .ds-adm-fig, .ds-adm-warn, .ds-adm-msg { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft, #a3a3ad); }
.ds-adm-fig b { color: #f2f2f4; }
.ds-adm-warn { color: #fbbf24; }
.ds-adm-msg { color: #34d399; }
.ds-ord summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: #d6d6dc; }
.ds-ord summary em { font-style: normal; color: #fbbf24; }
.ds-ord-l { display: grid; margin-top: 8px; }
.ds-ord-r { display: grid; grid-template-columns: 92px minmax(0, 1.6fr) 62px minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); font-size: 12.5px; color: var(--ink-soft, #a3a3ad); }
.ds-ord-r b { color: #f2f2f4; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-ord-r code { background: none; padding: 0; border: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.ds-ord-r .btn { padding: 6px 12px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.ds-ord-r small { grid-column: 1 / -1; color: #f87171; }

/* the window */
.ds-box { max-width: 440px; }
.ds-m-pv { width: 200px; margin: 0 auto 6px; }
.ds-m-pv .ds-pv { height: 160px; }
.ds-m-n { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.ds-err { color: #f87171 !important; }
.ds-cancel { margin-top: 8px; }
.ds-cancel-note { margin: 10px 0 0 !important; font-size: 12.5px !important; line-height: 1.5 !important; color: #6e6e78 !important; }
.ds-box code { word-break: break-all; }
.ds-ol { display: grid; max-height: 56vh; overflow: auto; text-align: left; }
.ds-or { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.ds-or:first-child { border-top: 0; }
.ds-or-i { flex: none; width: 52px; height: 52px; border-radius: 10px; background: rgba(0, 0, 0, .35); display: grid; place-items: center; overflow: hidden; }
.ds-or-i img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ds-or-t { flex: 1; min-width: 0; display: grid; }
.ds-or-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.ds-or-t small { color: var(--ink-soft, #a3a3ad); }
.ds-or .btn { padding: 8px 14px; font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.ds-or-s { font-size: 12.5px; color: var(--ink-soft, #a3a3ad); }
.ds-none { text-align: center; color: var(--ink-soft, #a3a3ad); }
.ds-more { display: grid; justify-items: center; margin: 22px 0 8px; }
.ds-empty { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ds-empty p { margin: 0; color: var(--ink-soft, #a3a3ad); }

/* the sections of the tag page: «Магазин» replaces the editor like «Карточка» / «Рейтинг» (levels.css has the rule for those two) */
html[data-sec="shop"] main.ct-main > :is(#ctDash, .ct-sec) { display: none !important; }

@media (max-width: 720px) {
  .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ds-card { padding: 10px; border-radius: 16px; }
  .ds-pv { height: 140px; }
  .ds-avw { width: 78px; height: 78px; }
  .ds-name { font-size: 13.5px; margin: 10px 0; }
  .ds-buy { font-size: 12px; padding: 9px 6px; }
  .ds-types { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 6px; padding: 0 14px; scrollbar-width: none; }
  .ds-types::-webkit-scrollbar { display: none; }
  .ds-t { flex: none; }
  .ds-adm { padding: 14px; }
  .ds-ord-r { grid-template-columns: 1fr 1fr; }
  .ds-ord-r b { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ds-card.ds-sk { animation: none; } .ds-vis i, .ds-vis i::after { transition: none; } }

/* two ways to pay: the card and the crypto (5 % cheaper) */
.ds-pay { display: grid; gap: 10px; }
.ds-crypto { position: relative; }
.ds-disc { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, .16); color: #34d399; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.ds-crypto.btn-primary .ds-disc { background: rgba(6, 18, 12, .14); color: #064e3b; }

/* THE BANNER on the tag editor (decos.js promoHtml, 2026-10-29): the shop's ad above the warnings — the logo's blurple → violet → pink
   for the border and a soft glow (not the warnings' amber), real avatar decorations on the left, the whole card opens «Магазин» */
.ds-promo-wrap { justify-self: stretch; display: grid; gap: 8px; }
.ds-promo { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; cursor: pointer; text-align: left; color: #f2f2f4;
  border: 1px solid transparent; background: linear-gradient(100deg, rgba(88, 101, 242, .16), rgba(176, 108, 255, .12) 55%, rgba(255, 122, 200, .1)) padding-box, linear-gradient(#0b0b10, #0b0b10) padding-box, linear-gradient(100deg, #7d86ff, #b06cff 52%, #ff7ac8) border-box;
  transition: transform .15s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.ds-promo:active { transform: scale(.995); }
.ds-promo:focus-visible { outline: 2px solid #b06cff; outline-offset: 3px; }
.ds-promo-strip { position: relative; flex: none; width: 290px; height: 72px; overflow: hidden;      /* the ribbon: the viewer's avatar wearing one decoration after another */
  /* it comes out of nothing on the right and melts into nothing on the left: long soft fades at both ends (eased stops, no visible edge) */
  -webkit-mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .12) 9%, rgba(0, 0, 0, .45) 18%, rgba(0, 0, 0, .85) 27%, #000 34%, #000 66%, rgba(0, 0, 0, .85) 73%, rgba(0, 0, 0, .45) 82%, rgba(0, 0, 0, .12) 91%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .12) 9%, rgba(0, 0, 0, .45) 18%, rgba(0, 0, 0, .85) 27%, #000 34%, #000 66%, rgba(0, 0, 0, .85) 73%, rgba(0, 0, 0, .45) 82%, rgba(0, 0, 0, .12) 91%, transparent 100%); }
.ds-promo-strip.one { width: 74px; display: flex; align-items: center; -webkit-mask: none; mask: none; }
.ds-promo-track { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 100%; width: max-content; animation: ds-strip linear infinite; will-change: transform; }
@keyframes ds-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ds-promo-av { position: relative; flex: none; width: 52px; height: 52px; margin: 0 11px; }      /* a decoration is 1.2x the avatar, as Discord draws it */
.ds-promo-av .ds-av { width: 100%; height: 100%; }
.ds-promo-av .ds-av svg { width: 55%; height: 55%; }
.ds-promo-deco { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; user-select: none; }
.ds-promo-txt { flex: 1; min-width: 0; }
.ds-promo-txt b { display: block; font-weight: 700; font-size: 15px; margin: 0 0 3px; }
.ds-promo-txt span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-soft, #a3a3ad); }
.ds-promo-go { flex: none; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #f2f2f4; color: #0a0a0d; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ds-promo-go svg { transition: transform .15s; }
.ds-promo:hover .ds-promo-go svg { transform: translateX(3px); }
.ds-promo-x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: -4px -6px -4px -6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #a3a3ad; cursor: pointer; }
.ds-promo-x:hover { color: #f2f2f4; background: rgba(255, 255, 255, .08); }
.ds-promo-x:focus-visible { outline: 2px solid #b06cff; outline-offset: 1px; }
.ds-promo-adm { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft, #a3a3ad); }
.ds-promo-adm .ds-vis { height: 32px; }
@media (max-width: 640px) {
  .ds-promo { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .ds-promo-go { order: 3; width: 100%; justify-content: center; }
  .ds-promo-strip { order: -1; width: 100%; height: 70px; }      /* a phone: the ribbon is a row of its own on top */
  .ds-promo-x { position: absolute; top: 8px; right: 8px; margin: 0; }
  .ds-promo:has(.ds-promo-x) .ds-promo-txt { padding-right: 22px; }
  .ds-promo-adm { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .ds-promo, .ds-promo-go svg { transition: none; } .ds-promo:active { transform: none; } .ds-promo-track { animation: none; } }
/* the metal shine of the Premium button (customtag.css .ct-shine), softer and narrower — and its own path: ct-metal stops at 400 % of the streak's width
   with an ease-out, which on a button is past the edge but on this wide banner was a slow stop by «В магазин»; here the streak runs right through
   at an even speed and leaves past the right edge (behind the button), 2026-10-29 */
.ds-promo { overflow: hidden; isolation: isolate; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .3); }
.ds-promo:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 8px 30px rgba(150, 110, 255, .22); }
.ds-promo::after { content: ''; position: absolute; top: -60%; bottom: -60%; left: 0; width: 22%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, .06) 70%, transparent 100%); mix-blend-mode: screen;
  transform: translateX(-160%) skewX(-18deg); animation: ds-metal 3s linear infinite; }
.ds-promo:hover::after { animation-duration: 1.5s; }
@keyframes ds-metal { 0%, 48% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(620%) skewX(-18deg); } }      /* 620 % of a 22 % streak = past the right edge with the skew */
@media (max-width: 640px) { .ds-promo::after { width: 40%; } }
@media (prefers-reduced-motion: reduce) { .ds-promo::after { animation: none; display: none; } }

/* Temporarily hide the promo for everyone; keep the promo implementation available for later. */
.ds-promo-wrap { display: none !important; }
