/* ==========================================================
   Velder.cz – hlavní styly
   ========================================================== */

:root {
    --bg: #16171c;            /* tmavě šedá – zbytek stránky */
    --bg-alt: #1c1d23;
    --surface: #22232a;
    --surface-2: #2a2b33;
    --border: rgba(255, 255, 255, 0.08);

    --text: #f1f1f4;
    --text-muted: #a3a4ad;

    --accent: #7f86d9;           /* levandulově modrá */
    --accent-2: #5aa7c4;         /* ocelově tyrkysová */
    --accent-rgb: 127, 134, 217;
    --accent-2-rgb: 90, 167, 196;
    --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);

    --radius: 14px;
    --radius-sm: 10px;
    --header-h: 86px;
    --container: 1200px;
    --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;              /* footer vždy dole i na krátkých stránkách */
    flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Pozadí (wallpaper -> gradient -> tmavě šedá) ---------- */
.site-bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: 130vh;
    min-height: 900px;
    background: url('../../img/background.png') center 35% / cover no-repeat;
    z-index: -1;
}
.site-bg::before {               /* ztmavení kvůli čitelnosti */
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center 40%, rgba(10, 8, 20, 0.15) 0%, rgba(10, 8, 20, 0.55) 100%);
}
.site-bg::after {                /* přechod do tmavě šedé */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(22, 23, 28, 0.35) 0%,
        rgba(22, 23, 28, 0.15) 25%,
        rgba(22, 23, 28, 0.55) 55%,
        rgba(22, 23, 28, 0.92) 78%,
        var(--bg) 100%
    );
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-scrolled {
    background: rgba(22, 23, 28, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .7);
}

.nav {
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-left  { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
    transition: color .2s, background .2s;
}
.nav-link i { font-size: 19px; }
.nav-link:hover,
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .08); }

.nav-login {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(var(--accent-rgb), .45);
}
.nav-login:hover,
.nav-login.is-active {
    background: var(--accent-grad);
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Logo + název */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform .25s var(--ease);
}
.brand:hover { transform: scale(1.03); }
.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.brand-tagline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 4px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Mobilní menu */
.nav-toggle {
    display: none;
    font-size: 30px;
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 16px 20px;
    background: rgba(22, 23, 28, .97);
    border-top: 1px solid var(--border);
}
.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.mobile-menu a i { font-size: 22px; color: var(--accent); }
.mobile-menu a:hover, .mobile-menu a.is-active { background: rgba(255, 255, 255, .06); }

/* ==========================================================
   HLAVNÍ OBSAH
   ========================================================== */
.site-main { position: relative; flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 40px) 0 80px;
    position: relative;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    margin-bottom: 24px;
}
.hero-badge i { color: #3ddc84; font-size: 10px; animation: pulse 1.8s infinite; }

/* logo + název v hero */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 28px);
    margin-bottom: 28px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45));
}
.hero-logo {
    width: clamp(126px, 21vw, 269px);
    height: clamp(126px, 21vw, 269px);
    object-fit: contain;
}
.hero-brand .brand-text { text-align: left; }
.hero-brand .brand-name {
    font-size: clamp(48px, 9vw, 104px);
    letter-spacing: 1px;
    line-height: .95;
}
.hero-brand .brand-tagline {
    font-size: clamp(14px, 2vw, 22px);
    letter-spacing: clamp(8px, 1.6vw, 18px);
    margin-top: 8px;
}

.hero-title {
    font-size: clamp(38px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
    margin-bottom: 20px;
}
.text-gradient {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    max-width: 620px;
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: var(--radius);
    background: rgba(18, 18, 24, .55);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    text-align: left;
}
.stat > i { font-size: 30px; color: var(--accent-2); }
.stat strong { display: block; font-size: 20px; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--text-muted); }

.scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 34px;
    color: rgba(255, 255, 255, .7);
    animation: bounce 2s infinite;
}

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, filter .2s;
}
.btn i { font-size: 21px; }
.btn-primary {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 12px 28px -14px rgba(var(--accent-rgb), .5);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }

/* ---------- Sekce ---------- */
.section { padding: 100px 0; }
.section-alt {
    position: relative;
    background: var(--bg-alt);
    box-shadow:
        0 -20px 40px -20px rgba(0, 0, 0, .55),
        0 20px 40px -20px rgba(0, 0, 0, .55);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.2; }
.section-text { color: var(--text-muted); margin-top: 14px; }

/* Timeline (historie) */
.timeline { position: relative; }

.timeline-track {
    --edge: max(24px, calc((100vw - var(--container)) / 2 + 24px));
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px var(--edge) 40px;
    scroll-padding-inline: var(--edge);
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.timeline-track::-webkit-scrollbar { display: none; }
.timeline-track:focus-visible { outline: none; }
.timeline-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }

