@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Ubuntu+Mono:wght@400;700&display=swap');

:root {
    --turquoise: #00c8a5;
    --red: #dc2626;
    --paper: #0c0e12;
    --gold: #facc15;
}

/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
html { scroll-behavior: smooth; }
html, body {
    background-color: #000 !important;
    margin: 0; padding: 0;
    min-height: 100vh;
    font-family: 'Ubuntu Mono', monospace;
    color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Russo One', sans-serif !important; }

/* --- DETAILS/SUMMARY (аккордеоны) --- */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* --- ФОНОВЫЕ СЛОИ И СЛИЯНИЕ (ИСПРАВЛЕНЫ ПУТИ НА ../img/) --- */
.bg-corsair { background-image: url('../img/bg_corsair.png'); background-size: cover; background-position: center; }
.bg-raider { background-image: url('../img/bg_raider.png'); background-size: cover; background-position: center; }

/* Фоны для карточек (ИСПРАВЛЕНЫ ПУТИ НА ../img/) */
.bg-corsair-empty { background-image: url('../img/fraction_corsair.png'); background-size: cover; background-position: center; }
.bg-raider-empty { background-image: url('../img/fraction_raider.png'); background-size: cover; background-position: center; }

.merge-mask-left {
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.merge-mask-right {
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* Звезды */
.space-bg {
    position: absolute; inset: 0;
    background: transparent; z-index: 5;
    opacity: 0.3; mix-blend-mode: screen;
}
#stars, #stars2 {
    position: absolute; top: 0; left: 0;
    width: 2px; height: 2px; background: transparent;
    animation: starsMove 150s linear infinite;
    box-shadow: 120px 450px #fff, 800px 200px #fff, 1400px 900px #fff;
}
@keyframes starsMove { from { transform: translateY(0); } to { transform: translateY(-2000px); } }

/* --- НАВИГАЦИЯ (NAV) --- */
.nav-link { text-decoration: none; outline: none; transition: 0.3s; }
.nav-link .nav-text { color: #555; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; }
.nav-link.active .nav-text { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
.nav-link:hover .nav-text { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.8); }

.nav-link--locked .nav-text { color: #71717a; }
.nav-link--locked:hover .nav-text { color: #fcd34d; text-shadow: 0 0 8px rgba(251, 191, 36, 0.35); }
.nav-lock-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.35rem;
    font-size: 0.7em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    opacity: 0.9;
    vertical-align: middle;
}

.site-header__brand {
  font-family: 'Russo One', sans-serif !important;
}
.site-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    height: 14px;
}
.site-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
#site-nav-toggle.is-open .site-burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
#site-nav-toggle.is-open .site-burger span:nth-child(2) {
    opacity: 0;
}
#site-nav-toggle.is-open .site-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
.site-mobile-nav__link {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    color: #d4d4d8;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.site-mobile-nav__link + .site-mobile-nav__link { margin-top: 0.35rem; }
.site-mobile-nav__link:hover,
.site-mobile-nav__link.is-active {
    border-color: rgba(45, 212, 191, 0.45);
    color: #fff;
    background: rgba(45, 212, 191, 0.08);
}
.site-mobile-nav__link.is-locked { color: #a1a1aa; }
.site-mobile-nav__link--danger:hover {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.08);
}

/* Центральное меню шапки: одинаковая типографика при любой фракции (body может быть Russo One) */
.site-header__nav,
.site-header__nav .nav-link,
.site-header__nav .nav-link span {
    font-family: 'Ubuntu Mono', monospace !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.2em !important;
}
@media (min-width: 768px) {
    .site-header__nav,
    .site-header__nav .nav-link,
    .site-header__nav .nav-link span {
        font-size: 14px !important;
    }
}

/* --- КНОПКИ HUD (НАЗАД В ДОКИ) --- */
.back-btn-hud {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid currentColor;
    padding: 12px 24px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    color: inherit;
    cursor: pointer;
    border-radius: 2px;
    z-index: 100;
}
.back-btn-hud:hover {
    border-color: #fff;
    color: #000 !important;
    background: #fff;
    box-shadow: 0 0 20px currentColor;
}
.back-btn-hud .back-arrow { transition: transform 0.3s ease; }
.back-btn-hud:hover .back-arrow { transform: translateX(-4px); }

/* --- БЕГУЩАЯ СТРОКА (TICKER) --- */
.ticker-text {
    animation: ticker 25s linear infinite;
    padding-left: 100%;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- ТЕРМИНАЛЫ, СВИТКИ И КАРТОЧКИ --- */
.cyber-scroll, .cyber-terminal {
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    box-shadow: 0 0 80px rgba(0,0,0,0.95);
    background: rgba(5, 5, 5, 0.9);
}

.runic-line {
    background: #000; padding: 8px;
    text-align: center; font-size: 0.75rem; letter-spacing: 0.8rem;
    color: var(--turquoise); border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap; overflow: hidden;
}

.scroll-preview {
    background: #000; border: 2px solid;
    cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-preview:hover { transform: translateY(-10px) scale(1.02); border-color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

#portraitFrame { border: 2px solid #1a1a1a; box-shadow: 0 0 30px rgba(0,0,0,0.5); position: relative; }

/* ФИКС АРТЕФАКТОВ */
.artifact-fix {
    mix-blend-mode: screen;
    filter: brightness(0.9) contrast(1.2);
    pointer-events: none;
}
.group:hover .artifact-fix {
    filter: brightness(1.2) contrast(1.5);
}

/* --- СКАНЕР --- */
.scanner-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(to right, transparent, var(--turquoise), transparent);
    box-shadow: 0 0 15px var(--turquoise);
    z-index: 10;
    animation: scanMove 4s linear infinite;
    opacity: 0.5;
}
@keyframes scanMove {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* --- ФОРМЫ И ИНПУТЫ --- */
.input-wrap label { font-size: 0.7rem; text-transform: uppercase; color: #555; letter-spacing: 3px; display: block; margin-bottom: 8px; }
.input-wrap input { background: #000 !important; border: 1px solid #222; padding: 15px; width: 100%; outline: none; transition: 0.3s; color: #fff; font-family: 'Ubuntu Mono', monospace; }

/* КНОПКИ ПОЛА */
.gender-btn {
    padding: 12px 35px; border: 1px solid #1a1a1a;
    color: #444; font-weight: bold; cursor: pointer; transition: 0.3s;
    background: #080808; text-transform: uppercase; font-size: 0.8rem;
    font-family: 'Ubuntu Mono', monospace;
}
.gender-btn.active { color: #fff; border-color: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.1); }

/* --- ГЛАВНАЯ КНОПКА --- */
.action-btn-neon {
    display: block;
    width: 100%;
    padding: 22px;
    background: transparent !important;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Ubuntu Mono', monospace;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0 !important;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}
.action-btn-neon:hover { background: #fff !important; color: #000 !important; box-shadow: 0 0 30px rgba(255,255,255,0.5); }


/* =========================================================
   ФРАКЦИОННЫЕ ТЕМЫ (ГЛОБАЛЬНЫЕ И ДАШБОРД)
========================================================= */

/* --- ТЕМА СИНДИКАТА (БИРЮЗА) --- */
.corsair-theme h2, 
.corsair-theme .StatsListText { color: var(--turquoise); text-shadow: 0 0 15px var(--turquoise); }
.corsair-theme label { color: var(--turquoise); opacity: 0.6; }
.corsair-theme #fixedBackBtn { color: var(--turquoise); }
.corsair-theme #portraitFrame { border-color: var(--turquoise); box-shadow: 0 0 40px rgba(0,200,165,0.2); }
.corsair-theme input:focus { border-color: var(--turquoise); box-shadow: 0 0 15px var(--turquoise); }
.corsair-theme .gender-btn.active { border-color: var(--turquoise); box-shadow: 0 0 15px rgba(0,200,165,0.3); }
.corsair-theme .nav-link:hover .nav-text { color: var(--turquoise); text-shadow: 0 0 15px var(--turquoise); }
.corsair-theme .scanner-line { background: linear-gradient(to right, transparent, var(--turquoise), transparent); box-shadow: 0 0 15px var(--turquoise); }
.corsair-theme .action-btn-neon { border-color: var(--turquoise); color: var(--turquoise); }
.corsair-theme .action-btn-neon:hover { background-color: var(--turquoise) !important; color: #000 !important; box-shadow: 0 0 30px var(--turquoise); }

/* ДИНАМИКА ЛИЧНОГО КАБИНЕТА - СИНДИКАТ (ИСПРАВЛЕНЫ ПУТИ НА ../img/) */
.corsair-theme .bg-dashboard { background-image: url('../img/bg_dash_corsair.png'); }
.corsair-theme .faction-text-color { color: var(--turquoise); }
.corsair-theme .bg-overlay-color { background-color: rgba(0,200,165,0.2); }
.corsair-theme #dashPortraitFrame { border-color: var(--turquoise); box-shadow: 0 0 15px rgba(0,200,165,0.2); }
.corsair-theme .nav-dashboard .active-link { border-color: var(--turquoise); background-color: rgba(0,200,165,0.1); color: var(--turquoise); }
.corsair-theme .border-faction { border-color: rgba(0,200,165,0.2); }
.corsair-theme .bg-faction { background-color: var(--turquoise); }
.corsair-theme .shadow-faction { box-shadow: 0 0 10px rgba(0,200,165,0.5); }
.corsair-theme .hover-border-faction:hover { border-color: rgba(0,200,165,0.5); }
.corsair-theme .group:hover .group-hover-text-faction { color: var(--turquoise); }


/* --- ТЕМА ХИРДА (ЗОЛОТО) --- */
/* Russo на всём body для рейдеров только вне ЛК (регистрация и т.п.) */
.raider-theme:not(.dash-layout-root) {
    font-family: 'Russo One', sans-serif !important;
}

/* Каюта / Теневой рынок: тот же терминальный шрифт, что у синдиката */
.corsair-theme.dash-layout-root,
.raider-theme.dash-layout-root {
    font-family: 'Ubuntu Mono', monospace !important;
}

.raider-theme h2, 
.raider-theme .StatsListText { color: var(--gold); text-shadow: 0 0 15px var(--gold); }
.raider-theme label { color: var(--gold); opacity: 0.8; }
.raider-theme #fixedBackBtn { color: var(--gold); }
.raider-theme #portraitFrame { border-color: var(--gold); box-shadow: 0 0 40px rgba(250,204,21,0.2); }
.raider-theme input:focus { border-color: var(--red); box-shadow: 0 0 15px var(--red); }
.raider-theme .gender-btn.active { border-color: var(--gold); box-shadow: 0 0 15px rgba(250,204,21,0.3); }
.raider-theme .nav-link:hover .nav-text { color: var(--gold); text-shadow: 0 0 15px var(--gold); }
.raider-theme .scanner-line { background: linear-gradient(to right, transparent, var(--gold), transparent); box-shadow: 0 0 15px var(--gold); }
.raider-theme .action-btn-neon { border-color: var(--gold); color: var(--gold); }
.raider-theme .action-btn-neon:hover { background-color: var(--gold) !important; color: #000 !important; box-shadow: 0 0 30px var(--gold); }

/* Квест 0x00: контрастная кнопка завершения (тема фракции не должна делать текст чёрным на чёрном) */
.quest-complete-btn {
    border: 2px solid transparent;
    cursor: pointer;
    text-shadow: none !important;
}
.quest-complete-btn--corsair {
    background: #2dd4bf !important;
    border-color: #5eead4 !important;
    color: #041016 !important;
    box-shadow: 0 0 24px rgba(45, 212, 191, 0.35);
}
.quest-complete-btn--corsair:hover {
    background: #99f6e4 !important;
    color: #000 !important;
}
.quest-complete-btn--raider {
    background: #fbbf24 !important;
    border-color: #fde68a !important;
    color: #1a1200 !important;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
}
.quest-complete-btn--raider:hover {
    background: #fde68a !important;
    color: #000 !important;
}

/* ДИНАМИКА ЛИЧНОГО КАБИНЕТА - ХИРД (ИСПРАВЛЕНЫ ПУТИ НА ../img/) */
.raider-theme .bg-dashboard { background-image: url('../img/bg_dash_raider.png'); }
.raider-theme .faction-text-color { color: var(--gold); }
.raider-theme .bg-overlay-color { background-color: rgba(250,204,21,0.2); }
.raider-theme #dashPortraitFrame { border-color: var(--gold); box-shadow: 0 0 15px rgba(250,204,21,0.2); }
.raider-theme .nav-dashboard .active-link { border-color: var(--gold); background-color: rgba(250,204,21,0.1); color: var(--gold); }
.raider-theme .border-faction { border-color: rgba(250,204,21,0.2); }
.raider-theme .bg-faction { background-color: var(--gold); }
.raider-theme .shadow-faction { box-shadow: 0 0 10px rgba(250,204,21,0.5); }
.raider-theme .hover-border-faction:hover { border-color: rgba(250,204,21,0.5); }
.raider-theme .group:hover .group-hover-text-faction { color: var(--gold); }

/* --- СПЕЦЭФФЕКТЫ И АДАПТИВ --- */
.scanlines {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px; pointer-events: none;
    opacity: 0.3; z-index: 45;
}

@media (max-width: 768px) {
    .site-header__nav {
        gap: 6px !important;
        padding: 4px 6px !important;
        max-width: min(100vw - 1rem, 100%);
    }
}

/* --- ЛК: загрузка аватара (колонка ~18rem, кнопки только внутри) --- */
.avatar-upload-form {
    width: 100%;
    max-width: 100%;
}
.avatar-upload-form .avatar-upload-pick,
.avatar-upload-form .avatar-upload-submit {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 2.5rem;
}

/* --- Dashboard: боковое меню в стиле Sea of Pirates --- */
.dash-side-nav {
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 40px rgba(0, 0, 0, 0.85),
        inset 0 0 60px rgba(0, 200, 165, 0.03);
}
.dash-side-nav__glow {
    background: linear-gradient(
        135deg,
        rgba(0, 200, 165, 0.14) 0%,
        transparent 42%,
        rgba(250, 204, 21, 0.07) 100%
    );
    animation: dashNavPulse 7s ease-in-out infinite;
}
@keyframes dashNavPulse {
    0%, 100% { opacity: 0.32; }
    50% { opacity: 0.55; }
}
.dash-nav-item:not(.active-link):not(.dash-nav-item--muted) {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, text-shadow 0.2s ease;
}
.corsair-theme .dash-nav-item:not(.active-link):not(.dash-nav-item--muted):hover {
    color: var(--turquoise) !important;
    background: rgba(0, 200, 165, 0.1);
    border-left-color: rgba(0, 200, 165, 0.75) !important;
    box-shadow: inset 0 0 24px rgba(0, 200, 165, 0.08);
    text-shadow: 0 0 14px rgba(0, 200, 165, 0.45);
}
.raider-theme .dash-nav-item:not(.active-link):not(.dash-nav-item--muted):hover {
    color: var(--gold) !important;
    background: rgba(250, 204, 21, 0.1);
    border-left-color: rgba(250, 204, 21, 0.75) !important;
    box-shadow: inset 0 0 24px rgba(250, 204, 21, 0.08);
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.4);
}
.corsair-theme .dash-side-nav {
    box-shadow:
        0 0 0 1px rgba(0, 200, 165, 0.18),
        0 0 50px rgba(0, 0, 0, 0.9),
        inset 0 0 90px rgba(0, 200, 165, 0.05);
}
.raider-theme .dash-side-nav {
    box-shadow:
        0 0 0 1px rgba(250, 204, 21, 0.15),
        0 0 50px rgba(0, 0, 0, 0.9),
        inset 0 0 90px rgba(250, 204, 21, 0.05);
}

/* Курсы: контрастная кнопка (hover без «пропажи» текста) */
.exam-nav-btn:hover {
    background-color: #facc15 !important;
    color: #000000 !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.4);
}
.courses-reset-btn:hover {
    color: #fecaca !important;
    background-color: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(248, 113, 113, 0.95) !important;
}

/* Динамическая глава (chapter.html) */
.odyssey-cover {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 0 1rem 2rem;
    min-height: 0;
    cursor: pointer;
}
/* Обложка динамической главы: перекрытие устаревших глобальных правил #cover-section */
#cover-section.odyssey-cover {
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    align-items: center;
    background: transparent !important;
    z-index: auto;
}
.odyssey-cover--hidden {
    display: none !important;
}
.odyssey-cover-brand {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--turquoise);
    text-shadow: 0 0 24px rgba(0, 200, 165, 0.55);
    margin-bottom: 1rem;
}
.odyssey-cover-map {
    width: min(90%, 750px);
    border-radius: 12px;
    border: 2px solid var(--turquoise);
    box-shadow: 0 0 40px rgba(0, 200, 165, 0.35);
    transition: transform 0.35s ease;
}
.odyssey-cover-map:hover {
    transform: scale(1.02);
}
.odyssey-cover-hint {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(0, 200, 165, 0.75);
    letter-spacing: 0.08em;
}
.odyssey-content-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.odyssey-content-wrap--visible {
    display: flex !important;
}
.odyssey-compact-head {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    border-bottom: 1px solid rgba(0, 200, 165, 0.25);
    margin-bottom: 1rem;
}
.odyssey-compact-title {
    font-family: 'Russo One', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.15em;
    color: var(--turquoise);
    text-shadow: 0 0 16px rgba(0, 200, 165, 0.4);
    margin: 0;
}
.odyssey-hr-dashed {
    border: 0;
    border-top: 1px dashed rgba(0, 200, 165, 0.35);
    margin: 2.5rem 0;
}
.odyssey-prose .odyssey-theory > h2,
.odyssey-prose .odyssey-practice > h2,
.odyssey-prose .theory-section h2,
.odyssey-prose .practice-section h2 {
    font-family: 'Russo One', sans-serif;
    color: var(--turquoise);
    text-shadow: 0 0 12px rgba(0, 200, 165, 0.35);
    margin-top: 1.5rem;
}
/* Блоки заданий из импорта chapterN.html (раньше в style.css) */
.odyssey-prose .task-box {
    background: rgba(0, 255, 204, 0.04);
    border: 1px solid rgba(0, 255, 204, 0.12);
    border-left: 4px solid var(--turquoise);
    padding: 1.35rem 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.odyssey-prose .task-box:hover {
    background: rgba(0, 255, 204, 0.09);
    box-shadow: -4px 0 18px rgba(0, 200, 165, 0.15);
    border-color: rgba(0, 255, 204, 0.22);
}
.odyssey-prose .task-box h3 {
    font-family: 'Russo One', sans-serif;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: normal;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--turquoise);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding-bottom: 0.6rem;
}
.odyssey-prose .theory-content p,
.odyssey-prose .practice-content p {
    margin: 0.75rem 0;
}
.odyssey-prose code {
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 255, 204, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
}
.odyssey-quiz-heading {
    font-family: 'Russo One', sans-serif;
    color: var(--turquoise);
    text-shadow: 0 0 14px rgba(0, 200, 165, 0.45);
    margin-bottom: 1.5rem;
}
.odyssey-quiz-feedback--ok {
    border-color: rgba(45, 212, 191, 0.45) !important;
    color: #5eead4;
    background: rgba(0, 40, 35, 0.35);
}
.odyssey-quiz-feedback--bad {
    border-color: rgba(248, 113, 113, 0.45) !important;
    color: #fca5a5;
    background: rgba(40, 0, 0, 0.25);
}
.odyssey-submit-quiz:hover {
    background-color: rgba(45, 212, 191, 0.95) !important;
    color: #000 !important;
}

/* =========================================================
   ИНДИ-КВЕСТ: NPC диалог в каюте (оверлей снизу)
========================================================= */
.corsair-theme{ --tutorial-accent: #00c8a5; }
.raider-theme{ --tutorial-accent: #facc15; }
body{ --tutorial-accent: #22c55e; }

.tutorial-overlay{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 16px;
    /* без затемняющего “фона” — как у VN-диалогов */
    background: transparent;
    backdrop-filter: none;
    border-top: 0;
    transform: translateY(110%);
    animation: tutorialSlideUp 420ms ease-out forwards;
}

.tutorial-overlay--collapsed{
    /* Не уезжаем за экран — просто превращаемся в “ручку” */
    transform: translateY(0) !important;
    animation: none !important;
    background: rgba(0,0,0,0.65);
    padding-top: 8px;
    padding-bottom: 8px;
}

.tutorial-overlay--collapsed .tutorial-message,
.tutorial-overlay--collapsed .tutorial-secondary-btn,
.tutorial-overlay--collapsed #tutorial-primary-form{
    display: none !important;
}

.tutorial-overlay--collapsed .tutorial-content{
    padding-top: 10px;
    padding-bottom: 10px;
}

.tutorial-overlay--collapsed .tutorial-panel{
    border-radius: 14px;
}

.tutorial-overlay--collapsed .tutorial-npc img{
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.tutorial-overlay--collapsed .tutorial-vn-frame,
.tutorial-overlay--collapsed .tutorial-nameplate,
.tutorial-overlay--collapsed .tutorial-actions{
    display: none !important;
}

.tutorial-overlay--collapsed .tutorial-vn-topbar{
    margin-bottom: 0;
}

.tutorial-close{
    border: 2px solid rgba(0,0,0,0.65);
    background: rgba(255,255,255,0.92);
    color: rgba(0,0,0,0.85);
    width: 32px;
    height: 24px;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1;
}
.tutorial-close:hover{
    color: #000;
    border-color: rgba(0,0,0,0.85);
}

.tutorial-highlight{
    outline: 2px solid rgba(34,197,94,0.95) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.18), 0 0 26px rgba(34,197,94,0.35) !important;
    border-color: rgba(34,197,94,0.95) !important;
}
.corsair-theme .tutorial-highlight{
    outline-color: rgba(0,200,165,0.95) !important;
    box-shadow: 0 0 0 4px rgba(0,200,165,0.16), 0 0 26px rgba(0,200,165,0.34) !important;
    border-color: rgba(0,200,165,0.95) !important;
}
.raider-theme .tutorial-highlight{
    outline-color: rgba(250,204,21,0.95) !important;
    box-shadow: 0 0 0 4px rgba(250,204,21,0.16), 0 0 26px rgba(250,204,21,0.34) !important;
    border-color: rgba(250,204,21,0.95) !important;
}

@keyframes tutorialSlideUp {
    to { transform: translateY(0); }
}

.tutorial-panel{
    max-width: 1100px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.tutorial-content{
    display: flex;
    gap: 16px;
    padding: 16px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .tutorial-content{ flex-direction: column; }
}

.tutorial-npc img{
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 6px;
    border: 0;
    box-shadow: none;
}

.tutorial-vn-topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.tutorial-progress{
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tutorial-vn-frame{
    position: relative;
    border: 3px solid rgba(255,255,255,0.85);
    background: rgba(245, 245, 245, 0.96);
    border-radius: 6px;
    padding: 26px 16px 14px;
    box-shadow:
        0 0 0 2px rgba(0,0,0,0.55),
        0 18px 50px rgba(0,0,0,0.55);
}

.tutorial-vn-frame::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--tutorial-accent);
    opacity: 0.9;
}

.tutorial-nameplate{
    position: absolute;
    left: 12px;
    top: -16px;
    padding: 7px 12px;
    border: 3px solid rgba(0,0,0,0.65);
    background: var(--tutorial-accent);
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}

.tutorial-message{
    min-height: 80px;
    padding: 10px 6px 12px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: rgba(15,15,15,0.92);
    font-family: 'Ubuntu Mono', monospace;
    line-height: 1.55;
    font-size: 15px;
    white-space: pre-wrap;
}

.tutorial-actions{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tutorial-inline-form{
    display: inline-block;
    margin: 0;
}

.tutorial-primary-form{
    margin-left: auto;
}

.tutorial-secondary-btn{
    padding: 10px 14px;
    border: 2px solid rgba(0,0,0,0.65);
    color: rgba(0,0,0,0.92);
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    transition: 0.2s ease;
}

.tutorial-secondary-btn:hover{
    border-color: rgba(0,0,0,0.85);
    background: #ffffff;
    color: #000;
}

.tutorial-primary-btn{
    padding: 12px 14px;
    border: 2px solid rgba(0,0,0,0.75);
    background: var(--tutorial-accent);
    color: #ffffff;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    transition: 0.2s ease;
}

.tutorial-primary-btn:hover{
    filter: brightness(1.05) contrast(1.05);
    border-color: rgba(0,0,0,0.95);
}

/* --- Золотое Ядро / Халдор: лор, терминальные блоки с копированием, квиз-кнопки (глава 1) --- */
.odyssey-prose .odyssey-lore {
    margin: 1.75rem 0;
    padding: 1.25rem 1.35rem;
    border-left: 4px solid rgba(250, 204, 21, 0.45);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.06), transparent);
    border-radius: 0 8px 8px 0;
    font-style: normal;
    color: rgba(244, 244, 245, 0.92);
}

/* --- Диалоговый блок (VN-стиль) --- */
.odyssey-prose .odyssey-dialogue {
    margin: 1.25rem 0 1.75rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(0, 200, 165, 0.22);
    background: rgba(0, 0, 0, 0.38);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 200, 165, 0.06);
}
.odyssey-prose .odyssey-dialogue--holo {
    position: relative;
    border: 1px solid rgba(0, 200, 165, 0.22);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(0, 200, 165, 0.16), transparent 55%),
        radial-gradient(140% 160% at 100% 0%, rgba(94, 234, 212, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.30));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 0 38px rgba(0, 200, 165, 0.10);
    overflow: hidden;
}
.odyssey-prose .odyssey-dialogue--holo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.045) 0px,
            rgba(255, 255, 255, 0.045) 1px,
            rgba(255, 255, 255, 0.0) 4px,
            rgba(255, 255, 255, 0.0) 8px
        );
    opacity: 0.30;
    mix-blend-mode: screen;
    pointer-events: none;
}
.odyssey-prose .odyssey-dialogue--holo::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 70%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.14), transparent);
    transform: rotate(18deg);
    opacity: 0.5;
    pointer-events: none;
}
.odyssey-prose .odyssey-dialogue__speaker {
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(94, 234, 212, 0.95);
    margin-bottom: 0.75rem;
}
.odyssey-prose .odyssey-dialogue__line {
    margin: 0.55rem 0;
    color: rgba(244, 244, 245, 0.92);
}
.odyssey-prose .odyssey-dialogue__line--aside {
    color: rgba(161, 161, 170, 0.9);
    font-style: italic;
}
.odyssey-prose .odyssey-dialogue__line--say {
    padding-left: 0.6rem;
    border-left: 2px solid rgba(0, 200, 165, 0.25);
}
.odyssey-prose .odyssey-dialogue__line--say b {
    color: #ffffff;
}
.odyssey-prose .odyssey-lore--forge .odyssey-lore__stage {
    font-size: 0.8rem;
    color: rgba(250, 204, 21, 0.75);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
.odyssey-prose .odyssey-lore p {
    margin: 0.5rem 0;
}
.odyssey-prose .odyssey-lore--outro {
    margin-top: 2.5rem;
}

/* Outro-блоки из конструктора: показывать только после успешного теста */
.odyssey-outro[data-requires-pass="1"]{
    display: none;
}
body.quiz-passed .odyssey-outro[data-requires-pass="1"]{
    display: block;
}

/* Конструктор: inline-редактирование в предпросмотре */
.cb-editable{
    outline: 1px dashed rgba(94, 234, 212, 0.25);
    outline-offset: 4px;
}
.cb-editable:focus{
    outline-color: rgba(94, 234, 212, 0.65);
    background: rgba(0,0,0,0.15);
}

.odyssey-prose .theory-content h3,
.odyssey-prose .practice-content h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: rgba(250, 230, 150, 0.95);
    margin: 1.75rem 0 0.75rem;
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.2);
}

.odyssey-prose .terminal-code-block {
    position: relative;
    margin: 1rem 0 1.25rem;
    border: 1px solid rgba(0, 200, 165, 0.28);
    background: rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.odyssey-prose .terminal-code-block__pre {
    margin: 0;
    padding: 0.9rem 4.25rem 0.9rem 1rem;
    overflow-x: auto;
    background: #050708;
}
.odyssey-prose .terminal-code-block__pre code {
    display: block;
    white-space: pre;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #5eead4;
    background: transparent;
    border: 0;
    padding: 0;
}
.odyssey-prose .terminal-code-block__copy {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    color: #0c0e12;
    background: rgba(0, 200, 165, 0.85);
    border: 1px solid rgba(94, 234, 212, 0.5);
    border-radius: 4px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.odyssey-prose .terminal-code-block__copy:hover {
    background: rgba(94, 234, 212, 0.95);
    box-shadow: 0 0 14px rgba(0, 200, 165, 0.35);
}

.forge-quiz-title {
    color: rgba(253, 230, 138, 0.95) !important;
    text-shadow: 0 0 18px rgba(250, 204, 21, 0.35) !important;
}

.forge-quiz-opt {
    display: block;
    width: 100%;
    text-align: left;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 0.85rem 1rem;
    margin: 0;
    cursor: pointer;
    color: #e4e4e7;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(39, 39, 42, 0.9);
    border-radius: 6px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.forge-quiz-opt:hover:not(:disabled):not(.forge-quiz-opt--disabled) {
    border-color: rgba(0, 200, 165, 0.65);
    background: rgba(0, 200, 165, 0.08);
    box-shadow: 0 0 18px rgba(0, 200, 165, 0.12);
}
.forge-quiz-opt:active:not(:disabled):not(.forge-quiz-opt--disabled) {
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.35);
}
.forge-quiz-opt--disabled {
    cursor: default;
    opacity: 0.85;
}
.forge-quiz-opt--correct {
    border-color: rgba(52, 211, 153, 0.85) !important;
    background: rgba(6, 78, 59, 0.35) !important;
    color: #a7f3d0;
}
.forge-quiz-opt--wrong {
    border-color: rgba(248, 113, 113, 0.75) !important;
    background: rgba(127, 29, 29, 0.25) !important;
    color: #fecaca;
}

.forge-quiz-hint {
    margin-top: 0.75rem;
    min-height: 1.35rem;
    font-size: 0.8rem;
    font-family: 'Ubuntu Mono', monospace;
    letter-spacing: 0.04em;
}
.forge-quiz-hint--ok {
    color: #5eead4;
}
.forge-quiz-hint--bad {
    color: #fca5a5;
}

/* --- Диалоговый тест (последовательные вопросы) --- */
.dq-root .odyssey-dialogue {
    margin-top: 1rem;
}
.dq-root .dq-transcript {
    max-height: 260px;
    overflow: auto;
    padding-right: 0.25rem;
}
.dq-root .dq-options {
    margin-top: 1rem;
}
.dq-root .dq-vn {
    display: block;
}
.dq-root .dq-vn__nameplate {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.25rem;
}
.dq-root .dq-progress {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    color: rgba(161, 161, 170, 0.9);
}
.dq-root .dq-dialogue {
    margin-top: 0.5rem;
}
.dq-root .dq-line {
    position: relative;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.dq-root .dq-line__avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 18px rgba(0,0,0,0.45);
    flex: 0 0 auto;
}
.dq-root .dq-line__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dq-root .dq-line__bubble {
    flex: 1 1 auto;
    min-width: 0;
}
.dq-root .dq-line--npc {
    border-left: 3px solid rgba(0, 200, 165, 0.35);
}
.dq-root .dq-line--you {
    border-left: 3px solid rgba(250, 204, 21, 0.35);
}
.dq-root .dq-line--npc .dq-line__bubble {
    position: relative;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 165, 0.22);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(0, 200, 165, 0.16), transparent 55%),
        radial-gradient(140% 160% at 100% 0%, rgba(94, 234, 212, 0.10), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 0 26px rgba(0, 200, 165, 0.10);
    overflow: hidden;
}
.dq-root .dq-line--npc .dq-line__bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.045) 0px,
            rgba(255, 255, 255, 0.045) 1px,
            rgba(255, 255, 255, 0.0) 4px,
            rgba(255, 255, 255, 0.0) 8px
        );
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
}
.dq-root .dq-line--npc .dq-line__bubble::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 70%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.14), transparent);
    transform: rotate(18deg);
    opacity: 0.55;
    pointer-events: none;
}
.dq-root .dq-line--npc .dq-prefix {
    color: rgba(94, 234, 212, 0.95);
    text-shadow: 0 0 14px rgba(0, 200, 165, 0.28);
}
.dq-root .dq-line--npc .dq-text {
    color: rgba(244, 244, 245, 0.95);
}

