/* ==========================================================================
   Страница предложения /d/{id}-{slug} — макеты deal (hero D, action A, vote A,
   terms B, honesty A, more-links C) и deal-comments. Префикс dl-.
   Сетка: ≥1200 — ПК (1200), 768–1199 — промежуточный, <768 — телефон (поля 16).
   Цвета — только токены (тёмная тема из tokens.css).
   ========================================================================== */

.dl [hidden], .dl-sticky[hidden] { display: none; }
.dl { padding: 28px 0 72px; }
.dl-wrap { display: flex; flex-direction: column; gap: 56px; }
.dl-top { display: flex; flex-direction: column; gap: 20px; }

/* --- общие мелочи ------------------------------------------------------ */
.dl-eyebrow, .dl-vote-h, .dl-cm-h3, .dl-warns-h, .dl-rest-h, .dl-next-subh { font-family: var(--font); }
.dl-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.dl-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 30px; padding: 0 12px 0 10px;
  border-radius: var(--r-32); background: var(--brand-bg); color: var(--brand-text); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; }
.dl-sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.dl-sec-p { font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 720px; }
.dl-dim { color: var(--text-3); }
.dl-ext, .dl-arr, .dl-chev { transition: transform var(--dur-hover) var(--ease-std); }
a:hover .dl-ext { transform: translate(2px, -2px); }
a:hover .dl-arr { transform: translateX(3px); }

/* плашки ответа сервиса (голос, истёкший срок) */
.dl-plate { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-12);
  font-size: 15px; line-height: 1.45; min-width: 0; }
.dl-plate > svg, .dl-plate > span:first-child { flex-shrink: 0; margin-top: 1px; display: flex; }
.dl-plate--ok { background: var(--brand-bg); color: var(--brand-on-bg); }
.dl-plate--warn { background: var(--warn-bg); color: var(--warn-text); }
.dl-plate--risk { background: var(--risk-bg); color: var(--risk); }
.dl-plate--quiet { background: var(--surface-2); color: var(--text-2); align-items: center; }
.dl-plate--quiet .btn { margin-left: auto; flex-shrink: 0; }
.dl-plate-in { animation: dl-plate .4s var(--ease-out) .3s both; }

/* --- крошки ------------------------------------------------------------ */
.dl-crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin-left: -8px; font-size: 14px; line-height: 1.4; }
.dl-crumbs li { display: flex; align-items: center; gap: 2px; min-width: 0; color: var(--text-3); }
.dl-crumbs a { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 8px; border-radius: var(--r-8); color: var(--text-3);
  transition: color var(--dur-hover) var(--ease-std); }
.dl-crumbs a:hover { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.dl-crumbs a:focus-visible { outline-offset: 0; }
.dl-crumbs [aria-current] { padding: 3px 8px; color: var(--text); font-weight: 500; }
.dl-crumbs .dl-back { display: none; }

/* --- первый экран: статус первым --------------------------------------- */
.dl-hero { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: var(--r-32); background: var(--brand-bg); }
.dl-hero--bad { background: var(--risk-bg); }
.dl-hero--unknown { background: var(--surface-2); border: 1.5px dashed var(--field-border); }
.dl-st { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 10px 390px 0 12px; }
.dl-st-ic { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--brand-text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-hero--bad .dl-st-ic { color: var(--risk); }
.dl-hero--unknown .dl-st-ic { color: var(--text-2); border: 1.5px dashed var(--line-strong); }
.dl-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-text); animation: dl-ring 2s var(--ease-std) .8s infinite both; }
.dl-st-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 2px; }
.dl-st-name { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: var(--ls-display); color: var(--brand-text); }
.dl-hero--bad .dl-st-name { color: var(--risk); }
.dl-hero--unknown .dl-st-name { color: var(--text); }
.dl-st-why { font-size: 16px; line-height: 1.45; color: var(--text-2); max-width: 760px; }
.dl-st-when svg { display: none; }
.dl-st-when::after { content: " · "; }
.dl-st-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 28px; font-size: 15px; font-weight: 600; color: var(--brand-text); }
.dl-hero--bad .dl-st-link { color: var(--risk); }
.dl-st-link svg { transition: transform var(--dur-hover) var(--ease-std); }
.dl-st-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-st-link:hover svg { transform: translateY(2px); }

