/* Варианты вида «Сравнение» (черновик). Плоско, без плашек и теней, сетка 8 px. */
.v { display: grid; gap: 32px; padding-bottom: 0; --yes: #3ddc97; --no: #ff6b6b; --part: #ffb547; --unk: #8a92a4; --col: #1b1533; }
.v-top { padding-top: 24px; }
.v h1 { margin: 0; font-size: clamp(40px, 4.4vw, 72px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.v-lead { margin: 16px 0 0; max-width: 34em; color: var(--t2); font-size: 22px; line-height: 32px; text-wrap: pretty; }
.v-leg { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--t1); font-size: 16px; line-height: 24px; }
.v-leg span { display: inline-flex; align-items: center; gap: 8px; }
.v .ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.v-y { color: var(--yes); } .v-n { color: var(--no); } .v-p { color: var(--part); } .v-u { color: var(--unk); } .v-m { color: #a281ff; }
.v-t { display: grid; position: relative; }
/* строки: подписи шире, колонки поровну */
.v-h, .v-r, .v-gr, .v-end { display: grid; grid-template-columns: minmax(300px, 1.7fr) repeat(var(--n), minmax(0, 1fr)); gap: 0; align-items: center; }
.v-h { position: sticky; top: 64px; z-index: 5; align-items: end; }
.v-h.stuck::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; margin-left: -50vw; width: 100vw; background: radial-gradient(1300px 900px at 82% 10%, #7c50f91c, transparent 70%) fixed, var(--bg); z-index: -1; }
.v-h.stuck .v-mine { z-index: 0; }
.v-h b { white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; line-height: 32px; letter-spacing: -.01em; padding: 16px 8px 16px; min-width: 0; }
.v-lg { width: 24px; height: 24px; flex: none; object-fit: contain; border-radius: 6px; }
.v-lg-w { width: 40px; border-radius: 0; margin-top: -2px; }
.v-lg-me { display: inline-grid; place-items: center; border-radius: 6px; background: #7c50f9; color: #fff; }
.v-lg-me .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.v-h .v-me { color: #cdbcff; }
/* колонка Rewind: одна сплошная подложка на всю высоту (шапка, группы, строки) */
.v-mine { background: var(--col); }
.v-h .v-mine { border-radius: 8px 8px 0 0; }
.v-end .v-mine { height: 16px; border-radius: 0 0 8px 8px; }
.v-end > span { display: block; }
/* группы */
.v-gr { min-height: 72px; align-items: end; }
.v-gr > div { align-self: stretch; }
.v-g { margin: 0; padding: 32px 0 8px; font: 700 20px/32px var(--ui); letter-spacing: -.01em; color: #cdbcff; }
.v-r { min-height: 72px; }
.v-r > b { position: relative; align-self: start; padding-top: 16px; display: block; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--t1); white-space: nowrap; padding-right: 16px; }
.v-c { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 16px 8px 12px; align-self: stretch; }
.v-c small { font-size: 14px; line-height: 20px; color: var(--t2); text-align: center; }
.v-c.v-u small { color: var(--unk); }
.v-t:not(.all) .v-x { display: none; }
/* подсказка к строке */
.v-tip { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 4px; vertical-align: -6px; color: var(--t3); cursor: help; outline: 0; }
.v-tip .ic { width: 20px; height: 20px; stroke-width: 2; }
.v-tip:hover, .v-tip:focus { color: #a281ff; }
.v-tip::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% - 4px); width: 280px; padding: 12px 16px; border-radius: 8px; background: #7c50f9; color: #fff; font: 500 15px/22px var(--ui); white-space: normal; text-align: left; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 20; }
.v-tip:hover::after, .v-tip:focus::after { opacity: 1; }
.v-r:hover > b span { color: #fff; }
.v-note { margin: 0; max-width: 56em; color: var(--t2); font-size: 15px; line-height: 24px; text-wrap: pretty; }
.v-src a { color: #a281ff; text-decoration: none; } .v-src a:hover { text-decoration: underline; }
.v-more-w { display: flex; }
.v-more { height: 40px; padding: 0 20px; border: 1px solid #a281ff77; border-radius: 8px; background: transparent; color: #cdbcff; font: 600 15px/1 var(--ui); cursor: pointer; transition: border-color .15s; }
.v-more:hover { border-color: #a281ff; }
/* Б: сравнить с */
.v-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; margin-left: -12px; }
.v-tabs > span { margin: 0 8px 0 12px; color: var(--t2); font-size: 16px; }
.v-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--t2); font: 600 16px/1 var(--ui); cursor: pointer; transition: background .15s, color .15s; }
.v-tab:hover { color: #fff; }
.v-tab.on { background: #7c50f9; color: #fff; }
.v-pane { display: none; } .v-pane.on { display: block; }
@media (max-width: 760px) {
  .v-g { grid-column: 1; white-space: nowrap; position: relative; z-index: 1; overflow: visible; }
  .v-lg-w { width: 40px; }
  .v-h, .v-r, .v-gr, .v-end { grid-template-columns: minmax(128px, 1.3fr) repeat(var(--n), minmax(0, 1fr)); }
  .v-r > b { white-space: normal; font-size: 13px; line-height: 20px; padding-right: 0; }
  .v-tip::after { width: min(260px, calc(100vw - 32px)); }
  .v-h b { font-size: 16px; padding: 12px 4px 8px; gap: 6px; }
  .v-c small { font-size: 13px; line-height: 16px; }
  .v-g { font-size: 18px; }
}

.v-mob { display: none; }
@media (max-width: 760px) {
  .v-desk { display: none; }
  .v-mob { display: grid; gap: 32px; }
}

@media (min-width: 761px) { .v-desk { display: grid; gap: 24px; } }
.inner-sec:has(.v) { padding-bottom: 0; }
