/* SpamBox — theme "reel": light, minimal, pastel gradient hero. */

:root {
    --bg: #eef2f7;
    --surface: #ffffff;
    --ink: #0d1117;
    --ink-2: #2a313c;
    --muted: #5d6675;
    --muted-2: #8a93a3;
    --line: rgba(13, 17, 23, .07);
    --line-2: rgba(13, 17, 23, .12);
    --accent: #5654d8;
    --accent-soft: #ecebff;
    --cyan: #3fb6d3;
    --cyan-soft: #e3f6fb;
    --mint-soft: #e5f7ef;
    --green: #16a34a;
    --danger: #dc2626;
    --soft: #f2f4f8;
    --soft-2: #f7f8fc;
    --field: #f6f8fb;
    --scroll: #c9d0db;
    --btn: #0d1117;
    --btn-hover: #262c36;
    --btn-ink: #ffffff;
    --danger-soft: #fff1f1;
    --danger-line: #ffd9d9;
    --mint-ink: #15803d;
    --cyan-ink: #1f8fb0;
    --violet-soft: #f1ecff;
    --violet-ink: #7c4ddb;
    --glass: rgba(255, 255, 255, .7);
    --glass-soft: rgba(255, 255, 255, .55);
    --glass-strong: rgba(255, 255, 255, .88);
    --glass-line: rgba(255, 255, 255, .92);
    --glass-edge: rgba(255, 255, 255, .6);
    --accent-grad: linear-gradient(90deg, #5654d8 0%, #6d6af0 45%, #3fa9cc 100%);
    --hero-bg:
        radial-gradient(60% 55% at 10% 0%, #c9c7ff 0%, rgba(201, 199, 255, 0) 70%),
        radial-gradient(50% 60% at 95% 10%, #bdeef7 0%, rgba(189, 238, 247, 0) 70%),
        radial-gradient(70% 50% at 50% 100%, #ffffff 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, #e3e6ff 0%, #eef4fb 55%, #ffffff 100%);
    --hero-glow: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
    --panel-bg:
        radial-gradient(60% 80% at 0% 0%, #e2e1ff 0%, rgba(226, 225, 255, 0) 70%),
        radial-gradient(60% 80% at 100% 100%, #d9f1f8 0%, rgba(217, 241, 248, 0) 70%),
        #f3f5fb;
    --footer-bg: #0d1117;
    color-scheme: light;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-card: 0 1px 2px rgba(13, 17, 23, .04), 0 8px 24px rgba(13, 17, 23, .04);
    --shadow-pop: 0 2px 4px rgba(13, 17, 23, .04), 0 18px 48px rgba(40, 46, 120, .10);
    --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--ink);
    --bs-primary: var(--accent);
    --bs-primary-rgb: 86, 84, 216;
    --bs-link-color: var(--ink);
    --bs-link-hover-color: var(--accent);
    --bs-border-color: var(--line-2);
}

/* ---------- Dark mode ---------- */
:root[data-theme="dark"] {
    --bg: #0b0d12;
    --surface: #141821;
    --ink: #eef1f6;
    --ink-2: #cdd3dd;
    --muted: #98a1b0;
    --muted-2: #6f7889;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .12);
    --accent: #8b8af5;
    --accent-soft: rgba(139, 138, 245, .14);
    --cyan-soft: rgba(94, 197, 224, .13);
    --mint-soft: rgba(34, 197, 94, .12);
    --green: #22c55e;
    --danger: #f87171;
    --soft: #1b2030;
    --soft-2: #171b26;
    --field: #10131b;
    --scroll: #2a3142;
    --btn: #f4f6fa;
    --btn-hover: #ffffff;
    --btn-ink: #0b0d12;
    --danger-soft: rgba(248, 113, 113, .1);
    --danger-line: rgba(248, 113, 113, .25);
    --mint-ink: #4ade80;
    --cyan-ink: #67cde6;
    --violet-soft: rgba(167, 139, 250, .14);
    --violet-ink: #b9a4fb;
    --glass: rgba(255, 255, 255, .06);
    --glass-soft: rgba(255, 255, 255, .04);
    --glass-strong: rgba(20, 24, 33, .85);
    --glass-line: rgba(255, 255, 255, .09);
    --glass-edge: rgba(255, 255, 255, .06);
    --accent-grad: linear-gradient(90deg, #a5a4ff 0%, #8b8af5 45%, #6fd0ea 100%);
    --hero-bg:
        radial-gradient(60% 60% at 8% 0%, rgba(99, 97, 230, .45) 0%, rgba(99, 97, 230, 0) 70%),
        radial-gradient(50% 60% at 96% 8%, rgba(56, 170, 200, .32) 0%, rgba(56, 170, 200, 0) 70%),
        linear-gradient(180deg, #161a2b 0%, #111420 60%, #0f121a 100%);
    --hero-glow: radial-gradient(50% 50% at 50% 50%, rgba(139, 138, 245, .10), rgba(139, 138, 245, 0));
    --panel-bg:
        radial-gradient(60% 80% at 0% 0%, rgba(99, 97, 230, .18) 0%, rgba(99, 97, 230, 0) 70%),
        radial-gradient(60% 80% at 100% 100%, rgba(56, 170, 200, .14) 0%, rgba(56, 170, 200, 0) 70%),
        #11141c;
    --footer-bg: #07090d;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .2);
    --shadow-pop: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .45);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line-2);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b0d12;
        --surface: #141821;
        --ink: #eef1f6;
        --ink-2: #cdd3dd;
        --muted: #98a1b0;
        --muted-2: #6f7889;
        --line: rgba(255, 255, 255, .07);
        --line-2: rgba(255, 255, 255, .12);
        --accent: #8b8af5;
        --accent-soft: rgba(139, 138, 245, .14);
        --cyan-soft: rgba(94, 197, 224, .13);
        --mint-soft: rgba(34, 197, 94, .12);
        --green: #22c55e;
        --danger: #f87171;
        --soft: #1b2030;
        --soft-2: #171b26;
        --field: #10131b;
        --scroll: #2a3142;
        --btn: #f4f6fa;
        --btn-hover: #ffffff;
        --btn-ink: #0b0d12;
        --danger-soft: rgba(248, 113, 113, .1);
        --danger-line: rgba(248, 113, 113, .25);
        --mint-ink: #4ade80;
        --cyan-ink: #67cde6;
        --violet-soft: rgba(167, 139, 250, .14);
        --violet-ink: #b9a4fb;
        --glass: rgba(255, 255, 255, .06);
        --glass-soft: rgba(255, 255, 255, .04);
        --glass-strong: rgba(20, 24, 33, .85);
        --glass-line: rgba(255, 255, 255, .09);
        --glass-edge: rgba(255, 255, 255, .06);
        --accent-grad: linear-gradient(90deg, #a5a4ff 0%, #8b8af5 45%, #6fd0ea 100%);
        --hero-bg:
            radial-gradient(60% 60% at 8% 0%, rgba(99, 97, 230, .45) 0%, rgba(99, 97, 230, 0) 70%),
            radial-gradient(50% 60% at 96% 8%, rgba(56, 170, 200, .32) 0%, rgba(56, 170, 200, 0) 70%),
            linear-gradient(180deg, #161a2b 0%, #111420 60%, #0f121a 100%);
        --hero-glow: radial-gradient(50% 50% at 50% 50%, rgba(139, 138, 245, .10), rgba(139, 138, 245, 0));
        --panel-bg:
            radial-gradient(60% 80% at 0% 0%, rgba(99, 97, 230, .18) 0%, rgba(99, 97, 230, 0) 70%),
            radial-gradient(60% 80% at 100% 100%, rgba(56, 170, 200, .14) 0%, rgba(56, 170, 200, 0) 70%),
            #11141c;
        --footer-bg: #07090d;
        --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .2);
        --shadow-pop: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .45);
        --bs-body-bg: var(--bg);
        --bs-body-color: var(--ink);
        --bs-border-color: var(--line-2);
        color-scheme: dark;
    }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
body > * { flex-shrink: 0; }
a { color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
p { color: var(--ink-2); }
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--accent) !important; }
.lead { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }
.container { max-width: 1200px; padding-left: 16px; padding-right: 16px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 999px;
    transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-pill, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--btn) !important;
    border: 1px solid var(--btn) !important;
    color: var(--btn-ink) !important;
    padding: 10px 20px;
    font-size: 15px;
    box-shadow: none;
}
.btn-pill:hover, .btn-primary:hover { background: var(--btn-hover) !important; border-color: var(--btn-hover) !important; color: var(--btn-ink) !important; }
.btn-pill-lg { padding: 14px 28px; font-size: 16px; }
.btn-secondary {
    background: var(--surface) !important; color: var(--ink) !important;
    border: 1px solid var(--line-2) !important;
}
.btn-secondary:hover { background: var(--soft) !important; }
.btn-danger { background: var(--danger-soft) !important; border: 1px solid var(--danger-line) !important; color: var(--danger) !important; }
.btn-danger:hover { filter: brightness(.97); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
    cursor: pointer; transition: background-color .2s, color .2s;
}
.btn-icon:hover { background: var(--soft); color: var(--accent); }
.btn-icon i { margin: 0 !important; font-size: 15px !important; }
.text-danger-hover:hover { color: var(--danger) !important; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 32px; height: 32px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #8b8af5 0%, #5ec5e0 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-light, .brand-light:hover { color: #fff; }

/* ---------- Hero card ---------- */
.hero { padding: 10px 10px 0; }
.hero-card {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--hero-bg);
    box-shadow: 0 1px 0 var(--glass-edge) inset, var(--shadow-card);
}
.hero-glow {
    position: absolute; inset: auto 0 -40% 0; height: 70%;
    background: var(--hero-glow);
    pointer-events: none;
}
.hero-body {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 56px 20px 72px;
    text-align: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 12px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-line);
    border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--ink-2);
    box-shadow: 0 1px 2px rgba(13, 17, 23, .06);
    margin-bottom: 26px;
}
.live-dot {
    position: relative; width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); display: inline-block; flex-shrink: 0;
}
.live-dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: var(--green); animation: reel-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes reel-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 0 0 22px;
    color: var(--ink);
    text-wrap: balance;
}
.hero-title em {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.08;
    margin-top: .06em;
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: .06em;
}
.hero-title-sm { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0; }
.hero-sm .hero-body { padding: 36px 20px 56px; }
.hero-text {
    font-size: 1.075rem; line-height: 1.65; color: var(--muted);
    max-width: 560px; margin: 0 auto 34px;
}

