/* Философский атлас — компоненты раздела.
   Цвета, шрифты и поля берутся из токенов сайта (site.css): --c-bg, --c-fg, --c-line,
   --c-muted, --c-soft, --c-pop, --c-pop-fg, --display, --sans, --mono, --gut, --ease.
   Своих цветов здесь нет. Размеры и геометрия раздела — в токенах .atlas ниже:
   меняйте их там, а не в правилах компонентов. Описание — docs/ATLAS.md. */

.atlas {
  /* Портрет-диск */
  --disc-s: 36px;
  --disc-m: 72px;
  --disc-l: 104px;
  --disc-xl: min(64vw, 340px);
  /* Орбита: радиус кольца в долях ширины сцены и шаг между портретами в градусах */
  --orbit-k: .61;
  --orbit-step: 45;
  --orbit-drop: 150px;
  /* Арена: диаметр общего круга */
  --duel: min(calc(100vw - var(--gut) * 2), 400px);
  /* Веер школ: радиус дуги (px), шаг (градусы), высота сцены */
  --fan-r: 520;
  --fan-step: 13;
  --fan-h: 600px;
  /* Отметки сторон: первая — заливкой, вторая — контуром. Работает на любой теме. */
  --mark: 16px;
  --mark-face: 44px;                 /* отметка-портрет на шкале */
  --a-gap: clamp(20px, 5vw, 80px);
  --a-radius: 22px;
  --a-radius-s: 14px;
}
@media (min-width: 900px) {
  .atlas { --orbit-k: .5; --orbit-step: 34; --disc-m: 84px; --disc-xl: min(30vw, 400px); --orbit-drop: 170px; --duel: min(46vw, 520px); --fan-r: 620; --fan-h: 660px; }
}

/* ── Мелкие элементы ── */
.a-nav { margin-bottom: clamp(28px, 5vw, 64px); }
.a-nav .chip { font-size: 14.5px; }
.a-langnote { padding-top: 20px; padding-bottom: 20px; }
.a-stance { display: inline-block; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); }
.a-by { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.a-by b { font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: -.012em; }
.a-by i { font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; font-style: normal; color: var(--c-muted); }
.a-aside { border-left: 2px solid var(--c-line); padding-left: 16px; color: var(--c-muted); font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.a-aside b { color: var(--c-fg); font-weight: 500; }
.a-quote p { font: 500 clamp(20px, 2vw, 28px)/1.25 var(--sans); letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
.a-quote cite { display: block; margin-top: 12px; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; font-style: normal; color: var(--c-muted); }
.a-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15.5px; margin-top: 20px; }
.a-links a { text-underline-offset: 4px; text-decoration-color: var(--c-line); }
.a-links a:hover { text-decoration-color: currentColor; }
.a-list li { padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 16.5px; line-height: 1.45; }
.a-h { font: 500 clamp(24px, 2.4vw, 34px)/1.1 var(--sans); letter-spacing: -.025em; margin-bottom: 8px; }
.a-fit { max-width: none; font-size: clamp(44px, 6.4vw, 112px); overflow-wrap: anywhere; hyphens: auto; }
.a-vs span { display: block; }
.a-filter { margin-bottom: clamp(24px, 4vw, 48px); }
.a-filter .chip, .mcard__pick { background: none; color: inherit; font: inherit; font-size: 15px; cursor: pointer; }
.a-filter .chip--on { background: var(--c-fg); color: var(--c-bg); }
.atlas [hidden] { display: none !important; }
.atlas .split > .lead, .atlas .split > div > .lead:first-child { margin-top: 0; }

/* ── Портрет-диск ── */
.disc { display: block; flex: none; position: relative; width: var(--d, var(--disc-m)); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--c-soft); box-shadow: inset 0 0 0 1px var(--c-line); }
.disc img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.disc b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 calc(var(--d, var(--disc-m)) * .62)/1 var(--display); text-transform: uppercase; padding-top: .06em; }
.disc--s { --d: var(--disc-s); }
.disc--m { --d: var(--disc-m); }
.disc--l { --d: var(--disc-l); }
.disc--xl { --d: var(--disc-xl); }
.disc--duel { --d: var(--duel); }
.disc--mark { --d: var(--mark-face); }
.disc--mono img { filter: grayscale(1); }