.timeline-list {
    display: flex;
    gap: 0;
    width: max-content;
    list-style: none;
}

.timeline-item {
    position: relative;
    flex: 0 0 310px;
    padding-right: 34px;
    scroll-snap-align: start;
}

/* datum + stav */
.timeline-head { margin-bottom: 16px; min-height: 42px; }
.timeline-date {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.timeline-status {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    color: var(--text-muted);
}

/* osa s bodem */
.timeline-axis {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 26px;
    margin-right: -34px;          /* čára dosáhne k dalšímu bodu */
}
.timeline-axis::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}
.timeline-item:last-child .timeline-axis::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, .15), transparent);
}

.timeline-dot {
    position: relative;
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8);
}
.timeline-dot i { font-size: 20px; color: #fff; }

.timeline-item h3 {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}
.timeline-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* stavy */
.timeline-item.is-done .timeline-status,
.timeline-item.is-current .timeline-status { color: #fff; }

/* hotovo + právě teď – gradientový kroužek */
.timeline-item.is-done .timeline-dot,
.timeline-item.is-current .timeline-dot {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        var(--accent-grad) border-box;
    box-shadow: 0 8px 22px -12px rgba(var(--accent-rgb), .4);
}
.timeline-item.is-done .timeline-dot i,
.timeline-item.is-current .timeline-dot i {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.timeline-item.is-done .timeline-axis::after {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), .6), rgba(var(--accent-2-rgb), .6));
}

.timeline-item.is-current .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: ripple 2s infinite;
}
.timeline-item.is-current .timeline-axis::after,
.timeline-item.is-upcoming .timeline-axis::after { background: rgba(255, 255, 255, .12); }

.timeline-item.is-upcoming .timeline-dot { border-color: rgba(255, 255, 255, .25); }
.timeline-item.is-upcoming .timeline-dot i { color: var(--text-muted); }
@keyframes ripple {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Kroky */
.section-title-upper { text-transform: uppercase; letter-spacing: .5px; }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
}
.step {
    position: relative;
    padding-top: 26px;
}
.step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-grad);
    opacity: .85;
}
.step-num {
    display: block;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    margin-bottom: 26px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.step-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: filter .2s;
}
.step-link i {
    font-size: 18px;
    color: var(--accent-2);
    transform: rotate(-45deg);
    transition: transform .2s;
}
.step-link:hover { filter: brightness(1.2); }
.step-link:hover i { transform: rotate(-45deg) translateX(3px); }
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-2);
}
.link-arrow i { font-size: 20px; transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* CTA */
.cta {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 340px;
    padding: 56px 60px;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    /* obrázek z pozadí webu, zleva ztmavený kvůli čitelnosti */
    background:
        linear-gradient(90deg, rgba(18, 19, 24, .96) 0%, rgba(18, 19, 24, .85) 45%, rgba(18, 19, 24, .35) 100%),
        url('../../img/background.png') center 30% / cover;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95);
}
.cta::before {                     /* jemná barevná záře vpravo */
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    width: 520px;
    height: 520px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(var(--accent-rgb), .35) 0%, rgba(var(--accent-2-rgb), .12) 40%, transparent 70%);
    z-index: -1;
}
.cta::after {                      /* gradientová linka nahoře */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-grad);
}
.cta-mark {
    position: absolute;
    right: 7%;
    top: 50%;
    width: 230px;
    height: 230px;
    object-fit: contain;
    transform: translateY(-50%) rotate(-8deg);
    opacity: .9;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
    z-index: -1;
    animation: cta-float 6s ease-in-out infinite;
}
.cta-content { max-width: 540px; }
.cta-content .section-kicker { margin-bottom: 12px; }
.cta h2 {
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}
.cta p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-discord { width: auto; }

@keyframes cta-float {
    0%, 100% { transform: translateY(-50%) rotate(-8deg); }
    50%      { transform: translateY(calc(-50% - 12px)) rotate(-5deg); }
}

/* ==========================================================
   FAQ – chat v mobilu
   ========================================================== */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: center;
    max-width: 1080px;
}
.faq-intro .section-title { margin-bottom: 0; }
.faq-intro .section-text { margin: 14px 0 28px; max-width: 460px; }

