/* «Чёрная Корона» — путеводитель (11.11.2026). Поверх site.css: шапка, оглавление, разделы, таблицы. */
body.gd { overflow-x: hidden; }
.gd .links { display: flex; }
.gd-main { max-width: var(--max); margin: 0 auto; padding: calc(96px + env(safe-area-inset-top)) var(--gut) 0; }
.gd-head { max-width: 860px; padding: clamp(20px, 4vw, 56px) 0 clamp(28px, 4vw, 52px); }
.gd-head h1 { max-width: none; font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.gd-lead { margin-top: 20px; max-width: 62ch; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--ink-2); }
.gd-upd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 14.5px; color: var(--mute); }
.gd-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4.4vw, 72px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 52px); }
.gd-toc { position: sticky; top: 84px; display: grid; gap: 2px; max-height: calc(100svh - 110px); overflow: auto; scrollbar-width: none; }
.gd-toc b { margin-bottom: 10px; font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.gd-toc a { padding: 9px 14px; border-left: 2px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, border-color .2s, background-color .2s; }
.gd-toc a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.gd-toc a.on { color: var(--gold-hi); border-color: var(--gold); }
.gd-sec { scroll-margin-top: 92px; padding-bottom: clamp(48px, 6vw, 88px); }
.gd-sec + .gd-sec { padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.gd-sec h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: clamp(2rem, 3.6vw, 3rem); }
.gd-sec h2 .tag { font-family: var(--sans); }
.gd-sec > p { max-width: 68ch; margin-top: 16px; color: var(--ink-2); }
.gd-sec h3 { margin-top: 34px; font-size: 26px; color: var(--gold-hi); }
.gd-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.gd-figs.one { grid-template-columns: 1fr; max-width: 860px; }
.gd-figs figure { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.gd-figs img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gd-figs figcaption { padding: 11px 16px 13px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gd-list { display: grid; gap: 12px; max-width: 74ch; margin-top: 26px; list-style: none; }
.gd-list li { position: relative; padding-left: 26px; line-height: 1.55; color: var(--ink); }
.gd-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.gd-list li b { font-weight: 600; color: #fff; }
.gd-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; max-width: 860px; margin-top: 14px; }
.gd-tablew { max-width: 860px; margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.gd-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.gd-table th { padding: 13px 16px; text-align: left; font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.gd-table td { padding: 11px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.gd-table td:first-child { font: 600 19px/1.2 var(--display); color: #fff; white-space: normal; }
.gd-table td:last-child { font-weight: 600; color: var(--gold-hi); }
.gd-table th:not(:first-child), .gd-table td:not(:first-child) { text-align: right; }
.gd .note { max-width: 74ch; margin-top: 12px; font-size: 14px; color: var(--mute); }
.gd-soon { display: flex; align-items: baseline; gap: 12px; max-width: 74ch; margin-top: 26px; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: var(--r-m); font-size: 15px; color: var(--ink-2); }
.gd-soon .tag { flex: none; }
.gd-next > p { color: var(--ink-2); }
.gd-cta { display: grid; justify-items: start; gap: 22px; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.gd-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.gd .foot { margin-top: 0; }
.gd .foot-bottom { align-items: center; }
.gd .foot-bottom a { color: var(--ink-2); }
@media (max-width: 1180px) { .gd .links { display: none; } }
@media (max-width: 980px) {
  .gd-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; border-top: 0; }
  .gd-toc { position: sticky; top: 60px; z-index: 5; display: flex; gap: 6px; margin: 0 calc(-1 * var(--gut)) 26px; padding: 10px var(--gut); max-height: none; overflow-x: auto; background: rgba(6, 10, 14, .94); border-block: 1px solid var(--line); }
  .gd-toc b { display: none; }
  .gd-toc a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .gd-toc a.on { border-color: var(--gold); }
  .gd-sec { scroll-margin-top: 124px; }
}
@media (max-width: 760px) {
  .gd-main { padding-top: calc(78px + env(safe-area-inset-top)); }
  .gd .brand-name { display: none; } .gd #gdPlay { display: inline-flex; min-height: 38px; padding: 0 16px; }
  .gd-figs { grid-template-columns: 1fr; gap: 12px; }
  .gd-table { font-size: 14px; } .gd-table th, .gd-table td { padding: 10px 12px; } .gd-table td:first-child { font-size: 17px; }
  .gd-soon { flex-direction: column; gap: 8px; }
}
@media (max-height: 480px) and (orientation: landscape) { .gd-toc { top: 56px; } .gd-main { padding-top: 72px; } }