/* ---------- Email field ---------- */
.mail-selection { max-width: 600px; margin: 0 auto; }
.mail-select {
    background: var(--surface);
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--shadow-pop);
    border: 1px solid var(--glass-line);
    cursor: pointer;
}
.mail-input-group { display: flex; align-items: center; gap: 4px; }
.mail-input-icon { width: 44px; display: inline-flex; justify-content: center; color: var(--muted-2); flex-shrink: 0; }
.mail-input { flex: 1 1 auto; min-width: 0; }
.mail-input input,
.mail-input input:focus {
    width: 100%;
    height: 50px;
    padding: 0 6px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-family: var(--font-display);
    font-size: 1.2rem !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink) !important;
    text-overflow: ellipsis;
    cursor: pointer;
}
.btn-copy {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 8px;
    height: 50px; padding: 0 22px;
    background: var(--btn); color: var(--btn-ink); border: 0;
    font-size: 15px; font-weight: 500;
}
.btn-copy:hover, .btn-copy:focus { background: var(--btn-hover); color: var(--btn-ink); }

.mail-actions {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin-top: 18px;
}
.mail-actions .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 15px;
    font-size: 14px; font-weight: 500;
    color: var(--ink-2);
    background: var(--glass);
    border: 1px solid var(--glass-line);
    box-shadow: 0 1px 2px rgba(13, 17, 23, .05);
    backdrop-filter: blur(8px);
}
.mail-actions .btn i { font-size: 13px; color: var(--muted); transition: color .2s; }
.mail-actions .btn:hover:not(:disabled) { background: var(--surface); color: var(--ink); }
.mail-actions .btn:hover:not(:disabled) i { color: var(--accent); }
.mail-actions .btn-danger-soft:hover:not(:disabled) i { color: var(--danger); }
.mail-actions .btn:disabled { opacity: .5; }