.dl-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 36px 32px; border-radius: var(--r-22); background: var(--surface); min-width: 0; }
.dl-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.dl-shop { display: inline-flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.dl-shop:hover { color: var(--text); }
.dl-shop:hover .dl-shop-n { text-decoration: underline; text-underline-offset: 3px; }
.dl-mono, .dl-logo { width: 44px; height: 44px; border-radius: var(--r-12); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dl-mono { background: var(--text); color: var(--bg); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.dl-logo { background: var(--photo-tile); border: 1px solid var(--line); }
.dl-logo img { width: 100%; height: 100%; object-fit: contain; }
.dl-shop-n { font-size: 16px; font-weight: 600; line-height: 1.3; }
.dl-sep { width: 1px; height: 24px; background: var(--line); flex-shrink: 0; }
.dl-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px; border-radius: 30px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.dl-pill--brand { background: var(--surface); color: var(--brand-text); border: 1.5px solid var(--brand-text); }
.dl-spark { transform-origin: 50% 50%; animation: dl-spark 3s var(--ease-std) infinite; }
.dl-h1 { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1.14; letter-spacing: var(--ls-h1); color: var(--text);
  max-width: 960px; text-wrap: balance; overflow-wrap: anywhere; }
.dl-finder { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.dl-finder svg { flex-shrink: 0; margin-top: 2px; color: var(--text-3); }
.dl-finder a { font-weight: 600; }
.dl-lead-w { display: flex; flex-direction: column; align-items: flex-start; }
.dl-lead { font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 780px; white-space: pre-line; }
.dl-more-btn { height: 44px; padding: 0; border: 0; background: none; color: var(--brand-text); font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.dl-more-btn svg { transition: transform var(--dur-menu) var(--ease-std); }
.dl-more-btn.is-open svg { transform: rotate(180deg); }
@media (min-width: 768px) { .dl-more-btn { display: none; } }

/* «Сохранить» (партиал save_button): на ПК — справа в строке статуса */
.dl-card-head .sv { position: absolute; top: 30px; right: 32px; align-items: flex-end; gap: 8px; max-width: 360px; }
.dl-card-head .sv-row { justify-content: flex-end; }
.dl-card-head .sv-all { display: none; }
.dl-card-head .sv-cap { font-size: 13px; line-height: 1.4; color: var(--brand-on-bg); text-align: right; gap: 6px; justify-content: flex-end; }
.dl-hero--bad .dl-card-head .sv-cap, .dl-hero--unknown .dl-card-head .sv-cap { color: var(--text-2); }
.dl-card-head .sv-cap svg { width: 14px; height: 14px; }

/* --- действие: код и переход рядом -------------------------------------- */
.dl-act { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px; border-radius: var(--r-18); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.dl-act-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px 20px; align-items: start; }
.dl-act-grid.is-nolink { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dl-act-main, .dl-act-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dl-act-side { gap: 10px; }
.dl-code { position: relative; }
.dl-code-btn { position: relative; width: 100%; height: 64px; border-radius: var(--r-12); overflow: hidden; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; border: 1.5px dashed var(--field-border); background: var(--surface-quiet); color: var(--text-2); text-align: left; cursor: pointer;
  font: inherit; transition: border-color var(--dur-hover) var(--ease-std); }
.dl-code-btn:hover { border-color: var(--brand-text); }
.dl-code-mask { font-size: 19px; font-weight: 600; letter-spacing: .1em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-code-mask span { font-size: 23px; line-height: 1; letter-spacing: .06em; color: var(--text-2); }
.dl-code-shut { position: absolute; inset: 0 0 0 160px; display: flex; align-items: center; justify-content: center; gap: 10px; padding-left: 10px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px); background: var(--brand); color: var(--on-accent);
  font-size: 19px; font-weight: 700; white-space: nowrap; transition: background-color var(--dur-hover) var(--ease-std); }
.dl-code-btn:hover .dl-code-shut { background: var(--brand-hover); }
.dl-code-fold { position: absolute; left: 0; top: 0; width: 16px; height: 16px; clip-path: polygon(100% 0, 0 100%, 100% 100%); background: var(--brand-hover); }
/* код открыт (deal.js): рамка зелёная, символы перещёлкиваются, «Скопирован» */
.dl-code.is-open { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; border-radius: var(--r-12);
  border: 1.5px dashed var(--brand-text); background: var(--surface); overflow: hidden; }
.dl-code.is-error { border-color: var(--risk); }
.dl-code-v { flex-grow: 1; min-width: 0; font-size: 24px; font-weight: 600; letter-spacing: .1em; color: var(--text); font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere; user-select: all; perspective: 400px; }
.dl-flip { display: inline-block; animation: dl-flip .24s var(--ease-out) both; }
.dl-code-wipe { position: absolute; inset: 0 0 0 160px; background: var(--brand); pointer-events: none; animation: dl-wipe .42s var(--ease-std) both; }
.dl-copy { flex-shrink: 0; height: 46px; padding: 0 14px; border-radius: var(--r-10); border: 1px solid var(--line); background: var(--surface);
  color: var(--brand-text); font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-std), border-color var(--dur-hover) var(--ease-std); }
.dl-copy:hover { background: var(--surface-2); border-color: var(--field-border); }
.dl-code.is-error .dl-copy { color: var(--risk); }
.dl-copy-ic { position: relative; width: 18px; height: 18px; display: block; }
.dl-copy-ic svg { position: absolute; inset: 0; }
.dl-copy-a { opacity: 0; animation: dl-cp-a .6s var(--ease-std) .3s both; }
.dl-copy-b path:last-child { stroke-dasharray: 1; animation: dl-draw .4s var(--ease-out) .55s both; }
.dl-copy.is-again .dl-copy-b path:last-child { animation: dl-draw .4s var(--ease-out) both; }
.dl-hint { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.dl-hint svg { flex-shrink: 0; margin-top: 3px; color: var(--text-3); }
.dl-hint.is-ok { color: var(--brand-on-bg); }
.dl-hint.is-ok svg { color: var(--brand-text); }
.dl-go { width: 100%; min-height: 64px; padding: 8px 20px; border-radius: var(--r-12); border: 1.5px solid var(--line); background: var(--surface);
  color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  font-size: 17px; font-weight: 600; transition: background-color var(--dur-hover) var(--ease-std), border-color var(--dur-hover) var(--ease-std); }
.dl-go:hover { background: var(--surface-2); border-color: var(--field-border); color: var(--text); }
.dl-go-t { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.dl-go.is-again { font-size: 16px; }
.dl-go-q { font-size: 13px; line-height: 1.3; color: var(--text-3); font-weight: 400; }
.dl-aff { font-size: 13px; line-height: 1.45; color: var(--text-3); }
.dl-nolink { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--r-14); background: var(--surface-2);
  border: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); max-width: 860px; }
.dl-nolink-ic { width: 40px; height: 40px; border-radius: var(--r-10); background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-nolink > span:last-child { padding-top: 7px; }
.dl-act-sale { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.dl-sale-go { gap: 10px; }
.dl-sale-notes { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 280px; }
.dl-sum { display: none; }

/* --- голос -------------------------------------------------------------- */
.dl-vote { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px 16px; border-radius: var(--r-18); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: 96px; }
.dl-vote-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.dl-vote-q { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dl-vote-h { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--text); }
.dl-vote-p { font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 600px; }
.dl-vote-btns { display: flex; gap: 10px; flex-shrink: 0; padding-top: 4px; margin: 0; }
.dl-vb { height: 52px; padding: 0 10px 0 16px; border-radius: var(--r-12); border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 17px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-std), border-color var(--dur-hover) var(--ease-std), transform var(--dur-hover) var(--ease-std); }
.dl-vb:hover { border-color: var(--field-border); background: var(--surface-quiet); color: var(--text); }
.dl-vb:active { transform: scale(.98); }
.dl-vb-n { min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--r-8); background: var(--surface-3); display: inline-flex; align-items: center;
  justify-content: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dl-vb.is-yes { border-color: var(--brand-text); background: var(--brand-bg); color: var(--brand-on-bg); }
.dl-vb.is-yes:hover { background: var(--brand-bg-hover); border-color: var(--brand-text); }
.dl-vb.is-yes .dl-vb-n { background: var(--surface); color: var(--brand-on-bg); }
.dl-vb.is-no { border-color: var(--risk); background: var(--risk-bg); color: var(--risk); }
.dl-vb.is-no:hover { background: var(--risk-bg); border-color: var(--risk); }
.dl-vb.is-no .dl-vb-n { background: var(--surface); color: var(--risk); }
.dl-vb-ic { flex-shrink: 0; }
.dl-vb-ic.is-bounce { transform-origin: 40% 80%; animation: dl-bounce .5s var(--ease-spring) .1s both; }
.dl-vote-mid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px 20px; align-items: center; }
.dl-vote-mine { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.dl-vote-mid > :only-child { grid-column: 1 / -1; }
.dl-vote-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.dl-how { flex-grow: 1; min-width: 0; }
.dl-how summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; margin-left: -10px; border-radius: var(--r-10);
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; transition: background-color var(--dur-hover) var(--ease-std); }
.dl-how summary::-webkit-details-marker { display: none; }
.dl-how summary:hover { background: var(--surface-2); }
.dl-how[open] .dl-chev { transform: rotate(180deg); }
.dl-how-rules { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; line-height: 1.5; }
.dl-how-rules > div { padding: 12px 14px; border-radius: var(--r-12); }
.dl-how-bad { background: var(--risk-bg); }
.dl-how-good { background: var(--brand-bg); }
.dl-how-bad dt { font-weight: 700; color: var(--risk); }
.dl-how-good dt { font-weight: 700; color: var(--brand-on-bg); }
.dl-how-rules dd { margin: 2px 0 0; color: var(--text); }
.dl-how-note { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.dl-vote-meta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.dl-vote-last { font-size: 14px; color: var(--text-3); white-space: nowrap; }
.dl-to-cm { min-height: 48px; padding: 0 14px; border-radius: var(--r-12); border: 1px solid var(--line); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color var(--dur-hover) var(--ease-std); }
.dl-to-cm:hover { background: var(--surface-2); color: var(--text); }
.dl-to-cm-go { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--brand-text); }
.dl-to-cm-go svg { transition: transform var(--dur-hover) var(--ease-std); }
.dl-to-cm:hover .dl-to-cm-go svg { transform: translateY(2px); }

/* --- условия: сначала то, что может помешать ---------------------------- */
.dl-terms { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 96px; }
.dl-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.dl-terms-grid.is-calm { grid-template-columns: minmax(0, 720px); }
.dl-warns-h, .dl-rest-h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.dl-warns-h { padding: 20px 0 12px; color: var(--warn-text); }
.dl-warns-h svg { color: var(--warn-text-2); }
.dl-warn-list { display: flex; flex-direction: column; gap: 12px; }
.dl-warn { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px 18px 22px; border-radius: var(--r-16);
  background: var(--warn-bg); border: 1px solid var(--warn-line); overflow: hidden; min-width: 0; }
.dl-warn-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--warn); transform-origin: 50% 0; animation: dl-bar .4s var(--ease-out) .6s both; }
.dl-warn-ic { width: 40px; height: 40px; border-radius: var(--r-10); background: var(--surface); border: 1px solid var(--warn-line); color: var(--warn-text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-flash { transform-box: fill-box; transform-origin: 50% 50%; animation: dl-flash .6s var(--ease-std) .8s 1 both; }
.dl-warn-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex-grow: 1; }
.dl-warn dt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: var(--warn-text); }
.dl-warn-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-8); border: 1px solid var(--warn-text-2);
  background: var(--surface); font-size: 13px; font-weight: 700; color: var(--warn-text); white-space: nowrap; }
.dl-warn dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.dl-rest { border-radius: var(--r-18); border: 1px solid var(--line); background: var(--surface-quiet); padding-bottom: 6px; }
.dl-rest-h { padding: 20px 24px 4px; color: var(--text); }
.dl-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: baseline; margin: 0 24px; padding: 14px 0;
  border-bottom: 1px solid var(--line); min-width: 0; }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); min-width: 0; }