/* ── Подзаголовок внутри блока: «Правило», «Спрашивает», «Что у сторон общего» ── */
.a-sub { font: 500 clamp(19px, 1.6vw, 24px)/1.15 var(--sans); letter-spacing: -.02em; margin: 0 0 14px; }

/* ── Строка над орбитой: подпись слева, переключатель вида справа ── */
.a-viewbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.a-viewbar .eyebrow { margin-bottom: 0; }

/* ── Орбита ── */
.orbit { display: grid; gap: clamp(24px, 5vw, 72px); margin-top: clamp(16px, 3vw, 40px); }
.orbit__stage { position: relative; height: calc(var(--disc-xl) + var(--orbit-drop)); overflow: hidden; }
.orbit__face { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.orbit__face .disc { box-shadow: none; }
.orbit__face .disc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c-bg), transparent 45%); }
.orbit__ring { position: absolute; left: 0; right: 0; top: calc(var(--disc-xl) - var(--disc-m) * .6); display: flex; gap: 10px; overflow-x: auto; }
.orbit__i { flex: none; border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; color: inherit; }
.orbit__i .disc { background: var(--c-bg); transition: box-shadow .3s; }
.orbit__i .disc img { filter: grayscale(1); }
.orbit__i[aria-selected="true"] .disc { box-shadow: 0 0 0 3px var(--c-bg), 0 0 0 4px var(--c-pop); }
.orbit__i[aria-selected="true"] .disc img { filter: none; }
.orbit.is-live .orbit__ring { display: block; overflow: visible; }
.orbit.is-live .orbit__i { position: absolute; left: 50%; top: 0; margin-left: calc(var(--disc-m) / -2); transform: translate(var(--x, 0px), var(--y, 0px)); opacity: var(--o, 1); transition: transform .7s var(--ease), opacity .45s; }
.orbit__ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.orbit__ctl button, .fan__ctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: inherit; font: 400 18px/1 var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color .25s, color .25s; }
.orbit__ctl button:hover, .fan__ctl button:hover { background: var(--c-pop); color: var(--c-pop-fg); box-shadow: none; }
.orbit__i--cat .disc { display: grid; place-items: center; }
.orbit__grid { width: 34%; height: 34%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.orbit__face .orbit__grid { width: 26%; height: 26%; opacity: .5; }
.orbit__face .disc:has(.orbit__grid) { display: grid; place-items: center; }
.orbit__story { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.orbit__story .display { font-size: clamp(44px, 6vw, 104px); max-width: 12ch; }
.orbit__story .lead { max-width: 30ch; }
.orbit__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
@media (max-width: 899px) { .orbit__stage { margin: 0 calc(var(--gut) * -1); } }
@media (min-width: 900px) {
  .orbit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .orbit__story { text-align: left; align-items: flex-start; }
  .orbit__go { justify-content: flex-start; }
}

/* ── Карточка взгляда ── */
.vcard { display: grid; grid-template-columns: minmax(200px, .34fr) minmax(0, 1fr); gap: var(--a-gap); padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--c-line); scroll-margin-top: 90px; }
.vcard__who { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; align-self: start; position: sticky; top: 96px; }
.vcard__body { display: flex; flex-direction: column; gap: 20px; }
.vcard__body h3 { font: 500 clamp(24px, 2.8vw, 40px)/1.1 var(--sans); letter-spacing: -.028em; max-width: 24ch; text-wrap: balance; }
.a-more summary { cursor: pointer; font: 400 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 12px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); list-style: none; }
.a-more summary::after { content: " +"; opacity: .6; }
.a-more[open] summary::after { content: " −"; }
.a-more .steps { margin-top: 0; border-top: 0; }
.a-more .a-aside { margin-top: 20px; }

/* ── Вид «по одному»: одна карточка философа и каталог ── */
.focus.is-live .vcard { border-top: 0; padding-top: 0; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 10px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border: 0; border-radius: var(--a-radius-s); box-shadow: inset 0 0 0 1px var(--c-line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease); }
.ccard b { font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: -.012em; }
.ccard .mono { opacity: .7; }
.ccard:hover, .ccard:focus-visible, .ccard.is-on { background: var(--c-pop); color: var(--c-pop-fg); box-shadow: none; }