.faq-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq-q {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .9);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: transform .2s var(--ease), background .2s, opacity .2s;
}
.faq-q > i:first-child {
    font-size: 20px;
    width: 36px; height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(var(--accent-rgb), .12);
    color: var(--accent);
}
.faq-q span { flex: 1; line-height: 1.35; }
.faq-q-send { font-size: 18px; color: var(--text-muted); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.faq-q:hover { transform: translateY(-2px); background: var(--surface-2); }
.faq-q:hover .faq-q-send { opacity: 1; transform: none; color: var(--accent); }
.faq-q.is-asked { opacity: .55; }
.faq-q.is-asked .faq-q-send { opacity: 1; transform: none; }
.faq-q:disabled { cursor: wait; }

/* telefon */
.phone {
    position: relative;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    padding: 12px;
    border-radius: 46px;
    background: linear-gradient(145deg, #2c2d35, #121318);
    box-shadow:
        0 0 0 2px #3a3b44,
        0 40px 80px -30px rgba(0, 0, 0, .95),
        0 0 90px -20px rgba(var(--accent-rgb), .35);
    transform: rotate(2deg);
    transition: transform .4s var(--ease);
}
.phone:hover { transform: rotate(0deg); }
.phone-screen {
    height: 600px;
    display: flex;
    flex-direction: column;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(var(--accent-rgb), .18), transparent 55%),
        #0e0f13;
}
.phone-status {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px 6px;
    font-size: 12px;
    font-weight: 600;
}
.phone-notch {
    position: absolute;
    left: 50%; top: 8px;
    width: 96px; height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
}
.phone-icons { display: flex; gap: 4px; font-size: 14px; }

.phone-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
}
.phone-head > i { font-size: 22px; color: var(--accent); }
.phone-head > i:last-child { margin-left: auto; font-size: 20px; }
.phone-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #1c1d23; padding: 5px; }
.phone-head strong { display: block; font-size: 14px; line-height: 1.2; }
.phone-head span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #3ddc84; }
.phone-head span i { font-size: 7px; }

.phone-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.phone-chat::-webkit-scrollbar { display: none; }
.chat-day {
    align-self: center;
    margin-bottom: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: 10px;
    color: var(--text-muted);
}

.bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    animation: bubble-in .3s var(--ease);
}
.bubble.in { align-self: flex-start; background: #23242c; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--accent-grad); color: #fff; border-bottom-right-radius: 6px; }
.bubble p + p { margin-top: 6px; }
.bubble a { color: #a9b0ff; text-decoration: underline; text-underline-offset: 2px; }
.bubble code { padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .35); font-size: 12px; }
.bubble strong { color: #fff; }

.bubble.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble.typing span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typing 1s infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: .15s; }
.bubble.typing span:nth-child(3) { animation-delay: .3s; }

.phone-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 12px 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #1c1d23;
    font-size: 13px;
    color: var(--text-muted);
}
.phone-input i { font-size: 18px; color: var(--accent); }

/* bez JavaScriptu / pro čtečky obrazovky: klasický seznam otázek */
.faq-fallback { display: none; }
.no-js .faq-fallback { display: block; grid-column: 1 / -1; }

@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .bubble, .bubble.typing span, .cta-mark { animation: none; }
    .phone { transform: none; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    position: relative;
    background: #111216;
    box-shadow: 0 -24px 50px -20px rgba(0, 0, 0, .6);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 18px 0 22px; max-width: 320px; }
.brand-footer .brand-logo { width: 46px; height: 46px; }
.brand-footer .brand-name { font-size: 22px; }

.socials { display: flex; gap: 10px; }
.socials a {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 21px;
    transition: background .2s, transform .2s, color .2s;
}
.socials a:hover { background: var(--accent-grad); transform: translateY(-3px); }

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 14px;
    transition: color .2s, transform .2s;
}
.footer-col a i { font-size: 18px; color: var(--accent); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }

.copy-ip {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    text-align: left;
    transition: border-color .2s;
}
.copy-ip:hover { border-color: rgba(var(--accent-rgb), .5); }
.copy-ip i { font-size: 18px; color: var(--accent); flex-shrink: 0; }
.copy-ip-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: monospace; }
.footer-note { color: var(--text-muted); font-size: 12px; margin-top: 10px; }