.dl-row-ic { display: flex; color: var(--text-3); flex-shrink: 0; }
.dl-row dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text); text-align: right; overflow-wrap: anywhere; }

/* пояснение про настоящую выгоду */
.dl-hn { display: flex; align-items: flex-start; gap: 16px; padding: 22px 28px 22px 22px; border-radius: var(--r-18); background: var(--brand-bg); max-width: 880px; }
.dl-hn-ic { width: 40px; height: 40px; border-radius: var(--r-10); background: var(--surface); color: var(--brand-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-squint { transform-box: view-box; transform-origin: 12px 12px; animation: dl-squint .6s var(--ease-std) .8s 1 both; }
.dl-hn-t { padding-top: 7px; font-size: 16px; line-height: 1.6; color: var(--brand-on-bg); max-width: 700px; }
.dl-hn-t b { font-weight: 700; color: var(--text); }
.dl-hn-t mark { background: linear-gradient(transparent 58%, var(--brand-track) 58%); color: var(--text); font-weight: 600; }
.dl-hn-link { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 8px; margin: -4px -8px; border-radius: var(--r-8);
  vertical-align: middle; font-weight: 700; color: var(--brand-text); white-space: nowrap; }
.dl-hn-link svg { transition: transform var(--dur-hover) var(--ease-std); }
.dl-hn-link:hover svg { transform: translateX(3px); }
.dl-hn-l2 { display: none; }

/* --- обсуждение (макет deal-comments) ----------------------------------- */
.dl-cm { display: grid; grid-template-columns: 820px minmax(0, 1fr); column-gap: 64px; row-gap: 0; align-items: start; scroll-margin-top: 96px; }
.dl-cm > * { grid-column: 1; min-width: 0; }
.dl-cm > :not(.dl-cm-side) + :not(.dl-cm-side) { margin-top: 40px; }
.dl-cm > .dl-cm-side { grid-column: 2; grid-row: 1 / span 8; align-self: stretch; }
.dl-cm-rules { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: var(--r-16); background: var(--surface-3); }
.dl-cm-rules-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--text); }
.dl-cm-rules-h svg { color: var(--brand-text); }
.dl-cm-rules ul { display: flex; flex-direction: column; gap: 10px; }
.dl-cm-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.dl-cm-rules li svg { flex-shrink: 0; margin-top: 1px; color: var(--text-3); }
.dl-cm-head { display: flex; flex-direction: column; gap: 14px; }
.dl-cm-head .dl-tag { height: 32px; padding: 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brand-on-bg); }
.dl-cm-head .h2 { font-weight: 700; }
.dl-cm-count { color: var(--brand-text); font-variant-numeric: tabular-nums; }
.dl-cm-lead { font-size: 18px; line-height: 1.5; color: var(--text); max-width: 44ch; }

