/* Vyexa Dubbing — общий стиль сайта дубляжа (лендинг + кабинет). */
:root {
    --d-bg: #0e0f13;
    --d-bg-2: #15171d;
    --d-card: #1a1d24;
    --d-line: rgba(255, 255, 255, .08);
    --d-text: #f3f1ee;
    --d-muted: #a19b94;
    --d-accent: #ff7a18;
    --d-accent-2: #ffb347;
    --d-ok: #3ccf91;
    --d-err: #ff6b6b;
    --d-radius: 18px;
    --d-max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.dub {
    overflow-x: hidden;
    background: var(--d-bg);
    color: var(--d-text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.dub a { color: var(--d-accent-2); text-decoration: none; }
.dub a:hover { text-decoration: underline; }
.d-wrap { max-width: var(--d-max); margin: 0 auto; padding: 0 20px; }

/* Header */
.d-header { position: sticky; top: 0; z-index: 20; background: rgba(14, 15, 19, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--d-line); }
.d-header__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.d-logo { display: flex; align-items: center; gap: 10px; color: var(--d-text) !important; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; text-decoration: none !important; }
.d-logo__mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--d-accent), var(--d-accent-2)); display: grid; place-items: center; }
.d-logo__mark svg { width: 18px; height: 18px; fill: #1a0f05; }
.d-logo small { font-weight: 600; color: var(--d-muted); font-size: .95rem; }
.d-nav { display: flex; gap: 22px; margin-left: 12px; }
.d-nav a { color: var(--d-muted); font-size: .94rem; }
.d-nav a:hover, .d-nav a.is-active { color: var(--d-text); text-decoration: none; }
.d-header__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.d-lang { display: flex; border: 1px solid var(--d-line); border-radius: 10px; overflow: hidden; font-size: .8rem; }
.d-lang a { padding: 5px 9px; color: var(--d-muted); }
.d-lang a.is-active { background: var(--d-card); color: var(--d-text); }
.d-lang a:hover { text-decoration: none; color: var(--d-text); }

/* Buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: transform .12s, background .15s, border-color .15s; text-decoration: none !important; font-family: inherit; }
.d-btn:active { transform: translateY(1px); }
.d-btn--primary { background: var(--d-accent); color: #1a0f05 !important; }
.d-btn--primary:hover { background: #ff8a33; }
.d-btn--ghost { background: transparent; color: var(--d-text) !important; border-color: var(--d-line); }
.d-btn--ghost:hover { border-color: rgba(255, 255, 255, .22); }
.d-btn--lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.d-btn--sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.d-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Hero */
.d-hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.d-hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 680px; background: radial-gradient(closest-side, rgba(255, 122, 24, .20), transparent 70%); pointer-events: none; }
.d-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.d-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 122, 24, .12); color: var(--d-accent-2); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.d-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.07; letter-spacing: -.03em; margin: 18px 0 18px; font-weight: 800; }
.d-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--d-accent), var(--d-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-hero p.lead { font-size: 1.15rem; color: var(--d-muted); max-width: 540px; margin: 0 0 28px; }
.d-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.d-hero__note { margin-top: 14px; font-size: .86rem; color: var(--d-muted); }
.d-demo { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 22px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.d-demo__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--d-bg-2); margin-bottom: 10px; }
.d-demo__flag { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--d-accent-2); flex: 0 0 auto; }
.d-demo__text { font-size: .9rem; line-height: 1.4; }
.d-demo__text small { display: block; color: var(--d-muted); font-size: .78rem; }
.d-wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-left: auto; }
.d-wave i { width: 3px; height: 6px; border-radius: 3px; background: var(--d-accent); opacity: .85; animation: d-wave 1.1s ease-in-out infinite both; }
.d-wave i:nth-child(2) { animation-delay: .1s; } .d-wave i:nth-child(3) { animation-delay: .2s; } .d-wave i:nth-child(4) { animation-delay: .3s; } .d-wave i:nth-child(5) { animation-delay: .4s; } .d-wave i:nth-child(6) { animation-delay: .5s; }
@keyframes d-wave { 0%, 100% { height: 6px; } 50% { height: 24px; } }
.d-demo__arrow { text-align: center; color: var(--d-muted); font-size: .8rem; margin: 2px 0 10px; }