/* ── Арена: круг из двух половин ── */
.duel { position: relative; display: flex; justify-content: center; align-items: center; margin-top: clamp(8px, 2vw, 24px); }
.duel__half { display: flex; flex-direction: column; gap: 14px; }
.duel__half--a { align-items: flex-end; }
.duel__half--b { align-items: flex-start; }
.duel__disc { position: relative; width: calc(var(--duel) / 2); height: var(--duel); overflow: hidden; }
.duel__disc .disc { position: absolute; top: 0; box-shadow: none; }
.duel__half--a .disc { left: 0; }
.duel__half--b .disc { right: 0; }
.duel__half--b .duel__disc::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c-fg); }
.duel__half--a .disc b { inset: 0 50% 0 0; font-size: calc(var(--duel) * .34); }
.duel__half--b .disc b { inset: 0 0 0 50%; font-size: calc(var(--duel) * .34); }
.duel__step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color .25s, color .25s; }
.duel__half--a .duel__step { margin-right: calc(var(--duel) / 4 - 22px); }
.duel__half--b .duel__step { margin-left: calc(var(--duel) / 4 - 22px); }
.duel__step:hover { background: var(--c-pop); color: var(--c-pop-fg); box-shadow: none; }
.duel__x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-fg); font: 900 26px/1 var(--display); z-index: 2; }
.duel__ids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 64px); max-width: 880px; margin: clamp(20px, 3vw, 36px) auto 0; text-align: center; }
.duel__id { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.duel__id h2 { font: 500 clamp(22px, 2.8vw, 40px)/1.08 var(--sans); letter-spacing: -.028em; text-wrap: balance; }
.duel__id a { text-underline-offset: 4px; text-decoration-color: var(--c-line); color: var(--c-muted); }
.duel__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }

/* Карточки сторон и отметки «первый / второй» */
.says { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: start; }
.say { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 22px; border-top: 1px solid var(--c-line); min-width: 0; }
.say__who { display: flex; align-items: center; gap: 12px; }
.say__who::before, .a-legend span::before { content: ""; flex: none; width: var(--mark); height: var(--mark); border-radius: 50%; }
.say--a .say__who::before, .a-legend__a::before { background: var(--c-pop); }
.say--b .say__who::before, .a-legend__b::before { box-shadow: inset 0 0 0 2px var(--c-fg); }
.say h3 { font: 500 clamp(22px, 2.4vw, 34px)/1.12 var(--sans); letter-spacing: -.025em; text-wrap: balance; }
.say .a-list { width: 100%; }
.a-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 15.5px; }
.a-legend span { display: inline-flex; align-items: center; gap: 10px; }
.fault { border: 1px solid var(--c-line); border-radius: var(--a-radius); padding: clamp(20px, 3vw, 44px); background: var(--c-soft); margin-top: clamp(32px, 5vw, 64px); }
.fault h3 { font: 500 clamp(26px, 3.2vw, 48px)/1.08 var(--sans); letter-spacing: -.03em; max-width: 22ch; text-wrap: balance; margin-bottom: 16px; }
.fault .lead { max-width: 52ch; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(16px, 3vw, 40px); }
.pick { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.pick .a-by { flex: 1; }
.pick__set { display: flex; gap: 6px; }
.pick__set .chip { min-width: 44px; text-align: center; padding: 8px 0; }

/* ── Шкалы «картины мира» ── */
.a-axes { display: grid; gap: 26px; align-content: start; }
.a-axis__ends { display: flex; justify-content: space-between; gap: 16px; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.a-axis__ends span { max-width: 46%; }
.a-axis__ends span:last-child { text-align: right; }
.a-axis__track { position: relative; height: 28px; margin: 4px calc(var(--mark) / 2) 0; }
.a-axis__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--c-line); }
.a-axis__mark { position: absolute; top: 50%; left: var(--x); width: var(--mark); height: var(--mark); border-radius: 50%; transform: translate(-50%, -50%); }
.a-axis__mark--a { background: var(--c-pop); z-index: 1; }
.a-axis__mark--b { width: calc(var(--mark) + 8px); height: calc(var(--mark) + 8px); background: var(--c-bg); box-shadow: inset 0 0 0 2px var(--c-fg); }
/* Отметки-портреты: первая сторона — в кольце цвета акцента, вторая — в кольце цвета текста. */
.a-axis--faces .a-axis__track { height: calc(var(--mark-face) + 12px); margin: 6px calc(var(--mark-face) / 2) 0; }
.a-axis--faces .a-axis__mark { width: var(--mark-face); height: var(--mark-face); background: var(--c-bg); }
.a-axis--faces .a-axis__mark--a, .a-legend--face.a-legend__a .disc { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-pop); }
.a-axis--faces .a-axis__mark--b, .a-legend--face.a-legend__b .disc { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-fg); }
.a-axis--faces .a-axis__mark .disc { box-shadow: none; }
.a-axis--faces .a-axis__mark--a.is-same { transform: translate(calc(-50% - var(--mark-face) * .42), -50%); }
.a-axis--faces .a-axis__mark--b.is-same { transform: translate(calc(-50% + var(--mark-face) * .42), -50%); }
.a-legend--face::before { display: none; }
.a-legend--face { gap: 14px !important; }
.a-legend--face .disc { border-radius: 50%; }