.dl-cm-flash { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--r-16); font-size: 15px; font-weight: 700;
  line-height: 1.4; animation: vg-fade var(--dur-menu) var(--ease-std) both; }
.dl-cm-flash > svg { flex-shrink: 0; }
.dl-cm-flash > span { flex-grow: 1; }
.dl-cm-flash--quiet { border: 1.5px dashed var(--line-field); background: var(--surface-quiet); color: var(--text); }
.dl-cm-flash--ok { background: var(--brand-bg); color: var(--brand-on-bg); }
.dl-cm-flash--risk { background: var(--risk-bg); color: var(--risk); }
.dl-cm-flash-x { width: 36px; height: 36px; border: 0; border-radius: var(--r-10); background: transparent; color: inherit; display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex-shrink: 0; }
.dl-cm-flash-x:hover { background: var(--surface-3); }

.dl-cm-empty { display: flex; flex-direction: column; gap: 16px; }
.dl-cm-empty-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dl-cm-empty-h p { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--text); }
.dl-cm-empty-h > span:last-child { font-size: 16px; color: var(--text-2); }
.dl-cm-empty-ic { width: 40px; height: 40px; border-radius: var(--r-12); background: var(--surface-2); color: var(--text-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-cm-empty ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-cm-empty li { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--r-14); background: var(--surface-2); }
.dl-cm-empty li b { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text); }
.dl-cm-empty li span { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.dl-cm-empty li:nth-child(1) { animation: vg-rise var(--dur-enter) var(--ease-out) .21s both; }
.dl-cm-empty li:nth-child(2) { animation: vg-rise var(--dur-enter) var(--ease-out) .28s both; }
.dl-cm-empty li:nth-child(3) { animation: vg-rise var(--dur-enter) var(--ease-out) .35s both; }
.dl-cm-first { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font-size: 16px; font-weight: 600; }

.dl-cm-form { display: flex; flex-direction: column; gap: 14px; outline: none; scroll-margin-top: 96px; }
.dl-cm-form-h { display: flex; flex-direction: column; gap: 6px; }
.dl-cm-form-h p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.dl-cm-h3 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text); }
.dl-cm-starts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-cm-starts > span { font-size: 14px; color: var(--text-3); }
.dl-cm-start { height: 36px; padding: 0 12px; border-radius: var(--r-10); border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-std), border-color var(--dur-hover) var(--ease-std); }
.dl-cm-start:hover { background: var(--surface-2); border-color: var(--field-border); }
.dl-cm-start svg { color: var(--text-3); }
.dl-cm-field { display: flex; flex-direction: column; gap: 8px; }
.dl-cm-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.dl-cm-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.dl-cm-myvote { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.dl-cm-ta { min-height: 96px; height: 96px; font-size: 16px; line-height: 1.5; }
.dl-cm-err { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-12); background: var(--risk-bg); color: var(--risk);
  font-size: 14px; line-height: 1.45; }
.dl-cm-err > svg { flex-shrink: 0; margin-top: 1px; }
.dl-cm-err > span { display: flex; flex-direction: column; gap: 2px; }
.dl-cm-err-t { font-weight: 700; }
.dl-cm-foot { display: flex; align-items: center; gap: 16px; }
.dl-cm-rules-line { font-size: 13px; color: var(--text-3); flex-grow: 1; }
.dl-cm-cnt { font-variant-numeric: tabular-nums; }
.dl-cm-send { flex-shrink: 0; }
.dl-nudge { transition: transform var(--dur-hover) var(--ease-std); }
.dl-cm-send:hover .dl-nudge { transform: translate(2px, -2px); }
.dl-cm-gate { display: flex; flex-direction: column; gap: 12px; outline: none; scroll-margin-top: 96px; }
.dl-cm-gate-b { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-16); background: var(--warn-bg); }
.dl-cm-gate-b p { flex: 1 1 260px; font-size: 16px; line-height: 1.5; color: var(--text); }
.dl-cm-gate-b form { margin: 0; }
.dl-cm-gate-ic { width: 40px; height: 40px; border-radius: var(--r-12); background: var(--surface); color: var(--warm-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ветка: карточка с полосой голоса автора */
.dl-cm-list { display: flex; flex-direction: column; gap: 16px; }
.dl-cm-item { border: 1px solid var(--line); border-radius: var(--r-16); background: var(--surface); scroll-margin-top: 96px; }
.dl-cm-item:nth-child(-n+4) { animation: vg-rise var(--dur-enter) var(--ease-out) both; }
.dl-cm-item:nth-child(2) { animation-delay: .07s; } .dl-cm-item:nth-child(3) { animation-delay: .14s; } .dl-cm-item:nth-child(4) { animation-delay: .21s; }
.dl-cm-item.is-off { border: 1.5px dashed var(--line-field); }
.dl-cm-item.is-new, .dl-cm-r.is-new { animation: dl-new 1.4s var(--ease-std) .3s both; }
.dl-cm-card { display: flex; flex-direction: column; }
.dl-cm-band { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 20px; border-radius: 15px 15px 0 0; font-size: 14px; font-weight: 600; }
.dl-cm-band--yes { background: var(--brand-bg); color: var(--brand-on-bg); }
.dl-cm-band--no { background: var(--risk-bg); color: var(--risk); }
.dl-cm-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 8px; }
.dl-cm-who { display: flex; align-items: center; gap: 12px; }
.dl-cm-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0; }
.dl-cm-ava--sm { width: 28px; height: 28px; }
.dl-cm-ava.is-me { background: var(--warm-bg); color: var(--warm-on-bg); }
.dl-cm-meta { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; min-height: 28px; }
.dl-cm-nick { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
a.dl-cm-nick:hover { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.dl-cm-meta time { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.dl-cm-me { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-8); background: var(--surface-3); color: var(--text-2); font-size: 13px; font-weight: 600; }
.dl-vchip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 7px; border-radius: var(--r-32); font-size: 13px; font-weight: 600; white-space: nowrap; }
.dl-vchip--yes { background: var(--brand-bg); color: var(--brand-on-bg); }
.dl-vchip--no { background: var(--risk-bg); color: var(--risk); }
.dl-cm-text { display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.dl-cm-text p { font-size: 16px; line-height: 1.5; color: var(--text); }
.dl-cm-acts { display: flex; align-items: center; gap: 4px; margin-left: -10px; flex-wrap: wrap; }
.dl-cm-tb { height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-10); background: transparent; color: var(--text-2); font: inherit; font-size: 14px;
  font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-hover) var(--ease-std), color var(--dur-hover) var(--ease-std); }
