/* alexandercroft.com/archetype (Тильда) → /brand/archetype/: CSS оригинала дословно, обёрнут в .archetype (nesting) — ничего не утекает в шапку/подвал хаба и наоборот. Правки: цвета → палитра хаба (tokens.css), Inter → Golos Text, self-hosted Vipnagorgialla и Space Mono. */
@font-face {
    font-family: 'Vipnagorgialla';
    src: url('/archetype/fonts/vipnagorgialla-rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-vietnamese-400-normal-1ab5cb.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-latin-ext-400-normal-b4f904.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-latin-400-normal-e0c8e6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-vietnamese-700-normal-e9c42e.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-latin-ext-700-normal-512458.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/archetype/fonts/space-mono-latin-700-normal-af7cf6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.archetype {
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Отмена того, что Tailwind preflight и утилиты хаба (tokens.css) навязывают внутри обёртки:
   h1..h6{font-weight:inherit} обесжирнял «Ваши результаты», img{max-width:100%} и утилита
   .container{max-width:48rem} резали карточку 920px до 768px на ширинах 960-1023. */
h1, h2, h3, h4, h5, h6 {
    font-weight: revert;
}

img {
    max-width: none;
}

.container {
    max-width: none;
}

& {
    font-synthesis: weight style; /* tokens.css хаба ставит none — пропадал faux bold Vipnagorgialla (700/900 при одном начертании) */
    line-height: normal; /* Tailwind preflight ставит html{line-height:1.5}; оригинал жил на normal, от этого разъезжались высоты кнопок и строк */
    font-family: 'Golos Text', 'Segoe UI', sans-serif;
    background: var(--ink);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden; /* было overflow-x: hidden на body: у обёртки это дало бы вертикальный скролл от ::before-полос */
}

/* На экранах < 960px — убираем серую подложку, белый фон на всю страницу */
@media (max-width: 959px) {
    & {
        background: var(--bg);
        padding: 0;
        display: block;
    }
    &::before { display: none; }
}

/* Диагональные полосы на фоне */
&::before {
    content: '';
    position: absolute; /* было fixed: внутри обёртки полосы не должны накрывать шапку и подвал хаба */
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 14px,
        rgba(255,255,255,0.04) 14px,
        rgba(255,255,255,0.04) 16px
    );
    pointer-events: none;
    z-index: 0;
}

.container {
    background: var(--bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgb(10 10 10 / .5);
    width: 920px;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Планшет 480–959px */
@media (max-width: 959px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }
    .intro-right { display: none !important; }
    .intro-screen {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        margin: 0 !important;
        clip-path: none !important;
        min-height: auto !important;
    }
    .intro-left {
        padding: 28px !important;
        padding-top: 36px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .intro-screen h1 { font-size: 28px; letter-spacing: -0.5px; }
    .btn-start { font-size: 12px; letter-spacing: 3px; }
    .qs-header { padding: 24px 28px 18px; }
    .qs-body { padding: 28px 28px 24px; }
    .qs-nav { padding: 18px 28px; }
}

/* Мобилка < 480px */
@media (max-width: 479px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }
    .intro-screen {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        margin: 0 !important;
        clip-path: none !important;
        min-height: auto !important;
    }
    .intro-right { display: none !important; }
    .intro-left {
        padding: 20px !important;
        padding-top: 32px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .intro-screen h1 { font-size: 14px; letter-spacing: 0; line-height: 1.2; margin-bottom: 12px; }
    .intro-subtitle { font-size: 12px; }
    .intro-instruction-list li { font-size: 13px; line-height: 1.7; }
    .btn-start { font-size: 11px; letter-spacing: 2.5px; padding: 16px 20px; width: 100% !important; box-sizing: border-box; }
    .qs-header { padding: 18px 16px 14px; }
    .qs-body { padding: 20px 16px 16px; }
    .qs-nav { padding: 14px 16px; }
    .qs-btn { font-size: 11px; letter-spacing: 2px; padding: 14px 16px; }
    .qs-btn-prev { min-width: 100px; }
    .answer-option { padding: 14px 16px; }
    .arch-row { grid-template-columns: 80px 1fr 26px; gap: 8px; }
    .arch-name { font-size: 11px; }
    .arch-name.top-arch { font-size: 12px; }
    .btn-restart { width: 100%; letter-spacing: 2.5px; font-size: 11px; padding: 16px 20px; }
    .results-header { padding: 24px 20px 16px; }
    #results-screen #archetypes-bars { padding: 0 20px; }
    #results-screen .btn-restart { margin: 20px 20px 24px; width: calc(100% - 40px); }
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 16px;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-text {
    text-align: center;
    color: #667eea;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.question-container {
    margin-bottom: 30px;
}

.question-text {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.answer-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.answer-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #667eea;
}

.answer-option label {
    cursor: pointer;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-prev {
    background: #e0e0e0;
    color: #666;
}

.btn-prev:hover:not(:disabled) {
    background: #d0d0d0;
}

.btn-next, .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-next:hover:not(:disabled), .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ══ RESULTS SCREEN ══ */
.results-header {
    text-align: center;
    margin: 0;
    padding: 32px 40px 32px;
}

.results-header h2 {
    font-family: 'Vipnagorgialla', 'Golos Text', sans-serif;
    font-size: 28px;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.results-header p {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* Строка архетипа */
.arch-row {
    display: grid;
    grid-template-columns: 130px 1fr 36px;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.arch-name {
    font-family: 'Golos Text', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-3);
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 479px) {
    .arch-row {
        grid-template-columns: 90px 1fr 28px;
        gap: 10px;
    }
    .arch-name {
        font-size: 11px;
        white-space: normal;
        line-height: 1.3;
    }
}

.arch-name.top-arch {
    font-weight: 800;
    color: var(--ink);
    font-size: 14px;
}

@media (max-width: 479px) {
    .arch-name.top-arch { font-size: 12px; }
}

/* Neumorphic bar track */
.arch-bar-track {
    height: 14px;
    background: var(--line);
    border-radius: 100px;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px rgb(10 10 10 / .14), inset -1px -1px 3px rgba(255,255,255,0.9);
}

.arch-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--ink-3) 0%, #9A9A9A 100%);
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}

.arch-bar-fill.top-fill {
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
    box-shadow: 2px 0 10px rgb(10 10 10 / .35);
}

.arch-score {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--ink-3);
    text-align: right;
}

.arch-score.top-score {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.btn-restart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px auto 28px;
    /* Авто-ширина: текст + паддинги, не переносится */
    width: auto;
    white-space: nowrap;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 0;
    padding: 20px 36px;
    font-family: 'Vipnagorgialla', 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
    transition: background 0.15s;
}

.btn-restart:hover { background: #2a2a2a; }

/* Центрирование кнопки внутри блока */
#results-screen {
    display: block;
    text-align: center;
}

#results-screen #archetypes-bars {
    width: 100%;
    text-align: left;
    padding: 0 40px;
}

@media (max-width: 479px) {
    .btn-restart {
        width: 100%;
        justify-content: center;
        padding: 18px 20px;
        letter-spacing: 3px;
    }
}

/* ========== INTRO SCREEN — PIXEL-PERFECT REDESIGN ========== */
.intro-screen {
    display: grid;
    grid-template-columns: 1fr 308px;
    min-height: 480px;
    margin: 0;
    position: relative;
    /* Chamfered corners + top-right diagonal notch */
    clip-path: polygon(
        0 16px,
        16px 0,
        calc(100% - 58px) 0,
        100% 58px,
        100% calc(100% - 16px),
        calc(100% - 16px) 100%,
        16px 100%,
        0 calc(100% - 16px)
    );
    overflow: hidden;
}

/* ── LEFT COLUMN ── */
.intro-left {
    background: var(--bg);
    padding: 44px 36px 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.intro-screen h1 {
    font-family: 'Vipnagorgialla', 'Golos Text', sans-serif;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.intro-subtitle {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 2px;
}

.intro-divider {
    width: 100%;
    height: 1px;
    background: var(--ink);
    margin: 18px 0 18px 0;
}

.intro-instruction-title {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink);
    margin-bottom: 12px;
}

.intro-instruction-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.intro-instruction-list li {
    font-family: 'Golos Text', sans-serif;
    font-size: 13px;
    line-height: 1.85;
    color: var(--ink);
}

/* ПРИСТУПИТЬ button */
.btn-start {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 0;
    padding: 20px 28px;
    font-family: 'Vipnagorgialla', 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    width: 80%;
    transition: background 0.15s;
    flex-shrink: 0;
    /* Срезанный нижний правый угол */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.btn-start:hover {
    background: #2a2a2a;
}

.btn-start .arrow {
    font-size: 16px;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-start:hover .arrow {
    transform: translateX(4px);
}

/* ── RIGHT COLUMN ── */
.intro-right {
    background: var(--bg);
    position: relative;
    overflow: visible;
}

/* "// TEST ✓" logo */
.intro-logo {
    font-family: 'Vipnagorgialla', 'Golos Text', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-align: right;
    z-index: 20;
    position: absolute;
    top: 62px;
    right: 64px;
}

.intro-logo .slash { color: var(--ink); }

/* Image container — абсолютно центрировано внутри правой колонки */
.intro-img-placeholder {
    position: absolute;
    top: 50%;
    right: 44px;
    transform: translateY(-50%);
    width: 260px;
}

.intro-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* HUD overlay elements */
.hud-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

/* Corner accent marks */
.hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
}

.hud-corner-tl { top: 14px; left: 14px; border-top: 1.5px solid rgba(255,255,255,0.45); border-left: 1.5px solid rgba(255,255,255,0.45); }
.hud-corner-tr { top: 14px; right: 14px; border-top: 1.5px solid rgba(255,255,255,0.45); border-right: 1.5px solid rgba(255,255,255,0.45); }
.hud-corner-bl { bottom: 14px; left: 14px; border-bottom: 1.5px solid rgba(255,255,255,0.45); border-left: 1.5px solid rgba(255,255,255,0.45); }
.hud-corner-br { bottom: 14px; right: 14px; border-bottom: 1.5px solid rgba(255,255,255,0.45); border-right: 1.5px solid rgba(255,255,255,0.45); }

/* Top HUD bar */
.hud-top {
    position: absolute;
    top: 36px;
    left: 14px;
    right: 14px;
}

.hud-title-text {
    font-family: 'Space Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,0.18);
    letter-spacing: -2px;
    line-height: 1;
    display: block;
}

.hud-divider-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 0;
}

/* Bottom HUD info strip */
.hud-bottom {
    position: absolute;
    bottom: 36px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hud-bottom-label {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: rgba(255,255,255,0.28);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.6;
}

/* Vertical side label */
.hud-side-label {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Diagonal hatch strip on far right edge */
.intro-hatch {
    position: absolute;
    right: 0;
    top: 0;
    width: 16px;
    height: 100%;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 3px,
        rgba(255,255,255,0.05) 3px,
        rgba(255,255,255,0.05) 5px
    );
    z-index: 5;
}

/* Horizontal data line mid-image */
.hud-mid-line {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    height: 1px;
    background: rgba(255,255,255,0.07);
}

.hud-circle {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

@media (min-width: 960px) and (max-width: 1200px) {
    .intro-screen h1 { font-size: 30px; }
}

@media (max-width: 768px) {
    .header h1 { font-size: 24px; }
    .question-text { font-size: 18px; }
}

/* ══════════════════════════════════════
QUESTION SCREEN
══════════════════════════════════════ */

/* Шапка с прогрессом */
.qs-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 28px 40px 20px;
    border-bottom: 1px solid var(--line);
}

.qs-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    width: 120px;
}

.qs-counter-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-3);
}

.qs-counter-num {
    font-family: 'Vipnagorgialla', 'Golos Text', sans-serif;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Neumorphic progress bar */
.qs-progress-bar {
    flex: 1;
    height: 12px;
    background: var(--line);
    border-radius: 100px;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px rgb(10 10 10 / .15), inset -1px -1px 3px rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.qs-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
    border-radius: 100px;
    transition: width 0.4s ease;
    width: 0%;
    box-shadow: 2px 0 8px rgb(10 10 10 / .35);
}

#test-screen {
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

/* Тело вопроса */
.qs-body {
    padding: 44px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qs-question {
    font-family: 'Vipnagorgialla', 'Golos Text', sans-serif;
    font-size: 22px;
    color: var(--ink);
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin-bottom: 36px;
    max-width: 680px;
    /* Фиксируем высоту на 4 строки — не прыгает */
    min-height: calc(22px * 1.35 * 4);
}

/* Варианты ответов */
.qs-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Инлайн подсказка */
#answer-hint {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
}

.answer-option:hover {
    border-color: var(--ink);
    background: var(--bg-soft);
}

.answer-option.selected {
    border-color: var(--ink);
    background: var(--line);
}

.answer-option.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ink);
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option label {
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    font-size: 15px;
    color: var(--ink);
    flex: 1;
    line-height: 1.4;
}

/* Навигация */
.qs-nav {
    display: flex;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    padding: 20px 40px;
}

.qs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: var(--ink);
    color: var(--bg);
    font-family: 'Vipnagorgialla', 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 18px 28px;
    transition: background 0.15s;
}

/* Кнопка ДАЛЕЕ — срезан нижний правый угол (как ПРИСТУПИТЬ) */
.qs-btn-next {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    flex: 1;
    justify-content: flex-end;
}

/* Кнопка НАЗАД — зеркальная: срезан нижний ЛЕВЫЙ угол */
.qs-btn-prev {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    flex: 0 0 auto;
    min-width: 160px;
    background: var(--bg-soft);
    color: var(--ink-2);
    justify-content: flex-start;
}

.qs-btn:hover:not(:disabled) {
    background: #2a2a2a;
    color: var(--bg);
}

.qs-btn-prev:hover:not(:disabled) {
    background: var(--line);
    color: var(--ink);
}

.qs-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.qs-btn-arrow {
    font-size: 15px;
}

@media (max-width: 680px) {
    .qs-header { padding: 20px 25px 16px; }
    .qs-body { padding: 28px 25px 24px; }
    .qs-question { font-size: 18px; min-height: calc(18px * 1.35 * 4); }
    .qs-nav { padding: 16px 25px; gap: 8px; }
    .qs-btn { font-size: 11px; letter-spacing: 2px; padding: 16px 18px; }
    .qs-btn-prev { min-width: 120px; }
    .intro-screen h1 { font-size: 22px; letter-spacing: -0.5px; line-height: 1.15; }
    .btn-start { width: 100%; justify-content: center; }
}

/* На полной мобилке (< 480px) — корректируем отступы под padding: 24px 20px */
@media (max-width: 479px) {
    .qs-header { padding: 18px 20px 14px; }
    .qs-body { padding: 20px 20px 16px; }
    .qs-nav { padding: 14px 20px; }
    .qs-btn { font-size: 11px; letter-spacing: 2px; padding: 14px 16px; }
    .qs-btn-prev { min-width: 100px; }
    .arch-row { grid-template-columns: 80px 1fr 26px; gap: 8px; }
    .arch-name { font-size: 11px; }
    .arch-name.top-arch { font-size: 12px; }
    .btn-restart { width: 100%; letter-spacing: 2.5px; font-size: 11px; padding: 16px 20px; }
}

/* Управление видимостью экранов — должно быть последним */
.hidden { display: none !important; }
#test-screen.hidden { display: none !important; }
#results-screen.hidden { display: none !important; }
#intro-screen.hidden { display: none !important; }
}