/* ── Веер школ ── */
.fan { display: grid; gap: clamp(24px, 5vw, 72px); }
.fan__wheel { display: flex; flex-direction: column; max-height: var(--fan-h); overflow-y: auto; outline-offset: -2px; }
.fan__i { display: flex; align-items: center; gap: 14px; padding: 8px 0; text-decoration: none; }
.fan__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fan__t b { font: 500 clamp(20px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.fan__t i { font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; font-style: normal; color: var(--c-muted); white-space: nowrap; }
.fan__go { margin-left: auto; opacity: 0; }
.fan.is-live .fan__wheel { display: block; position: relative; height: var(--fan-h); max-height: none; overflow: hidden; }
.fan.is-live .fan__i { position: absolute; left: 0; top: 0; padding: 6px 20px 6px 6px; border-radius: 999px; transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg)); transform-origin: calc(6px + var(--disc-m) / 2) 50%; opacity: var(--o, 1); transition: transform .7s var(--ease), opacity .45s, background-color .3s, color .3s; }
.fan.is-live .fan__i .disc img { filter: grayscale(1); }
.fan.is-live .fan__i.is-on { background: var(--c-pop); color: var(--c-pop-fg); right: 0; }
.fan.is-live .fan__i.is-on .disc img { filter: none; }
.fan.is-live .fan__i.is-on .fan__t i { color: inherit; opacity: .7; }
.fan.is-live .fan__i.is-on .fan__go { opacity: 1; }
.fan__stage { position: relative; }
.fan.is-live .fan__ctl { display: flex; }
.fan__ctl { position: absolute; right: 0; bottom: 0; display: none; flex-direction: column; gap: 8px; z-index: 3; }
.fan__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.fan__panel .display { font-size: clamp(44px, 5.4vw, 96px); max-width: none; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .fan { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
}

/* ── Страница школы ── */
.a-faces { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }
.a-faces a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; }
.fsec__side .disc { margin-bottom: 20px; }
.concept { padding: 28px 0; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 14px; }
.concept:first-child { padding-top: 0; border-top: 0; }
.concept h3 { font: 500 clamp(24px, 2.6vw, 36px)/1.1 var(--sans); letter-spacing: -.025em; }