a.dl-cm-tb { color: var(--text-2); }
.dl-cm-tb:hover { background: var(--surface-3); color: var(--text); }
.dl-cm-del:hover { background: var(--risk-bg); color: var(--risk); }
.dl-cm-done, .dl-cm-done:hover { cursor: default; background: transparent; color: var(--text-3); }
.dl-cm-done.is-fresh { min-height: 36px; height: auto; padding: 4px 12px; background: var(--brand-bg); color: var(--brand-on-bg); white-space: normal; animation: vg-spring 520ms var(--ease-std) both; }
.dl-cm-more { position: relative; display: inline-flex; }
.dl-cm-menu { display: flex; align-items: center; gap: 4px; }
.dl-cm-menu form { margin: 0; display: flex; }
.dl-cm-more-btn { display: none; }
.dl-cm-repw { position: relative; display: inline-flex; }
.dl-cm-tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 3; width: 260px; padding: 10px 12px; border-radius: var(--r-12); background: var(--text);
  color: var(--bg); font-size: 13px; line-height: 1.45; box-shadow: var(--sh-arrow); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--dur-hover) var(--ease-std), transform var(--dur-hover) var(--ease-std), visibility 0s linear var(--dur-hover); pointer-events: none; }
.dl-cm-repw:hover .dl-cm-tip, .dl-cm-repw:focus-within .dl-cm-tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dl-cm-repw:hover .dl-cm-tb, .dl-cm-repw:focus-within .dl-cm-tb { background: var(--surface-3); }

.dl-cm-reply { padding: 8px 0 12px; }
.dl-cm-reply.is-in { animation: dl-open .22s var(--ease-std) both; }
.dl-cm-reply form { display: flex; flex-direction: column; gap: 8px; }
.dl-cm-reply .dl-cm-ta { min-height: 88px; height: 88px; }
.dl-cm-reply-btns { display: flex; gap: 8px; justify-content: flex-end; }

.dl-cm-replies { display: flex; flex-direction: column; background: var(--surface-quiet); border-top: 1px solid var(--line-soft); border-radius: 0 0 15px 15px; padding: 8px 0; }
.dl-cm-tog { margin-left: 10px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-10); background: transparent; color: var(--text-2); font: inherit;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; cursor: pointer; }
.dl-cm-tog:hover { background: var(--surface-3); }
.dl-cm-tog-x { font-weight: 500; color: var(--text-3); }
.dl-cm-tog[aria-expanded="false"] .dl-chev { transform: rotate(180deg); }
.dl-cm-rn { padding: 4px 20px; font-size: 13px; font-weight: 600; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.dl-cm-rlist { margin: 0 0 0 20px; border-left: 2px solid var(--line); display: flex; flex-direction: column; }
.dl-cm-r { display: flex; gap: 12px; padding: 14px 20px 6px; border-radius: 0 var(--r-12) var(--r-12) 0; scroll-margin-top: 96px; }
.dl-cm-r-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex-grow: 1; }
.dl-cm-r .dl-cm-text p { font-size: 15px; }
.dl-cm-r-off { display: flex; align-items: center; gap: 8px; font-size: 15px; font-style: italic; color: var(--text-3); padding-bottom: 8px; }
.dl-cm-gone { display: flex; align-items: center; gap: 10px; padding: 14px 20px; color: var(--text-3); }
.dl-cm-gone svg { flex-shrink: 0; }
.dl-cm-gone p { font-size: 15px; font-style: italic; line-height: 1.5; flex-grow: 1; }
.dl-cm-gone time { font-size: 13px; white-space: nowrap; }