.footer-bottom { background: rgba(0, 0, 0, .25); box-shadow: inset 0 12px 20px -14px rgba(0, 0, 0, .6); padding: 20px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translate(-50%, 120px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 14px;
    z-index: 200;
    transition: transform .35s var(--ease);
}
.toast i { color: #3ddc84; font-size: 20px; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Animace ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ==========================================================
   PODSTRÁNKY
   ========================================================== */
.page-sub .site-bg { height: 640px; min-height: 0; }
.page-sub .site-bg::after {
    background: linear-gradient(
        to bottom,
        rgba(22, 23, 28, 0.35) 0%,
        rgba(22, 23, 28, 0.45) 40%,
        rgba(22, 23, 28, 0.9) 75%,
        var(--bg) 100%
    );
}

.page-hero {
    padding: calc(var(--header-h) + 90px) 0 70px;
    text-align: center;
}
.page-hero .section-kicker { margin-bottom: 12px; }
.page-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
.page-subtitle {
    max-width: 560px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.page-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-muted);
}
.page-meta i { font-size: 17px; color: var(--accent-2); }

/* ==========================================================
   PRAVIDLA
   ========================================================== */
.rules { padding: 10px 0 110px; }
.rules-wrap {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.rules-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.rules-section-head { margin-bottom: 24px; }
.rules-section-head h2 {
    font-size: clamp(20px, 2.6vw, 24px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.rules-section-head h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background: var(--accent-grad);
}
.rules-section-head p { color: var(--text-muted); font-size: 14px; margin-top: 10px; }

.rules-list { display: flex; flex-direction: column; gap: 18px; list-style: none; }

.rule {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: start;
}
.rule-badge {
    justify-self: start;
    min-width: 36px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 6px 16px -10px rgba(var(--accent-rgb), .5);
}

.rule-card {
    position: relative;
    padding: 18px 22px 18px 24px;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .85);
    overflow: hidden;
}
.rule-card::before {              /* levá barevná linka */
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.rule-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.rule-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.rule-card p + p { margin-top: 6px; }
.rule-card strong { color: #fff; font-weight: 600; }

/* příklad ve hře */
.rule-example {
    position: relative;
    margin-top: 16px;
    padding: 14px 18px 14px 20px;
    border-radius: 6px;
    background: rgba(61, 220, 132, .06);
    overflow: hidden;
}
.rule-example::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: #3ddc84;
}
.rule-example-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.rule-example-title i { font-size: 16px; color: #3ddc84; }
.rule-example p { font-size: 13px; }

/* odrážky */
.rule-card p.is-bullet {
    position: relative;
    padding-left: 18px;
}
.rule-card p.is-bullet::before {
    content: '';
    position: absolute;
    left: 3px;
    top: .72em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-grad);
}
.rule-example p.is-bullet::before { background: #3ddc84; }
.rule-warning p.is-bullet::before { background: #f5a623; }
.rule-card p.is-bullet + p.is-bullet { margin-top: 4px; }

/* upozornění */
.rule-warning {
    position: relative;
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 18px 14px 20px;
    border-radius: 6px;
    background: rgba(245, 166, 35, .08);
    overflow: hidden;
}
.rule-warning::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: #f5a623;
}
.rule-warning > i { font-size: 20px; color: #f5a623; flex-shrink: 0; margin-top: 1px; }
.rule-warning p { font-size: 13px; font-weight: 600; color: #fff; }
.rule-warning p + p { margin-top: 6px; }
.rule-example p + p { margin-top: 2px; }

.rules-note {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-2-rgb), .08)), var(--surface);
    box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .8);
}
.rules-note > i { font-size: 28px; color: var(--accent-2); flex-shrink: 0; }
.rules-note h3 { font-size: 16px; margin-bottom: 4px; }
.rules-note p { font-size: 14px; color: var(--text-muted); }
.rules-note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   PŘIHLÁŠENÍ
   ========================================================== */
.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.nav-user:hover, .nav-user.is-active { background: rgba(255, 255, 255, .14); }
.nav-user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav-user span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-sm i { font-size: 18px; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; }
.btn.is-disabled:hover { transform: none; background: rgba(255, 255, 255, .08); }

.btn-discord {
    width: 100%;
    justify-content: center;
    background: #5865f2;
    color: #fff;
    box-shadow: 0 12px 28px -14px rgba(88, 101, 242, .7);
}
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); }
.btn-discord i { font-size: 24px; }

.auth { padding: calc(var(--header-h) + 70px) 0 110px; }
.auth-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 44px 40px;
    text-align: center;
    border-radius: 20px;
    background: rgba(28, 29, 35, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9);
}
.auth-logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 18px; }
.auth-card h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.auth-text { color: var(--text-muted); font-size: 14px; margin: 10px 0 28px; }
.auth-error {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: rgba(239, 91, 91, .12);
    color: #ffb4b4;
    font-size: 13px;
}
.auth-error i { font-size: 20px; color: #ef5b5b; flex-shrink: 0; }
.auth-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    text-align: left;
}
.auth-perks li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.auth-perks i {
    font-size: 18px;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(var(--accent-rgb), .12);
    color: var(--accent);
}
.auth-dev {
    margin-top: 28px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(245, 166, 35, .08);
    font-size: 12px;
    text-align: left;
}
.auth-dev > span { display: flex; align-items: center; gap: 6px; color: #f5a623; font-weight: 600; margin-bottom: 10px; }
.auth-dev div { display: flex; flex-wrap: wrap; gap: 6px; }
.auth-dev a {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transition: background .2s;
}
.auth-dev a:hover { background: rgba(255, 255, 255, .14); }

/* ==========================================================
   PROFIL
   ========================================================== */
.profile { padding: calc(var(--header-h) + 50px) 0 110px; }
.profile .container { display: flex; flex-direction: column; gap: 24px; }

.panel, .profile-card {
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .9);
}
.panel { padding: 28px; }
.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 22px;
}
.panel-title i {
    font-size: 22px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.panel-title small {
    margin-left: auto;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--text-muted);
    letter-spacing: 0;
}