/* ── Дилеммы: плитка ── */
.a-dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-dtiles .tile { min-height: 0; }
.a-tile__q { font: 900 clamp(40px, 4.2vw, 68px)/.9 var(--display); text-transform: uppercase; margin: 0 0 18px; overflow-wrap: anywhere; hyphens: auto; }
.a-split { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 28px; }
.a-tally { display: inline-flex; align-items: center; gap: 7px; }
.a-tally svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.a-tally b { font-weight: 400; font-size: 13px; }
.a-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Смыслы ── */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); margin: 0 calc(var(--gut) * -1); }
.mcard { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transition: background-color .45s var(--ease), color .45s var(--ease); }
.mcard__main { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: var(--gut) var(--gut) 72px; min-height: 280px; text-decoration: none; }
.mcard__main .mono { opacity: .6; }
.mcard h3 { font: 500 clamp(24px, 2.2vw, 32px)/1.08 var(--sans); letter-spacing: -.025em; margin-top: clamp(20px, 3vw, 44px); }
.mcard p { font-size: 16px; color: var(--c-muted); max-width: 40ch; transition: color .45s; }
.mcard__pick { position: absolute; left: var(--gut); bottom: 22px; }
.mcard:hover, .mcard.is-picked { background: var(--c-pop); color: var(--c-pop-fg); }
.mcard:hover p, .mcard.is-picked p { color: inherit; opacity: .75; }
.mcard.is-picked .mcard__pick { background: var(--c-pop-fg); color: var(--c-pop); border-color: transparent; }
.mbar { position: sticky; bottom: 16px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 10px 10px 10px 24px; border-radius: 999px; background: var(--c-fg); color: var(--c-bg); }
.mbar .btn { background: var(--c-bg); color: var(--c-fg); padding: 12px 18px 12px 22px; }
.mbar .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
/* Панель появляется по действию, а не по прокрутке: анимация появления ей не нужна. */
.js .mbar [data-rv] { opacity: 1; transform: none; transition: none; }
.js .mbar .btn[aria-disabled="true"] { opacity: .35; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.trio .note { margin-bottom: 10px; color: inherit; opacity: .7; }
.trio .a-list li:first-child { border-top-color: var(--c-fg); }

/* ── Последняя секция с переходами «назад / вперёд»: без пустого поля над ней ── */
.a-navsec { padding-top: clamp(28px, 4vw, 56px); border-top: 0; }
.atlas .sec:has(+ .a-navsec) { padding-bottom: clamp(40px, 5vw, 72px); }

/* ── Цепочка шагов: блоки и стрелки между ними ── */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 0; }
.flow li { display: flex; align-items: center; }
.flow li span { display: flex; align-items: center; height: 100%; padding: 14px 18px; border-radius: var(--a-radius-s); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }
.flow li span::first-letter { text-transform: uppercase; }
.flow li:not(:last-child)::after { content: "→"; margin: 0 12px; opacity: .55; }

/* ── Линзы ── */
.lens { border-top: 1px solid var(--c-line); scroll-margin-top: 90px; }
.lens:last-child { border-bottom: 1px solid var(--c-line); }
.lens summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr) 24px; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 28px) 0; cursor: pointer; list-style: none; }
.lens summary::-webkit-details-marker, .a-more summary::-webkit-details-marker { display: none; }
.lens summary .mono { opacity: .6; }
.lens summary b { font: 500 clamp(20px, 2.2vw, 32px)/1.1 var(--sans); letter-spacing: -.022em; }
.lens__one { color: var(--c-muted); font-size: 16px; }
.lens summary i { font-style: normal; font-size: 24px; line-height: 1; transition: transform .3s var(--ease); justify-self: end; }
.lens[open] summary i { transform: rotate(45deg); }
.lens__body { padding: 0 0 clamp(32px, 4vw, 56px) 72px; display: flex; flex-direction: column; gap: 28px; }
.lens__body .fault { margin-top: 0; }
.lens__ex { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.lens__ex p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; letter-spacing: -.012em; max-width: 60ch; }
.lens__rule .a-sub { margin-bottom: 16px; }

/* ── Узкие экраны ── */
@media (max-width: 900px) {
  .vcard { grid-template-columns: 1fr; gap: 20px; }
  .vcard__who { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .vcard__who .disc { --d: var(--disc-m); }
  .says, .trio { grid-template-columns: 1fr; }
  .lens summary { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 6px 10px; }
  .lens__one { grid-column: 2; grid-row: 2; font-size: 15px; }
  .lens summary i { grid-column: 3; grid-row: 1; }
  .lens__body { padding-left: 0; }
  .flow { flex-direction: column; align-items: stretch; gap: 0; }
  .flow li { flex-direction: column; align-items: stretch; }
  .flow li span { max-width: none; }
  .flow li:not(:last-child)::after { content: "↓"; margin: 6px 0; text-align: center; }
  .a-dtiles { grid-template-columns: 1fr; }
  .a-dtiles .tile { min-height: 0; }
  .fan__t b { white-space: normal; }
}
@media (max-width: 560px) {
  .duel__ids { gap: 12px; }
  .mcard__main { min-height: 220px; }
  .atlas { --mark-face: 36px; }
  .mbar { flex-direction: column; align-items: stretch; border-radius: var(--a-radius); padding: 14px; text-align: center; }
  .mbar .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit.is-live .orbit__i, .fan.is-live .fan__i { transition: none; }
}
.static .orbit.is-live .orbit__i, .static .fan.is-live .fan__i { transition: none; }