/* --- дальше ------------------------------------------------------------- */
.dl-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dl-next-h { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dl-next-shop, .dl-next-sub { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r-22); min-width: 0; }
.dl-next-shop { border: 1px solid var(--line); background: var(--surface); }
.dl-next-sub { background-color: var(--warm-bg); background-image: var(--dots); background-size: var(--dots-size); }
.dl-next-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dl-next-mono, .dl-next-logo { width: 56px; height: 56px; border-radius: var(--r-14); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dl-next-mono { background: var(--text); color: var(--bg); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.dl-next-logo { background: var(--photo-tile); border: 1px solid var(--line); }
.dl-next-logo img { width: 100%; height: 100%; object-fit: contain; }
.dl-next-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-next-cap { font-size: 14px; font-weight: 600; color: var(--text-3); }
.dl-next-name { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: var(--ls-display); color: var(--text); overflow-wrap: anywhere; }
.dl-next-p { font-size: 16px; line-height: 1.5; color: var(--text-2); flex-grow: 1; }
.dl-next-sub .dl-next-p { color: var(--warm-dark); }
.dl-next-acts { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.dl-next-all { gap: 10px; }
.dl-next-promo { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; margin: 0 -8px; border-radius: var(--r-10);
  font-size: 16px; font-weight: 700; color: var(--brand-text); white-space: nowrap; }
.dl-next-promo:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-next-bell { width: 56px; height: 56px; border-radius: var(--r-14); background: var(--surface); color: var(--warm-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-bell { transform-origin: 12px 3px; animation: vg-bell .8s var(--ease-std) 1s 2 both; }
.dl-next-subh { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text); }
.dl-next-subbtn { --btn-h: 48px; border-color: var(--warm-dots); font-size: 16px; }
.dl-next-subbtn:hover { background: var(--warm-bg-hover); border-color: var(--warm-dots); }

/* --- липкая панель (телефон) -------------------------------------------- */
.dl-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(22, 24, 29, .10); animation: dl-sheet .24s var(--ease-out) both; }
.dl-sticky-code { flex-grow: 1; min-width: 0; height: 48px; border-radius: var(--r-12); border: 0; background: var(--brand); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; }
a.dl-sticky-code:hover, .dl-sticky-code:hover { background: var(--brand-hover); color: var(--on-accent); }
.dl-sticky-mask, .dl-sticky-v { letter-spacing: .1em; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.dl-sticky-sep { width: 1px; height: 20px; background: currentColor; opacity: .4; flex-shrink: 0; }
.dl-sticky-go { height: 48px; padding: 0 14px; border-radius: var(--r-12); background: var(--surface); color: var(--text); border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.dl-sticky-go:hover { background: var(--surface-2); color: var(--text); }
body.dl-has-sticky .ft { padding-bottom: 72px; }

/* ==========================================================================
   Промежуточный: 768–1199
   ========================================================================== */
@media (max-width: 1199.98px) {
  .dl-h1 { font-size: 38px; }

  .dl-card { padding: 26px 28px 28px; }
  .dl-act-grid { grid-template-columns: minmax(0, 1fr) 260px; }
  .dl-go { font-size: 16px; }
  .dl-vote-top { flex-wrap: wrap; gap: 16px 32px; }
  .dl-vote-mid { grid-template-columns: minmax(0, 1fr); }
  .dl-vote-foot { flex-wrap: wrap; }
  .dl-cm { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 32px; }
  .dl-cm-empty ul { grid-template-columns: minmax(0, 1fr); }
  .dl-next-shop, .dl-next-sub { padding: 24px; }
  .dl-next-name { font-size: 24px; }
}
@media (max-width: 1023.98px) and (min-width: 768px) {
  .dl-st { padding-right: 12px; padding-top: 70px; }
  .dl-card-head .sv { top: 26px; right: 26px; flex-direction: row; align-items: center; max-width: calc(100% - 52px); }
  .dl-card-head .sv-cap { text-align: left; }
  .dl-act-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-terms-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dl-cm { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .dl-cm > :not(.dl-cm-side) + :not(.dl-cm-side) { margin-top: 0; }
  .dl-cm-side { order: 1; }
  .dl-cm-head { order: 0; } .dl-cm > :not(.dl-cm-head):not(.dl-cm-side) { order: 2; }
  .dl-cm-rules { position: static; }
  .dl-next { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Телефон: < 768
   ========================================================================== */
@media (max-width: 767.98px) {
  .dl { padding: 12px 0 40px; }
  .dl-wrap { gap: 28px; }
  .dl-top { gap: 12px; }

  .dl-crumbs ol { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dl-crumbs .dl-back { display: inline-flex; align-items: flex-start; gap: 6px; min-height: 44px; padding: 11px 14px 11px 8px; border-radius: var(--r-12);
    background: var(--surface-2); color: var(--text); font-size: 15px; font-weight: 600; line-height: 22px; max-width: 100%; }
  .dl-crumbs .dl-back:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
  .dl-crumbs .dl-back:active { background: var(--line); }
  .dl-back svg { flex-shrink: 0; margin-top: 1px; transition: transform var(--dur-hover) var(--ease-std); }
  .dl-back:hover svg { transform: translateX(-3px); }

  .dl-hero { padding: 6px; gap: 4px; border-radius: var(--r-22); }
  .dl-st { padding: 12px 10px 0; gap: 12px; flex-wrap: wrap; }
  .dl-st-ic { width: 44px; height: 44px; }
  .dl-st-ic svg { width: 22px; height: 22px; }
  .dl-st-t { gap: 4px; flex: 1 1 0; }
  .dl-st-name { font-size: 22px; }
  .dl-st-why { display: flex; flex-direction: column-reverse; gap: 4px; font-size: 14px; }
  .dl-st-when { display: flex; align-items: center; gap: 6px; }
  .dl-st-when svg { display: block; }
  .dl-st-when::after { content: none; }
  .dl-st-link { min-height: 44px; margin-left: -56px; }

  .dl-card { padding: 14px 14px 6px; gap: 14px; border-radius: var(--r-16); }
  .dl-card-head { gap: 8px; justify-content: space-between; }
  .dl-shop { min-height: 44px; flex: 1 1 0; }
  .dl-mono { background: var(--surface-3); color: var(--text); }
  .dl-sep { display: none; }
  .dl-pills { flex-basis: 100%; order: 3; }
  .dl-pill { height: 28px; font-size: 13px; }
  .dl-h1 { font-size: 28px; line-height: 1.15; text-wrap: pretty; }
  .dl-lead { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .dl-lead.is-full { display: block; -webkit-line-clamp: none; }

  /* «Сохранить» — квадратная кнопка рядом с магазином; подпись — только когда сохранено */
  .dl-card-head .sv { display: contents; }
  .dl-card-head .sv-row { order: 2; }
  .dl-card-head .sv-btn { width: 44px; --btn-h: 44px; padding: 0; }
  .dl-card-head .sv-btn { font-size: 0; gap: 0; }
  .dl-pills { order: 4; }
  .dl-card-head .sv-cap { display: none; order: 3; flex-basis: 100%; text-align: left; font-size: 13px; }
  .dl-card-head .sv-btn.is-saved { background: var(--brand-bg); }
  .dl-card-head .sv-row:has(.is-saved) ~ .sv-cap { display: flex; }

  .dl-act { padding: 16px; gap: 12px; }
  .dl-act-shop { display: none; }
  .dl-act-grid, .dl-act-grid.is-nolink { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dl-code-btn { height: 56px; }
  .dl-code-mask { font-size: 17px; }
  .dl-code-mask span { font-size: 21px; }
  .dl-code-shut, .dl-code-wipe { left: 118px; font-size: 17px; gap: 8px; }
  .dl-code.is-open { height: 56px; padding: 0 6px 0 16px; }
  .dl-code-v { font-size: 20px; }
  .dl-copy { height: 44px; padding: 0 10px; font-size: 14px; }
  .dl-hint { font-size: 14px; }
  .dl-go { align-self: flex-start; width: auto; min-height: 48px; padding: 6px 18px; font-size: 16px; flex-direction: row; gap: 10px; }
  .dl-go.is-again { flex-direction: column; align-items: flex-start; gap: 0; border: 0; padding: 0; min-height: 44px; background: none; color: var(--brand-text); }
  .dl-go.is-again .dl-go-q { color: var(--text-2); font-size: 14px; }
  .dl-act-side { gap: 8px; }
  .dl-aff { padding-left: 24px; }
  .dl-act-sale { flex-direction: column; align-items: stretch; }
  .dl-sale-go { --btn-h: 56px; font-size: 16px; white-space: normal; text-align: center; }
  .dl-nolink { padding: 14px; gap: 12px; font-size: 15px; }
  .dl-nolink-ic { width: 36px; height: 36px; }
  .dl-nolink > span:last-child { padding-top: 5px; }
  .dl-sum { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
  .dl-sum-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .dl-sum-chips:empty { display: none; }
  .dl-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 11px 4px 9px; border-radius: var(--r-10);
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.3; }
  .dl-chip--warn { background: var(--warn-bg); border-color: var(--warn); color: var(--warn-text); }
  .dl-sum-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--brand-text); }

  .dl-vote { padding: 20px 16px 4px; gap: 14px; }
  .dl-vote-top { flex-direction: column; gap: 14px; }
  .dl-vote-q .dl-eyebrow { text-transform: none; letter-spacing: .02em; }
  .dl-vote-h { font-size: 18px; }
  .dl-vote-p { display: none; }
  .dl-vote-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 0; }
  .dl-vb { height: 56px; width: 100%; padding: 0 10px; gap: 6px; font-size: 16px; border-width: 1px; border-color: var(--line-field); }
  .dl-vb.is-yes { border: 2px solid var(--brand-text); }
  .dl-vb.is-no { border: 2px solid var(--risk); }
  .dl-vb-n { margin-left: auto; min-width: 0; height: auto; padding: 0; background: none; font-family: var(--font-display); font-weight: 600; font-size: 18px;
    letter-spacing: var(--ls-display); line-height: 24px; }
  .dl-vb.is-yes .dl-vb-n, .dl-vb.is-no .dl-vb-n { background: none; }
  .dl-vote-mid { gap: 8px; }
  .dl-plate { padding: 12px 14px; }
  .dl-plate--quiet { flex-wrap: wrap; }
  .dl-vote-mine { font-size: 13px; color: var(--text-3); }
  .dl-vote-foot { flex-direction: column-reverse; gap: 0; padding-top: 0; border-top: 0; }
  .dl-vote-meta { width: 100%; }
  .dl-vote-last { font-size: 13px; }
  .dl-to-cm { display: none; }
  .dl-how { width: 100%; border-top: 1px solid var(--line); margin-top: 10px; }
  .dl-how summary { display: flex; min-height: 48px; height: auto; margin: 0; padding: 0; gap: 8px; font-size: 15px; color: var(--brand-text); }
  .dl-how summary:hover { background: none; }
  .dl-how summary > span { flex-grow: 1; }
  .dl-how-rules { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .dl-how-note { margin-bottom: 12px; }

  .dl-sec-head { gap: 10px; }
  .dl-tag { height: 28px; padding: 0 11px; color: var(--brand-on-bg); }
  .dl-sec-head .h2 { font-size: 22px; }
  .dl-terms { gap: 16px; }
  .dl-terms-grid, .dl-terms-grid.is-calm { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dl-warns-h { padding: 0 0 10px; font-size: 14px; }
  .dl-warns-h svg { width: 16px; height: 16px; }
  .dl-warn-list { gap: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-18) var(--r-18) 0 0; overflow: hidden; }
  .dl-warn { display: block; padding: 14px 14px 14px 64px; border: 0; border-radius: 0; }
  .dl-warn + .dl-warn { border-top: 1px solid var(--warn-line); }
  .dl-warn-ic { position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-color: var(--warn); }
  .dl-warn-ic svg { width: 18px; height: 18px; }
  .dl-warn dt { justify-content: flex-start; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; line-height: 1.35; }
  .dl-warn-tag { height: 22px; border-color: var(--warn); }
  .dl-warn dd { font-size: 16px; line-height: 1.45; color: var(--warn-text); margin-top: 4px; }
  .dl-rest { border: 0; background: none; padding: 0; }
  .dl-rest-h { display: none; }
  .dl-rest-list { border: 1px solid var(--line); border-radius: var(--r-18); overflow: hidden; }
  .dl-warns + .dl-rest .dl-rest-list { border-radius: 0 0 var(--r-18) var(--r-18); }
  .dl-row { display: block; position: relative; margin: 0; padding: 14px 14px 14px 64px; border-bottom: 0; background: var(--surface); }
  .dl-row + .dl-row, .dl-warns + .dl-rest .dl-row:first-child { border-top: 1px solid var(--line-soft); }
  .dl-row dt { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text-3); }
  .dl-row-ic { position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: var(--r-10); background: var(--surface-2); align-items: center; justify-content: center; }
  .dl-row dd { text-align: left; margin-top: 4px; line-height: 1.45; }

  .dl-hn { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px; padding: 18px 18px 8px; border-radius: var(--r-16); }
  .dl-hn-ic { width: 36px; height: 36px; }
  .dl-hn-t { display: contents; }
  .dl-hn-t b { grid-column: 2; padding-top: 6px; font-size: 16px; line-height: 1.5; }
  .dl-hn-t > span { grid-column: 1 / -1; font-size: 16px; line-height: 1.5; }
  .dl-hn-dash { display: none; }
  .dl-hn-link { grid-column: 1 / -1; justify-self: start; min-height: 44px; margin: 0; padding: 0; gap: 6px; font-size: 16px; }
  .dl-hn-l1 { display: none; } .dl-hn-l2 { display: inline; }

  .dl-cm { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .dl-cm > :not(.dl-cm-side) + :not(.dl-cm-side) { margin-top: 0; }
  .dl-cm-head { order: 0; gap: 8px; }
  .dl-cm-head .dl-tag { display: none; }
  .dl-cm-head .h2 { font-size: 24px; }
  .dl-cm-lead { font-size: 15px; color: var(--text-2); }
  .dl-cm-side { order: 1; }
  .dl-cm > :not(.dl-cm-head):not(.dl-cm-side) { order: 2; }
  .dl-cm-rules { position: static; padding: 16px; gap: 10px; }
  .dl-cm-rules li { font-size: 14px; }
  .dl-cm-rules .dl-cm-rule-pc { display: none; }
  .dl-cm-flash { font-size: 15px; }
  .dl-cm-empty ul { grid-template-columns: minmax(0, 1fr); }
  .dl-cm-h3 { font-size: 18px; }
  .dl-cm-form-h p { font-size: 15px; }
  .dl-cm-starts > span { display: none; }
  .dl-cm-start { height: 44px; border-radius: var(--r-12); font-size: 15px; }
  .dl-cm-start svg { display: none; }
  .dl-cm-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .dl-cm-send { --btn-h: 48px; width: 100%; }
  .dl-cm-gate-b { align-items: flex-start; }
  .dl-cm-gate-b .btn { width: 100%; }
  .dl-cm-list { gap: 12px; }
  .dl-cm-band { padding: 0 16px; }
  .dl-cm-body { padding: 12px 16px 4px; }
  .dl-cm-who { align-items: flex-start; gap: 10px; }
  .dl-cm-ava { width: 32px; height: 32px; }
  .dl-cm-ava--sm { display: none; }
  .dl-cm-who .dl-cm-meta time { flex-basis: 100%; }
  .dl-cm-acts { justify-content: space-between; margin-right: -10px; }
  .dl-cm-tb { height: 44px; font-size: 15px; }
  .dl-cm.is-js .dl-cm-more-btn { display: inline-flex; width: 44px; justify-content: center; padding: 0; }
  .dl-cm.is-js .dl-cm-menu { display: none; position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 4; flex-direction: column; align-items: stretch;
    min-width: 200px; padding: 6px; border-radius: var(--r-14); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-menu); }
  .dl-cm.is-js .dl-cm-more.is-open .dl-cm-menu { display: flex; animation: vg-fade var(--dur-menu) var(--ease-std) both; }
  .dl-cm.is-js .dl-cm-menu .dl-cm-tb { width: 100%; justify-content: flex-start; }
  .dl-cm-tip { display: none; }
  .dl-cm-rlist { margin-left: 16px; }
  .dl-cm-r { padding: 12px 16px 4px 14px; }
  .dl-cm-r .dl-cm-acts { margin-right: -6px; }
  .dl-cm-reply-btns .btn { flex: 1 1 0; --btn-h: 48px; }
  .dl-cm-gone { padding: 12px 16px; align-items: flex-start; }

  .dl-next { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dl-next-h { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal;
    font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: var(--ls-display); color: var(--text); }
  .dl-next-shop, .dl-next-sub { padding: 20px; gap: 14px; border-radius: var(--r-18); }
  .dl-next-top { gap: 14px; }
  .dl-next-mono, .dl-next-logo { width: 48px; height: 48px; font-size: 16px; }
  .dl-next-cap { font-size: 13px; }
  .dl-next-name { font-size: 22px; }
  .dl-next-p { font-size: 15px; }
  .dl-next-shop .dl-next-acts { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .dl-next-all { width: 100%; background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
  .dl-next-all:hover { background: var(--dark-hover); border-color: var(--dark-hover); color: var(--dark-hover-text); }
  .dl-next-all .dl-arr { display: none; }
  .dl-next-promo { align-self: flex-start; min-height: 44px; font-size: 15px; }
  .dl-next-promo > svg:first-child { display: none; }
  .dl-next-bell { width: 44px; height: 44px; border-radius: var(--r-12); }
  .dl-next-subh { font-size: 17px; }
}
@media (min-width: 768px) { .dl-sticky { display: none; } }

/* --- движение ----------------------------------------------------------- */
@keyframes dl-ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes dl-spark { 0%, 70%, 100% { transform: scale(1) rotate(0); } 80% { transform: scale(1.2) rotate(12deg); } 90% { transform: scale(.95) rotate(0); } }
@keyframes dl-flip { 0% { opacity: 0; transform: translateY(-60%) rotateX(80deg); } 100% { opacity: 1; transform: none; } }
@keyframes dl-wipe { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
@keyframes dl-cp-a { 0%, 40% { transform: scale(1); opacity: 1; } 60%, 100% { transform: scale(.5); opacity: 0; } }
@keyframes dl-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dl-plate { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dl-bounce { 0% { transform: none; } 30% { transform: translateY(-5px) rotate(-14deg); } 60% { transform: translateY(1px) rotate(4deg); } 100% { transform: none; } }
@keyframes dl-hand { to { transform: rotate(360deg); } }
@keyframes dl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes dl-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
@keyframes dl-flash { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 60% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes dl-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dl-squint { 0%, 100% { transform: scaleY(1); } 35%, 60% { transform: scaleY(.55); } }
@keyframes dl-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes dl-new { 0%, 30% { background-color: var(--brand-bg); } 100% { background-color: var(--surface); } }
@keyframes dl-sheet { from { transform: translateY(100%); } to { transform: none; } }
.dl-draw { stroke-dasharray: 1; animation: dl-draw .4s var(--ease-out) .3s both; }
.dl-hand { transform-box: view-box; transform-origin: 12px 12px; animation: dl-hand 3s linear infinite; }
.dl-pulse { display: flex; animation: dl-pulse 2s var(--ease-std) infinite; }
.dl-shake { animation: dl-shake .3s var(--ease-std) .2s 2; }
.dl-cm-r.is-new { animation-name: dl-new-r; }
@keyframes dl-new-r { 0%, 30% { background-color: var(--brand-bg); } 100% { background-color: var(--surface-quiet); } }

@media (prefers-reduced-motion: reduce) {
  .dl-ring, .dl-code-wipe { display: none !important; }
  .dl-copy-a { opacity: 0 !important; }
}
