/* OTG Media — единая система стилей: чёрный и золото OTG, современная типографика, мобильная версия в первую очередь. */
:root {
  color-scheme: dark;
  --bg: #07060a;
  --bg-raise: #0f0d14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(240, 200, 120, 0.14);
  --line-strong: rgba(240, 200, 120, 0.38);
  --text: #f7f3ea;
  --muted: #a8a196;
  --gold: #e7b44a;
  --gold-light: #ffd98c;
  --gold-deep: #b27a1c;
  --violet: #7b5cff;
  --red: #ff3b4e;
  --green: #45d39a;
  --radius: 22px;
  --radius-small: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "SF Pro Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(231, 180, 74, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(123, 92, 255, 0.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Каркас ---------- */
.shell { min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-direction: column; gap: 12px;
  padding: 12px 16px 10px;
  background: rgba(7, 6, 10, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px rgba(231, 180, 74, 0.25); }
.brand strong { display: block; font-size: 15px; letter-spacing: 0.18em; }
.brand small { display: block; font-size: 9px; letter-spacing: 0.24em; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  color: #cfc8bb; text-decoration: none; font-weight: 650; font-size: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: background .2s, color .2s, border-color .2s;
}
.nav a i { font-style: normal; font-size: 14px; color: var(--gold); width: 16px; text-align: center; }
.nav a:hover { color: #fff; border-color: var(--line-strong); }
.nav a.active { color: #1a1204; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); border-color: transparent; box-shadow: 0 8px 24px rgba(231, 180, 74, 0.3); }
.nav a.active i { color: #1a1204; }
.sidebar-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.sidebar-contact { text-decoration: none; }
.sidebar-contact small { display: none; }
.sidebar-contact strong { font-weight: 600; color: var(--gold-light); }
.owner-link { color: var(--muted); text-decoration: none; }
.owner-link:hover, .sidebar-contact:hover strong { color: #fff; }
/* Переключатель языка: на телефоне — справа от логотипа, на компьютере — внизу боковой панели. */
.lang-slot { position: absolute; top: 16px; right: 16px; }
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang-switch button {
  min-width: 36px; min-height: 30px; padding: 4px 9px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 12px var(--mono); letter-spacing: .08em; color: var(--muted); background: transparent;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button[aria-pressed="true"] { color: #1a1204; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); }
.legal-lang { display: flex; justify-content: flex-end; margin-bottom: 8px; }

main { outline: none; }
.page { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
body { overflow-x: hidden; }

@media (min-width: 1024px) {
  .shell { display: grid; grid-template-columns: 276px minmax(0, 1fr); }
  .sidebar { height: 100vh; padding: 28px 18px 22px; border-bottom: 0; border-right: 1px solid var(--line); gap: 30px; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 17px; }
  .nav { flex-direction: column; margin: 0; padding: 0; overflow: visible; gap: 6px; }
  .nav a { padding: 13px 16px; border-radius: 14px; font-size: 15px; background: transparent; border-color: transparent; }
  .nav a:hover { background: var(--surface-strong); border-color: var(--line); }
  .sidebar-footer { margin-top: auto; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
  .lang-slot { position: static; }
  .sidebar-contact small { display: block; color: var(--muted); font: 700 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
  .sidebar-contact strong { font-size: 14px; }
  .page { padding: 44px clamp(28px, 4vw, 64px) 56px; gap: 22px; }
}

/* ---------- Типографика и заголовки ---------- */
.eyebrow, .kicker { font: 700 11px var(--mono); letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.kicker { display: block; margin-bottom: 8px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 22px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(7, 6, 10, .95), rgba(7, 6, 10, .75) 60%, rgba(7, 6, 10, .45)), url('/assets/brand/otg-section-hero.jpg') center / cover;
  box-shadow: var(--shadow);
}
.hero h1 { margin: 12px 0 12px; font-size: clamp(32px, 7vw, 60px); font-weight: 800; max-width: 820px; }
.hero h1 em, .gold { font-style: normal; background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: #d8d1c4; max-width: 700px; }
.hero-home { padding: 40px 22px; background: linear-gradient(100deg, rgba(7, 6, 10, .98) 0%, rgba(7, 6, 10, .94) 45%, rgba(7, 6, 10, .55) 75%, rgba(7, 6, 10, .25)), url('/assets/brand/otg-media-hero.jpg') 80% center / cover; }
@media (max-width: 819px) { .hero-home { background: linear-gradient(180deg, rgba(7, 6, 10, .9), rgba(7, 6, 10, .97)), url('/assets/brand/otg-media-hero.jpg') 75% center / cover; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (min-width: 1024px) { .hero { padding: 44px 48px; } .hero-home { padding: 72px 56px; } }
.muted { color: var(--muted); }
.section-title { font-size: 20px; margin-bottom: 12px; }

/* ---------- Кнопки и мелкие элементы ---------- */
.button, button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font: 700 15px var(--font); text-decoration: none; cursor: pointer;
  color: var(--text); background: var(--surface-strong); border: 1px solid var(--line);
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s;
}
.button:hover, button:hover { border-color: var(--line-strong); }
.button:active, button:active { transform: scale(.98); }
button:disabled { opacity: .55; cursor: not-allowed; }
.button.primary { color: #1a1204; border: 0; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 10px 30px rgba(231, 180, 74, .28); }
.button.primary:hover { box-shadow: 0 14px 38px rgba(231, 180, 74, .42); }
.button.ghost { background: rgba(255, 255, 255, .04); }
.button.youtube { border: 0; color: #fff; background: linear-gradient(135deg, #ff5a4f, #d1162b); }
.button.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button-stack { display: grid; gap: 10px; align-content: start; }
.text-link { color: var(--gold-light); font-size: 14px; text-align: center; }
.badge { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gold-light); border: 1px solid var(--line-strong); background: rgba(231, 180, 74, .08); white-space: nowrap; }
.badge.live { color: var(--green); border-color: rgba(69, 211, 154, .4); background: rgba(69, 211, 154, .08); }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: #ddd6c9; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #1a1204; background: var(--gold); }

/* ---------- Панели и карточки ---------- */
.panel {
  position: relative; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.panel h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 8px; }
.panel p + p { margin-top: 6px; }
.panel > .button-row, .panel > p + .button-row { margin-top: 16px; }
.panel a:not(.button) { color: var(--gold-light); }
.panel.error { border-color: rgba(255, 90, 90, .4); }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.split > div:first-child { flex: 1 1 320px; }
.stack { display: grid; gap: 14px; }
.empty-state { padding: 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.panel.empty-state { border-style: dashed; box-shadow: none; }
.panel.empty-state .button { margin-top: 16px; }

.product-grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  padding: 24px; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: url('/assets/brand/otg-watermark.png') center / contain no-repeat; opacity: .07; pointer-events: none; }
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(231, 180, 74, .12), 0 0 40px rgba(231, 180, 74, .12); }
.product-card h2 { font-size: 24px; }
.product-card p { color: #cfc8bb; }
.product-card b { margin-top: auto; color: var(--gold-light); }
.tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font: 700 10px var(--mono); letter-spacing: .14em; color: var(--gold-light); background: rgba(231, 180, 74, .1); border: 1px solid var(--line); }

.live-banner { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); border: 1px solid rgba(255, 59, 78, .3); background: linear-gradient(120deg, rgba(255, 59, 78, .12), rgba(123, 92, 255, .1)); }
.live-banner small { font: 700 10px var(--mono); letter-spacing: .18em; color: #ff8e9a; }
.live-banner h2 { font-size: 22px; margin: 4px 0; }
.live-banner p { color: #d8d1c4; }
.live-banner .button { grid-column: 1 / -1; }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 78, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255, 59, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 78, 0); } }
@media (min-width: 820px) { .live-banner { grid-template-columns: auto 1fr auto; } .live-banner .button { grid-column: auto; } }

/* ---------- Библиотека ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: 0 0 auto; min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 650; color: #d4cdc0; }
.chip span { color: var(--muted); font-weight: 600; }
.chip[aria-pressed="true"] { color: #1a1204; border-color: transparent; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.chip[aria-pressed="true"] span { color: #4a3409; }
.track-list { display: grid; gap: 10px; }
.track {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px 14px;
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  -webkit-user-select: none; user-select: none; transition: border-color .2s, box-shadow .2s;
}
.track.playing { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(231, 180, 74, .18), 0 16px 40px rgba(0, 0, 0, .5); }
.play { width: 52px; height: 52px; min-height: 0; padding: 0; font-size: 16px; color: var(--gold-light); }
.track.playing .play { color: #1a1204; border: 0; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.track-meta { min-width: 0; }
.track-meta h3 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta > span { font-size: 13px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tags i { font-style: normal; font-size: 11px; color: #d9c393; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.progress { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; cursor: pointer; }
.progress b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); transition: width .25s linear; }
.track > .button, .track > small, .track > .track-actions { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 820px) {
  .track { grid-template-columns: 52px minmax(0, 1.3fr) minmax(140px, 1fr) auto; padding: 12px 18px 12px 12px; }
  .progress, .track > .button, .track > small, .track > .track-actions { grid-column: auto; }
  .track > .track-actions { justify-self: end; }
}
.subscribe { display: grid; gap: 20px; }
@media (min-width: 820px) { .subscribe { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Песня и формы ---------- */
.offer { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(231, 180, 74, .14), rgba(123, 92, 255, .08) 70%, rgba(255, 255, 255, .02)); }
.price strong { display: block; font-size: clamp(52px, 10vw, 76px); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price span { color: var(--muted); font-weight: 600; }
.price.gift strong { font-size: clamp(40px, 5.5vw, 56px); }
.soul { margin-bottom: 14px; color: #e9e1d2; font-size: 17px; line-height: 1.55; }
.exchange { display: grid; gap: 18px; }
.exchange-steps { list-style: none; display: grid; gap: 10px; margin: 14px 0; padding: 0; }
.exchange-steps li { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.exchange-steps span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #1a1204; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); }
.exchange .button { justify-self: start; }
.track-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.certificate-box { display: grid; gap: 8px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.certificate-box h3 { font-size: 16px; }
.certificate-box label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.verify-result dl { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 8px 16px; margin: 12px 0 0; }
.verify-result dt { color: var(--muted); }
.verify-result dd { margin: 0; overflow-wrap: anywhere; }
.verify-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.verify-form label { display: grid; gap: 6px; flex: 1 1 220px; }
@media (min-width: 1024px) { .exchange-steps { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; } }
.offer h2 { font-size: 22px; }
@media (min-width: 820px) { .offer { grid-template-columns: auto 1fr; align-items: center; gap: 48px; padding: 30px 40px; } }
.order-form { display: grid; gap: 14px; }
@media (min-width: 820px) { .order-form { grid-template-columns: 1fr 1fr; } .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label, .login label { font-size: 13px; font-weight: 700; color: #ddd6c9; }
.field input, .field textarea, .login input, .certificate-box input, .verify-form input, select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-small);
  color: #fff; font: 16px var(--font); background: rgba(0, 0, 0, .35); border: 1px solid var(--line); outline: none;
}
.field input:focus, .field textarea:focus, .login input:focus, .certificate-box input:focus, .verify-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231, 180, 74, .15); }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d4cdc0; }
.consent input { width: 20px; height: 20px; accent-color: var(--gold); margin-top: 1px; }
.form-errors { color: #ff8f80; font-size: 14px; min-height: 0; }
.login { display: grid; gap: 12px; margin-top: 16px; }
.login label { display: grid; gap: 6px; }

/* ---------- Кабинет ---------- */
.account-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1024px) { .account-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.stats div { padding: 14px; border-radius: var(--radius-small); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.stats strong { display: block; font-size: 28px; color: var(--gold-light); }
.stats span { font-size: 13px; color: var(--muted); }
.timeline { list-style: none; display: grid; gap: 8px; padding: 0; margin: 20px 0 0; }
.timeline li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.timeline span { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; border: 1px solid var(--line); }
.timeline li.done { color: #ddd6c9; }
.timeline li.done span { color: #1a1204; background: var(--gold); border-color: transparent; }
.timeline li.current { color: #fff; font-weight: 700; }
.timeline li.current span { border-color: var(--gold); color: var(--gold-light); box-shadow: 0 0 0 4px rgba(231, 180, 74, .15); }
@media (min-width: 820px) { .timeline { grid-template-columns: repeat(6, 1fr); } .timeline li { flex-direction: column; text-align: center; font-size: 12px; } }
.order-cancelled { margin-top: 14px; color: #ff9f93; }

/* ---------- OTG Network и платформы ---------- */
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 820px) { .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1280px) { .release-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.release-card { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-raise); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.release-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.release-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #000; }
.release-card div { padding: 12px 14px 14px; }
.release-card span { font: 700 9px var(--mono); letter-spacing: .18em; color: var(--gold); }
.release-card h3 { font-size: 15px; margin-top: 4px; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .platform-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.platform-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); transition: transform .25s, border-color .25s; }
.platform-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.platform-card img { width: 52px; height: 52px; margin-bottom: 10px; }
.platform-name { font-size: 18px; font-weight: 800; }
.platform-card > span:not(.platform-name) { font-size: 13px; color: var(--muted); }
.platform-card b { margin-top: auto; padding-top: 10px; color: var(--gold-light); }

/* ---------- Подвал, уведомления, лицензия ---------- */
.brand-motto { display: grid; gap: 8px; justify-items: center; padding: 22px 0 6px; text-align: center; }
.brand-motto .motto { font: 700 12px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.brand-motto .motto span { color: var(--gold); }
.brand-motto .rights { font-size: 12px; color: #7f7a72; }
.brand-motto .rights a { color: #9c948a; text-decoration: none; }
.brand-motto .rights a:hover { color: var(--gold-light); }
#toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 13px 18px; border-radius: 999px; font-weight: 700; color: #1a1204; background: var(--gold-light); box-shadow: var(--shadow); transition: .25s; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.license-page { max-width: 860px; }
.license-page h2 { font-size: 20px; margin: 18px 0 4px; }
.license-page p, .license-page li { color: #d4cdc0; }
.license-page a:not(.button) { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.license-page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.license-page th, .license-page td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #d4cdc0; }
.license-page th { color: var(--gold-light); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.license-page code { font: 13px var(--mono); color: var(--gold-light); }
/* На телефоне таблица превращается в карточки: у каждой ячейки своя подпись колонки. */
@media (max-width: 639px) {
  .license-page table, .license-page tbody, .license-page tr, .license-page td { display: block; width: 100%; }
  .license-page thead { display: none; }
  .license-page tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .license-page td { padding: 3px 0; border: 0; }
  .license-page td:first-child { font-weight: 700; color: var(--text); }
  .license-page td:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); }
}
.license-page h3 { margin: 14px 0 4px; font-size: 16px; color: #fff; }
.license-page ol { padding-left: 22px; color: #d4cdc0; }
.license-page ol li { margin: 6px 0; }