/* Sections */
.d-section { padding: 72px 0; border-top: 1px solid var(--d-line); }
.d-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; }
.d-section .sub { color: var(--d-muted); margin: 0 0 36px; max-width: 640px; }
.d-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.d-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.d-card { background: var(--d-card); border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 24px; }
.d-card h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.d-card p { margin: 0; color: var(--d-muted); font-size: .94rem; }
.d-step { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 122, 24, .14); color: var(--d-accent-2); display: grid; place-items: center; font-weight: 800; }
.d-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 122, 24, .14); display: grid; place-items: center; }
.d-ico svg { width: 20px; height: 20px; stroke: var(--d-accent-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d-langs { display: flex; flex-wrap: wrap; gap: 10px; }
.d-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--d-line); background: var(--d-bg-2); font-size: .92rem; }
.d-chip small { color: var(--d-muted); margin-left: 6px; }

/* Pricing */
.d-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.d-plan { position: relative; display: flex; flex-direction: column; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 22px; padding: 28px; }
.d-plan.is-featured { border-color: rgba(255, 122, 24, .55); box-shadow: 0 0 0 1px rgba(255, 122, 24, .25), 0 24px 60px rgba(255, 122, 24, .08); }
.d-plan__badge { position: absolute; top: -12px; left: 28px; background: var(--d-accent); color: #1a0f05; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.d-plan__name { font-weight: 700; color: var(--d-muted); }
.d-plan__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.d-plan__price small { font-size: 1rem; color: var(--d-muted); font-weight: 600; }
.d-plan__per { color: var(--d-muted); font-size: .88rem; margin-bottom: 18px; }
.d-plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.d-plan li { padding: 7px 0 7px 26px; position: relative; font-size: .94rem; }
.d-plan li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--d-ok); border-bottom: 2px solid var(--d-ok); transform: rotate(-45deg); }
.d-plan .d-btn { width: 100%; }

/* FAQ */
.d-faq details { border-bottom: 1px solid var(--d-line); padding: 18px 0; }
.d-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::after { content: '+'; color: var(--d-accent-2); font-size: 1.3rem; line-height: 1; }
.d-faq details[open] summary::after { content: '–'; }
.d-faq details p { color: var(--d-muted); margin: 10px 0 0; }