.hero-stats {
    display: inline-flex; align-items: center; gap: 22px;
    margin-top: 40px;
    padding: 12px 24px;
    background: var(--glass-soft);
    border: 1px solid var(--glass-line);
    border-radius: 999px;
}
.hero-stat { display: flex; align-items: baseline; gap: 8px; }
.hero-stat strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat span { font-size: 13px; color: var(--muted); }
.hero-stat-sep { width: 1px; height: 18px; background: var(--line-2); }

/* ---------- Nav ---------- */
.nav { position: relative; z-index: 20; display: block; padding: 0; }
.nav-inner {
    display: flex; align-items: center; gap: 24px;
    padding: 18px 24px;
    width: 100%; max-width: 1240px; margin: 0 auto;
}
.nav-menu { flex: 1; display: flex; }
.nav-menu-scroller { flex: 1; display: flex; }
.nav-menu-body { flex: 1; display: flex; align-items: center; }
.nav-menu .overlay, .nav-menu-top { display: none; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-link {
    display: inline-flex; align-items: center;
    padding: 8px 14px !important;
    border-radius: 999px;
    color: var(--ink-2) !important;
    font-size: 14.5px; font-weight: 500;
    cursor: pointer;
}
.nav-link:hover { color: var(--ink) !important; background: var(--glass); }
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav-menu-button {
    display: none; margin-left: auto;
    width: 42px; height: 42px; border-radius: 999px;
    border: 1px solid var(--glass-line); background: var(--glass);
    color: var(--ink); align-items: center; justify-content: center;
}
.nav-menu-close {
    width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2);
    background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
}

.nav-drop, .language { position: relative; }
.nav-drop-menu, .language-menu {
    display: none; position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 200px; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-pop); opacity: 0; transition: opacity .2s; z-index: 30;
}
.language-menu { left: auto; right: 0; min-width: 150px; }
.nav-drop-menu a, .language-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
}
.nav-drop-menu a:hover, .language-menu a:hover, .language-menu a.active { background: var(--soft); color: var(--ink); }
.nav-drop.active .nav-drop-menu, .language.active .language-menu { display: block; }
.nav-drop.animated .nav-drop-menu, .language.animated .language-menu { opacity: 1; }

