/* AuraFits — Are.na × неоклассика × жидкий хром. Токены и af-* компоненты из бренд-бука. */
:root {
  --surface: #fff; --surface-soft: #f7f7f7; --line: #ededed; --line-strong: #dedede;
  --ink-faint: #999; --ink-muted: #696969; --ink: #333; --ink-strong: #111; --on-strong: #fff; --focus: #3d46c2;
  --silver-top: #9aa3ae; --silver-bottom: #c9ced6; --on-silver: #1d2026; --hud: rgba(255, 255, 255, .9); --acid: #d4ff2a;
  --chrome-shadow: 0 6px 14px rgba(40, 44, 60, .35);
  --radius: 3px; --radius-pill: 9999px;
  --font-display: "Noto Serif Display", "Times New Roman", serif;
  --font-sans: "Golos Text", Arial, Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: 65px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b0b0b; --surface-soft: #1a1a1a; --line: #333; --line-strong: #4f4f4f;
    --ink-faint: #696969; --ink-muted: #b2b2b2; --ink: #e5e5e5; --ink-strong: #fff; --on-strong: #111; --focus: #5e6dee;
    color-scheme: dark;
  }
}
@media (max-width: 720px) { :root { --pad: 16px; } }

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.5 var(--font-sans);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 1px solid var(--focus); outline-offset: 1px; }
button, input, select, textarea { font-family: inherit; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding-left: 1.1em; }
li + li { margin-top: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.af-serif { font-family: var(--font-display); font-weight: 300; font-stretch: 75%; font-variation-settings: 'wdth' 75; color: var(--ink-strong); }
.af-mono { font-family: var(--font-mono); font-size: 11px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.af-label { display: block; font-size: 12.5px; line-height: 1; color: var(--ink-muted); border-bottom: 1px solid var(--line); padding-bottom: 5px; margin-bottom: 8px; }
.af-text { font-size: 16px; line-height: 1.5; }
.muted { color: var(--ink-muted); }

/* Button */
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 37px; padding: 0 15px;
          border: 1px solid transparent; border-radius: var(--radius); background: var(--surface-soft); color: var(--ink);
          font: 700 12.5px/1 var(--font-sans); cursor: pointer; white-space: nowrap; text-decoration: none; }
.af-btn:hover { border-color: var(--line-strong); color: var(--ink-strong); }
.af-btn--md { height: 34px; font-size: 14.4px; }
.af-btn--primary, .af-btn[aria-pressed="true"] { background: var(--ink-strong); color: var(--on-strong); }
.af-btn--primary:hover, .af-btn[aria-pressed="true"]:hover { color: var(--on-strong); border-color: var(--ink-strong); }
.af-btn--fill { width: 100%; height: 47px; font-size: 14.4px; }
.af-btn--ghost { background: transparent; border-color: var(--line-strong); }
.af-btn--icon { width: 37px; padding: 0; }
.af-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.af-btn:disabled { opacity: .6; cursor: progress; }
.af-btn--primary:disabled { opacity: 1; color: var(--ink-faint); }
/* Хром — только отрендеренная звезда: пока AI думает и в активном табе */
.af-spin { width: 18px; height: 18px; animation: af-spin 2.4s linear infinite; }
@keyframes af-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .af-spin { animation: none; } }

/* Input */
.af-input { display: block; width: 100%; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius);
            background: var(--surface-soft); color: var(--ink); font: 400 16px/1.45 var(--font-sans); }
textarea.af-input { height: auto; padding: 10px 12px; resize: vertical; field-sizing: content; min-height: 44px; max-height: 70vh; }
input[type=file] { max-width: 100%; }
.row:has(> .af-input) > .af-btn { height: 44px; }
select.af-input { appearance: auto; }
.af-input::placeholder { color: var(--ink-muted); }
.af-input:focus { background: var(--line); border-color: var(--focus); outline: none; }
.af-field { display: block; }
.af-check { display: flex; align-items: center; gap: 8px; font-size: 14.4px; cursor: pointer; }
.af-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink-strong); }

