/* =====================================================================================================================
   СБОРКА ОБМЕНА (frontend/trade-composer.js), 02.11. Направление A «Чистая витрина», утверждено владельцем (макет
   mock5/v/a): чёрный, графит, #00E599, Inter, суммы в JetBrains Mono. Один модуль на весь сайт: трейды, профиль,
   СуперТрейд — поэтому все классы с приставкой msc- и свои переменные на .msc-root, страницу не задевают.
   Правила ниже перенесены из макета A скриптом (cv- → msc-), свои дополнения — в конце файла.
   Без backdrop-filter (лагает): затемнение — обычный полупрозрачный слой.
   ===================================================================================================================== */
.msc-root {
  --msc-bg: #0A0A0A;
  --msc-s1: #111312;
  --msc-s2: #171A19;
  --msc-s3: #1E2220;
  --msc-s4: #272C2A;
  --msc-panel: #0E100F;
  --msc-line: rgba(255, 255, 255, .07);
  --msc-line2: rgba(255, 255, 255, .12);
  --msc-t1: #F1F4F2;
  --msc-t2: #AAB1AD;
  --msc-t3: #858C88;
  --msc-acc: #00E599;
  --msc-ink: #0A0A0A;
  --msc-acc-soft: rgba(0, 229, 153, .1);
  --msc-acc-line: rgba(0, 229, 153, .36);
  --msc-neg: #FF6B6B;
  --msc-warn: #F3C66B;
  --msc-info: #8FB4FF;
  --msc-ease: cubic-bezier(.2, .8, .2, 1);
  --msc-mono: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif; /* суммы как на сайте: моноширинный «0,00$» читался как 8,00$ */
  /* панель лежит поверх ленты и её не двигает, поэтому может быть шире: пять-шесть карточек в ряд */
  --msc-dw: clamp(640px, 58vw, 1040px);
}
.msc-num { font-family: var(--msc-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.msc-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--msc-s2); color: var(--msc-t1); font: 600 14px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.msc-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.msc-btn:hover::before { opacity: .06; }
.msc-btn:active { filter: brightness(.9); } /* без сжатия: широкая кнопка от него заметно дёргается */
.msc-btn svg { flex: none; }
.msc-btn--acc { background: var(--msc-acc); color: var(--msc-ink); }
.msc-btn--acc:hover::before { opacity: .16; }
.msc-btn--line { background: transparent; box-shadow: inset 0 0 0 1px var(--msc-line2); }
.msc-btn--ghost { background: transparent; color: var(--msc-t2); }
.msc-btn--ghost:hover { color: var(--msc-t1); }
.msc-btn--lg { height: 48px; padding: 0 24px; border-radius: 14px; font-size: 16px; }
.msc-btn--sm { height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; gap: 6px; }
.msc-btn:disabled,
.msc-btn[aria-disabled="true"] { opacity: .38; cursor: not-allowed; transform: none; }
.msc-btn:disabled::before,
.msc-btn[aria-disabled="true"]::before { opacity: 0; }
.msc-btn__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgba(10, 10, 10, .16); font: 700 12px/1 'Inter', sans-serif; }
.msc-btn--line .msc-btn__n { background: var(--msc-acc); color: var(--msc-ink); }
.msc-ibtn { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--msc-t2); cursor: pointer; transition: transform .15s var(--msc-ease); -webkit-tap-highlight-color: transparent; }
.msc-ibtn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; opacity: 0; transition: opacity .15s ease; }
.msc-ibtn:hover { color: var(--msc-t1); }
.msc-ibtn:hover::before { opacity: .07; }
.msc-ibtn:active { transform: scale(.94); }
.msc-ibtn.is-on { color: var(--msc-acc); }
.msc-ibtn--line { box-shadow: inset 0 0 0 1px var(--msc-line2); width: 40px; height: 40px; border-radius: 12px; }
.msc-ibtn--info { cursor: help; }
.msc-link { padding: 4px 2px; border: 0; background: none; color: var(--msc-t2); font: 500 13px/20px 'Inter', sans-serif; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; cursor: pointer; }
.msc-link:hover { color: var(--msc-t1); text-decoration-color: currentColor; }
.msc-rank:focus-visible { outline-offset: 1px; }
.msc-root .msc-drawer:focus,
.msc-root .msc-dlg:focus,
.msc-root .msc-drawer:focus-visible,
.msc-root .msc-dlg:focus-visible { outline: none; }
.msc-seg { display: inline-flex; flex: none; max-width: 100%; gap: 2px; padding: 4px; border-radius: 12px; background: var(--msc-s2); }
.msc-seg button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--msc-t2); font: 600 13px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; }
.msc-seg button:hover { color: var(--msc-t1); }
.msc-seg button.on { background: var(--msc-s4); color: var(--msc-t1); box-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.msc-seg button em { font: 600 12px/1 'Inter', sans-serif; font-style: normal; color: var(--msc-t3); }
.msc-seg button.on em { color: var(--msc-t2); }
.msc-seg button svg { width: 14px; height: 14px; flex: none; }
.msc-seg button[data-invtab="vi"] svg { color: var(--msc-acc); }
.msc-seg--sm { padding: 3px; border-radius: 10px; }
.msc-seg--sm button { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; }
.msc-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; min-width: 0; height: 40px; border-radius: 12px; background: var(--msc-s2); box-shadow: inset 0 0 0 1px transparent; }
.msc-search:focus-within { box-shadow: 0 0 0 2px rgba(0, 229, 153, .55); }
.msc-root .msc-search input:focus-visible,
.msc-root .msc-note input:focus-visible { outline: none; }
.msc-search > svg { position: absolute; left: 14px; color: var(--msc-t3); pointer-events: none; }
.msc-search input { width: 100%; height: 100%; padding: 0 36px 0 40px; border: 0; background: transparent; color: var(--msc-t1); font: 500 14px/1 'Inter', sans-serif; outline: none; }
.msc-search input::placeholder { color: var(--msc-t3); }
.msc-search input::-webkit-search-cancel-button { display: none; }
.msc-search__x { position: absolute; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--msc-t2); cursor: pointer; }
.msc-search__x:hover { color: var(--msc-t1); }
.msc-search__x[hidden] { display: none; }
.msc-types { flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 20px 0; }
.msc-types[hidden] { display: none; }
.msc-types__chips { flex: 1 1 auto; display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.msc-types__chips::-webkit-scrollbar { display: none; }
.msc-type { flex: none; height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--msc-t2); font: 500 12px/1 'Inter', sans-serif; cursor: pointer; }
.msc-type:hover { color: var(--msc-t1); background: rgba(255, 255, 255, .09); }
.msc-type.on { background: rgba(0, 229, 153, .14); color: var(--msc-acc); }
.msc-type em { margin-left: 6px; font-style: normal; color: var(--msc-t3); }
.msc-type.on em { color: inherit; opacity: .75; }
.msc-sort { position: relative; flex: none; }
.msc-sort__b { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--msc-t2); font: 500 12px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; }
.msc-sort__b:hover { color: var(--msc-t1); }
.msc-sort__menu { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; display: grid; min-width: 150px; padding: 4px; border-radius: 10px; background: #1a1f1d; box-shadow: 0 10px 28px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.msc-sort__menu button { height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--msc-t2); font: 500 13px/1 'Inter', sans-serif; text-align: left; white-space: nowrap; cursor: pointer; }
.msc-sort__menu button:hover { background: rgba(255, 255, 255, .06); color: var(--msc-t1); }
.msc-sort__menu button.on { color: var(--msc-acc); }
.msc-guardline { color: var(--msc-t3); font: 500 12px/16px 'Inter', sans-serif; text-align: center; }
.msc-qsum { display: grid; gap: 6px; width: 100%; margin: 4px 0 8px; padding: 0; list-style: none; text-align: left; }
.msc-qsum li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.msc-qsum b { color: var(--msc-t1); font: 600 14px/20px 'Inter', sans-serif; overflow-wrap: anywhere; }
.msc-qsum__st { color: var(--msc-t3); font: 500 13px/18px 'Inter', sans-serif; text-align: right; }
.msc-qsum__st.is-ok { color: var(--msc-t2); }
.msc-qsum__st.is-warn { color: #f0c674; }
.msc-qsum__st.is-bad { color: var(--msc-neg); }
#mscT .ms-nick-steam { margin-left: 8px; vertical-align: 2px; }
.msc-load { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 28px; color: var(--msc-t2); font: 500 13px/20px 'Inter', sans-serif; }
.msc-skel { aspect-ratio: 4 / 5; border-radius: 13px; background: rgba(255, 255, 255, .035); animation: mscSkel 1.4s ease-in-out infinite; }
@keyframes mscSkel { 50% { opacity: .5; } }
/* уход панели: зеркало въезда */
.msc-root.is-leaving { pointer-events: none; }
.msc-root.is-leaving .msc-drawer { animation: mscDrOut .2s var(--msc-ease) both; }
.msc-root.is-leaving .msc-scrim { animation: mscFadeOut .2s ease both; }
@keyframes mscDrOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes mscFadeOut { to { opacity: 0; } }
/* на телефоне поля 16 px: иначе iOS увеличивает страницу при фокусе (MOB-10) */
@media (pointer: coarse) {
  .msc-search input,
  .msc-tools .msc-search input,
  .msc-note input,
  .msc-linkbox input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .msc-skel { animation: none; } }
@keyframes mscPop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.msc-ava { position: relative; display: inline-block; flex: none; width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; background: var(--msc-s3); }
.msc-ava > img,
.msc-ava > .msc-ini { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; overflow: hidden; }
.msc-ini { color: var(--msc-ink); font: 700 calc(var(--s, 40px) * .34)/1 'Inter', sans-serif; letter-spacing: -.02em; }
.msc-ava.is-sm .msc-ini { font-size: 12px; }
.msc-ava.is-on::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: calc(var(--s, 40px) * .27); height: calc(var(--s, 40px) * .27); min-width: 8px; min-height: 8px; border-radius: 50%; background: var(--msc-acc); box-shadow: 0 0 0 2.5px var(--msc-s1); }
.msc-rank { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 20px; padding: 0 6px 0 5px; border-radius: 6px; background: color-mix(in srgb, var(--rk) 14%, transparent); color: var(--rk); font: 650 12px/1 'Inter', sans-serif; letter-spacing: -.01em; cursor: help; }
.msc-rank svg { width: 12px; height: 12px; flex: none; fill: color-mix(in srgb, var(--rk) 32%, transparent); stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.msc-dr__ttl p i { font-style: normal; color: rgba(255, 255, 255, .22); }
.items-grid.msc-grid { display: grid; max-width: none; margin: 0; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 12px; }
.items-grid.msc-grid[data-density="dense"] { gap: 8px; }
.items-grid.msc-grid > .skin-card { content-visibility: visible; contain-intrinsic-size: none; }
.msc-th { position: relative; display: block; flex: none; width: 40px; aspect-ratio: 4 / 5; border-radius: 8px; background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(var(--rc), .34), rgba(var(--rc), .08) 58%, transparent 82%), #161918; box-shadow: inset 0 0 0 1px rgba(var(--rc), .45); overflow: hidden; cursor: help; }
.msc-th--more { display: grid; place-items: center; background: var(--msc-s3); box-shadow: none; color: var(--msc-t2); font: 700 12px/1 'Inter', sans-serif; }
.msc-scrim { position: fixed; inset: 0; z-index: 940; background: rgba(0, 0, 0, .62); animation: mscFade .2s ease both; }
@keyframes mscFade { from { opacity: 0; } }
.msc-drawer { position: fixed; z-index: 950; top: var(--ms-header-h, 72px); right: 0; bottom: 0; width: var(--msc-dw); display: flex; flex-direction: column; background: var(--msc-panel); box-shadow: -1px 0 0 var(--msc-line), -32px 0 64px rgba(0, 0, 0, .45); outline: none; }
.msc-drawer.is-enter { animation: mscDrIn .32s var(--msc-ease) both; }
@keyframes mscDrIn { from { opacity: 0; transform: translateX(40px); } }
.msc-dr__head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; box-shadow: 0 1px 0 var(--msc-line); }
.msc-dr__head .msc-ava.is-on::after { box-shadow: 0 0 0 2.5px var(--msc-panel); }
.msc-dr__ttl { flex: 1 1 auto; min-width: 0; }
.msc-dr__ttl h2 { margin: 0; color: var(--msc-t1); font: 600 16px/24px 'Inter', sans-serif; overflow-wrap: break-word; }
.msc-dr__ttl p { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; margin: 2px 0 0; color: var(--msc-t3); font: 500 13px/20px 'Inter', sans-serif; }
.msc-dr__ttl p .msc-rank { margin-right: 2px; }
.msc-dr__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; transition: opacity .2s ease; }
.msc-dr__foot { container-type: inline-size; display: grid; gap: 10px; padding: 12px 20px 16px; background: var(--msc-panel); box-shadow: 0 -1px 0 var(--msc-line), 0 -16px 32px rgba(0, 0, 0, .25); }
.msc-pct { font-weight: 500; }
.msc-sending { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--msc-s2); }
.msc-sending > div { flex: 1 1 auto; min-width: 0; }
.msc-sending b { display: block; color: var(--msc-t1); font: 600 14px/20px 'Inter', sans-serif; }
.msc-sending small { display: block; color: var(--msc-t3); font: 500 12px/16px 'Inter', sans-serif; overflow-wrap: break-word; }
.msc-sending.is-confirm { background: rgba(0, 229, 153, .07); box-shadow: inset 0 0 0 1px var(--msc-acc-line); }
.msc-sending__ph { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--msc-acc); color: var(--msc-ink); }
.msc-sending__ph::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--msc-acc); animation: mscRing 1.4s var(--msc-ease) infinite; }
@keyframes mscRing { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.45); } }
.msc-sending__x { flex: none; }
.msc-spin { flex: none; width: 20px; height: 20px; margin: 0 8px 0 2px; border-radius: 50%; border: 2px solid rgba(0, 229, 153, .22); border-top-color: var(--msc-acc); animation: mscSpin .8s linear infinite; }
@keyframes mscSpin { to { transform: rotate(360deg); } }
.msc-drawer.is-frozen .msc-dr__body { opacity: .45; pointer-events: none; }
.msc-ovl { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 24px; }
.msc-ovl > .msc-scrim--dlg { position: absolute; z-index: 0; }
.msc-ovl > .msc-dlg { z-index: 1; }
.msc-dlg { position: relative; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 32px; border-radius: 24px; background: #121514; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 96px rgba(0, 0, 0, .7); color: var(--msc-t1); outline: none; }
.msc-dlg.is-enter { animation: mscDlgIn .28s var(--msc-ease) both; }
@keyframes mscDlgIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.msc-dlg__x { position: absolute; top: 16px; right: 16px; }
.msc-dlg h2 { margin: 0; font: 650 20px/28px 'Inter', sans-serif; letter-spacing: -.01em; overflow-wrap: break-word; }
.msc-done { display: grid; justify-items: center; gap: 12px; width: min(440px, 100%); text-align: center; }
.msc-done__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--msc-acc); color: var(--msc-ink); box-shadow: 0 0 0 10px rgba(0, 229, 153, .1); }
.msc-done__ic svg { width: 28px; height: 28px; }
.msc-done__ic.is-pc { background: var(--msc-s4); color: var(--msc-acc); box-shadow: 0 0 0 10px rgba(255, 255, 255, .04); }
.msc-done p { margin: 0; color: var(--msc-t2); font: 500 14px/22px 'Inter', sans-serif; }
.msc-overpay .msc-link { margin-left: 8px; }
.msc-overpay__low { margin-left: 8px; color: var(--msc-t3); }
.msc-overpay svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--msc-acc); }
.msc-done p.msc-done__warn { width: 100%; padding: 10px 14px; border-radius: 12px; background: rgba(255, 92, 115, .12); color: #ff8fa0; font-weight: 600; }
.msc-done p.msc-done__note { width: 100%; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--msc-t2); }
.msc-done__deal { display: grid; grid-template-columns: auto auto auto; align-items: end; justify-content: center; gap: 8px 12px; width: 100%; margin-top: 8px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); }
.msc-done__deal > div { display: grid; justify-items: center; gap: 6px; }
.msc-done__deal small { color: var(--msc-t3); font: 500 12px/16px 'Inter', sans-serif; }
.msc-done__deal .msc-done__x { align-self: center; margin-top: 18px; color: var(--msc-t3); }
.msc-done__deal > b { grid-column: 1 / -1; font: 600 16px/20px var(--msc-mono); }
.msc-done__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; }
.msc-done__act .msc-btn { flex: 1 1 0; }
.msc-tone--up { color: var(--msc-acc); }
.msc-tone--down { color: var(--msc-neg); }
.msc-tone--zero { color: var(--msc-t1); }
@media (max-width: 1099px) {
  .msc-drawer { width: min(var(--msc-dw), 100%); top: 0; z-index: 1000; }
  .msc-scrim { z-index: 990; }
}
@media (prefers-reduced-motion: reduce) {
  .msc-drawer.is-enter,
.msc-dlg.is-enter,
.msc-scrim { animation: none !important; }
  .msc-sending__ph::after { animation: none; }
  .msc-spin { animation-duration: 2.4s; }
  .msc-btn,
.msc-ibtn,
.msc-btn::before,
.msc-ibtn::before,
.msc-dr__body { transition: none; }
}