/* CTA band */
.d-band { margin: 0 0 72px; padding: 44px; border-radius: 26px; background: linear-gradient(135deg, rgba(255, 122, 24, .16), rgba(255, 179, 71, .06)); border: 1px solid rgba(255, 122, 24, .25); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-band h2 { margin: 0 0 6px; font-size: 1.7rem; letter-spacing: -.02em; }
.d-band p { margin: 0; color: var(--d-muted); }

/* Footer */
.d-footer { border-top: 1px solid var(--d-line); padding: 36px 0 44px; color: var(--d-muted); font-size: .88rem; }
.d-footer__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.d-footer a { color: var(--d-muted); margin-right: 18px; }
.d-footer a:hover { color: var(--d-text); }

/* Legal */
.d-legal { max-width: 820px; padding: 56px 20px 80px; margin: 0 auto; }
.d-legal h1 { font-size: 2.2rem; letter-spacing: -.02em; margin: 0 0 6px; }
.d-legal .meta { color: var(--d-muted); font-size: .9rem; margin-bottom: 30px; }
.d-legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.d-legal p, .d-legal li { color: #d6d1cb; }
.d-legal ul { padding-left: 22px; }

/* Auth */
.d-auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 48px 20px; }
.d-auth__card { width: 100%; max-width: 420px; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 22px; padding: 32px; }
.d-auth__card h1 { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -.02em; }
.d-auth__card .sub { color: var(--d-muted); margin: 0 0 22px; font-size: .94rem; }
.d-field { margin-bottom: 14px; }
.d-field input[type=email], .d-field input[type=text], .d-field input[type=password], .d-input, .d-select {
    width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--d-line); background: var(--d-bg-2); color: var(--d-text); font-size: 1rem; font-family: inherit; outline: none; transition: border-color .15s;
}
.d-field input:focus, .d-input:focus, .d-select:focus { border-color: rgba(255, 122, 24, .6); }
.d-field .help-block, .d-field .invalid-feedback { color: var(--d-err); font-size: .84rem; margin-top: 6px; display: block; }
.d-field .help-block:empty { display: none; }
.d-auth .d-btn--primary { width: 100%; margin-top: 4px; }
.d-auth__links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .9rem; flex-wrap: wrap; }
.d-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.d-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: .92rem; }
.d-alert--error { background: rgba(255, 107, 107, .12); color: #ffb3b3; border: 1px solid rgba(255, 107, 107, .3); }
.d-alert--success { background: rgba(60, 207, 145, .12); color: #9ff0cb; border: 1px solid rgba(60, 207, 145, .3); }
.d-alert--info { background: rgba(255, 179, 71, .1); color: #ffd9a6; border: 1px solid rgba(255, 179, 71, .25); }
.dub .auth-consent-box { color: var(--d-text); }

/* App (cabinet) */
.d-app { padding: 32px 0 80px; }
.d-app__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.d-app__head h1 { margin: 0; font-size: 1.8rem; letter-spacing: -.02em; }
.d-balance { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--d-card); border: 1px solid var(--d-line); font-size: .88rem; color: var(--d-text) !important; }
.d-balance b { color: var(--d-accent-2); }
.d-balance:hover { text-decoration: none; border-color: rgba(255, 255, 255, .2); }
.d-upload { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 22px; padding: 22px; margin-bottom: 28px; }
.d-drop { border: 2px dashed rgba(255, 255, 255, .14); border-radius: 18px; padding: 40px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.d-drop:hover, .d-drop.is-over { border-color: rgba(255, 122, 24, .6); background: rgba(255, 122, 24, .05); }
.d-drop svg { width: 44px; height: 44px; stroke: var(--d-accent-2); fill: none; stroke-width: 1.6; }
.d-drop h3 { margin: 10px 0 4px; font-size: 1.1rem; }
.d-drop p { margin: 0; color: var(--d-muted); font-size: .9rem; }
.d-drop__file { margin-top: 12px; font-weight: 700; }
.d-upload__row { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.d-upload__row label { color: var(--d-muted); font-size: .9rem; }
.d-upload__row .d-select { width: auto; min-width: 220px; padding: 11px 12px; }
.d-upload__row .d-btn { margin-left: auto; }
.d-progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 14px; }
.d-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--d-accent), var(--d-accent-2)); transition: width .3s; }
.d-jobs { display: grid; gap: 12px; }
.d-job { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 16px 18px; }
.d-job__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-job__meta { color: var(--d-muted); font-size: .85rem; }
.d-job__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.d-job video { grid-column: 1 / -1; width: 100%; max-height: 420px; border-radius: 12px; background: #000; }
.d-tag { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: rgba(255, 255, 255, .07); color: var(--d-muted); }
.d-tag--ok { background: rgba(60, 207, 145, .14); color: var(--d-ok); }
.d-tag--err { background: rgba(255, 107, 107, .14); color: var(--d-err); }
.d-tag--run { background: rgba(255, 179, 71, .14); color: var(--d-accent-2); }
.d-empty { text-align: center; color: var(--d-muted); padding: 30px; border: 1px dashed var(--d-line); border-radius: 16px; }
.d-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.d-table th, .d-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--d-line); }
.d-table th { color: var(--d-muted); font-weight: 600; }
.d-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--d-muted); margin: 0 0 20px; }
.d-consent input { margin-top: 4px; accent-color: var(--d-accent); }

