@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --bg: #0a0a0f;
    --surface: #13131a;
    --surface2: #1c1c27;
    --border: #252535;
    --accent: #f5a623;
    --accent2: #ff6b6b;
    --text: #e8e8f0;
    --muted: #7070a0;
    --radius: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

nav {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo em {
    font-style: normal;
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
    display: block;
    letter-spacing: 0;
    margin-top: -4px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
nav ul a {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: .55rem 1.4rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
nav ul a:hover { background: var(--surface2); border-color: var(--accent); color: var(--accent); }
nav ul a.active { background: var(--surface2); border-color: var(--accent); color: var(--accent); }

/* ── MAIN ── */
main { max-width: 1140px; margin: 0 auto; padding: 1rem 2rem 2rem; }

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 1.25rem 1rem 1rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,166,35,.1);
    border: 1px solid rgba(245,166,35,.25);
    color: var(--accent);
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: 100px;
    margin-bottom: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem;
}

.hero p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-stat strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
}
.hero-stat span {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── CATEGORIES ── */
.categories {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.cat-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: .4rem .9rem;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.cat-btn:hover, .cat-btn.active {
    background: rgba(245,166,35,.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── FACTS GRID ── */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── CAROUSEL ── */
.carousel-wrapper {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s, opacity .2s;
    opacity: 0.25;
    pointer-events: none;
}
.carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

.facts-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.facts-grid::-webkit-scrollbar { display: none; }

.fact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 0 0 320px;
    scroll-snap-align: start;
}
.fact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(245,166,35,.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .25s;
}
.fact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,166,35,.4);
    box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(245,166,35,.1);
}
.fact-card:hover::before { opacity: 1; }

.fact-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface2);
    position: relative;
}
.fact-img-placeholder {
    height: 190px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.fact-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.fact-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}
.fact-category {
    font-size: .72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    background: rgba(245,166,35,.1);
    padding: .2rem .6rem;
    border-radius: 100px;
}
.fact-num { font-size: .72rem; color: var(--muted); }

.fact-body p {
    line-height: 1.55;
    color: #c8c8d8;
    font-size: .95rem;
    flex: 1;
}

.fact-arrow {
    margin-top: 1rem;
    color: var(--muted);
    font-size: .82rem;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: color .2s;
}
.fact-card:hover .fact-arrow { color: var(--accent); }

/* ── FACT PAGE ── */
.fact-page { max-width: 780px; margin: 0 auto; padding: 1.25rem 0 2rem; }

.fact-page-header {
    margin: .75rem 0 .75rem;
}
.fact-page-header .fact-category {
    font-size: .72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}
.fact-page-header h1 {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-top: .4rem;
}

.fact-hero-img {
    width: 100%;
    border-radius: var(--radius);
    margin: .75rem 0;
    max-height: 360px;
    object-fit: cover;
}

.fact-detail-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin: .75rem 0;
    color: #bbbbd0;
    line-height: 1.7;
    font-size: .95rem;
}

.fact-source { margin: .5rem 0; }
.fact-source a {
    color: var(--muted);
    font-size: .82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.fact-source a:hover { color: var(--accent); }

.share-row {
    display: flex;
    gap: .6rem;
    margin: .75rem 0;
    flex-wrap: wrap;
}
.share-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: .45rem .9rem;
    border-radius: 8px;
    font-size: .82rem;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .85rem;
    padding: .4rem .8rem;
    border-radius: 8px;
    transition: all .2s;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-back:hover { color: var(--text); border-color: var(--muted); }

/* ── GAME ── */
.game-section { max-width: 720px; margin: 0 auto; padding: 2.5rem 0; }

.game-header { text-align: center; margin-bottom: 3rem; }
.game-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.game-subtitle { color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }

.game-progress-bar {
    background: var(--surface2);
    border-radius: 100px;
    height: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.game-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 100px;
    transition: width .4s ease;
}

.game-round-label {
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.game-round { display: flex; flex-direction: column; gap: 1rem; }

.game-btn {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    line-height: 1.55;
    transition: all .25s;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.game-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,166,35,.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .2s;
}
.game-btn:hover:not(:disabled) {
    border-color: rgba(245,166,35,.5);
    background: var(--surface2);
    transform: scale(1.01);
}
.game-btn:hover:not(:disabled)::before { opacity: 1; }

.game-btn.correct {
    border-color: #4caf50;
    background: rgba(76,175,80,.08);
    color: #81c784;
}
.game-btn.wrong {
    border-color: #f44336;
    background: rgba(244,67,54,.08);
    color: #e57373;
}
.game-btn:disabled { cursor: default; transform: none; }

.game-indicator {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}

#game-result {
    text-align: center;
    padding: 3rem 0;
}
.result-emoji { font-size: 4rem; margin-bottom: 1rem; }
#game-result h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.result-sub { color: var(--muted); margin-bottom: 2rem; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: .95rem;
    padding: .75rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
    font-family: inherit;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }

/* ── UTILS ── */
.hidden { display: none !important; }
.empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    font-size: 1rem;
}

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 2.5rem;
    color: var(--muted);
    font-size: .82rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */

/* ── Планшет (641–1024px) ── */
@media (max-width: 1024px) {
    main { padding: 1rem 1.5rem 2rem; }

    .fact-card { flex: 0 0 300px; }

    /* Grid mode — 2 колонки */
    .facts-grid.grid-mode {
        grid-template-columns: repeat(2, 1fr);
    }
    .facts-grid.grid-mode .fact-card {
        flex: unset;
    }

    .hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

    .game-section { padding: 1.5rem 0; }
}

/* ── Мобильный (≤640px) ── */
@media (max-width: 640px) {
    /* Шапка */
    header { padding: 0 1rem; }

    nav {
        flex-wrap: wrap;
        height: auto;
        padding: .6rem 0;
        gap: .5rem;
        justify-content: space-between;
        position: static;
    }

    .logo { font-size: 1.05rem; }
    .logo em { font-size: .65rem; }

    nav ul {
        position: static;
        transform: none;
        order: 2;
        width: 100%;
        justify-content: center;
        gap: .4rem;
        padding-bottom: .2rem;
    }

    nav ul a {
        font-size: .82rem;
        padding: .4rem 1rem;
    }

    /* Основной контейнер */
    main { padding: .75rem 1rem 2rem; }

    /* Hero */
    .hero { padding: .75rem .5rem .75rem; }
    .hero-badge { font-size: .65rem; padding: .2rem .6rem; margin-bottom: .5rem; }
    .hero h1 { font-size: 1.55rem; margin-bottom: .35rem; }
    .hero p { font-size: .88rem; margin-bottom: .75rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat strong { font-size: 1.1rem; }
    .hero-stat span { font-size: .68rem; }

    /* Категории — горизонтальный скролл */
    .categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: .4rem;
        padding-bottom: 4px;
        margin-bottom: .75rem;
    }
    .categories::-webkit-scrollbar { display: none; }
    .cat-btn { flex-shrink: 0; font-size: .75rem; padding: .35rem .75rem; }

    /* Секция */
    .section-title { font-size: .95rem; margin-bottom: .75rem; }

    /* Карусель — карточки на весь экран */
    .carousel-wrapper { margin: 0 -1rem; }
    .facts-grid { padding: 0 1rem 4px; }
    .fact-card { flex: 0 0 calc(100vw - 3rem); }

    /* Стрелки скрываем на мобиле (свайп пальцем) */
    .carousel-arrow { display: none !important; }

    /* Grid mode — 1 колонка */
    .facts-grid.grid-mode {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    /* Картинка в карточке */
    .fact-img, .fact-img-placeholder { height: 160px; }

    /* Кнопка показать ещё */
    .show-more-btn { font-size: .88rem; padding: .65rem 1rem; margin: .75rem 0 0; }

    /* Страница факта */
    .fact-page { padding: .75rem 0 1.5rem; }
    .fact-page-header h1 { font-size: 1.25rem; }
    .fact-hero-img { max-height: 220px; margin: .5rem 0; }
    .fact-detail-box { padding: .75rem 1rem; font-size: .88rem; }
    .share-row { gap: .4rem; }
    .share-btn { font-size: .78rem; padding: .4rem .7rem; }
    .btn-primary { font-size: .88rem; padding: .6rem 1.2rem; }

    /* Игра */
    .game-section { padding: 1rem 0; }
    .game-header h1 { font-size: 1.6rem; }
    .game-subtitle { font-size: .9rem; }
    .game-btn { font-size: .9rem; padding: 1rem 1.2rem; }
    #game-result h2 { font-size: 1.4rem; }
    .result-emoji { font-size: 3rem; }

    /* Футер */
    footer { padding: 1.5rem 1rem; font-size: .75rem; margin-top: 2rem; }
}

/* ── Маленький мобильный (≤380px) ── */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.35rem; }
    .fact-card { flex: 0 0 calc(100vw - 2rem); }
    nav ul a { padding: .35rem .75rem; font-size: .78rem; }
}