/* OptionList — вертикальный выбор с бегунком. Работает на radio (формы) и на ссылках (фильтры). */
.af-options { display: flex; flex-direction: column; }
.af-opt { display: flex; align-items: stretch; gap: 10px; height: 40px; width: 100%; padding: 0; border: 0; background: none;
          cursor: pointer; text-align: left; font: 700 14.4px/1 var(--font-sans); color: var(--ink-muted); }
.af-opt:hover { color: var(--ink-strong); }
.af-opt__trk { width: 6px; flex-shrink: 0; background: var(--surface-soft); display: flex; align-items: center; }
.af-opt__thm { width: 6px; height: 8px; border-radius: var(--radius-pill); }
.af-opt__txt { display: flex; align-items: center; }
.af-opt:first-child .af-opt__trk { border-radius: var(--radius-pill) var(--radius-pill) 0 0; }
.af-opt:last-child .af-opt__trk { border-radius: 0 0 var(--radius-pill) var(--radius-pill); }
.af-opt[aria-current], .af-opt:has(input:checked) { color: var(--ink); }
.af-opt[aria-current] .af-opt__thm, .af-opt:has(input:checked) .af-opt__thm { background: var(--ink-muted); }
.af-opt:has(input:focus-visible) { outline: 1px solid var(--focus); outline-offset: 1px; }
.af-options--compact .af-opt { height: 19px; font-size: 12.5px; }

/* KeyValue */
.af-kv { margin: 0; border-top: 1px solid var(--line); }
.af-kv__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0;
              border-bottom: 1px solid var(--line); font-size: 14.4px; line-height: 1.45; }
.af-kv__row dt { color: var(--ink-muted); }
.af-kv__row dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.af-kv--text .af-kv__row { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
.af-kv--text .af-kv__row dt { font-size: 12.5px; line-height: 1.6; }
.af-kv--text .af-kv__row dd { font-weight: 400; text-align: left; }
.af-kv--small { border: 0; }
.af-kv--small .af-kv__row { padding: 0 0 2px; margin-bottom: 2px; border-color: var(--surface-soft); font-size: 12.5px; line-height: 1.35; }

/* Breadcrumb */
.af-crumbs { display: flex; align-items: center; gap: .5357em; margin: 0; font: 700 28px/1.25 var(--font-sans); }
.af-crumbs a { color: var(--ink-muted); }
.af-crumbs a:hover { color: var(--ink-strong); }
.af-crumbs__sep { width: 2px; height: 1em; background: var(--ink-faint); transform: rotate(22.5deg); flex-shrink: 0; }
.af-crumbs [aria-current] { color: var(--ink); }
.af-crumbs--sm { font-size: 19.2px; line-height: 1.45; }

/* ItemTile */
.af-tile { position: relative; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.af-tile img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface-soft); }
.af-tile figcaption { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.af-tile__name { font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.af-tile--off img { opacity: .35; }
.af-tile--off .af-mono { color: var(--ink); }
.af-tile__act { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 10px; opacity: 0; pointer-events: none; }
.af-tile__act .af-btn { pointer-events: auto; }
.af-tile:hover .af-tile__act, .af-tile__act:focus-within { opacity: 1; }
.af-tile__act .af-btn { width: 100%; height: 40px; background: rgba(255, 255, 255, .95); color: #333; }
@media (hover: none) {
  .af-tile__act { position: static; aspect-ratio: auto; padding: 0; opacity: 1; }
  .af-tile__act .af-btn { height: 32px; background: var(--surface-soft); color: var(--ink); }
}
.af-tile__del { position: absolute; top: 6px; right: 6px; margin: 0; opacity: 0; transition: opacity .15s; }
.af-tile:hover .af-tile__del, .af-tile__del:focus-within { opacity: 1; }
@media (hover: none) { .af-tile__del { opacity: 1; } }
.af-tile__del button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
                       background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.af-tile__del button:hover { background: rgba(0, 0, 0, .75); }
.af-tile__del svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; }
.af-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 15px; row-gap: 45px; }
.af-grid--sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); column-gap: 5px; row-gap: 20px; }
@media (max-width: 720px) { .af-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 5px; row-gap: 20px; } }
/* Лук-мудборд: вещи без фона на белом, центр — от головы до обуви, по бокам — аксессуары */
.af-collage { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 8px; aspect-ratio: 3/4; max-height: 80vh; padding: 20px 12px; background: #fff; }
.af-collage__col { display: flex; flex-direction: column; justify-content: space-evenly; gap: 8px; min-height: 0; }
.af-collage__it { flex: 0 1 22%; min-height: 0; }
.af-collage__col:nth-child(2) .af-collage__it { flex: 1 1 0; }
.af-collage__col:nth-child(2) .af-collage__it--shoes, .af-collage__col:nth-child(2) .af-collage__it--accessory { flex-grow: .45; }
.af-collage img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.af-editorial { aspect-ratio: 3/4; border: 1px solid var(--line); padding: 14px; gap: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.af-editorial p { font-size: 24px; line-height: 1.05; }
.af-editorial a { font-size: 12.5px; font-weight: 700; }

/* LookHeader, Verdict */
.af-look, .af-verdict { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.af-look__title { display: flex; align-items: baseline; gap: 14px; margin: 0; font-weight: inherit; }
.af-look__num { font-size: 40px; line-height: 1; }
.af-look__name { font-size: 36px; line-height: 1; font-style: italic; }
.af-look__meta { display: flex; gap: 10px; align-items: center; }
.af-tag { display: inline-block; border: 1px solid var(--ink-strong); color: var(--ink-strong); padding: 3px 6px; }
.af-verdict { gap: 10px; }
.af-verdict__word { margin: 0; font-size: 72px; line-height: .95; }
.af-display { margin: 0; font-size: 44px; line-height: 1.02; }
.af-display i, .af-serif i { font-style: italic; }

/* TabBar (телефон) */
.af-tabs { display: none; }
@media (max-width: 720px) {
  .af-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; height: calc(56px + env(safe-area-inset-bottom));
             padding: 0 8px env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); }
}
.af-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink-muted); }
.af-tab { gap: 5px; }
.af-tab::before { content: ""; width: 12px; height: 12px; }
.af-tab[aria-current] { color: var(--ink-strong); }
.af-tab[aria-current]::before { background: url(/static/sparkle.png) center / contain no-repeat; }