@media (max-width: 1199.98px) {
    .nav-menu-button { display: inline-flex; }
    .nav-menu {
        position: fixed; inset: 0; z-index: 1040;
        visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
    }
    .nav-menu.show { visibility: visible; opacity: 1; }
    .nav-menu .overlay {
        display: block; position: absolute; inset: 0;
        background: rgba(13, 17, 23, .3); backdrop-filter: blur(4px);
    }
    .nav-menu-scroller {
        position: absolute; top: 10px; right: 10px; bottom: 10px;
        width: min(320px, calc(100% - 20px));
        background: var(--surface); border-radius: var(--radius-lg);
        padding: 20px; overflow-y: auto;
        transform: translateX(24px); transition: transform .25s ease;
        box-shadow: var(--shadow-pop);
    }
    .nav-menu.show .nav-menu-scroller { transform: none; }
    .nav-menu-body { flex-direction: column; align-items: stretch; gap: 16px; }
    .nav-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
    .nav-links { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
    .nav-link { padding: 12px 14px !important; font-size: 16px; border-radius: 12px; }
    .nav-link:hover { background: var(--soft); }
    .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
    .nav-end { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
    .nav-end .btn-pill { padding: 12px 20px; }
    .nav-end .nav-link { justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; position: relative; }
.section-inbox { padding-top: 40px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head-left { text-align: left; margin-left: 0; }
.section-title {
    text-wrap: balance;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px;
}
.section-text { color: var(--muted); font-size: 1.05rem; margin: 0; }

.panel-soft {
    border-radius: var(--radius-xl);
    padding: 64px 24px;
    background: var(--panel-bg);
}

/* ---------- Mailbox ---------- */
.mail-content { margin: 0 auto; width: 100%; }
.mailbox {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.mailbox-header {
    display: flex;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted-2);
}
.mailbox-header-item { padding: 16px 12px; }
.mailbox-header-item:nth-child(1), .mailbox-item-col:nth-child(1) { width: 26%; }
.mailbox-header-item:nth-child(2), .mailbox-item-col:nth-child(2) { width: 52%; }
.mailbox-header-item:nth-child(3), .mailbox-item-col:nth-child(3) { width: 22%; text-align: right; }
.mailbox-body { min-height: 380px; }
.mailbox-body .empty { display: none; }
.mailbox.empty .mailbox-body { display: flex; align-items: center; justify-content: center; }
.mailbox.empty .mailbox-body .empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 56px 20px; min-height: 380px;
}
.mailbox.empty #mailbox { display: none; }
.empty-icon {
    width: 64px; height: 64px; border-radius: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent);
    margin-bottom: 20px;
}
.empty h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.listening {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--mint-soft); color: var(--mint-ink); font-size: 13px; font-weight: 500;
}
.mailbox-item {
    display: flex; align-items: center; position: relative;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    cursor: pointer; transition: background-color .15s;
}
.mailbox-item:last-child { border-bottom: 0; }
.mailbox-item:hover { background: var(--soft-2); }
.mailbox-item-col { padding: 16px 12px; min-width: 0; overflow: hidden; }
.mailbox-item-col p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); font-weight: 600; font-size: 15px; }
.mailbox-item-col p.small { color: var(--muted); font-weight: 400; font-size: 13px; }
.mailbox-item-col .link { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-2) !important; font-weight: 500; }
.mailbox-item-col.small, .mailbox-item-col time { color: var(--muted); font-size: 13px; }
.is_seen_message {
    position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

@media (max-width: 767.98px) {
    .mailbox-header { display: none; }
    .mailbox-item { flex-wrap: wrap; padding: 12px 16px 12px 22px; }
    .mailbox-item-col { padding: 2px 0; }
    .mailbox-item-col:nth-child(1) { width: 65%; }
    .mailbox-item-col:nth-child(3) { width: 35%; order: 2; align-self: flex-start; padding-top: 4px; }
    .mailbox-item-col:nth-child(2) { width: 100%; order: 3; }
}

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.feat-icon {
    width: 40px; height: 40px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; margin-bottom: 22px;
}
.feat-icon.tint-0 { background: var(--accent-soft); color: var(--accent); }
.feat-icon.tint-1 { background: var(--cyan-soft); color: var(--cyan-ink); }
.feat-icon.tint-2 { background: var(--violet-soft); color: var(--violet-ink); }
.feat-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.feat-text { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faqs { max-width: 780px; margin: 0 auto; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; }
.accordion-item {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 10px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(13, 17, 23, .03);
}
.accordion-header { margin: 0; }
.accordion-button {
    background: transparent !important; color: var(--ink) !important;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em;
    padding: 20px 24px; box-shadow: none !important;
}
.accordion-button::after, .accordion-button:not(.collapsed)::after {
    background-image: none !important; content: '+';
    width: 28px; height: 28px; border-radius: 999px; background-color: var(--soft);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1; color: var(--ink);
    transform: none !important;
}
.accordion-button:not(.collapsed)::after { content: '−'; background-color: var(--accent-soft); color: var(--accent); }
.accordion-body { padding: 0 24px 22px; color: var(--muted); line-height: 1.7; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 64px 56px;
    background: linear-gradient(110deg, #4f4fe0 0%, #6a6cf0 45%, #7fc6e4 100%);
    color: #fff;
}
.cta-content { position: relative; max-width: 520px; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin-bottom: 28px; }
.cta-rings span {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    right: -6%; top: 50%; transform: translate(0, -50%);
}
.cta-rings span:nth-child(1) { width: 560px; height: 560px; }
.cta-rings span:nth-child(2) { width: 400px; height: 400px; right: 4%; }
.cta-rings span:nth-child(3) { width: 240px; height: 240px; right: 12%; background: rgba(255, 255, 255, .14); }
@media (max-width: 767.98px) { .cta { padding: 44px 24px; } .cta-rings { opacity: .6; } }

/* ---------- Cards / posts ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); color: var(--ink); }
.card-body { padding: 22px 24px 24px; }
.card-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--ink); }
.card-text { color: var(--muted); font-size: 15px; }
.post-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-date { display: block; font-size: 13px; color: var(--muted-2); margin-bottom: 6px; }
.card-blog .card-body { padding: 20px; }

.posts .post { display: flex; align-items: center; gap: 12px; }
.posts .post:not(:last-child) { margin-bottom: 14px; }
.posts .post .post-img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.posts .post .post-title { font-weight: 600; font-size: 14.5px; margin-bottom: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.post-meta .post-meta-item, .post-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.tag-cloud a, .tag-cloud span {
    display: inline-block; padding: 5px 12px; margin: 0 6px 8px 0; border-radius: 999px;
    background: var(--soft); color: var(--ink-2); font-size: 13px;
}
.tag-cloud a:hover { background: var(--accent-soft); color: var(--accent); }
.link { cursor: pointer; }
.link-primary { color: var(--accent) !important; }

/* ---------- View / pages ---------- */
.viewbox-container { display: flex; align-items: flex-start; justify-content: center; }
.viewbox {
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.viewbox-header { padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--soft-2); }
.viewbox-header .fw-bold { color: var(--ink); }
.viewbox-body { background: var(--surface); min-height: 300px; color: var(--ink-2); }
.viewbox-attachments { padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--soft-2); }
.viewbox-attachments .card { border-radius: 12px; box-shadow: none; }
.attachment-file .me-3 { background: var(--soft) !important; color: var(--muted); }
.content-page { text-align: left; padding: 8px; }
.content-page, .content-page p, .content-page li { color: var(--ink-2); line-height: 1.75; font-size: 16.5px; }
.content-page h2, .content-page h3 { margin-top: 1.6em; margin-bottom: .6em; }
.content-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.content-page img { border-radius: var(--radius-md); }

/* Custom HTML sections from the admin panel */
.section-html .prose-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-xl); padding: 56px clamp(20px, 5vw, 64px);
    box-shadow: var(--shadow-card);
}
.cyber-content { color: var(--ink-2); }
.cyber-content .overview-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cyber-content .glitch-text { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; }
.cyber-content .info-group { margin-bottom: 44px; }
.cyber-content .info-group:last-child { margin-bottom: 0; }
.cyber-content .section-title { font-size: 1.45rem; margin-bottom: 18px; }
.cyber-content .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cyber-content .info-card, .cyber-content .faq-item {
    background: var(--soft-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px;
}
.cyber-content .info-card.highlight { background: var(--accent-soft); border-color: rgba(86, 84, 216, .18); }
.cyber-content .info-card h3, .cyber-content .faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cyber-content .info-card p, .cyber-content .faq-item p { color: var(--muted); font-size: 15px; margin: 0; }
.cyber-content .faq-item + .faq-item { margin-top: 12px; }
.cyber-content .use-case-list { padding-left: 1.2em; }
.cyber-content .use-case-list li { margin-bottom: 8px; }
.cyber-content .contact-box { text-align: center; padding: 28px; border-radius: var(--radius-md); background: var(--soft-2); }

/* ---------- Forms & modals ---------- */
.form-label { color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.form-control, .form-select, textarea.form-control {
    background: var(--field); border: 1px solid var(--line-2); color: var(--ink);
    border-radius: var(--radius-sm); padding: 11px 14px; font-size: 15px;
}
.form-control:focus, .form-select:focus { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(86, 84, 216, .12); color: var(--ink); }
.form-control::placeholder { color: var(--muted-2); }
.input-group > .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group > .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

.modal-backdrop { --bs-backdrop-bg: #0d1117; --bs-backdrop-opacity: .35; }
.modal-content {
    background: var(--surface); border: 0; border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(13, 17, 23, .18); color: var(--ink);
}
.modal-header { border-bottom: 1px solid var(--line); padding: 18px 24px; }
.modal-title { font-weight: 700; font-size: 1.15rem; }
.modal-body h5 { font-weight: 700; }
#qrcode { display: inline-block; padding: 14px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--line); }
#qrcode img, #qrcode canvas { display: block; }

.mail-history {
    border: 1px solid var(--line) !important; border-radius: var(--radius-md) !important;
    background: var(--soft-2) !important; max-height: 50vh; min-height: 40vh; overflow: auto; padding: 0 !important;
}
.mail-history-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 38vh; padding: 16px; color: var(--muted); }
.mail-history-day { position: relative; }
.mail-history-day .form-check { margin-right: 10px; }
.mail-history-day-header {
    display: flex; align-items: center; position: sticky; top: 0; z-index: 2;
    padding: 9px 18px; background: var(--soft); color: var(--muted);
    font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.mail-history-item { position: relative; display: flex; align-items: center; padding: 10px 18px; transition: background-color .15s; user-select: none; }
.mail-history-item:hover { background: var(--surface); }
.mail-history-item .btn { position: absolute; right: 14px; visibility: hidden; opacity: 0; transition: opacity .2s; }
.mail-history-item:hover .btn { visibility: visible; opacity: 1; }
.label_bluer { font-size: 12px; color: var(--accent); font-weight: 600; }

.alert { border-radius: var(--radius-sm); border: 0; }

/* ---------- Pagination ---------- */
.pagination { gap: 6px; }
.page-link { border-radius: 999px !important; border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); min-width: 40px; text-align: center; }
.page-item.active .page-link { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }

/* ---------- Ads ---------- */
.ad.ad-v { width: 200px; height: 600px; }
.ad.ad-h { max-width: 720px; width: 100%; min-height: 90px; }
.ad img { width: 100%; height: 100%; }
.sticky-adlobage {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: var(--glass-strong); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); display: flex; justify-content: center; padding: 8px;
}
.sticky-adlobage-close { position: absolute; top: -32px; right: 12px; width: 32px; height: 32px; background: #fff; border-radius: 10px 10px 0 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sticky-adlobage-close svg { width: 18px; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; background: var(--bg); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.preloader .spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: reel-spin .8s linear infinite; }
@keyframes reel-spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer {
    margin-top: auto;
    margin-top: 56px;
    background: var(--footer-bg);
    color: #9aa3b2;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 40px 0 28px;
    overflow: hidden;
}
.footer-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4rem, 17vw, 13rem);
    letter-spacing: -0.06em;
    line-height: .9;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .015) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    user-select: none;
    margin: 12px 0 48px;
    white-space: nowrap;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-about p { color: #8a93a3; font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-col a { display: block; color: #9aa3b2; font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-lower {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-lower p { margin: 0; color: #6f7888; font-size: 13.5px; }
.footer-tags { display: flex; gap: 8px; }
.footer-tags span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #8a93a3; font-size: 12px; }
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
    .hero { padding: 6px 6px 0; }
    .hero-card { border-radius: 24px; }
    .nav-inner { padding: 14px 16px; }
    .hero-body { padding: 32px 16px 48px; }
    .hero-text { font-size: 1rem; }
    .mail-select { border-radius: 20px; }
    .mail-input-group { flex-wrap: wrap; }
    .mail-input-icon { display: none; }
    .mail-input input { text-align: center; font-size: 1.05rem !important; height: 46px; }
    .btn-copy { width: 100%; justify-content: center; border-radius: 14px; height: 46px; }
    .mail-actions .btn span { display: none; }
    .mail-actions .btn { width: 44px; height: 44px; justify-content: center; padding: 0; }
    .mail-actions .btn i { font-size: 15px; }
    .hero-stats { flex-direction: column; gap: 6px; border-radius: 20px; padding: 12px 20px; }
    .hero-stat-sep { display: none; }
    .section { padding: 40px 0; }
    .panel-soft { padding: 44px 16px; border-radius: 24px; }
    .section-html .prose-card { border-radius: 24px; }
    .feat { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Posts without an image */
.post-card-ph, .post-img-ph {
    display: flex; align-items: center; justify-content: center;
    background: var(--panel-bg);
    color: rgba(86, 84, 216, .55);
    font-family: var(--font-serif); font-style: italic;
}
.post-card-ph span { font-size: 4.5rem; line-height: 1; }
.posts .post .post-img-ph { flex-shrink: 0; font-size: 1.8rem; }
.viewbox-body:not(.p-0) { padding: clamp(20px, 4vw, 40px); }
.viewbox-header h5, .viewbox-header h4 { margin: 0; }

/* ======================================================================
   v2 components
   ====================================================================== */

/* Theme toggle */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink);
    font-size: 15px; transition: background-color .2s, transform .15s;
}
.theme-toggle:hover { background: var(--surface); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle-label { display: none; font-size: 15px; font-weight: 500; }
.theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-light { display: inline; }
:root[data-theme="dark"] .theme-icon-dark { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-icon-light { display: inline; }
    :root:not([data-theme="light"]) .theme-icon-dark { display: none; }
}
@media (max-width: 1199.98px) {
    .theme-toggle { justify-content: flex-start; padding: 0 14px; height: 46px; border-color: var(--line-2); background: var(--soft-2); }
    .theme-toggle-label { display: inline; }
}
.nav.scrolled { }

/* Hero decoration cards */
.hero-deco { position: absolute; inset: 0; pointer-events: none; display: none; }
@media (min-width: 1200px) { .hero-deco { display: block; } }
.deco-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 18px;
    background: var(--glass-strong); border: 1px solid var(--glass-line);
    box-shadow: var(--shadow-pop); backdrop-filter: blur(12px);
    font-size: 13px; color: var(--ink-2);
    animation: deco-float 7s ease-in-out infinite;
}
.deco-left { left: 3.5%; top: 47%; transform: rotate(-4deg); }
.deco-right { right: 3.5%; top: 62%; transform: rotate(3deg); animation-delay: -3.5s; }
.deco-title { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.deco-text b { font-family: var(--font-display); letter-spacing: .04em; color: var(--ink); }
.deco-avatar {
    width: 34px; height: 34px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.deco-avatar.tint-0 { background: var(--accent-soft); color: var(--accent); }
.deco-avatar.tint-1 { background: var(--mint-soft); color: var(--mint-ink); }
.deco-chip { margin-left: 6px; padding: 4px 9px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 11.5px; }
@keyframes deco-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* Domain pills */
.hero-domains {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
    margin-top: 20px;
}
.hero-domains-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.domain-pill {
    padding: 4px 11px; border-radius: 999px; border: 1px dashed var(--line-2);
    background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
    transition: color .2s, border-color .2s, background-color .2s;
}
.domain-pill span { color: var(--ink-2); }
.domain-pill:hover { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.domain-pill:hover span { color: var(--accent); }

/* Notifications chip */
.mail-actions .btn.is-on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.mail-actions .btn.is-on i { color: var(--accent); }

/* Mailbox top bar */
.mailbox-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.mailbox-bar-title { display: flex; align-items: center; gap: 10px; }
.mailbox-bar h2 { font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.unread-pill {
    padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff;
    font-size: 12px; font-weight: 600;
}
.live-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--muted); font-weight: 500;
}
.live-progress { width: 44px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.live-progress span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
.live-status.is-error { color: var(--danger); }
.live-status.is-error .live-dot, .live-status.is-error .live-dot::after, .live-status.is-error .live-progress span { background: var(--danger); }

/* Avatars */
.avatar {
    width: 40px; height: 40px; border-radius: 14px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
    background: var(--accent-soft); color: var(--accent);
}
.avatar-sm { width: 34px; height: 34px; border-radius: 12px; font-size: 12.5px; }
:root[data-theme="dark"] .avatar { filter: saturate(.9) brightness(.92); }
.mailbox-item-col.has-avatar { display: flex; align-items: center; gap: 12px; }
.mailbox-item-col.has-avatar > a { min-width: 0; flex: 1; }
.mailbox-item-col:nth-child(2) { display: flex; align-items: center; gap: 10px; }
.mailbox-item-col:nth-child(2) .link { flex: 1; min-width: 0; }

/* Verification code chip */
.code-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 10px; border-radius: 999px; border: 0;
    background: var(--accent-soft); color: var(--accent);
    font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .06em;
    transition: transform .15s, background-color .2s;
}
.code-chip i { font-size: 11px; opacity: .8; }
.code-chip:hover { background: var(--accent); color: #fff; }
.code-chip:active { transform: scale(.95); }

/* Message view: extracted codes and links */
.extract { padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--soft-2); }
.extract-title { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.extract-title i { color: var(--accent); margin-right: 4px; }
.extract-items { display: flex; flex-wrap: wrap; gap: 10px; }
.extract-item {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2);
    background: var(--surface); color: var(--ink); font-size: 14px; max-width: 100%;
    transition: border-color .2s, transform .15s;
}
.extract-item:hover { border-color: var(--accent); color: var(--ink); }
.extract-item:active { transform: scale(.98); }
.extract-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); }
.extract-code strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .12em; color: var(--accent); }
.extract-link strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.extract-link small { color: var(--muted); }
.extract-item i { color: var(--muted); font-size: 13px; }
.mail-frame { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how-step {
    position: relative; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card);
}
.how-num {
    position: absolute; top: 18px; right: 22px;
    font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: 1;
    background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    opacity: .7;
}
@media (max-width: 991.98px) { .how-grid { grid-template-columns: 1fr; } }

