/* ===========================================================================
   МОЛОДЁЖКА — огненный молодёжный стиль
   =========================================================================== */
:root {
    --bg:        #120402;
    --bg-2:      #1c0805;
    --ink:       #fff4ee;
    --ink-soft:  #f0c9b6;
    --muted:     #b58a78;

    --fire-1:    #ff3d1f;   /* красно-оранжевый */
    --fire-2:    #ff6a00;   /* оранжевый */
    --fire-3:    #ffb347;   /* золото */
    --ember:     #ff8a3d;

    --glass:        rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 138, 61, 0.22);
    --danger:       #ff5b5b;
    --ok:           #3ddc84;

    --radius:    20px;
    --radius-sm: 13px;
    --shadow:    0 24px 60px -28px rgba(255, 80, 0, 0.55);
    --maxw:      1160px;
    --ease:      cubic-bezier(.22, 1, .36, 1);

    --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
    --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 700px at 50% -10%, #5a1402 0%, transparent 60%),
        radial-gradient(900px 600px at 90% 10%, #7a1c00 0%, transparent 55%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.55;
    overflow-x: hidden;
    position: relative;
}

a { color: var(--fire-3); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.accent {
    background: linear-gradient(90deg, var(--fire-2), var(--fire-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Фоновые угольки ───────────────────────────────────────────────────── */
.bg-flames { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ember {
    position: absolute; bottom: -40px; width: 10px; height: 10px; border-radius: 50%;
    background: radial-gradient(circle, var(--fire-3), var(--fire-1));
    filter: blur(1px); opacity: 0; animation: rise linear infinite;
}
.ember.e1 { left: 8%;  width: 7px;  animation-duration: 11s; animation-delay: 0s; }
.ember.e2 { left: 22%; width: 12px; animation-duration: 15s; animation-delay: 2s; }
.ember.e3 { left: 37%; width: 6px;  animation-duration: 9s;  animation-delay: 4s; }
.ember.e4 { left: 51%; width: 14px; animation-duration: 17s; animation-delay: 1s; }
.ember.e5 { left: 64%; width: 8px;  animation-duration: 12s; animation-delay: 5s; }
.ember.e6 { left: 76%; width: 11px; animation-duration: 14s; animation-delay: 3s; }
.ember.e7 { left: 88%; width: 6px;  animation-duration: 10s; animation-delay: 6s; }
.ember.e8 { left: 95%; width: 9px;  animation-duration: 16s; animation-delay: 2.5s; }
@keyframes rise {
    0%   { transform: translateY(0) scale(1);   opacity: 0; }
    12%  { opacity: .9; }
    80%  { opacity: .7; }
    100% { transform: translateY(-108vh) scale(.3); opacity: 0; }
}

/* ── Контейнеры/секции ─────────────────────────────────────────────────── */
section { position: relative; z-index: 1; padding: 84px 22px; }
.section-title {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(28px, 5vw, 46px); letter-spacing: .5px;
    text-align: center; margin-bottom: 34px;
}

/* ── Топбар ────────────────────────────────────────────────────────────── */
.topbar {
    position: sticky; top: 0; z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(18, 4, 2, 0.6);
    border-bottom: 1px solid var(--glass-border);
}
.topbar-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    font-family: var(--font-display); font-weight: 700; letter-spacing: 1px;
    font-size: 22px; text-transform: uppercase;
    background: linear-gradient(90deg, var(--fire-3), var(--fire-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar-cta {
    font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px;
    color: #fff; background: linear-gradient(90deg, var(--fire-2), var(--fire-1));
    text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s;
    box-shadow: 0 8px 22px -10px var(--fire-1);
}
.topbar-cta:hover { transform: translateY(-2px); text-decoration: none; }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100svh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 110px 22px 90px; overflow: hidden;
}
.hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(620px 420px at 50% 38%, rgba(255,106,0,.35), transparent 70%);
    animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
.hero-inner { position: relative; z-index: 2; max-width: 920px; }

.hero-kicker {
    font-family: var(--font-display); letter-spacing: 5px; text-transform: uppercase;
    font-size: clamp(12px, 2.4vw, 16px); color: var(--ink-soft); margin-bottom: 8px;
}
.hero-title {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    /* размер подобран так, чтобы слово ЦЕЛИКОМ влезало на любом экране */
    font-size: clamp(40px, 12.5vw, 132px); line-height: .92; letter-spacing: -1px;
    max-width: 100%; white-space: nowrap;
    background: linear-gradient(180deg, #ffd6a0 0%, var(--fire-2) 45%, var(--fire-1) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 60px rgba(255, 90, 0, .35);
    filter: drop-shadow(0 12px 30px rgba(255, 60, 0, .4));
}
.hero-tagline {
    margin: 18px 0 6px; display: flex; flex-direction: column; gap: 2px;
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
    font-size: clamp(16px, 3.2vw, 26px); letter-spacing: 2px; color: var(--ink);
}
.hero-tagline span:last-child { color: var(--fire-3); }

.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.chip {
    padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
    background: var(--glass); border: 1px solid var(--glass-border); color: var(--ink);
    backdrop-filter: blur(6px);
}
.chip-fire { background: linear-gradient(90deg, var(--fire-2), var(--fire-1)); border-color: transparent; color: #fff; }

/* Обратный отсчёт */
.countdown { display: flex; gap: 12px; justify-content: center; margin: 30px 0 4px; flex-wrap: wrap; }
.cd-cell {
    min-width: 76px; padding: 14px 10px; border-radius: var(--radius-sm);
    background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(8px);
}
.cd-cell b {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(26px, 5vw, 38px); line-height: 1; color: var(--fire-3);
    font-variant-numeric: tabular-nums;
}
.cd-cell span { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 520px; margin-inline: auto; }

/* Подсказка скролла */
.scroll-hint {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid var(--glass-border); border-radius: 14px; z-index: 2;
}
.scroll-hint span {
    position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 2px;
    background: var(--fire-3); transform: translateX(-50%); animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ── Кнопки ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 800; font-size: 16px; padding: 15px 30px; border-radius: 999px;
    border: none; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .25s, filter .2s;
    font-family: var(--font-body);
}
.btn-primary {
    color: #fff; background: linear-gradient(95deg, var(--fire-3), var(--fire-2) 45%, var(--fire-1));
    background-size: 180% 100%; box-shadow: 0 14px 34px -12px var(--fire-1);
}
.btn-primary:hover { transform: translateY(-3px); background-position: 100% 0; text-decoration: none; }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
    color: var(--ink); background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--ember); text-decoration: none; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .btn-label { opacity: .6; }

/* ── Фишки ─────────────────────────────────────────────────────────────── */
.features-grid {
    max-width: var(--maxw); margin: 0 auto; display: grid; gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}
.feature-card {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
    padding: 26px 20px; text-align: center; backdrop-filter: blur(6px);
    cursor: default; -webkit-tap-highlight-color: transparent;
}
.feature-ico { font-size: 34px; display: block; margin-bottom: 10px; }
.feature-card p { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; color: var(--ink-soft); }

/* ── О конференции ─────────────────────────────────────────────────────── */
.about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.about-text { font-size: clamp(16px, 2.4vw, 20px); color: var(--ink-soft); margin-bottom: 36px; }
.about-facts { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.fact {
    min-width: 180px; padding: 22px; border-radius: var(--radius);
    background: var(--glass); border: 1px solid var(--glass-border);
}
.fact b {
    display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px;
    background: linear-gradient(90deg, var(--fire-3), var(--fire-1));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact span { color: var(--muted); font-size: 14px; }

/* ── Спикеры ───────────────────────────────────────────────────────────── */
.speakers-grid { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.speaker-card {
    display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 18px;
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
    cursor: default; -webkit-tap-highlight-color: transparent; text-align: center;
}
/* Круглая аватарка (как в Telegram) */
.speaker-photo {
    position: relative; width: 132px; height: 132px; flex: none;
    border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--fire-2), var(--fire-1));
    box-shadow: 0 10px 26px -12px var(--fire-1);
}
.speaker-photo img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.speaker-initials {
    position: absolute; inset: 0; z-index: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 42px; color: #fff;
}
.speaker-body b { display: block; font-size: 18px; }
.speaker-body span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ── Форма регистрации ─────────────────────────────────────────────────── */
.register { padding-bottom: 60px; }
.register-card {
    max-width: 640px; margin: 0 auto; padding: 40px clamp(20px, 4vw, 44px);
    background: linear-gradient(180deg, rgba(40,12,6,.72), rgba(22,7,4,.82));
    border: 1px solid var(--glass-border); border-radius: 26px;
    box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.register-head { text-align: center; margin-bottom: 26px; }
.register-head h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 34px; }
.register-head p { color: var(--ink-soft); }

.reg-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.field-label .muted { font-weight: 500; }
.field input, .field textarea {
    width: 100%; padding: 14px 16px; font-size: 16px; font-family: var(--font-body);
    color: var(--ink); background: rgba(255,255,255,.04);
    border: 1.5px solid rgba(255,138,61,.25); border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #8d6a5b; }
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--fire-2); background: rgba(255,255,255,.07);
    box-shadow: 0 0 0 4px rgba(255,106,0,.16);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.field-hint { color: var(--ok); font-size: 13px; font-weight: 700; }
.field-hint.is-bad { color: var(--danger); }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--fire-2); }
.consent.has-error span { color: var(--danger); }

.form-banner {
    padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; margin-bottom: 18px;
}
.form-banner.error { background: rgba(255,91,91,.14); border: 1px solid rgba(255,91,91,.4); color: #ffb3b3; }

.register-help { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14px; }
.register-help a { font-weight: 700; }

/* Инструкция по возрасту у формы */
.reg-instruction {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px;
    padding: 14px 16px; border-radius: var(--radius-sm);
    background: rgba(255,138,61,.10); border: 1px solid var(--glass-border);
}
.reg-instruction-ico { font-size: 20px; line-height: 1.3; }
.reg-instruction b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.reg-instruction p { font-size: 13.5px; color: var(--ink-soft); }

.form-banner.ok { background: rgba(61,220,132,.14); border: 1px solid rgba(61,220,132,.4); color: #b7f5d2; }

/* ── Админ: панель синхронизации ───────────────────────────────────────── */
.small { font-size: 13px; }
.admin-panel {
    margin-top: 34px; padding: 28px; border: 1px solid var(--glass-border);
    border-radius: var(--radius); background: rgba(20,6,3,.6);
}
.panel-title { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; margin-bottom: 6px; }
.panel-lead { color: var(--ink-soft); margin-bottom: 22px; max-width: 720px; }
.panel-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.panel-box {
    display: flex; flex-direction: column; gap: 12px; padding: 22px;
    border: 1px solid var(--glass-border); border-radius: var(--radius-sm); background: rgba(255,255,255,.03);
}
.panel-box h3 { font-size: 17px; }
.panel-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px;
    border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-border);
    font-weight: 700; text-decoration: none; color: var(--ink); justify-content: center;
}
.panel-link:hover { border-color: var(--ember); text-decoration: none; }
.panel-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.panel-link-box { margin-top: 18px; }
.magic-link {
    display: block; word-break: break-all; padding: 12px 14px; border-radius: var(--radius-sm);
    background: rgba(0,0,0,.35); border: 1px solid var(--glass-border);
    font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; color: var(--fire-3);
}
.admin-panel .field input { font-size: 15px; padding: 12px 14px; }
.admin-panel .btn { font-size: 15px; padding: 13px 22px; }

/* Управление спикерами в админке */
.speakers-admin-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.speaker-edit {
    display: flex; gap: 16px; align-items: flex-start; padding: 16px;
    border: 1px solid var(--glass-border); border-radius: var(--radius-sm); background: rgba(255,255,255,.03);
}
.speaker-edit-avatar {
    width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--fire-2), var(--fire-1)); color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 24px;
}
.speaker-edit-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.speaker-edit-fields { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.speaker-edit-fields .field:nth-child(3) { grid-column: 1 / -1; }
.speaker-edit-actions { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.speaker-edit-actions .btn { padding: 11px 20px; font-size: 14px; }
.speaker-edit .btn-del { width: auto; height: auto; padding: 10px 18px; border-radius: 999px; font-size: 14px; }
.speaker-add { padding: 18px; border: 1px dashed var(--glass-border); border-radius: var(--radius-sm); }
.speaker-add h3 { font-size: 16px; margin-bottom: 12px; }
.speaker-add-row { display: flex; gap: 10px; flex-wrap: wrap; }
.speaker-add-row input {
    flex: 1; min-width: 150px; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255,138,61,.25); background: rgba(255,255,255,.04); color: var(--ink); font-size: 15px;
}
.speaker-add-row .btn { white-space: nowrap; }

/* ── Футер ─────────────────────────────────────────────────────────────── */
.site-footer {
    position: relative; z-index: 1; text-align: center; padding: 50px 22px 64px;
    border-top: 1px solid var(--glass-border); margin-top: 20px;
}
.footer-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 18px; }
.footer-contact { margin-top: 8px; color: var(--ink-soft); }
.footer-contact a { font-weight: 700; }
.footer-fine { margin-top: 14px; color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* ── Анимация появления ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.feature-card.reveal, .speaker-card.reveal, .fact.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .ember, .hero-glow, .scroll-hint span { animation: none; }
    html { scroll-behavior: auto; }
}

/* ── Страница «спасибо» ────────────────────────────────────────────────── */
.page-success { display: flex; }
.success-wrap { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 40px 22px; position: relative; z-index: 2; }
.success-card {
    max-width: 560px; width: 100%; text-align: center; padding: 46px clamp(24px,5vw,46px);
    background: linear-gradient(180deg, rgba(40,12,6,.8), rgba(22,7,4,.9));
    border: 1px solid var(--glass-border); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.success-card h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px,6vw,46px); margin: 18px 0 8px; }
.success-lead { color: var(--ink-soft); font-size: 18px; margin-bottom: 26px; }
.success-info { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.success-info div { min-width: 130px; padding: 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-border); }
.success-info b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--fire-3); }
.success-info span { font-size: 13px; color: var(--muted); }
.success-note { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.success-note a { font-weight: 700; }

.success-check { width: 92px; height: 92px; margin: 0 auto; }
.success-check svg { width: 100%; height: 100%; }
.success-check circle { stroke: var(--ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle .6s var(--ease) forwards; }
.success-check path { stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .35s .55s var(--ease) forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.confetti-canvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ── Админ: вход ───────────────────────────────────────────────────────── */
.admin-login-wrap { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 40px 22px; position: relative; z-index: 2; }
.admin-login-card {
    width: 100%; max-width: 380px; padding: 36px; display: flex; flex-direction: column; gap: 16px;
    background: linear-gradient(180deg, rgba(40,12,6,.8), rgba(22,7,4,.9));
    border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.admin-login-card h1 { font-family: var(--font-display); text-transform: uppercase; }
.admin-back { text-align: center; color: var(--muted); font-size: 14px; }

/* ── Админ: таблица ────────────────────────────────────────────────────── */
.page-admin { background-attachment: fixed; }
.admin-shell { max-width: 1240px; margin: 0 auto; padding: 34px 22px 70px; position: relative; z-index: 2; }
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-top h1 { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; }
.admin-actions { display: flex; gap: 10px; }
.admin-actions .btn { padding: 11px 20px; font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--glass-border); border-radius: var(--radius); background: rgba(20,6,3,.6); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 880px; }
.admin-table th, .admin-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid rgba(255,138,61,.12); }
.admin-table thead th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); font-size: 13px; position: sticky; top: 0; background: rgba(28,8,5,.95); }
.admin-table tbody tr:hover { background: rgba(255,138,61,.06); }
.cell-name { font-weight: 700; }
.cell-comment { max-width: 240px; color: var(--ink-soft); }
.cell-date { color: var(--muted); white-space: nowrap; }
.btn-del { background: transparent; border: 1px solid rgba(255,91,91,.4); color: var(--danger); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: background .2s; }
.btn-del:hover { background: rgba(255,91,91,.16); }
.admin-empty { text-align: center; padding: 60px; color: var(--muted); }

/* ── Адаптив ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    section { padding: 60px 18px; }
    .field-row { grid-template-columns: 1fr; }
    /* Спикеры на телефоне: компактные круглые иконки в ряд (как в Telegram) */
    .speakers-grid { grid-template-columns: 1fr; gap: 12px; max-width: 460px; }
    .speaker-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; text-align: left; }
    .speaker-photo { width: 58px; height: 58px; }
    .speaker-initials { font-size: 22px; }
    .speaker-body b { font-size: 16px; }
    .speaker-body span { font-size: 12px; }
    .countdown { gap: 8px; }
    .cd-cell { min-width: 60px; padding: 11px 5px; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { width: 100%; }
    .admin-top { flex-direction: column; align-items: stretch; }
    .admin-actions { flex-wrap: wrap; }
    .admin-shell { padding: 24px 14px 60px; }
    .admin-panel { padding: 20px 16px; }
    .speaker-edit { flex-direction: column; align-items: center; }
    .speaker-edit-fields { grid-template-columns: 1fr; width: 100%; }
}
@media (max-width: 380px) {
    .cd-cell { min-width: 52px; padding: 10px 4px; }
    .cd-cell b { font-size: 24px; }
    .cd-cell span { font-size: 10px; letter-spacing: 1px; }
    .chip { font-size: 13px; padding: 8px 13px; }
}