/* ── MANDELA EFFECT BADGE ── */
.mandela-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(155,89,182,.15);
    border: 1px solid rgba(155,89,182,.35);
    color: #c39bd3;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fact-card[data-mandela="true"] {
    border-color: rgba(155,89,182,.3);
}
.fact-card[data-mandela="true"]:hover {
    border-color: rgba(155,89,182,.7);
    box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(155,89,182,.2);
}

.fact-card[data-mandela="true"] .fact-category {
    background: rgba(155,89,182,.15);
    color: #c39bd3;
}

/* ── SHOW MORE ── */
.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: 1.25rem;
    padding: .75rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.show-more-btn:hover {
    background: var(--surface2);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── GRID MODE (после Show More) ── */
.facts-grid.grid-mode {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    overflow-x: visible;
    flex-wrap: unset;
    scroll-snap-type: none;
}
.facts-grid.grid-mode .fact-card {
    flex: unset;
}

/* ── ARTICLES ── */
.articles-list { max-width: 1140px; margin: 0 auto; padding: 1.5rem 0; }
.articles-title { font-size: 2rem; font-weight: 800; margin-bottom: .4rem; }
.articles-subtitle { color: var(--muted); margin-bottom: 2rem; }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,166,35,.4);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.article-img { height: 180px; background-size: cover; background-position: center; }
.article-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.article-body h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.article-body p { color: var(--muted); font-size: .88rem; line-height: 1.5; flex: 1; }

/* ── ARTICLE PAGE ── */
.article-page { max-width: 780px; margin: 0 auto; padding: 1.25rem 0 2rem; }
.article-header { margin: .75rem 0 1rem; }
.article-header h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; line-height: 1.3; margin: .4rem 0 .5rem; }
.article-lead { color: var(--muted); font-size: 1rem; }

.article-content { line-height: 1.75; font-size: .98rem; color: #d0d0e0; }
.article-content h2 { font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0 .75rem; color: var(--text); }
.article-content p { margin-bottom: .9rem; }
.article-content ul { padding-left: 1.5rem; margin-bottom: .9rem; }
.article-content li { margin-bottom: .4rem; }
.article-content strong { color: var(--text); }

/* ── INTERESTING BLOCK ── */
.interesting-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 1rem;
}
.interesting-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.interesting-lead {
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 1rem;
}
.interesting-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.interesting-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .6rem 1rem;
    text-decoration: none;
    color: var(--text);
    font-size: .88rem;
    flex: 1 1 180px;
    transition: border-color .2s, background .2s;
}
.interesting-card:hover {
    border-color: var(--accent);
    background: rgba(245,166,35,.08);
}
.interesting-domain { font-weight: 600; color: var(--text); }
.interesting-cta { color: var(--accent); font-size: .8rem; white-space: nowrap; }

@media (max-width: 640px) {
    .articles-grid { grid-template-columns: 1fr; }
    .interesting-grid { flex-direction: column; }
    .interesting-card { flex: 1 1 auto; }
}

/* ── AGE GATE ── */
#age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.ag-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,.8);
}

.ag-icon { font-size: 3rem; margin-bottom: 1rem; }

.ag-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .75rem;
    color: var(--text);
}

.ag-box p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.ag-btns {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.ag-yes {
    flex: 1;
    padding: .85rem 1rem;
    background: linear-gradient(135deg, var(--accent), #e09010);
    color: #000;
    font-weight: 800;
    font-size: .95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .2s, transform .2s;
    letter-spacing: .02em;
}
.ag-yes:hover { opacity: .9; transform: translateY(-1px); }

.ag-no {
    flex: 1;
    padding: .85rem 1rem;
    background: var(--surface2);
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s;
}
.ag-no:hover { background: var(--border); color: var(--text); }

.ag-warn {
    font-size: .75rem !important;
    color: #555 !important;
    margin: 0 !important;
}

@media (max-width: 480px) {
    .ag-box { padding: 2rem 1.25rem; }
    .ag-btns { flex-direction: column; }
}