@media (max-width: 900px) {
    .d-hero__grid, .d-grid-3, .d-grid-4, .d-plans { grid-template-columns: minmax(0, 1fr); }
    .d-nav { display: none; }
    .d-hero { padding: 56px 0 40px; }
    .d-band { padding: 28px; }
    .d-job { grid-template-columns: 1fr; }
    .d-job__actions { justify-content: flex-start; }
    .d-upload__row .d-btn { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
    .d-wrap { padding: 0 16px; }
    .d-header__row { gap: 10px; }
    .d-header__right { gap: 8px; }
    .d-logo small, .d-hide-sm { display: none; }
    .d-hero h1 { overflow-wrap: anywhere; }
    .d-hero__cta .d-btn { width: 100%; }
    .d-demo__row { flex-wrap: nowrap; }
    .d-demo__text { min-width: 0; overflow-wrap: anywhere; }
    .d-wave { display: none; }
    .d-band { padding: 22px; }
    .d-auth__card { padding: 24px 18px; }
    .d-plan { padding: 22px; }
    .d-balance { padding: 6px 10px; }
}

/* Checkout */
.d-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.d-method { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--d-line); background: var(--d-bg-2); margin-bottom: 10px; cursor: pointer; }
.d-method.is-active { border-color: rgba(255, 122, 24, .55); }
.d-method.is-disabled { opacity: .5; cursor: default; }
.d-method input { accent-color: var(--d-accent); }
.d-method__icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 122, 24, .14); display: grid; place-items: center; font-weight: 800; color: var(--d-accent-2); font-size: 1.1rem; flex: 0 0 auto; }
.d-method__body { flex: 1; min-width: 0; }
.d-method__body small { display: block; color: var(--d-muted); font-size: .84rem; }
.d-steps { margin: 0; padding-left: 20px; color: #d6d1cb; }
.d-steps li { margin: 6px 0; }
.d-summary { position: sticky; top: 84px; }
.d-summary__list { list-style: none; padding: 0; margin: 0 0 14px; }
.d-summary__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--d-line); font-size: .92rem; }
.d-summary__list span { color: var(--d-muted); }
.d-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 16px; }
.d-summary__total b { font-size: 1.8rem; }
/* Settings */
.d-voices { display: grid; gap: 10px; }
.d-voice-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 14px; padding: 12px 14px; }
.d-voice-row__lang { font-weight: 700; }
.d-voice-row__lang small { display: block; color: var(--d-muted); font-weight: 400; font-size: .8rem; }
.d-voice-pick { display: flex; gap: 8px; align-items: center; }
.d-voice-pick .d-select { padding: 9px 10px; font-size: .9rem; }
.d-play { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--d-line); background: var(--d-bg-2); color: var(--d-accent-2); cursor: pointer; font-size: .9rem; }
.d-play[disabled] { opacity: .35; cursor: default; }
.d-partner { color: var(--d-muted); font-size: .88rem; margin: 0 0 18px; }
.d-pages { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.d-pages a, .d-pages span { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--d-line); color: var(--d-muted); font-size: .88rem; }
.d-pages .is-active { background: var(--d-card); color: var(--d-text); }
.d-code { background: #0a0b0e; border: 1px solid var(--d-line); border-radius: 12px; padding: 14px; overflow-x: auto; font-size: .84rem; line-height: 1.5; color: #e6e1da; }
.d-code-inline { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
@media (max-width: 900px) {
    .d-checkout { grid-template-columns: minmax(0, 1fr); }
    .d-summary { position: static; }
    .d-voice-row { grid-template-columns: minmax(0, 1fr); }
}

/* Demo player */
.d-player { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.d-player video { width: 100%; border-radius: 18px; background: #000; border: 1px solid var(--d-line); aspect-ratio: 16 / 9; }
.d-player__side { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; padding: 20px; }
.d-player__label { color: var(--d-muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.d-player__langs, .d-player__videos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.d-player .d-chip { cursor: pointer; color: var(--d-text); font-family: inherit; }
.d-player .d-chip.is-active { border-color: var(--d-accent); background: rgba(255, 122, 24, .14); color: var(--d-accent-2); }
.d-player__note { color: var(--d-muted); font-size: .82rem; margin: 0; }
@media (max-width: 900px) { .d-player { grid-template-columns: minmax(0, 1fr); } }

/* Voices */
.d-chip--btn { cursor: pointer; color: var(--d-text); font-family: inherit; }
.d-chip--btn.is-active { border-color: var(--d-accent); background: rgba(255, 122, 24, .14); color: var(--d-accent-2); }
.d-voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.d-voice { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--d-line); background: var(--d-card); color: var(--d-text); cursor: pointer; text-align: left; font-family: inherit; transition: border-color .15s, transform .12s; }
.d-voice:hover { border-color: rgba(255, 122, 24, .5); transform: translateY(-1px); }
.d-voice__play { width: 38px; height: 38px; border-radius: 50%; background: var(--d-accent); color: #1a0f05; display: grid; place-items: center; font-size: .8rem; flex: 0 0 auto; }
.d-voice.is-playing .d-voice__play { background: var(--d-accent-2); }
.d-voice__body { flex: 1; min-width: 0; }
.d-voice__body small { display: block; color: var(--d-muted); font-size: .8rem; }
.d-voice__bars { display: flex; gap: 3px; align-items: center; height: 22px; opacity: 0; }
.d-voice.is-playing .d-voice__bars { opacity: 1; }
.d-voice__bars i { width: 3px; height: 6px; border-radius: 3px; background: var(--d-accent); animation: d-wave 1s ease-in-out infinite both; }
.d-voice__bars i:nth-child(2) { animation-delay: .15s; } .d-voice__bars i:nth-child(3) { animation-delay: .3s; } .d-voice__bars i:nth-child(4) { animation-delay: .45s; }

/* Hero media + step shots */
.d-hero-media { position: relative; display: block; border-radius: 24px; overflow: hidden; border: 1px solid var(--d-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); text-decoration: none !important; color: var(--d-text) !important; aspect-ratio: 16 / 10; background: #000; }
.d-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.d-hero-media:hover img { transform: scale(1.03); }
.d-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.7)); }
.d-hero-media__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--d-accent); color: #1a0f05; display: grid; place-items: center; font-size: 1.4rem; z-index: 2; box-shadow: 0 0 0 10px rgba(255, 122, 24, .25); animation: d-pulse 2.2s ease-in-out infinite; }
@keyframes d-pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(255,122,24,.25); } 50% { box-shadow: 0 0 0 18px rgba(255,122,24,.08); } }
.d-hero-media__langs { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(14, 15, 19, .75); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 700; }
.d-hero-media__langs span { padding: 2px 7px; border-radius: 999px; background: rgba(255, 122, 24, .18); color: var(--d-accent-2); }
.d-hero-media__sub { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; gap: 10px; align-items: center; font-size: .88rem; color: #f3f1ee; }
.d-hero-media__sub .d-wave { margin-left: 0; }
.d-card--shot { padding: 0; overflow: hidden; }
.d-card--shot .d-shot { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--d-line); }
.d-card--shot .d-step, .d-card--shot h3, .d-card--shot p { margin-left: 22px; margin-right: 22px; }
.d-card--shot .d-step { margin-top: 18px; }
.d-card--shot p { margin-bottom: 22px; }
@media (max-width: 560px) { .d-hero-media__langs span:nth-child(n+4) { display: none; } .d-hero-media__sub { font-size: .78rem; } }
.d-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.d-speaker { flex: 0 0 96px; color: var(--d-muted); font-size: .86rem; }
@media (max-width: 700px) { .d-grid-2 { grid-template-columns: minmax(0, 1fr); } .d-speaker { flex-basis: 78px; } }
.d-player__videos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-player__videos .d-chip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; font-size: .86rem; padding: 8px 10px; }
.d-player__langs .d-chip { font-size: .86rem; padding: 6px 11px; }

/* Меню «Звук ▾» у готового дубляжа: дорожка для YouTube и голос без фона (04.11.2026) */
.d-menu { position: relative; }
.d-menu > summary { list-style: none; cursor: pointer; }
.d-menu > summary::-webkit-details-marker { display: none; }
.d-menu__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 280px; max-width: calc(100vw - 32px); background: var(--d-card, #15161b); border: 1px solid var(--d-line, rgba(255,255,255,.1)); border-radius: 12px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.d-menu__list a { display: block; padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: .88rem; }
.d-menu__list a:hover { background: rgba(255,255,255,.06); }
.d-menu__list small { display: block; color: var(--d-muted); font-size: .78rem; margin-top: 2px; line-height: 1.35; }
@media (max-width: 720px) { .d-menu__list { right: auto; left: 0; } }