kbd {
    display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px;
    padding: 0 6px; border-radius: 7px; border: 1px solid var(--line-2); border-bottom-width: 2px;
    background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 12px; font-weight: 600;
    box-shadow: none; vertical-align: middle;
}
.shortcuts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.shortcuts li { display: flex; align-items: center; gap: 14px; color: var(--ink-2); }

/* Floating address dock */
.dock {
    position: fixed; left: 50%; bottom: 18px; z-index: 1035;
    display: flex; align-items: center; gap: 6px;
    padding: 6px 6px 6px 8px; max-width: calc(100% - 24px);
    background: var(--glass-strong); border: 1px solid var(--line-2);
    border-radius: 999px; box-shadow: var(--shadow-pop); backdrop-filter: blur(16px);
    transform: translate(-50%, 140%); opacity: 0;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock-mark { position: relative; width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0; }
.dock-badge {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--surface);
}
.dock-address {
    border: 0; background: transparent; color: var(--ink);
    font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
    padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw;
}
.dock-btn {
    width: 38px; height: 38px; border-radius: 999px; border: 0; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--btn); color: var(--btn-ink); font-size: 14px;
}
.dock-btn + .dock-btn { background: var(--soft); color: var(--ink); }
.dock-btn:hover { color: var(--btn-ink); filter: brightness(1.1); }
.dock-btn + .dock-btn:hover { color: var(--accent); }
.dock[hidden] { display: none; }