/* SilverBand — единственный градиент */
.af-silver { position: relative; overflow: hidden; height: 232px; background: linear-gradient(180deg, var(--silver-top), var(--silver-bottom)); }
.af-silver__hud { position: absolute; border: 0 solid var(--hud); }
.af-silver__node { position: absolute; width: 5px; height: 5px; background: var(--hud); }
.af-silver__logo { position: absolute; left: var(--pad); top: 62px; width: min(346px, calc(100% - 2 * var(--pad))); height: auto; filter: drop-shadow(0 0 1px rgba(20, 22, 34, .7)) drop-shadow(0 2px 3px rgba(20, 22, 34, .45)) drop-shadow(var(--chrome-shadow)); }
.af-silver .af-mono { position: absolute; left: var(--pad); bottom: 30px; color: var(--on-silver); }
.af-silver__logo, .af-silver > .af-mono { z-index: 1; }
/* glock rides the weather line, right after the text; top shifts it down without moving the text */
.af-silver__glock { position: relative; top: 32px; scale: -1 1; height: 72px; margin-left: 18px; vertical-align: bottom; }
/* cover: chrome-toned JDM / y2k collage (static/cover-cars.webp, 1250x232 @2x) + HUD overlay in the same px grid.
   Pinned right; scales around the road line so it never reaches the logo (needs 430px + 1250px * scale). */
