/* ==========================================================================
   EnGive — style.css
   Design concept: "the card catalog" — a language-learning notebook made
   digital, now in a single fixed dark-violet theme (no admin-editable
   theme settings — deliberately hardcoded here so every color pairing
   is verified for contrast up front, rather than left to trial and error
   in a color picker). Buttons use a blue→red gradient as the one bright
   accent against the otherwise dark, violet-toned palette.
   Typography: Inter throughout (Arial as the system fallback).
   ========================================================================== */

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

:root {
    /* Text — tinted a clear, consistent violet (same hue family as the
       background) rather than near-white, so text and background read
       as one cohesive palette. Lightness is kept high enough that
       contrast against every dark surface below stays strong. */
    --ink:        #E7D9FF;  /* primary text — soft lavender */
    --ink-soft:   #B79FE0;  /* secondary text — muted violet-grey */

    /* Surfaces, darkest to lightest — all pushed more visibly purple
       (higher saturation) rather than near-black. */
    --paper:      #170B33;  /* page base color (under the gradient) */
    --paper-dim:  #22124A;  /* alternating section backgrounds */
    --card:       #2E1961;  /* card/panel surfaces */
    --line:       #5B3AA0;  /* borders — lighter than every surface above so it's always visible */

    /* Fixed deep-violet "stamp" block — logo badge, admin sidebar,
       flashcard answer face. Deliberately a touch richer/darker than
       --card so these read as a distinct solid block, with --cream
       (light lavender, matching --ink's tint) as its paired text color. */
    --navy:  #200F4A;
    --cream: #EEE3FF;

    /* Single accent — bright orchid/violet, same hue family as the
       text/background, used for badges, highlights, icons. */
    --accent: #C77DFF;

    /* Status colors are intentionally NOT tinted violet — success/danger
       need to stay visually distinct from the rest of the UI (correct
       vs wrong answers, active vs blocked accounts), so they keep their
       own recognizable green/red regardless of the violet palette. */
    --success: #34D399;
    --danger:  #FB7185;

    /* Buttons: the one deliberately vivid, non-violet accent — a
       blue-to-red gradient, always paired with white text. */
    --btn-gradient: linear-gradient(90deg, #4F46E5 0%, #E11D48 100%);
    --btn-gradient-hover: linear-gradient(90deg, #6D5EF0 0%, #F43F63 100%);

    /* Single, fixed whole-page gradient — richer/more saturated violet
       throughout (was closer to black-with-a-tint before), never light
       enough anywhere to threaten text contrast. */
    --page-gradient: linear-gradient(135deg, #170B33 0%, #4B2696 50%, #200F4A 100%);
    --header-glass:  rgba(23, 11, 51, 0.55);
    --header-blur:   10px;

    --font-display: 'Inter', Arial, sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
    --font-mono: 'Inter', Arial, sans-serif;

    --radius: 14px;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.25), 0 8px 24px -12px rgba(0,0,0,0.5);
    --shadow-lift: 0 4px 10px rgba(0,0,0,0.35), 0 16px 32px -16px rgba(0,0,0,0.6);
    --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--page-gradient);
    background-attachment: fixed;
    background-size: cover;
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: background-color .2s ease, color .2s ease;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Focus visibility — accessibility floor */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body { transition: background-color .2s ease, color .2s ease; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn-gradient); color: #FFFFFF; }
.btn-primary:hover { background: var(--btn-gradient-hover); box-shadow: var(--shadow-lift); }
.btn-accent { background: var(--btn-gradient); color: #FFFFFF; }
.btn-accent:hover { background: var(--btn-gradient-hover); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: 8px 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Top nav ---------- */
/* Thin, neutral frosted glass — no color of its own. The colorful
   gradient lives on the page body and reads through, blurred. Blur
   amount and gradient colors are both admin-editable (Settings). */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-glass);
    backdrop-filter: blur(var(--header-blur)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--header-blur)) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
}
.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    transform: rotate(-4deg);
    flex-shrink: 0;
}
img.brand-mark {
    object-fit: cover;
    background: var(--paper-dim);
}
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem;
    padding: 8px 14px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { background: var(--paper-dim); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.profile-link { display: inline-flex; text-decoration: none; }
.profile-avatar {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    border: 1.5px solid var(--line); background: var(--paper-dim);
}
.profile-avatar-fallback {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem; border: 1.5px solid var(--line);
}

.nav-toggle { display: none; }
.nav-links-mobile { display: none; flex-direction: column; gap: 2px; padding: 4px 24px 16px; }
.nav-links-mobile a { text-decoration: none; color: var(--ink-soft); font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav-links-mobile a:hover, .nav-links-mobile a.active { background: var(--paper-dim); color: var(--ink); }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-links-mobile.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 64px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow-stamp {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(199,125,255,0.16);
    border: 1px dashed var(--accent);
    padding: 5px 12px;
    border-radius: 999px;
    transform: rotate(-2deg);
    margin-bottom: 18px;
}
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lede { font-size: 1.1rem; max-width: 46ch; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Search — the "oversized index card" */
.search-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 10px;
    border: 1px solid var(--line);
    margin-top: 34px;
    max-width: 560px;
}
.search-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; }
.search-row input {
    flex: 1; border: none; outline: none; background: transparent;
    font-family: var(--font-body); font-size: 1.05rem; color: var(--ink); padding: 10px 6px;
}
.search-icon { color: var(--ink-soft); flex-shrink: 0; }
.search-suggestions {
    border-top: 1px dashed var(--line);
    max-height: 320px; overflow-y: auto;
}
.search-suggestions:empty { border-top: none; }
.suggestion-item {
    display: flex; align-items: baseline; gap: 10px;
    padding: 12px 14px; text-decoration: none; color: var(--ink);
    border-radius: 8px;
}
.suggestion-item:hover { background: var(--paper-dim); }
.suggestion-word { font-family: var(--font-display); font-weight: 600; }
.suggestion-ipa { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-soft); }
.suggestion-level { margin-left: auto; }