/* Toast */
.toast-reel {
    position: fixed; left: 50%; top: 18px; z-index: 1100;
    transform: translate(-50%, -160%); opacity: 0;
    padding: 10px 18px; border-radius: 999px;
    background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 500;
    box-shadow: var(--shadow-pop); max-width: calc(100% - 32px);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s; pointer-events: none;
}
.toast-reel.show { transform: translate(-50%, 0); opacity: 1; }

/* Dark-mode specifics */
:root[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1) brightness(1.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-close { filter: invert(1) grayscale(1) brightness(1.8); } }
:root[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
:root[data-theme="dark"] .cta { filter: saturate(.9) brightness(.92); }
:root[data-theme="dark"] .unread-pill { color: #0b0d12; }
:root[data-theme="dark"] #qrcode { background: #fff; }
:root[data-theme="dark"] .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cdd3dd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .footer { border-top: 1px solid var(--line); }
    :root:not([data-theme="light"]) .unread-pill { color: #0b0d12; }
    :root:not([data-theme="light"]) .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cdd3dd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
}

@media (max-width: 575.98px) {
    .mailbox-bar { padding: 14px 16px; }
    .live-progress { display: none; }
    .hero-domains { margin-top: 16px; }
    .dock { bottom: 12px; }
    .dock-address { font-size: 14px; max-width: 52vw; }
    .how-step { padding: 22px; }
}
.nowrap { white-space: nowrap; }
.listening.is-error { background: var(--danger-soft); color: var(--danger); }
.listening.is-error .live-dot, .listening.is-error .live-dot::after { background: var(--danger); }
.is_seen_message { font-size: 0; line-height: 0; overflow: hidden; color: transparent; }
.mailbox-item-col:nth-child(2) .link { flex: 0 1 auto; }
.mailbox:not(.empty) .mailbox-body { min-height: 0; }
.mailbox-item:has(.is_seen_message) .mailbox-item-col:nth-child(1) p:first-child { color: var(--ink); }
.mailbox-item:not(:has(.is_seen_message)) .mailbox-item-col p,
.mailbox-item:not(:has(.is_seen_message)) .mailbox-item-col .link { font-weight: 500; }

/* Tools strip (links between landing pages) */
.section-tools { padding-top: 8px; padding-bottom: 8px; }
.tools-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.tools-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.tools-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tool-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 500;
    box-shadow: 0 1px 2px rgba(13, 17, 23, .03);
}
.tool-link i { color: var(--accent); font-size: 13px; }
.tool-link:hover { border-color: var(--accent); color: var(--ink); }
.tool-link.is-current { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

/* Landing content */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 0 0 14px 4px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.landing-content { max-width: 860px; margin: 0 auto; }
.landing-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 1.8em; }
.landing-content h2:first-child { margin-top: 0; }
.landing-content h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.landing-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0; font-size: 15px; border: 1px solid var(--line-2); border-radius: var(--radius-md); overflow: hidden; }
.landing-content th, .landing-content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.landing-content th { background: var(--soft); font-weight: 600; color: var(--ink); }
.landing-content tr:last-child td { border-bottom: 0; }
.landing-content .note { padding: 16px 18px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--ink-2); margin: 1.2em 0; }
.landing-content .faq-item { padding: 18px 0; border-top: 1px solid var(--line); }
.landing-content .faq-item h3 { margin: 0 0 6px; }
.landing-content .faq-item p { margin: 0; }
@media (max-width: 767.98px) { .landing-content table { display: block; overflow-x: auto; } }

/* Rich content shared by blog posts and landing pages */
.post-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; margin: 1.6em 0 .6em; }
.post-content h3 { font-size: 1.12rem; margin: 1.3em 0 .5em; }
.post-content p, .post-content li { font-size: 16.5px; }
.post-content table, .landing-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0; font-size: 15px; border: 1px solid var(--line-2); border-radius: var(--radius-md); overflow: hidden; }
.post-content th, .post-content td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-content th { background: var(--soft); font-weight: 600; color: var(--ink); }
.post-content tr:last-child td { border-bottom: 0; }
.post-content .note { padding: 14px 18px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--ink-2); font-size: 15px; }
.post-content code, .landing-content code { padding: 2px 6px; border-radius: 6px; background: var(--soft); color: var(--ink); font-size: .9em; }
.post-content .lead { font-size: 16.5px; }
.post-tags { margin-top: 24px; }
@media (max-width: 767.98px) { .post-content table { display: block; overflow-x: auto; } }