.af-garage { --s: 1; scale: var(--s); position: absolute; right: 0; top: 0; width: 1250px; transform-origin: 100% 214px; height: 232px; pointer-events: none; }
/* trace dropped from the band's top HUD line (y=14) to --y in garage px; compensates the scale around y=214 */
.af-trace { position: absolute; top: calc(214px - 200px / var(--s)); height: calc(var(--y) - 214px + 200px / var(--s)); border-left: 1px solid var(--hud); }
.af-trace::before { content: ""; position: absolute; left: -3px; top: -2px; width: 5px; height: 5px; background: var(--hud); }
.af-garage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.af-garage__tag { position: absolute; font-size: 10px; white-space: nowrap; color: var(--on-silver); }
.af-acid { display: inline-block; margin-right: 6px; padding: 1px 4px; background: var(--acid); color: #0d0e12; font-weight: 500; }
.af-lock { position: absolute; --c: 12px; border: 1px solid var(--hud);
           mask: conic-gradient(at var(--c) var(--c), #0000 75%, #000 0) 0 0 / calc(100% - var(--c)) calc(100% - var(--c)); }
.af-barcode { position: absolute; width: 92px; height: 16px;
              background: repeating-linear-gradient(90deg, var(--on-silver) 0 1px, #0000 1px 3px, var(--on-silver) 3px 5px, #0000 5px 6px, var(--on-silver) 6px 7px, #0000 7px 10px); }
@media (max-width: 1679px) { .af-garage { --s: .9; } }
@media (max-width: 1554px) { .af-garage { --s: .8; } }
@media (max-width: 1429px) { .af-garage { --s: .7; } }
@media (max-width: 1304px) { .af-garage { --s: .6; } }
@media (max-width: 1179px) { .af-garage { display: none; } }
@media (max-width: 720px) {
  .af-silver__logo { left: 22px; width: calc(100% - 44px); }
  .af-garage, .af-silver__glock { display: none; }
}

/* Каркас */
.top { height: 55px; display: flex; align-items: center; padding-right: 20px; }
.top__mark { width: var(--pad); align-self: stretch; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.top__mark img { width: 26px; height: 26px; }
.top__nav { display: flex; gap: 25px; }
.top__nav a { font-size: 14.4px; font-weight: 700; color: var(--ink-muted); }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; gap: 10px; }
.top .af-crumbs { display: none; }
main { padding: 35px var(--pad) 65px; display: flex; flex-direction: column; gap: 35px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.narrow { max-width: 640px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--sm { gap: 10px; }
.row { display: flex; gap: 5px; align-items: center; }
.row .grow { flex-grow: 1; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 25px 15px; }
@media (max-width: 720px) {
  .top { padding: 0 16px; gap: 12px; }
  .top__mark { width: auto; }
  .top__mark img { width: 22px; height: 22px; }
  .top__nav, .top__actions, .page-head .af-crumbs { display: none; }
  .top .af-crumbs { display: flex; min-width: 0; }
  .top .af-crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-only { display: inline-flex; }
  main { padding: 10px var(--pad) calc(90px + env(safe-area-inset-bottom)); }
  .page-head:not(:has(> :not(.af-crumbs))) { display: none; }
  .af-crumbs { font-size: 19.2px; line-height: 1.45; }
  .af-verdict__word { font-size: 60px; }
}
.no-top .top .af-crumbs { display: none; }
@media (min-width: 721px) { .m-only { display: none; } }

/* Загрузка фото */
.af-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px;
           padding: 20px; background: var(--surface-soft); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-align: center; }
.af-drop:hover, .af-drop.over { border-color: var(--line-strong); }
.af-drop:focus-within { border-color: var(--focus); }
.af-drop b { font-size: 14.4px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 5px; }
.photos img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface-soft); }

/* Карточка вещи в разметке */
.item-form { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.item-form__photos { display: flex; flex-direction: column; gap: 5px; }
.item-form__photos img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface-soft); }
.item-form__photos .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.item-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; align-content: start; }
.item-form__fields .wide { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .item-form { grid-template-columns: 1fr; }
  .item-form__photos > img { max-height: 60vh; object-fit: contain; }
}
.sticky-bar { position: sticky; bottom: 12px; }
@media (max-width: 720px) { .sticky-bar { bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* Сообщения: волосяная линия и моно-метка, без плашек */
.af-note, .af-error { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14.4px; line-height: 1.45; }
.af-error { border-color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.af-error::before { content: "Ошибка"; display: block; margin-bottom: 4px; font: 400 11px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-strong); }
.af-note a { font-weight: 700; }

details > summary { cursor: pointer; font-size: 14.4px; font-weight: 700; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: " →"; }
details[open] > summary::after { content: " ↓"; }
details[open] > summary { margin-bottom: 15px; }

/* Референсы: папка — канал Are.na, первая плитка — «+ добавить» */
.filters__wide { grid-column: span 2; align-self: start; margin-top: 17.5px; /* = высота .af-label до линии */ }
.ref-add__drop { aspect-ratio: 3/4; min-height: 0; }
.ref-add__paste { width: 100%; height: 32px; }
.ref-add .af-input { height: 36px; font-size: 14px; }
.row > .af-input { flex: 1; min-width: 0; }

/* Страница референса: слева закреплённое фото, справа описание и действия */
.ref { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 35px; align-items: start; }
.ref__photo { position: sticky; top: 20px; }
.ref__photo img { display: block; width: 100%; max-height: 85vh; object-fit: contain; object-position: left top; }
.ref__body { max-width: 640px; }
.ref__h2 { margin: 0; font-size: 36px; line-height: 1; }
.ref-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 25px; align-items: start; }
.ref-look__score { display: flex; align-items: baseline; gap: 10px; }
.ref-look__score .af-serif { font-size: 56px; line-height: .95; }
.ref-look__score small { font-size: .45em; }
.ref-empty { aspect-ratio: 3/4; max-height: 50vh; display: flex; align-items: center; justify-content: center; padding: 20px;
             border: 1px dashed var(--line-strong); text-align: center; }
@media (max-width: 720px) {
  .ref, .ref-looks { grid-template-columns: 1fr; gap: 20px; }
  .ref__photo { position: static; }
  .ref__photo img { max-height: 70vh; object-position: center top; }
  .filters__wide { grid-column: 1 / -1; margin-top: 0; }
}

/* По вещам: номер · что · есть/похожее/нет · миниатюра аналога */
.pieces, .buy, .shop__list { list-style: none; margin: 0; padding: 0; }
.pieces li, .buy li, .shop__list li { margin-top: 0; }
.pieces { border-top: 1px solid var(--line); }
.piece { display: grid; grid-template-columns: 28px minmax(0, 1fr) 72px 60px; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.piece__n, .piece__match { padding-top: 3px; }
.piece__what { display: flex; flex-direction: column; gap: 2px; font-size: 14.4px; line-height: 1.45; }
.piece__what p { color: var(--ink-muted); }
.piece__match { color: var(--ink-strong); }
.piece__match--none { color: var(--ink-faint); }
.piece__thumb img, .piece__empty { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface-soft); }
.piece__empty { background: none; border: 1px dashed var(--line-strong); }
@media (max-width: 720px) { .piece { grid-template-columns: 22px minmax(0, 1fr) 52px; } .piece__match { grid-column: 2; grid-row: 2; padding: 0; } .piece__thumb { grid-column: 3; grid-row: 1 / 3; } }

/* Докупить и где купить */
.buy { display: flex; flex-direction: column; gap: 30px; max-width: 640px; }
.buy__it { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; border-top: 1px solid var(--ink); padding-top: 12px; }
.buy__n { font-size: 36px; line-height: 1; }
.shop { max-width: 640px; }
.shop__list { margin-bottom: 10px; }
.shop__opt { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.shop__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.shop__name { font-weight: 700; }
a.shop__name { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.shop__mat { font: 400 12.5px/1.4 var(--font-mono); }
.shop__q { display: inline-block; color: var(--ink); }
.shop__need { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: baseline; border-top: 1px solid var(--ink); padding: 12px 0 4px; font-size: 14.4px; line-height: 1.45; }
.shop__list { padding-left: 50px; }
.shop__qs { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 0 50px; }
.shop + .shop { margin-top: 20px; }
@media (max-width: 720px) { .shop__need { grid-template-columns: 28px minmax(0, 1fr); } .shop__list, .shop__qs { padding-left: 0; } }

/* Вход: форма под серебряной лентой, по центру на десктопе */
.login { width: 100%; max-width: 400px; margin: 30px auto 0; }
@media (max-width: 720px) { .login { margin-top: 10px; } }