.dq-root .dq-line--you .dq-line__bubble {
    position: relative;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(250, 204, 21, 0.18);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(250, 204, 21, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 0 22px rgba(250, 204, 21, 0.06);
}
.dq-root .dq-line--you .dq-prefix {
    color: rgba(250, 204, 21, 0.9);
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.16);
}

/* Фракционный цвет реплик игрока */
.corsair-theme .dq-root .dq-line--you {
    border-left-color: rgba(0, 200, 165, 0.35);
}
.corsair-theme .dq-root .dq-line--you .dq-line__bubble {
    border-color: rgba(0, 200, 165, 0.20);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(0, 200, 165, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 0 22px rgba(0, 200, 165, 0.08);
}
.corsair-theme .dq-root .dq-line--you .dq-prefix {
    color: rgba(94, 234, 212, 0.95);
    text-shadow: 0 0 14px rgba(0, 200, 165, 0.22);
}
.dq-root .dq-prefix {
    font-family: 'Russo One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-right: 0.35rem;
}
.dq-root .dq-text {
    color: rgba(244, 244, 245, 0.92);
}
.dq-root .dq-opt {
    display: block;
    width: 100%;
    text-align: left;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 0.85rem 1rem;
    cursor: pointer;
    color: #e4e4e7;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(39, 39, 42, 0.9);
    border-radius: 6px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.dq-root .dq-opt:hover {
    border-color: rgba(0, 200, 165, 0.65);
    background: rgba(0, 200, 165, 0.08);
    box-shadow: 0 0 18px rgba(0, 200, 165, 0.12);
}

/* Сильнее показать, что кнопка сабмита отключена */
.dq-root .dq-submit:disabled {
    opacity: 0.35 !important;
    filter: grayscale(0.3);
    cursor: not-allowed;
}
/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 1rem;
  pointer-events: none;
}
.cookie-consent.hidden { display: none !important; }
.cookie-consent__panel {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0, 200, 165, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cookie-consent__panel {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}
.cookie-consent__meta {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.75);
}
.cookie-consent__text {
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #a1a1aa;
  text-transform: none;
  letter-spacing: 0.02em;
}
.cookie-consent__text a { color: #5eead4; text-decoration: underline; }
.cookie-consent__btn {
  flex-shrink: 0;
  padding: 0.7rem 1rem;
  border: 2px solid #2dd4bf;
  background: #2dd4bf;
  color: #041016;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-consent__btn:hover { filter: brightness(1.08); }

/* Dashboard 2FA HUD card */
.dash-2fa-card .dash-2fa-badge {
  display: inline-block;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(113, 113, 122, 0.55);
  color: #a1a1aa;
  background: rgba(24, 24, 27, 0.7);
}
.dash-2fa-card .dash-2fa-badge--on {
  border-color: rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
}
.dash-2fa-card .dash-2fa-badge--off {
  border-color: rgba(113, 113, 122, 0.55);
  color: #a1a1aa;
}
.dash-2fa-card .dash-2fa-sysfail {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.65rem 0.75rem;
}
.dash-2fa-card .dash-2fa-btn {
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #67e8f9;
  background: transparent;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.625rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.dash-2fa-card .dash-2fa-btn:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}
.dash-2fa-card .dash-2fa-btn--disabled,
.dash-2fa-card .dash-2fa-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  border-color: rgba(148, 163, 184, 0.35);
  color: #94a3b8;
}
.dash-2fa-card .dash-2fa-btn--disabled:hover,
.dash-2fa-card .dash-2fa-btn:disabled:hover {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: none;
}