/* ---------- дополнения модуля (нет в макете или устроено иначе на сайте) ---------- */
.msc-root { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; color: var(--msc-t1); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.msc-root[hidden] { display: none; }
.msc-root :focus-visible { outline: 2px solid var(--msc-acc); outline-offset: 2px; }
.msc-root h2, .msc-root h3 { letter-spacing: normal; }
.msc-drawer { top: var(--ms-header-h, 77px); }
.msc-ini { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #8FB4FF; }
.msc-dr__ttl p .on { color: var(--msc-acc); }
.msc-dr__ttl p .is-bad { color: #ff8fa0; font-weight: 600; }
.msc-dr__ttl p .is-warn { color: #f0c674; }
.msc-dr__ttl p .msc-star { color: #FFA723; white-space: nowrap; } /* 14.11: оценка партнёра золотом, как звёзды на всём сайте */
.msc-dr__ttl p .ms-trust { margin-right: 2px; }
.msc-dr__ttl p .rank-chip, .msc-dr__ttl p [class*="rank"] { margin-right: 2px; }
.msc-th { --rc: 120, 128, 124; }
.msc-locked { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
/* загрузка, ошибка инвентаря, пусто */
.msc-state { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; min-height: 160px; padding: 24px 20px; color: var(--msc-t2); font: 500 14px/20px 'Inter', sans-serif; text-align: center; }
.msc-state svg { color: var(--msc-t3); }
.msc-state--grid { grid-column: 1 / -1; min-height: 120px; }
/* ошибка отправки: что случилось и что сделать, кнопки «Повторить» и «Отменить обмен» */
.msc-err { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; min-height: 48px; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(255, 107, 107, .08); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .32); }
.msc-err__ic { flex: none; display: grid; place-items: center; color: var(--msc-neg); }
.msc-err > div { flex: 1 1 220px; min-width: 0; }
.msc-err b { display: block; color: var(--msc-t1); font: 600 14px/20px 'Inter', sans-serif; }
.msc-err small { display: block; color: var(--msc-t2); font: 500 13px/18px 'Inter', sans-serif; overflow-wrap: break-word; }
.msc-err__acts { display: flex; gap: 6px; flex: none; margin-left: auto; }
/* пачка СуперТрейда: «Обмен 2 из 5», нужен один или все, общий скин */
.msc-queue { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--msc-s1); box-shadow: inset 0 0 0 1px var(--msc-line); }
.msc-queue__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.msc-queue__row > b { color: var(--msc-t1); font: 600 14px/20px 'Inter', sans-serif; }
.msc-queue__row .msc-link { margin-left: auto; }
.msc-queue__sent { display: inline-flex; align-items: center; gap: 4px; color: var(--msc-acc); font: 600 12px/16px 'Inter', sans-serif; }
.msc-queue__anchor { display: flex; align-items: flex-start; gap: 8px; color: var(--msc-t2); font: 500 12px/18px 'Inter', sans-serif; }
.msc-queue__anchor svg { flex: none; margin-top: 2px; color: var(--msc-acc); }
.msc-queue__anchor b { color: var(--msc-t1); font-weight: 600; }
.msc-done__ic.is-stop { background: var(--msc-s4); color: var(--msc-neg); box-shadow: 0 0 0 10px rgba(255, 107, 107, .1); }
.msc-done__ic.is-phone { background: var(--msc-s4); color: var(--msc-acc); box-shadow: 0 0 0 10px rgba(0, 229, 153, .08); }
.msc-th { cursor: default; }

/* =====================================================================================================================
   06.11: сборка по шагам (владелец: «выбираем предметы чела, потом свои, и можно быстро корректировать % и выгоду»; «разницу и % туда,
   где выбираются предметы»). Шаги и есть две стороны обмена, между ними разница. Верх постоянной высоты: сетка под рукой не едет.
   ===================================================================================================================== */
.msc-dr__head { padding: 8px 10px 8px 20px; }
.msc-dr__ttl p { margin: 0; line-height: 18px; }
.msc-dr__ttl p:empty { display: none; }
.msc-queue-slot:empty { display: none; }
.msc-queue-slot { padding: 10px 20px 0; }
.msc-phone-note { flex: none; display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--msc-t2); font: 500 13px/18px 'Inter', sans-serif; }
.msc-phone-note[hidden] { display: none; }
.msc-phone-note a { color: var(--msc-acc); }
.msc-linkbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.msc-linkbox label { grid-column: 1 / -1; color: var(--msc-t1); font: 600 13px/18px 'Inter', sans-serif; }
.msc-linkbox input { width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--msc-t1); font: 500 13px/18px 'Inter', sans-serif; outline: none; }
.msc-linkbox input:focus { box-shadow: inset 0 0 0 1px var(--msc-acc); }
.msc-linkbox small { grid-column: 1 / -1; color: var(--msc-t2); font: 500 12px/16px 'Inter', sans-serif; }
.msc-linkbox small a { color: var(--msc-acc); }
.msc-linkbox small.is-err { color: #ff8fa0; }
.msc-phone-note svg { flex: none; width: 16px; height: 16px; color: var(--msc-acc); }
.msc-board { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr); gap: 8px; padding: 12px 20px 0; }
.msc-tab { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; padding: 10px 12px 12px; border-radius: 14px; background: var(--msc-s1); box-shadow: inset 0 0 0 1px var(--msc-line); cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.msc-tab:hover { background: var(--msc-s2); }
.msc-tab.is-active { background: var(--msc-s2); box-shadow: inset 0 0 0 1.5px var(--msc-acc), 0 0 22px rgba(0, 229, 153, .13); cursor: default; }
.msc-tab__h { display: flex; align-items: center; gap: 8px; min-width: 0; height: 24px; }
.msc-tab__n { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--msc-t2); font: 700 12px/1 'Inter', sans-serif; font-style: normal; }
.msc-tab.is-active .msc-tab__n { background: var(--msc-acc); color: var(--msc-ink); }
.msc-tab__t { color: var(--msc-t2); font: 600 13px/20px 'Inter', sans-serif; white-space: nowrap; }
.msc-tab.is-active .msc-tab__t { color: var(--msc-t1); }
.msc-tab__c { display: inline-grid; place-items: center; flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--msc-t2); font: 650 12px/1 'Inter', sans-serif; font-style: normal; }
.msc-tab__c:empty { display: none; }
.msc-tab__s { margin-left: auto; color: var(--msc-t1); font: 650 16px/24px var(--msc-mono); letter-spacing: -.02em; white-space: nowrap; }
.msc-tab:not(.is-filled) .msc-tab__s { color: var(--msc-t3); }
/* значки выбранного: один ряд постоянной высоты, новый дописывается в конец, лишнее уходит в «+N» */
.msc-ths { display: flex; gap: 6px; height: 58px; min-width: 0; overflow: hidden; }
.msc-ths__empty { flex: 1 1 auto; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09); color: var(--msc-t3); font: 500 13px/18px 'Inter', sans-serif; text-align: center; }
.msc-tab.is-active .msc-ths__empty { box-shadow: inset 0 0 0 1.5px rgba(0, 229, 153, .28); color: var(--msc-t2); }
.msc-t { position: relative; flex: none; display: block; width: 46px; height: 58px; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(var(--rc), .34), rgba(var(--rc), .08) 58%, transparent 82%), #161918; box-shadow: inset 0 0 0 1.5px rgba(var(--rc), .75); cursor: pointer; animation: mscFade .14s ease both; }
.msc-t img { position: absolute; left: 2px; top: 50%; width: calc(100% - 4px); height: auto; aspect-ratio: 4 / 3; object-fit: contain; transform: translateY(-50%); pointer-events: none; }
.msc-t.is-r img { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: none; }
.msc-t::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(var(--rc), .75); pointer-events: none; }
.msc-t__x { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgba(8, 10, 9, .72); color: #fff; opacity: 0; transition: opacity .12s ease; }
.msc-t__x svg { width: 16px; height: 16px; }
.msc-t:hover .msc-t__x, .msc-t:focus-visible .msc-t__x { opacity: 1; }
.msc-t.is-anchor { cursor: help; }
.msc-t.is-anchor::after { box-shadow: inset 0 0 0 2px var(--msc-acc); }
.msc-t.is-anchor .msc-t__x { display: none; }
.msc-t--more { display: grid; place-items: center; background: rgba(255, 255, 255, .06); box-shadow: none; color: var(--msc-t1); font: 700 13px/1 'Inter', sans-serif; }
.msc-t--more::after { display: none; }
.msc-t--more:hover { background: rgba(255, 255, 255, .1); }
/* разница: две строки постоянной высоты, цифры постоянной ширины */
.msc-bal { display: grid; align-content: center; justify-items: center; gap: 1px; min-width: 0; padding: 0 2px; border-radius: 14px; cursor: help; text-align: center; }
.msc-bal small { color: var(--msc-t3); font: 500 12px/16px 'Inter', sans-serif; }
.msc-bal b { font: 700 17px/24px var(--msc-mono); letter-spacing: -.02em; white-space: nowrap; }
.msc-bal span { font: 600 13px/18px var(--msc-mono); white-space: nowrap; }
.msc-tone--none { color: var(--msc-t3); }
/* строка над сеткой: что показано, поиск, подбор. Обоим шагам одна и та же, поэтому при переходе ничего не двигается */
.msc-tools { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-width: 0; padding: 10px 20px 0; }
.msc-tools__t { display: flex; align-items: center; gap: 8px; flex: none; min-width: 170px; margin: 0; color: var(--msc-t1); font: 600 14px/20px 'Inter', sans-serif; white-space: nowrap; }
.msc-selbox { display: inline-flex; align-items: center; gap: 2px; }
.msc-tog { height: 32px; padding: 0 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--msc-t2); font: 500 13px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; font-variant-numeric: tabular-nums; }
.msc-tog b { display: inline-block; min-width: 2ch; color: var(--msc-t1); font-weight: 650; text-align: center; }
.msc-tog:hover { background: rgba(255, 255, 255, .09); color: var(--msc-t1); }
.msc-tog.is-on { background: var(--msc-acc-soft); box-shadow: inset 0 0 0 1px var(--msc-acc-line); color: var(--msc-acc); }
.msc-tog.is-on b { color: var(--msc-acc); }
.msc-tog[aria-disabled="true"] { opacity: .5; cursor: default; background: rgba(255, 255, 255, .03); }
.msc-tog__x { width: 28px; height: 32px; border-radius: 8px; }
.msc-tog__x svg { width: 14px; height: 14px; }
.msc-tog__x[aria-disabled="true"] { opacity: .3; cursor: default; }
.msc-tools .msc-search { flex: 1 1 120px; min-width: 110px; max-width: 280px; height: 32px; border-radius: 10px; }
.msc-tools .msc-search > svg { left: 10px; width: 14px; height: 14px; }
.msc-tools .msc-search input { padding: 0 34px 0 30px; font-size: 13px; }
.msc-pickrow { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.msc-pickrow__l { display: inline-flex; align-items: center; gap: 6px; color: var(--msc-t2); font: 500 13px/20px 'Inter', sans-serif; white-space: nowrap; }
.msc-pickrow__l svg { width: 14px; height: 14px; flex: none; }
.msc-chips { display: inline-flex; gap: 2px; padding: 2px; border-radius: 11px; background: rgba(255, 255, 255, .05); }
.msc-chip { min-width: 42px; height: 28px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--msc-t1); font: 600 13px/1 'Inter', sans-serif; white-space: nowrap; cursor: pointer; font-variant-numeric: tabular-nums; }
.msc-chip:hover { background: rgba(255, 255, 255, .08); }
.msc-chip.on { background: var(--msc-acc); color: var(--msc-ink); }
.msc-chip[aria-disabled="true"] { color: var(--msc-t3); cursor: not-allowed; background: transparent; }
/* сетка выбора: своя прокрутка у каждого шага, запас вокруг, чтобы свечение выбранной не обрезалось */
.msc-grids { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.msc-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; padding: 14px 20px 26px; scrollbar-width: thin; scrollbar-color: #2A2F2D transparent; }
.msc-scroll[hidden] { display: none; }
.items-grid.msc-grid--pick { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.msc-grid.only-sel > :not(.selected) { display: none; }
.msc-sec { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 6px 0 -2px; color: var(--msc-t2); font: 600 13px/20px 'Inter', sans-serif; }
.msc-grid > .msc-sec:first-child { margin-top: 0; }
.msc-allbtn { grid-column: 1 / -1; width: 100%; height: 40px; margin-top: 4px; }
.msc-spin--sm { width: 14px; height: 14px; margin: 0; }
/* подвал: одна строка, кнопка на одном месте на обоих шагах */
.msc-dr__foot { position: relative; padding: 10px 20px 14px; background: var(--msc-panel); box-shadow: 0 -1px 0 var(--msc-line), 0 -14px 28px rgba(0, 0, 0, .22); container-type: normal; display: block; }
.msc-go { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; }
.msc-go > .msc-send { width: 100%; }
.msc-go > .msc-sending, .msc-go > .msc-err { grid-column: 1 / -1; }
.msc-th.is-r img { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: none; }
.msc-overpay.is-short { color: var(--msc-warn); cursor: default; }
.msc-sec--hold { color: var(--msc-warn); font-weight: 500; }
/* панель стопки поверх сборки: полоса прокрутки страницы не пропадает, лента под панелью не дёргается */
@media (min-width: 641px) {
  html.msc-lock.stack-drawer-open { overflow: visible; }
}
.msc-overpay { margin-bottom: 8px; color: var(--msc-t2); font: 500 13px/18px 'Inter', sans-serif; text-align: center; cursor: help; }
.msc-back.is-off { visibility: hidden; }
.msc-back svg { margin-left: -4px; }
.msc-note-btn { width: 48px; height: 48px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--msc-line2); }
.msc-note-btn svg { width: 16px; height: 16px; }
.msc-note-btn.is-on { color: var(--msc-acc); box-shadow: inset 0 0 0 1px var(--msc-acc-line); }
/* записка всплывает над подвалом и ничего не сдвигает */
.msc-note { position: absolute; left: 20px; right: 20px; bottom: calc(100% + 8px); z-index: 3; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 14px; background: var(--msc-s3); box-shadow: 0 0 0 1px var(--msc-line2), 0 12px 32px rgba(0, 0, 0, .5); animation: mscFade .12s ease both; }
.msc-note input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--msc-s2); color: var(--msc-t1); font: 500 14px/1 'Inter', sans-serif; outline: none; }
.msc-note input:focus { box-shadow: 0 0 0 2px rgba(0, 229, 153, .55); }
.msc-note input::placeholder { color: var(--msc-t3); }
/* подсказка на карточке при наведении: какой станет разница, если нажать */
.skin-card:has(.skin-card__view-btn) > .msc-pill { right: 40px; } /* кнопка просмотра справа сверху остаётся видна */
.msc-pill { position: absolute; z-index: 6; top: 6px; left: 6px; right: 6px; padding: 2px 4px; border-radius: 7px; background: rgba(8, 10, 9, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); font: 650 11.5px/16px var(--msc-mono); letter-spacing: -.02em; text-align: center; pointer-events: none; font-variant-numeric: tabular-nums; }
.msc-tone--zero.msc-pill { color: var(--msc-t1); }
.msc-root .skin-card--v45.is-anchor:not(.selected) { box-shadow: 0 0 0 2px var(--msc-acc); }
.msc-root .skin-card--v45:not(.selected):not(.msc-locked) { border: 2px solid rgb(var(--rarity-rgb, 90, 90, 90)); box-shadow: 0 0 14px rgba(var(--rarity-rgb, 90, 90, 90), .15); }
.msc-root .skin-card--v45.cv-g0:not(.selected) { border-color: rgba(176, 195, 217, .45); box-shadow: none; }
.msc-root .skin-card--v45:not(.selected):not(.msc-locked):hover { box-shadow: 0 0 20px rgba(var(--rarity-rgb, 90, 90, 90), .32); }
.msc-th { cursor: default; }
.msc-ths2 { display: inline-flex; align-items: center; gap: 4px; flex: none; }