/* Flip word-of-the-day card, used in hero */
.wotd-card {
    perspective: 1200px;
    height: 280px;
}
.wotd-inner {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.9,.25,1);
}
.wotd-card.flipped .wotd-inner { transform: rotateY(180deg); }
.wotd-face {
    position: absolute; inset: 0; backface-visibility: hidden;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 26px; display: flex; flex-direction: column; justify-content: center;
}
.wotd-face.back { transform: rotateY(180deg); }
.wotd-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 10px; }
.wotd-word { font-family: var(--font-display); font-size: 2rem; }
.wotd-ipa { font-family: var(--font-mono); color: var(--accent); }

/* ---------- Level badge (the "rubber stamp") ---------- */
.level-badge {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem;
    padding: 3px 9px; border-radius: 6px;
    border: 1.5px solid currentColor;
    transform: rotate(-3deg);
    letter-spacing: 0.03em;
}
.level-A1, .level-A2 { color: var(--success); }
.level-B1, .level-B2 { color: var(--accent); }
.level-C1, .level-C2 { color: var(--danger); }

/* ---------- Sections / cards ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }

.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow-card);
}
.feature-icon {
    width: 42px; height: 42px; border-radius: 10px; background: var(--paper-dim);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--accent);
}

/* ---------- Card-catalog drawers (level browser) ---------- */
.drawer-row {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
@media (max-width: 900px) { .drawer-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .drawer-row { grid-template-columns: repeat(2, 1fr); } }

.drawer {
    text-decoration: none; color: var(--ink);
    background: linear-gradient(180deg, var(--card), var(--paper-dim));
    border: 1px solid var(--line);
    border-top: 6px solid var(--accent);
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform .15s ease, box-shadow .15s ease;
}
.drawer:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.drawer-level { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.drawer-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); }

/* ---------- Word detail card ---------- */
.word-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-card);
    padding: 32px;
    position: relative;
}
.word-card::before {
    content: '';
    position: absolute; top: 0; left: 28px; right: 28px; height: 0;
    border-top: 2px dashed var(--line);
}
.word-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; }
.word-title { font-size: 2.2rem; }
.word-pos { font-style: italic; color: var(--ink-soft); }
.word-pronounce { display: flex; align-items: center; gap: 10px; margin: 8px 0 22px; }
.ipa { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent); }
.play-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink);
    background: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer;
    color: var(--ink); flex-shrink: 0;
}
.play-btn:hover { background: var(--ink); color: var(--paper); }
.play-btn svg { pointer-events: none; }
.word-section { margin-bottom: 20px; }
.word-section-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 6px; }
.synonym-pill {
    display: inline-block; background: var(--paper-dim); border: 1px solid var(--line);
    padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; margin: 0 6px 6px 0;
}
.uz-toggle-panel {
    background: var(--paper-dim); border-radius: 10px; padding: 14px 16px; margin-top: 8px;
    display: none;
}
.uz-toggle-panel.open { display: block; }