/* hlavička */
.profile-card { overflow: hidden; }
.profile-banner {
    height: 130px;
    background:
        linear-gradient(180deg, rgba(34, 35, 42, 0) 30%, var(--surface) 100%),
        linear-gradient(120deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-2-rgb), .45)),
        url('../../img/background.png') center 40% / cover;
}
.profile-main {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    padding: 0 28px 26px;
    margin-top: -56px;
}
.profile-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 5px solid var(--surface);
    background: var(--surface-2);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8);
}
.profile-id { flex: 1; min-width: 0; padding-bottom: 4px; }
.profile-id h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.15; }
.profile-handle { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; }
.profile-handle i { font-size: 18px; color: #5865f2; }
.profile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile-logout { padding-bottom: 4px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
.chip i { font-size: 15px; }
.chip-approved { background: rgba(61, 220, 132, .12); color: #3ddc84; }
.chip-pending  { background: rgba(245, 166, 35, .12); color: #f5a623; }
.chip-rejected { background: rgba(239, 91, 91, .12);  color: #ef5b5b; }

/* statistiky */
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pstat {
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .9);
}
.pstat i {
    font-size: 24px;
    margin-bottom: 14px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pstat strong { font-size: 28px; font-weight: 700; line-height: 1.1; }
.pstat span { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* allowlist */
.al-panel { --al: var(--text-muted); --al-rgb: 163, 164, 173; }
.al-approved { --al: #3ddc84; --al-rgb: 61, 220, 132; }
.al-pending  { --al: #f5a623; --al-rgb: 245, 166, 35; }
.al-rejected { --al: #ef5b5b; --al-rgb: 239, 91, 91; }

.al-status {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(var(--al-rgb), .08);
}
.al-icon {
    width: 60px; height: 60px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--al-rgb), .15);
    color: var(--al);
    font-size: 30px;
}
.al-pending .al-icon i { animation: pulse 2s infinite; }
.al-status strong { display: block; font-size: 20px; color: var(--al); }
.al-status p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.al-note { margin-top: 16px; }
.al-note .al-note-text { font-weight: 400; color: var(--text-muted); }

.al-attempts {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    font-size: 13px;
}
.al-attempts > span { font-weight: 600; }
.al-attempts small { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.al-dots { display: flex; gap: 6px; }
.al-dot {
    width: 34px; height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
}
.al-dot.is-used { background: var(--accent-grad); }

.al-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.al-info i { font-size: 18px; color: var(--accent); flex-shrink: 0; }
.al-info strong { color: #fff; }

.al-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.al-actions .btn { padding: 12px 22px; font-size: 14px; }

/* odznaky */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    text-align: center;
    cursor: default;
    outline: none;
    transition: transform .25s var(--ease), background .25s;
}
.badge:hover, .badge:focus-visible { transform: translateY(-4px); background: rgba(255, 255, 255, .06); }
.badge-icon {
    width: 54px; height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 28px;
    color: var(--badge);
    background: color-mix(in srgb, var(--badge) 16%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--badge) 35%, transparent);
}
.badge-name { font-size: 12px; font-weight: 600; line-height: 1.3; }
.badge.is-locked .badge-icon { color: var(--text-muted); background: rgba(255, 255, 255, .04); box-shadow: none; }
.badge.is-locked .badge-name { color: var(--text-muted); opacity: .7; }

.badge-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 5;
    width: max-content;
    max-width: 200px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #0d0e12;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8);
    font-size: 12px;
    color: var(--text);
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s, transform .2s;
}
.badge:hover .badge-tip, .badge:focus-visible .badge-tip { opacity: 1; transform: translate(-50%, 0); }

/* historie */
.history { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.history-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
}
.history-num {
    font-size: 15px;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.history-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.history-top strong { font-size: 15px; }
.history-date { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.history-note {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.history-note i { font-size: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.empty { text-align: center; padding: 30px 20px; color: var(--text-muted); font-size: 14px; }
.empty i { font-size: 44px; display: block; margin-bottom: 10px; opacity: .5; }

/* ==========================================================
   ALLOWLIST – FORMULÁŘ
   ========================================================== */
.apply { padding: 10px 0 110px; }
.apply .container { max-width: 860px; }

.gate {
    max-width: 520px;
    margin: 0 auto;
    padding: 44px 36px;
    text-align: center;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9);
}
.gate-icon {
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), .12);
    font-size: 36px;
}
.gate-icon i {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gate h2 { font-size: 22px; margin-bottom: 8px; }
.gate p { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }

.apply-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.apply-info > div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .85);
}
.apply-info i { grid-row: span 2; font-size: 26px; color: var(--accent); }
.apply-info span { font-size: 12px; color: var(--text-muted); }
.apply-info strong { font-size: 15px; }
.apply-info a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.apply-form { display: flex; flex-direction: column; gap: 20px; }
.apply-section { border: 0; min-width: 0; }
.apply-section legend { float: left; width: 100%; }
.apply-section legend + * { clear: both; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field { margin-top: 22px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
    transition: box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6b6c75; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .7), 0 0 0 3px rgba(var(--accent-rgb), .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { box-shadow: inset 0 0 0 1px rgba(239, 91, 91, .7); }

.field-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.field-help { color: var(--text-muted); }
.field-error { display: inline-flex; align-items: center; gap: 5px; color: #ef5b5b; }
.field-error i { font-size: 15px; }
.field-count { color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.field-count.is-short { color: #f5a623; }

.apply-submit { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-muted); cursor: pointer; flex: 1; min-width: 260px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
    width: 22px; height: 22px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
    transition: background .2s, box-shadow .2s;
}
.check-box i { font-size: 18px; color: #fff; opacity: 0; transition: opacity .15s; }
.check input:checked + .check-box { background: var(--accent-grad); box-shadow: none; }
.check input:checked + .check-box i { opacity: 1; }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .35); }
.check.has-error .check-box { box-shadow: inset 0 0 0 1px rgba(239, 91, 91, .8); }
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   SPRÁVA ŽÁDOSTÍ
   ========================================================== */
.nav-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 2px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.admin { padding: calc(var(--header-h) + 50px) 0 110px; }
.admin .container { display: flex; flex-direction: column; gap: 20px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; }
.admin-search { position: relative; width: 340px; max-width: 100%; }
.admin-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 19px; color: var(--text-muted); }
.admin-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 0;
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    outline: none;
    box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .8);
}
.admin-search input:focus { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .5); }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color .2s, background .2s;
}
.tab span { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.tab:hover { color: #fff; }
.tab.is-active { background: var(--accent-grad); color: #fff; }
.tab.is-active span { background: rgba(0, 0, 0, .18); }

.app-list { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.app-row {
    display: grid;
    grid-template-columns: 44px 1.2fr 1.2fr 1fr auto 20px;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    transition: background .2s, transform .2s;
}
.app-row:hover { background: rgba(255, 255, 255, .06); transform: translateX(3px); }
.app-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.app-who, .app-char, .app-date { display: flex; flex-direction: column; min-width: 0; }
.app-who strong, .app-char strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-who span, .app-char span, .app-date span { font-size: 12px; color: var(--text-muted); }
.app-go { font-size: 22px; color: var(--text-muted); }

.flag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(245, 166, 35, .15);
    color: #f5a623;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.flag i { font-size: 12px; vertical-align: -1px; margin-right: 2px; }
.flag-critical { background: rgba(239, 91, 91, .15); color: #ef5b5b; }

/* detail žádosti */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); align-self: flex-start; }
.back-link:hover { color: #fff; }
.back-link i { font-size: 18px; }

.review-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.review-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.review-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }

.review-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.review-head > div { flex: 1; min-width: 0; }
.review-head h1 { font-size: 22px; line-height: 1.2; }
.review-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

.answers { display: flex; flex-direction: column; gap: 20px; }
.answer { position: relative; }
.answer dt { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; padding-right: 90px; }
.answer dd { font-size: 14px; line-height: 1.75; padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .03); overflow-wrap: anywhere; }
.answer-len { position: absolute; top: 0; right: 0; font-size: 11px; color: var(--text-muted); }
.muted { color: var(--text-muted); font-size: 14px; }

.facts { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.facts span { color: var(--text-muted); }
.prev-apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.text-danger, .text-rejected { color: #ef5b5b; }
.text-approved { color: #3ddc84; }
.text-pending { color: #f5a623; }

.decided { display: flex; flex-direction: column; gap: 2px; }
.decided strong { font-size: 18px; }
.decided span { font-size: 13px; color: var(--text-muted); }
.decide .auth-error { margin-bottom: 14px; }
.decide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.decide-actions .btn { justify-content: center; padding: 12px 16px; font-size: 14px; }
.btn-approve { background: #3ddc84; color: #0f2a1b; }
.btn-approve:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-reject { background: rgba(239, 91, 91, .14); color: #ef5b5b; }
.btn-reject:hover { background: rgba(239, 91, 91, .24); transform: translateY(-2px); }

/* ==========================================================
   NOVINKY (fórum)
   ========================================================== */
.forum { padding: 10px 0 110px; }
.forum-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.forum-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.forum-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }

.thread {
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 16px 38px -22px rgba(0, 0, 0, .9);
    transition: transform .25s var(--ease), box-shadow .25s;
    overflow: hidden;
}
.thread:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--accent-rgb), .25); }
.thread-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.thread-meta-top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.thread-meta-top:empty { display: none; }
.thread-title { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.thread-excerpt { color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.thread-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}
.thread-foot span, .article-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.thread-foot i, .article-meta i { font-size: 16px; }
.thread-author { color: var(--text); font-weight: 600; }
.thread-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.thread-comments { margin-left: auto; }
.thread-thumb { width: 150px; height: 104px; flex-shrink: 0; border-radius: 12px; object-fit: cover; align-self: center; }

.thread.is-featured { flex-direction: column; padding: 0; gap: 0; }
.thread.is-featured .thread-body { padding: 26px 28px 24px; }
.thread.is-featured .thread-title { font-size: clamp(22px, 3vw, 28px); }
.thread-cover { width: 100%; height: 260px; object-fit: cover; }
.chip-new { background: var(--accent-grad); color: #fff; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pager a {
    min-width: 40px; height: 40px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.pager a:hover { color: #fff; }
.pager a.is-active { background: var(--accent-grad); color: #fff; }
.pager i { font-size: 20px; }

.cat-list { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-muted);
    transition: background .2s, color .2s;
}
.cat-list a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.cat-list a.is-active { background: rgba(var(--accent-rgb), .14); color: #fff; }
.cat-list small { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); }

.recent-list { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.recent-list li { display: flex; gap: 10px; }
.recent-list img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.recent-list a { font-size: 13px; font-weight: 600; line-height: 1.35; display: block; }
.recent-list a:hover { text-decoration: underline; }
.recent-list p { font-size: 12px; color: var(--text-muted); margin-top: 2px; overflow-wrap: anywhere; }
.recent-list strong { color: var(--text); font-weight: 600; }

/* detail novinky */
.article-wrap { padding: calc(var(--header-h) + 50px) 0 110px; }
.article-container { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.article { padding: 0; overflow: hidden; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; }
.article-head { padding: 30px 34px 0; }
.article-head .chip { margin-bottom: 14px; }
.article-head h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.2; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.article-meta a:hover { color: #fff; }
.article-body { padding: 24px 34px 34px; font-size: 15px; line-height: 1.85; color: #d6d7de; overflow-wrap: anywhere; }
.article-body > * + * { margin-top: 14px; }
.article-body h2, .article-body h3 { color: #fff; line-height: 1.3; margin-top: 26px; }
.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 18px; }
.article-body ul { padding-left: 4px; list-style: none; }
.article-body li { position: relative; padding-left: 20px; }
.article-body li + li { margin-top: 6px; }
.article-body li::before {
    content: '';
    position: absolute;
    left: 4px; top: .78em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-grad);
}
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: #fff; }
.article-body code { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .07); font-size: .9em; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; transition: transform .2s; }
.article-nav a:hover { transform: translateY(-2px); }
.article-nav small { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: var(--text-muted); }
.article-nav span { font-size: 14px; font-weight: 600; }
.article-nav .is-next { text-align: right; align-items: flex-end; grid-column: 2; }

/* komentáře */
.comments { display: flex; flex-direction: column; gap: 18px; list-style: none; }
.comments-empty { margin-bottom: 4px; }
.comment { display: flex; gap: 14px; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 4px; }
.comment-head strong { font-size: 14px; }
.comment-head .chip { padding: 2px 8px; font-size: 11px; }
.chip-author { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.chip-team { background: rgba(239, 91, 91, .14); color: #ef5b5b; }
.comment-date { font-size: 12px; color: var(--text-muted); }
.comment-main p { font-size: 14px; line-height: 1.7; color: #d6d7de; overflow-wrap: anywhere; }
.comment-del { margin-left: auto; }
.comment-del button { font-size: 17px; color: var(--text-muted); padding: 4px; border-radius: 6px; transition: color .2s, background .2s; }
.comment-del button:hover { color: #ef5b5b; background: rgba(239, 91, 91, .1); }

.comment-form {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 6px 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}
.comment-form .btn { grid-column: 2; justify-self: end; }
.comment-form textarea { min-height: 80px; }
.comment-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    font-size: 14px;
    color: var(--text-muted);
}
.comment-login .btn { width: auto; }

/* ==========================================================
   OVERLAY OKNO (modal)
   ========================================================== */
.btn-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 11px;
    font-weight: 700;
}

.modal {
    width: min(640px, calc(100% - 32px));
    max-height: min(80vh, 760px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9);
    overflow: hidden;
}
.modal::backdrop {
    background: rgba(8, 8, 12, .65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal[open] { animation: modal-in .25s var(--ease); }
.modal[open]::backdrop { animation: fade-in .25s ease; }
.modal-box { display: flex; flex-direction: column; max-height: inherit; }
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 0;
}
.modal-head .panel-title { margin-bottom: 0; }
.modal-close {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    font-size: 24px;
    color: var(--text-muted);
    transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.modal-body { padding: 20px 24px 24px; overflow-y: auto; }

@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }

/* Discord servery hráče */
.modal-wide { width: min(760px, calc(100% - 32px)); }
.guild-btn { width: 100%; justify-content: center; margin-top: 18px; padding: 12px 16px; font-size: 14px; }
.guild-btn.is-critical { background: rgba(239, 91, 91, .12); border-color: rgba(239, 91, 91, .45); }
.guild-btn.is-suspicious { background: rgba(245, 166, 35, .1); border-color: rgba(245, 166, 35, .4); }
.guild-alert {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #ef5b5b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.guild-alert i { font-size: 13px; }

.guild-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guild-summary > div { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.guild-summary strong { display: block; font-size: 24px; line-height: 1.1; }
.guild-summary span { font-size: 12px; color: var(--text-muted); }
.guild-summary .is-critical { background: rgba(239, 91, 91, .1); }
.guild-summary .is-critical strong { color: #ef5b5b; }
.guild-summary .is-suspicious { background: rgba(245, 166, 35, .08); }
.guild-summary .is-suspicious strong { color: #f5a623; }
.guild-updated { display: flex; align-items: center; gap: 6px; margin: 12px 0 16px; font-size: 12px; color: var(--text-muted); }
.guild-updated i { font-size: 15px; }
.guild-search { width: 100%; margin-bottom: 14px; }
.guild-search input { background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

.guild-list { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.guild {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
}
.guild.is-critical { background: rgba(239, 91, 91, .1); }
.guild.is-suspicious { background: rgba(245, 166, 35, .07); }
.guild.is-critical::before, .guild.is-suspicious::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: #ef5b5b;
}
.guild.is-suspicious::before { background: #f5a623; }
.guild[hidden] { display: none; }
.guild-icon { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.guild-icon-text { display: grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: 15px; color: var(--text-muted); }
.guild-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.guild-info strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild-info span { font-size: 11px; color: var(--text-muted); }
.guild-info em { font-style: normal; color: var(--accent); }

/* hlášky */
.toast-error i { color: #ef5b5b; }
#flash { max-width: calc(100% - 32px); }

/* ==========================================================
   RESPONSIVITA
   ========================================================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .review-side { position: static; }
    .forum-layout { grid-template-columns: 1fr; }
    .forum-side { position: static; }
    .app-row { grid-template-columns: 44px 1fr auto; }
    .app-char, .app-date, .app-go { display: none; }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .nav { grid-template-columns: 1fr auto; }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-intro { text-align: center; }
    .faq-intro .section-text { margin-left: auto; margin-right: auto; }
    .phone { transform: none; }
    .cta { padding: 48px 36px; }
    .cta-mark { width: 150px; height: 150px; right: 4%; opacity: .25; }
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .brand-logo { width: 44px; height: 44px; }
    .brand-name { font-size: 22px; }
    .site-header.menu-open { background: rgba(22, 23, 28, .97); }
    .site-header.menu-open .mobile-menu { display: flex; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 70px 0; }
    .timeline-track { --edge: 16px; -webkit-mask-image: none; mask-image: none; }
    .timeline-item { flex-basis: 260px; }
    .hero-stats { flex-direction: column; width: 100%; }
    .stat { width: 100%; }
    .cta { padding: 40px 22px; min-height: 0; text-align: center; justify-content: center;
           background: linear-gradient(180deg, rgba(18, 19, 24, .8), rgba(18, 19, 24, .95)), url('../../img/background.png') center / cover; }
    .cta-mark { position: static; display: block; width: 90px; height: 90px; margin: 0 auto 16px; transform: none; animation: none; }
    .cta { flex-direction: column; }
    .cta-actions { justify-content: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .rule { grid-template-columns: 1fr; gap: 8px; }
    .page-hero { padding: calc(var(--header-h) + 60px) 0 50px; }
    .profile-main { flex-direction: column; align-items: center; text-align: center; padding: 0 18px 22px; }
    .profile-chips { justify-content: center; }
    .panel { padding: 22px 18px; }
    .pstat { padding: 18px; }
    .auth-card { padding: 34px 22px; }
    .al-attempts { flex-wrap: wrap; }
    .history-item { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
    .apply-info { grid-template-columns: 1fr; }
    .faq-questions { grid-template-columns: 1fr; text-align: left; }
    .phone-screen { height: 520px; }
    .thread { padding: 18px; flex-direction: column; }
    .thread-thumb { width: 100%; height: 160px; order: -1; }
    .thread.is-featured .thread-body { padding: 20px; }
    .thread-cover { height: 180px; }
    .article-head { padding: 22px 20px 0; }
    .article-body { padding: 18px 20px 24px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav .is-next { grid-column: 1; }
    .comment-form { grid-template-columns: 1fr; }
    .comment-form .comment-avatar { display: none; }
    .comment-form .btn { grid-column: 1; }
    .apply-submit .btn { width: 100%; justify-content: center; }
    .gate { padding: 34px 22px; }
}