/* =====================================================================================================================
   Выбранный скин (владелец 06.11: кружок при наведении и галочка не нравятся, «ещё сильнее сделать свечение от рамки»). Только свет рамки,
   геометрия карточки не меняется. Вид выбирается на панели ?look=1, классы lk-sel-* на <html>. Там же и в сборке нет прыжков при наведении:
   ни увеличения картинки, ни кнопок с масштабом, только свет.
   ===================================================================================================================== */
:is(.msc-root, .tr-a) .skin-card--v45 .skin-card__image img { transform: none !important; }
:is(.msc-root, .tr-a) .skin-card--v45 .skin-card__view-btn { transform: none !important; transition: opacity .15s ease, color .15s ease, border-color .15s ease; }
:is(.msc-root, .tr-a) .skin-card--v45 .rb { transform: none !important; }
:is(.msc-root, .tr-a) .skin-card--v45.selected .skin-card__image::before { display: none; }
@media (hover: hover) {
  :is(.msc-root, .tr-a) .skin-card--v45:hover .skin-card__image img { filter: brightness(1.08); }
}
:is(.msc-root, .tr-a) .skin-card--v45 .skin-card__image img { transition: filter .18s ease; }
:is(.msc-root, .tr-a) .skin-card--v45.selected,
:is(.msc-root, .tr-a) .skin-card--v45.selected:hover {
  z-index: 2;
  border: 2px solid #00E599;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(0, 229, 153, .45), 0 0 10px 1px rgba(0, 229, 153, .38), 0 0 24px 3px rgba(0, 229, 153, .12); /* владелец 06.11: прежнее 14 px .75 + 40 px .36 слишком сильно */
}
/* свет внутрь кадра: поверх картинки, нажатия не перехватывает */
:is(.msc-root, .tr-a) .skin-card--v45.selected::after { display: block; z-index: 5; opacity: 1; background: none; box-shadow: inset 0 0 14px rgba(0, 229, 153, .16); }
/* со сценой, подсвеченной снизу */
html.lk-sel-fill :is(.msc-root, .tr-a) .skin-card--v45.selected::after { background: linear-gradient(to top, rgba(0, 229, 153, .3), rgba(0, 229, 153, .08) 52%, rgba(0, 229, 153, .03)); }
/* дышит: свет медленно нарастает и спадает */
@keyframes mscGlowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 229, 153, .35), 0 0 8px 1px rgba(0, 229, 153, .28), 0 0 18px 2px rgba(0, 229, 153, .08); }
  50% { box-shadow: 0 0 0 1px rgba(0, 229, 153, .6), 0 0 12px 2px rgba(0, 229, 153, .5), 0 0 30px 5px rgba(0, 229, 153, .18); }
}
html.lk-sel-pulse :is(.msc-root, .tr-a) .skin-card--v45.selected { animation: mscGlowPulse 2.2s ease-in-out infinite; }
/* блик бежит по рамке */
@property --msc-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes mscSweep { to { --msc-a: 360deg; } }
html.lk-sel-sweep :is(.msc-root, .tr-a) .skin-card--v45.selected::before {
  display: block; z-index: 6; inset: 0; padding: 2px; opacity: 1; border-radius: 11px; pointer-events: none;
  background: conic-gradient(from var(--msc-a), transparent 0 62%, rgba(255, 255, 255, .95) 82%, #7dffcf 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: mscSweep 2.6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  html.lk-sel-pulse :is(.msc-root, .tr-a) .skin-card--v45.selected,
  html.lk-sel-sweep :is(.msc-root, .tr-a) .skin-card--v45.selected::before { animation: none; }
}

/* =====================================================================================================================
   Окно «Поставьте расширение» (06.11): наверху ваш собранный обмен, который едет через расширение в Steam. Само замечает установку.
   ===================================================================================================================== */
.msc-dlg { overscroll-behavior: contain; }
.msc-dlg.msc-gate { display: grid; gap: 18px; width: min(660px, 100%); padding: 0 0 22px; overflow-x: hidden; background: radial-gradient(120% 70% at 50% 0%, rgba(0, 229, 153, .13), transparent 62%), #121514; box-shadow: 0 0 0 1px rgba(0, 229, 153, .22), 0 0 70px rgba(0, 229, 153, .1), 0 40px 96px rgba(0, 0, 0, .7); }
.msc-gate > * { min-width: 0; }
.msc-gate > :not(.msc-gh):not(.msc-dlg__x) { margin-left: 28px; margin-right: 28px; }
.msc-gate .msc-dlg__x { z-index: 2; }
.msc-gh { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 34px 28px 22px; }
.msc-gh__deal { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 14px; padding: 12px 16px 12px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .35); }
.msc-gh__side { display: grid; justify-items: center; gap: 2px; min-width: 104px; }
.msc-gh__side small { margin-top: 6px; color: var(--msc-t3); font: 500 12px/16px 'Inter', sans-serif; }
.msc-gh__side b { color: var(--msc-t1); font: 650 14px/20px var(--msc-mono); white-space: nowrap; }
.msc-gh__stack { position: relative; display: flex; justify-content: center; height: 70px; }
.msc-gs { position: relative; display: block; width: 56px; height: 70px; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse 90% 60% at 50% 45%, rgba(var(--rc), .36), rgba(var(--rc), .1) 58%, transparent 82%), #161918; box-shadow: inset 0 0 0 1.5px rgba(var(--rc), .8), 0 6px 14px rgba(0, 0, 0, .5); margin-left: -30px; transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 5deg)); }
.msc-gs:first-child { margin-left: 0; }
.msc-gs img { position: absolute; left: 3px; top: 50%; width: calc(100% - 6px); height: auto; aspect-ratio: 4 / 3; object-fit: contain; transform: translateY(-50%); }
.msc-gs.is-r img { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: none; }
.msc-gs__more { position: absolute; right: -6px; bottom: -4px; z-index: 4; padding: 0 5px; height: 18px; border-radius: 6px; background: var(--msc-acc); color: var(--msc-ink); font: 700 12px/18px 'Inter', sans-serif; font-style: normal; }
.msc-gh__swap { color: var(--msc-t3); }
.msc-gh__path { position: relative; flex: 0 1 34px; width: 34px; height: 2px; border-radius: 2px; background: rgba(0, 229, 153, .22); overflow: hidden; }
.msc-gh__path i { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(to right, transparent, #00E599); animation: mscPath 1.5s linear infinite; }
.msc-gh__path + .msc-gh__node + .msc-gh__path i { animation-delay: .75s; }
@keyframes mscPath { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
.msc-gh__node { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px; background: #0B0D0C; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 22px rgba(0, 0, 0, .45); }
.msc-gh__node img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.msc-gh__node--ext { box-shadow: 0 0 0 1px rgba(0, 229, 153, .5), 0 0 26px rgba(0, 229, 153, .42); }
.msc-gh__node--steam { color: #E7EDF3; background: linear-gradient(160deg, #1C3147, #0F1B2A); }
.msc-gh__node--steam svg { width: 28px; height: 28px; }
.msc-gh__node em { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--msc-acc); color: var(--msc-ink); box-shadow: 0 0 0 2px #121514; font-style: normal; }
.msc-gh__node em svg { width: 11px; height: 11px; }
.msc-gh.is-ok .msc-gh__path i { animation-play-state: paused; opacity: 0; }
.msc-gh.is-ok .msc-gh__path { background: var(--msc-acc); }
.msc-gate__txt { display: grid; gap: 6px; text-align: center; }
.msc-gate__txt h2 { margin: 0; font: 700 24px/32px 'Inter', sans-serif; letter-spacing: -.02em; }
.msc-gate__txt p { margin: 0 auto; max-width: 480px; color: var(--msc-t2); font: 500 14px/22px 'Inter', sans-serif; }
.msc-gate__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.msc-gate__list li { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.msc-gate__list i { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 10px; background: var(--msc-acc-soft); color: var(--msc-acc); font-style: normal; }
.msc-gate__list i svg { width: 16px; height: 16px; }
.msc-gate__list b { color: var(--msc-t1); font: 600 13px/18px 'Inter', sans-serif; }
.msc-gate__list span { color: var(--msc-t2); font: 500 12px/17px 'Inter', sans-serif; }
.msc-gate__act { display: flex; flex-wrap: wrap; gap: 8px; }
.msc-gate__act .msc-btn--acc { flex: 1 1 auto; height: 52px; font-size: 16px; font-weight: 650; box-shadow: 0 0 28px rgba(0, 229, 153, .35); }
.msc-gate__act .msc-btn--line { height: 52px; }
.msc-gate__wait { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin-top: -6px; color: var(--msc-t2); font: 500 13px/18px 'Inter', sans-serif; text-align: center; }
.msc-gate__foot { display: grid; gap: 4px; justify-items: center; text-align: center; }
.msc-gate__trust { display: inline-flex; align-items: flex-start; gap: 7px; max-width: 540px; color: var(--msc-t3); font: 500 12px/18px 'Inter', sans-serif; text-align: left; }
.msc-gate__trust svg { flex: none; margin-top: 2px; color: var(--msc-acc); }
.msc-gate__note { color: var(--msc-t3); font: 500 12px/18px 'Inter', sans-serif; }

/* страница под панелью не двигается: полоса прокрутки остаётся, колесо над панелью гасит сам модуль; на телефоне прокрутки сбоку нет */
.msc-scrim { touch-action: none; }
.msc-drawer { top: var(--ms-header-h, 77px); }
@media (max-width: 1099px) {
  .msc-drawer { width: min(var(--msc-dw), 100%); top: 0; z-index: 1000; }
  .msc-scrim { z-index: 990; }
}
@media (max-width: 760px) {
  .msc-board { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); gap: 6px; }
  .msc-bal b { font-size: 15px; line-height: 22px; }
  .msc-bal span { font-size: 12px; }
}
@media (max-width: 640px) {
  html.msc-lock { overflow: hidden; }
  .msc-link { padding: 10px 4px; margin: -10px 0; }
  .msc-drawer.is-sheet { top: 0; width: 100%; z-index: 1000; box-shadow: none; }
  .msc-drawer.is-sheet.is-enter { animation-name: mscSheetIn; }
  @keyframes mscSheetIn { from { opacity: 0; transform: translateY(32px); } }
  .msc-dr__head { padding: 8px 6px 8px 16px; }
  .msc-dr__x { width: 44px; height: 44px; }
  .msc-queue-slot { padding: 8px 12px 0; }
  .msc-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 8px 12px 0; }
  .msc-ths { display: none; }
  .msc-tab { padding: 8px 10px; gap: 2px; border-radius: 12px; }
  .msc-tab__h { flex-wrap: wrap; height: auto; gap: 2px 6px; }
  .msc-tab__s { flex: 1 1 100%; margin-left: 0; font-size: 15px; line-height: 22px; }
  .msc-tab__t { font-size: 12px; line-height: 20px; }
  .msc-bal { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; align-items: baseline; gap: 6px; padding: 2px 0 0; }
  .msc-bal b { font-size: 15px; line-height: 22px; }
  .msc-bal span { font-size: 13px; line-height: 22px; }
  .msc-tools { padding: 8px 12px 6px; gap: 6px 8px; }
  .msc-tools__t { font-size: 13px; }
  .msc-tog { height: 36px; }
  .msc-tog__x { height: 36px; width: 32px; }
  .msc-tools .msc-search { flex: 1 1 100%; max-width: none; height: 40px; order: 3; }
  .msc-pickrow { order: 4; flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
  .msc-pickrow__l { font-size: 12px; }
  .msc-chips { flex: 1 1 auto; justify-content: space-between; }
  .msc-chip { flex: 1 1 auto; min-width: 0; height: 36px; padding: 0 4px; }
  .msc-scroll { padding: 12px 12px 16px; }
  .items-grid.msc-grid--pick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .msc-dr__foot { padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .msc-note { left: 12px; right: 12px; }
  .msc-back span { display: none; }
  .msc-back { width: 48px; padding: 0; }
  .msc-back svg { margin: 0; }
  .msc-sending { padding: 6px 6px 6px 12px; }
  .msc-err__acts { width: 100%; }
  .msc-err__acts .msc-btn { flex: 1 1 0; height: 40px; }
  .msc-seg button { height: 40px; }
  .msc-seg--sm button { height: 40px; padding: 0 12px; }
  .msc-btn--sm { height: 40px; }
  .msc-dlg__x { width: 44px; height: 44px; top: 12px; right: 12px; }
  .msc-ovl { padding: 0; place-items: stretch; }
  .msc-ovl.is-sheet .msc-dlg { width: 100%; max-height: none; height: 100%; border-radius: 0; box-shadow: none; }
  .msc-ovl.is-bottom { place-items: end stretch; }
  .msc-ovl.is-bottom .msc-dlg { height: auto; border-radius: 24px 24px 0 0; padding: 32px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .msc-dlg.msc-gate { align-content: start; gap: 16px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .msc-gate > :not(.msc-gh):not(.msc-dlg__x) { margin-left: 20px; margin-right: 20px; }
  .msc-gh { padding: 48px 12px 8px; }
  .msc-gate__txt h2 { font-size: 20px; line-height: 28px; }
  .msc-gate__list { grid-template-columns: minmax(0, 1fr); }
  .msc-gate__list li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; }
  .msc-gate__list i { grid-row: 1 / 3; margin: 0; }
  .msc-gate__act .msc-btn { flex: 1 1 100%; }
  .msc-done__act .msc-btn { flex: 1 1 100%; }
  .msc-th { width: 36px; }
}
/* на касании карточка отмечается целиком: полоска флоата посередине перехватывала нажатие подсказкой */
@media (hover: none) {
  .msc-root .skin-card .fbar { pointer-events: none; }
}

/* Невысокое окно (1366×650, 1280×670): панель поверх шапки сайта, клик по шапке больше не закрывает сборку; шаги без значков, инструменты одной строкой,
   пачка одной строкой (общий скин в подсказке). Минимум ряд карточек виден всегда, и в пачке тоже (GAP2-01, GAP2-02, GAP2-12) */
@media (max-height: 760px) and (min-width: 641px) {
  .msc-drawer { top: 0; z-index: 1000; }
  .msc-scrim { z-index: 990; }
  .msc-dr__head { padding: 6px 10px 6px 16px; gap: 10px; }
  .msc-dr__head .msc-ava { width: 28px; height: 28px; }
  .msc-dr__ttl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; }
  .msc-dr__ttl h2 { font-size: 15px; line-height: 22px; }
  .msc-board { padding-top: 8px; padding-left: 16px; padding-right: 16px; }
  .msc-tab { padding: 6px 12px; gap: 0; }
  .msc-ths { display: none; }
  .msc-bal small { display: none; }
  .msc-bal b { font-size: 15px; line-height: 18px; }
  .msc-bal span { font-size: 12px; line-height: 14px; }
  .msc-tools { flex-wrap: nowrap; padding: 8px 16px 0; }
  .msc-tools__t { display: none; }
  .msc-types { padding: 6px 16px 0; }
  .msc-guardline { display: none; }
  .msc-queue-slot { padding: 8px 16px 0; }
  .msc-queue { padding: 6px 12px; }
  .msc-queue__row { flex-wrap: nowrap; }
  .msc-queue__anchor { display: none; }
  .msc-dr__foot { padding: 8px 16px 10px; gap: 6px; }
}

/* 14.11 (СуперТрейд, свежесть, слой 1): скин, которого расширение не нашло у владельца в Steam. Карточка тусклая, как недоступная, а причина
   на ней читается в полную яркость: тускнеет содержимое карточки, а не вся карточка вместе с причиной */
.msc-root .skin-card.msc-gone { position: relative; opacity: 1; filter: none; }
.msc-root .skin-card.msc-gone > :not(.msc-gone__tag) { opacity: .4; filter: grayscale(.5); }
/* причина поверх картинки, а не поверх названия и цены: их видно сквозь затемнение */
.msc-root .msc-gone__tag { position: absolute; left: 8px; right: 8px; top: 34%; z-index: 5; transform: translateY(-50%); padding: 6px 8px; border-radius: 8px; background: var(--msc-s3); box-shadow: inset 0 0 0 1px var(--msc-line2), 0 4px 14px rgba(0, 0, 0, .45); color: var(--msc-t1); font: 600 12px/16px 'Inter', sans-serif; text-align: center; pointer-events: none; }
.msc-gone-note { flex-wrap: wrap; color: var(--msc-t1); }
.msc-gone-note span { flex: 1 1 220px; min-width: 0; }
.msc-gone-note svg { color: var(--msc-warn); }
.msc-gone-note .msc-btn { flex: none; height: 32px; }