/* ---------- Flashcards ---------- */
.flash-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0 40px; }
.flashcard { width: min(480px, 92vw); height: 300px; perspective: 1400px; cursor: pointer; }
.flashcard-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }
.flashcard-face {
    position: absolute; inset: 0; backface-visibility: hidden;
    background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-lift); display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 28px; text-align: center;
}
.flashcard-face.back { transform: rotateY(180deg); background: var(--navy); color: var(--cream); }
.flashcard-face.back p { color: rgba(238,227,255,0.82); }
.flash-progress { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-soft); }
.flash-controls { display: flex; gap: 12px; }

/* ---------- Test / quiz ---------- */
.quiz-card { max-width: 640px; margin: 0 auto; }
.quiz-progress-bar { height: 6px; background: var(--paper-dim); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress-fill { height: 100%; background: var(--accent); transition: width .3s ease; }
.quiz-options { display: grid; gap: 10px; margin-top: 20px; }
.quiz-option {
    text-align: left; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line);
    background: var(--card); cursor: pointer; font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
}
.quiz-option:hover { border-color: var(--ink); }
.quiz-option.correct { border-color: var(--success); background: rgba(52,211,153,0.14); }
.quiz-option.wrong { border-color: var(--danger); background: rgba(251,113,133,0.14); }
.quiz-result { text-align: center; padding: 40px 0; }
.quiz-result .score { font-family: var(--font-display); font-size: 3.4rem; }

/* ---------- Forms ---------- */
.form-card {
    max-width: 440px; margin: 60px auto; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-card);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border-radius: 9px; border: 1.5px solid var(--line);
    font-family: var(--font-body); font-size: 0.98rem; background: var(--paper); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin-top: 16px; }
.alert { padding: 12px 16px; border-radius: 9px; font-size: 0.9rem; margin-bottom: 18px; }
.alert-error { background: rgba(251,113,133,0.14); color: var(--danger); }
.alert-success { background: rgba(52,211,153,0.14); color: var(--success); }
.tg-cta {
    display: flex; align-items: center; gap: 12px; background: var(--paper-dim);
    border-radius: 10px; padding: 14px; margin-bottom: 22px;
}

/* ---------- Dashboard ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; }
.tab {
    font-family: var(--font-mono); font-size: 0.85rem; padding: 8px 16px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--card); color: var(--ink-soft); cursor: pointer; white-space: nowrap;
    text-decoration: none;
}
.tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.word-list { display: grid; gap: 10px; }
.word-row {
    display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; padding: 14px 16px;
}
.word-row-word { font-family: var(--font-display); font-weight: 600; min-width: 120px; }
.word-row-def { color: var(--ink-soft); font-size: 0.9rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- My Words: saved-word cards ---------- */
.saved-word-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .saved-word-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .saved-word-grid { grid-template-columns: 1fr; } }
.saved-word-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.saved-word-card .learnt-label { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Profile page ---------- */
.profile-header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.profile-avatar-lg {
    width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--line); background: var(--paper-dim);
}
.profile-avatar-lg-fallback {
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--navy); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 2rem; border: 2px solid var(--line);
}
.profile-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
@media (max-width: 640px) { .profile-stat-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 60px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-row small { color: var(--ink-soft); font-family: var(--font-mono); font-size: 0.78rem; }

/* ---------- Admin shell ---------- */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-sidebar { background: var(--navy); color: var(--cream); padding: 24px 18px; }
.admin-sidebar .brand-name { color: var(--cream); }
.admin-nav { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { color: rgba(238,227,255,0.75); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(238,227,255,0.12); color: var(--cream); }
.admin-main { padding: 30px clamp(18px, 3vw, 40px); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat-card .num { font-family: var(--font-display); font-size: 1.9rem; }
.stat-card .label { font-size: 0.8rem; color: var(--ink-soft); }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.data-table th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); background: var(--paper-dim); }
.table-wrap { overflow-x: auto; border-radius: 12px; }

.badge-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.badge-active { background: rgba(52,211,153,0.16); color: var(--success); }
.badge-blocked { background: rgba(251,113,133,0.16); color: var(--danger); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
