/* ============================================================
   ZBaiArt — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #7c4dff;
    --primary-dk:#5c2ddf;
    --primary-lt:#f0eaff;
    --amber:     #b090e8;
    --bg:        #0d0d1a;
    --bg-card:   #1a1a2e;
    --bg-card2:  #16163a;
    --border:    #3a2a6e;
    --text:      #f0e8ff;
    --muted:     #b090e8;
    --radius:    10px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Raleway', sans-serif;
    font-size: 19px;
    line-height: 1.75;
    min-height: 100vh;
}
@media (max-width: 768px) { body { font-size: 17px; } }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Navbar ---- */
.navbar {
    background: rgba(13,13,26,0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    height: auto;
    gap: 8px;
    flex-wrap: nowrap;
}
.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; overflow: visible; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }

.btn-ss, .btn-ss-cta, .btn-ss-login, .btn-unlock-ss {
    font-family: 'Syne', sans-serif;
    background: var(--primary);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-ss:hover, .btn-ss-cta:hover,
.btn-ss-login:hover, .btn-unlock-ss:hover { background: var(--primary-dk); }

.btn-coming-soon {
    background: #30363d;
    color: #8b949e !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: default;
}

/* Tier badges */
.tier-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.tier-bronze    { background: var(--primary); color: #fff; }
.tier-silver    { background: linear-gradient(135deg, #7c4dff, #b090e8); color: #fff; }
.tier-gold      { background: linear-gradient(135deg, #b090e8, #d4af37); color: #000; }
.tier-platinum  { background: linear-gradient(135deg, #d4af37, #a0c0ff); color: #000; }
.tier-furry     { background: linear-gradient(135deg, #a0c0ff, #b090e8); color: #000; }




.btn-primary {
    background: transparent;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid var(--primary);
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--primary); }

.btn-logout {
    background: #333;
    color: #ccc !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    text-decoration: none !important;
}

.full-width { width: 100%; justify-content: center; margin-top: 12px; }

.member-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 700;
    vertical-align: middle;
}
.nav-user {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1;
}
.nav-username {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user .member-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
}

/* ---- Choice Hero ---- */
.choice-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0d0d1a;
    padding: 60px 24px 48px;
    text-align: center;
}
.choice-hero-inner { max-width: 1400px; width: 100%; }
.choice-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: -3px;
    color: #fff;
    line-height: 1;
    margin-bottom: 14px;
}
.choice-title span { color: var(--primary); }
.choice-sub {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 52px;
    line-height: 1.7;
}

/* Big image cards like eugenericai */
.choice-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 560px));
    gap: 24px;
    margin-bottom: 40px;
    justify-content: center;
}
@media (max-width: 700px) { .choice-cards { grid-template-columns: 1fr; gap: 16px; } }
.choice-cards--triad {
    grid-template-columns: repeat(3, minmax(0, 420px));
}
@media (max-width: 1180px) {
    .choice-cards--triad { grid-template-columns: repeat(2, minmax(0, 460px)); }
}
@media (max-width: 760px) {
    .choice-cards--triad { grid-template-columns: 1fr; }
}

.choice-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    aspect-ratio: 3/4;
    background: var(--bg-card);
    box-shadow: 0 18px 46px rgba(34, 9, 21, 0.26);
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 74px rgba(45, 8, 25, 0.38);
    text-decoration: none !important;
}
.choice-art-native:hover { box-shadow: 0 28px 74px rgba(124, 77, 255, 0.34); }
.choice-anime:hover { box-shadow: 0 28px 74px rgba(231, 84, 128, 0.34); }
.choice-western:hover { box-shadow: 0 28px 74px rgba(18, 29, 48, 0.42); }
.choice-card::before,
.choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.choice-card::before {
    z-index: 4;
    border: 1px solid rgba(255, 236, 245, 0.22);
    border-radius: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -38px 72px rgba(0, 0, 0, 0.2);
}
.choice-card::after {
    z-index: 2;
    opacity: 0.42;
    background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.18) 49%, transparent 64%);
    transform: translateX(-135%);
    transition: transform 0.48s ease;
}
.choice-card:hover::after { transform: translateX(135%); }

/* Background image fills the card */
.choice-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    filter: saturate(1.04) contrast(1.04);
    transition: transform 0.45s ease, filter 0.45s ease;
}
.choice-card:hover .choice-card-bg {
    filter: saturate(1.1) contrast(1.06);
    transform: scale(1.035);
}

/* Dark gradient overlay at bottom */
.choice-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 22%),
        linear-gradient(90deg, rgba(231,84,128,0.18) 0%, rgba(231,84,128,0) 42%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to top, rgba(4,1,5,0.98) 0%, rgba(8,2,8,0.72) 36%, rgba(0,0,0,0.16) 70%, rgba(0,0,0,0) 100%);
}
.choice-western .choice-card-overlay {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 22%),
        linear-gradient(90deg, rgba(255,179,71,0.2) 0%, rgba(255,179,71,0) 42%, rgba(37,76,118,0.16) 100%),
        linear-gradient(to top, rgba(5,4,4,0.98) 0%, rgba(12,7,7,0.72) 36%, rgba(0,0,0,0.16) 70%, rgba(0,0,0,0) 100%);
}

/* Text sits at bottom over gradient */
.choice-card-inner {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 38px 40px;
    text-align: left;
}
.choice-card h2 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 10px;
    font-kerning: normal;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
}
.choice-cards--triad .choice-card-inner { padding: 34px 32px; }
.choice-cards--triad .choice-card h2 { font-size: clamp(2.55rem, 3.4vw, 4rem); }
.choice-card-title-western {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}
.choice-card-title-main { display: block; }
.choice-card-title-suffix {
    font-size: 0.7em;
    line-height: 1;
    letter-spacing: 0;
    transform: translateY(-0.07em);
}
.choice-card p {
    color: rgba(255,255,255,0.84);
    font-size: 1.15rem;
    margin-bottom: 18px;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}
.choice-tiers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.choice-card .tier-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 235, 245, 0.22);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}
.choice-card .tier-backstage { background: rgba(255, 168, 201, 0.2); color: #fff; }
.choice-card .tier-diamond { background: rgba(255, 194, 107, 0.2); color: #fff; }
.choice-card .tier-custom { background: rgba(124, 77, 255, 0.18); color: #fff; }
.choice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: linear-gradient(135deg, #ff6fa8, #ff8a5a);
    color: #fff !important;
    font-weight: 800;
    padding: 11px 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 240, 248, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    font-size: 0.96rem;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none !important;
}
.choice-western .choice-btn { background: linear-gradient(135deg, #f0a23d, #4f87c7); }
.choice-card:hover .choice-btn {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

/* Placeholder when no image set */
.choice-art-native .choice-card-bg { background-color: #0d0d1a; background-image: linear-gradient(135deg, #1a0a3e 0%, #0d0d1a 100%); }
.choice-anime   .choice-card-bg { background-color: #1a0f2e; background-image: linear-gradient(135deg, #2d1a4a 0%, #1a0f2e 100%); }
.choice-western .choice-card-bg { background-color: #101928; background-image: linear-gradient(135deg, #263b56 0%, #101928 100%); }
@media (max-width: 700px) {
    .choice-card {
        border-radius: 16px;
        min-height: 420px;
    }
    .choice-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .choice-card,
    .choice-card-bg,
    .choice-card::after,
    .choice-btn {
        transition: none;
    }
    .choice-card:hover,
    .choice-card:hover .choice-card-bg,
    .choice-card:hover .choice-btn {
        transform: none;
    }
}
.choice-extras {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.browse-all-link {
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.browse-all-link:hover { color: var(--primary); text-decoration: none; }
.linktree-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text) !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s;
}
.linktree-btn:hover { border-color: var(--primary); color: var(--primary) !important; text-decoration: none !important; }

/* ---- Hero ---- */
.hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(13,13,26,0.0) 0%, rgba(124,77,255,0.08) 40%, transparent 70%);
    padding: 80px 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Sections ---- */
.support-section, .featured-section { padding: 70px 0; }
.support-section { border-top: 1px solid var(--border); }

.section-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.section-sub   { color: var(--muted); margin-bottom: 36px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.view-all { color: var(--primary); font-weight: 600; }

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.2s, transform 0.2s;
}
.support-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.support-card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.support-card h3  { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.support-card p   { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ---- Characters Page ---- */
.chars-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.chars-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 0 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.chars-header h1 { font-size: 2.4rem; font-weight: 900; color: #fff; }
.btn-how-voting {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 0.2s;
}
.btn-how-voting:hover { border-color: var(--primary); }

/* ---- Patreon gate banner ---- */
.patreon-gate-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.patreon-gate-banner.connected { border-color: #00c896; }
.gate-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.gate-content strong { color: #fff; }
.gate-content p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.status-not-connected { color: var(--primary); font-weight: 700; }
.status-connected { color: #00c896; font-weight: 700; }

/* ---- Top tab bar ---- */
.top-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    max-width: 100%;
}
.top-tab-bar::-webkit-scrollbar { display: none; }
.tab-group { display: flex; align-items: center; gap: 0; flex-shrink: 0; min-width: max-content; }
.tab-group-right { margin-left: auto; flex-shrink: 0; }
@media (max-width: 600px) {
    .top-tab-bar { flex-wrap: nowrap; }
    .tab-group-right { margin-left: 0; }
}
.top-tab {
    font-family: 'Syne', sans-serif;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}
.top-tab:hover { color: #fff; text-decoration: none; }
.top-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.top-tab.meta-tab {
    background: transparent;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    padding: 12px 20px;
}
.top-tab.meta-tab:hover {
    background: transparent;
    color: #fff;
}
.top-tab.meta-tab.active {
    background: transparent;
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.top-tab .tab-icon {
    margin-right: 8px;
    vertical-align: -1px;
}
.top-tab .tab-icon.upcoming { color: #8ec0ff; }
.top-tab .tab-icon.unreleased { color: #ffd58e; }
.top-tab .tab-icon.released { color: #98f3b8; }
.top-tab .tab-icon.hall { color: #ffd873; }
.top-tab .tab-icon.activity { color: #ffe6f2; }

/* ---- Search + Sort toolbar ---- */
.chars-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.search-form-inline { flex: 1; min-width: 220px; max-width: 480px; }
.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 12px;
    color: var(--muted);
    pointer-events: none;
}
.search-input-main {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 16px 10px 38px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.search-input-main::placeholder { color: var(--muted); }
.search-input-main:focus { outline: none; border-color: var(--primary); }
.search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 4px;
}
.search-clear:hover { color: #fff; }
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}
.char-count { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.sort-select {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-reset {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}
.btn-reset:hover { border-color: var(--primary); }

/* ---- Character Grid ---- */
.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 60px;
}
@media (max-width: 1200px) { .character-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .character-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .character-grid { grid-template-columns: 1fr; } }
.character-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: border-color 0.2s, transform 0.2s;
}
.character-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.card-image { position: relative; aspect-ratio: 3/4; overflow: visible; background: #1a1a2e; }
.card-image-inner { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.character-card:hover .card-image img { transform: scale(1.05); }
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.card-info { padding: 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-info h4 { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.2rem; }
.card-tier    { font-size: 0.85rem; font-weight: 600; color: var(--amber); margin-top: 4px; }
.card-source  { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.card-footer  { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-height: 32px; min-width: 0; }
.card-actions .voted-label { white-space: nowrap; }

/* Badges */
.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-new         { background: #00c896; color: #000; }
.badge-repeat      { background: #8855ff; color: #fff; }
.badge-in_progress { background: var(--primary); color: #fff; }
.card-badges-right { left: auto; right: 8px; }
.sug-expire-ok     { background: #1a3a2a; color: #00c896; }
.sug-expire-warn   { background: #3a2800; color: #ffaa33; }
.sug-expire-danger { background: #3a0a0a; color: #ff4444; }
.badge-hof         { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #000; font-weight: 700; }

/* Hall of Fame card glow */
.hof-card { box-shadow: 0 0 0 2px #ffd70055; }
.hof-card:hover { box-shadow: 0 0 16px rgba(255,215,0,0.4); border-color: #ffd700 !important; }
.hof-inducted { font-size: 0.8rem; color: #ffd700; font-weight: 600; }

/* HOF teaser on homepage */
.hof-teaser { margin: 32px auto 0; max-width: 700px; text-align: center; }
.hof-teaser-title { display: block; font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: #ffd700; margin-bottom: 16px; text-decoration: none; }
.hof-teaser-title:hover { text-decoration: underline; }
.hof-teaser-cards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hof-teaser-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; width: 120px; }
.hof-teaser-card img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; border: 2px solid #ffd700; transition: transform 0.2s; }
.hof-teaser-card:hover img { transform: scale(1.05); }
.hof-teaser-name { font-size: 0.8rem; color: #fff; font-weight: 600; text-align: center; }
.hof-teaser-votes { font-size: 0.75rem; color: #ffd700; }

/* Vote */
.vote-count-wrap { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 1.7rem; }
.vote-count-wrap svg { color: var(--primary); flex-shrink: 0; }
.vote-count-wrap span { font-weight: 700; color: #fff; font-size: 1.7rem; }
.btn-vote {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 5px 14px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-vote:hover:not(:disabled) { background: var(--primary-dk); }
.btn-vote:disabled { opacity: 0.6; cursor: not-allowed; }
.voted-label { color: #00c896; font-size: 0.82rem; font-weight: 700; }
.btn-boost {
    background: rgba(124,77,255,0.12);
    color: var(--primary);
    border: 1px solid rgba(124,77,255,0.35);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn-boost:hover:not(:disabled) { background: rgba(124,77,255,0.22); border-color: var(--primary); }
.btn-boost:disabled { opacity: 0.45; cursor: default; }

/* Creator-only Mark Done button on suggestion cards */
.btn-mark-done {
    background: rgba(0,200,100,0.12);
    color: #00c864;
    border: 1px solid rgba(0,200,100,0.35);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    margin-left: 6px;
}
.btn-mark-done:hover:not(:disabled) { background: rgba(0,200,100,0.22); border-color: #00c864; }
.btn-mark-done:disabled { opacity: 0.45; cursor: default; }

/* ---- Sub-tabs ---- */
.subtab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}
.subtab {
    padding: 10px 22px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.subtab:hover { color: #fff; }
.subtab.active { color: var(--primary); border-bottom-color: var(--primary); }
.subtab-lock { font-size: 0.75rem; }

/* ---- How It Works ---- */
.how-it-works {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.hiw-step { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 160px; }
.hiw-icon { font-size: 1.6rem; flex-shrink: 0; }
.hiw-step strong { display: block; font-family: 'Syne', sans-serif; color: #fff; font-size: 1rem; }
.hiw-step p { color: var(--muted); font-size: 0.85rem; margin-top: 2px; line-height: 1.4; }
.hiw-arrow { color: var(--border); font-size: 1.4rem; flex-shrink: 0; }
@media (max-width: 768px) { .hiw-arrow { display: none; } }

.voting-explainer {
    background: rgba(124,77,255,0.1);
    border: 1px solid rgba(124,77,255,0.3);
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.voting-explainer strong { color: #fff; }

.queue-explainer {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Heart vote progress */
.vote-ring-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
.vote-heart { display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.heart-empty { fill: rgba(255,255,255,0.18); }
.heart-fill  { fill: var(--primary); transition: clip-path 0.4s ease; }
.ring-complete .heart-fill { fill: #00e676; }
.ring-gold .heart-fill     { fill: #ffd700; }
.ring-gold .heart-empty    { fill: rgba(255,215,0,0.2); }
.ring-gold                 { box-shadow: 0 0 10px rgba(255,215,0,0.5); }
.ring-count {
    position: absolute;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.ring-check {
    position: absolute;
}

/* Repeat section on characters page */
.repeat-section {
    margin-top: 56px;
    border-top: 2px solid var(--border);
    padding-top: 32px;
}
.repeat-section-header {
    text-align: center;
    margin-bottom: 28px;
}
.repeat-badge-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.repeat-section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 8px;
}
.repeat-section-header p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Heart overlay — inside card-image (overflow:visible), sits bottom-right of image */
.character-card { position: relative; }
.card-image .vote-ring-wrap {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 68px;
    height: 68px;
    z-index: 2;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    padding: 6px;
}

/* Diamond how-it-works note */
.diamond-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #0d1a2e;
    border: 2px solid #7ab3ff;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 24px;
}
.diamond-note-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.diamond-note strong { display: block; font-family: 'Syne', sans-serif; color: #7ab3ff; font-size: 1.05rem; margin-bottom: 4px; }
.diamond-note p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* Notification preferences */
.notif-prefs-wrap { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
.notif-prefs { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.notif-prefs summary { padding: 16px 20px; cursor: pointer; font-family: 'Syne', sans-serif; font-size: 1rem; color: var(--text); list-style: none; }
.notif-prefs summary::-webkit-details-marker { display: none; }
.notif-prefs[open] summary { border-bottom: 1px solid var(--border); }
.notif-prefs-body { padding: 20px; }
.notif-prefs-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.notif-prefs-body label { color: var(--text); font-size: 0.9rem; }

/* Vote progress bar */
.vote-progress-wrap {
    height: 4px;
    background: var(--bg-card2);
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}
.vote-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ---- Voting Standings ---- */
.voting-standings { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
@media (max-width: 800px) { .voting-standings { grid-template-columns: 1fr; } }
.standings-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.standings-title { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }
.standings-list { display: flex; flex-direction: column; gap: 8px; }
.standings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg-card2);
    transition: background 0.2s;
}
.standings-row:hover { background: #1e1e3a; }
.standings-top { background: rgba(124,77,255,0.18); border: 1px solid rgba(124,77,255,0.3); }
.standings-rank { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; width: 40px; text-align: center; flex-shrink: 0; color: var(--muted); }
.standings-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.standings-initials-avatar { width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg, #2a1a5e 0%, #1a0a3e 100%); display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; color: #b090e8; border: 1px solid rgba(124,77,255,0.3); }
.standings-info { flex: 1; min-width: 0; }
.standings-info strong { display: block; font-family: 'Syne', sans-serif; color: #fff; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standings-info span { font-size: 0.92rem; color: var(--muted); }
.standings-votes { display: flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }

/* ---- Community / Suggestions ---- */
.suggest-form-wrap { display: flex; gap: 32px; align-items: flex-start; margin-top: 24px; flex-wrap: wrap; }
.suggest-form-card {
    flex: 1 1 320px;
    min-width: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.suggest-form-card h2 { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.suggest-intro { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; line-height: 1.6; }
.suggest-info-box { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.suggest-info-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.suggest-info-icon { font-size: 0.85rem; flex-shrink: 0; }

/* Tooltip */
.zb-tooltip-wrap { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.zb-tooltip-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: #333; color: #aaa; font-size: 0.65rem; font-weight: 700;
    cursor: default; flex-shrink: 0; user-select: none;
    transition: background 0.2s;
}
.zb-tooltip-wrap:hover .zb-tooltip-icon { background: var(--primary); color: #fff; }
.zb-tooltip-box {
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: #1e1e2e; border: 1px solid #333; border-radius: 8px;
    padding: 10px 12px; width: 240px; font-size: 0.78rem; color: #ccc; line-height: 1.5;
    pointer-events: none; opacity: 0; transition: opacity 0.15s;
    z-index: 100; white-space: normal; text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.zb-tooltip-box-wide { width: 300px; }
.zb-tooltip-wrap:hover .zb-tooltip-box { opacity: 1; }
/* Arrow */
.zb-tooltip-box::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: #333;
}
.form-row { margin-bottom: 18px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row.two-col { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 0.92rem; color: #fff; }
.form-group .hint { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.form-group .required { color: var(--primary); }
.form-input {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}
.form-input:focus { outline: none; border-color: var(--primary); }
.form-input::placeholder { color: var(--muted); }
.form-textarea { min-height: 90px; resize: vertical; }
.btn-submit-suggest {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 8px;
}
.btn-submit-suggest:hover:not(:disabled) { background: var(--primary-dk); }
.btn-submit-suggest:disabled { opacity: 0.6; cursor: not-allowed; }
.suggest-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 0.95rem;
}
.suggest-feedback.success { background: rgba(0,200,150,0.15); border: 1px solid #00c896; color: #00c896; }
.suggest-feedback.error   { background: rgba(124,77,255,0.15); border: 1px solid var(--primary); color: var(--primary); }

.my-suggestions { width: 320px; min-width: 280px; }
.my-suggestions h3 { font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.suggest-queue h2 { color: #fff; }
.suggestion-list { display: flex; flex-direction: column; gap: 10px; }
.suggestion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.suggestion-item.status-approved { border-color: #00c896; }
.suggestion-item.status-rejected { opacity: 0.6; }
.suggestion-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.suggestion-main strong { color: #fff; font-size: 1rem; }
.suggestion-series { color: var(--muted); font-size: 0.88rem; }
.suggestion-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.suggestion-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }
.suggestion-admin-note { color: var(--primary); font-style: italic; }
.status-badge-pending  { color: var(--amber); font-weight: 700; }
.status-badge-approved { color: #00c896; font-weight: 700; }
.status-badge-rejected { color: #888; font-weight: 700; }
.status-badge-expired  { color: #888; font-weight: 700; }
.suggestion-item.status-expired { opacity: 0.55; border-color: #444; }
.tier-pill-vault     { background: rgba(124,77,255,0.3); color: #fce8f0; padding: 2px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.tier-pill-diamond   { background: rgba(100,150,255,0.25); color: #a0c0ff; padding: 2px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.tier-pill-backstage { background: rgba(255,160,80,0.2); color: #ffa050; padding: 2px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }

/* ---- Modal ---- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
}
.modal-box h2 { font-size: 1.4rem; color: #fff; margin-bottom: 20px; }
.modal-box ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.modal-box li { color: var(--text); font-size: 0.95rem; }
.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 36px 20px;
    text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.footer-brand span { color: var(--primary); }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: #555; font-size: 0.8rem; }

/* ---- Patreon Sections ---- */
.patreon-section {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
}
.patreon-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.patreon-section-icon {
    font-size: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    line-height: 1;
}
.patreon-section-title { font-size: 1.6rem; font-weight: 900; color: #fff; }
.patreon-section-title span { color: var(--primary); }
.patreon-section-sub { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.patreon-join-btn { margin-left: auto; }

.content-subsection { margin-bottom: 40px; }
.subsection-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.subsection-label h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); }

/* ---- Western Coming Soon ---- */
.western-coming-soon {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.western-cs-icon { font-size: 4rem; margin-bottom: 16px; }
.western-coming-soon h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 14px; }
.western-coming-soon > p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }
.western-cs-tiers { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.western-cs-tier {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    text-align: center;
    flex: 1;
    min-width: 180px;
}
.western-cs-tier p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; line-height: 1.5; }

/* ---- Coming Soon Block ---- */
.coming-soon-block {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
}

/* ---- Misc ---- */
.main-content { min-height: calc(100vh - 64px - 120px); }
.no-results { color: var(--muted); text-align: center; padding: 60px 0; grid-column: 1/-1; }

/* ---- Cycle Countdown Banner ---- */
.cycle-countdown-banner {
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 18px;
    font-size: 0.92rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 8px;
}
.cycle-countdown-banner strong { color: var(--amber); }
.cycle-banner-coin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #ffd9a6;
    text-decoration: none;
    margin-left: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 183, 71, 0.22);
    border-radius: 999px;
    background: rgba(255, 183, 71, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cycle-banner-coin strong { color: #ffd27a; }
.cycle-banner-coin:hover {
    color: #fff1cf;
    background: rgba(255, 183, 71, 0.14);
    border-color: rgba(255, 210, 122, 0.42);
    transform: translateY(-1px);
}
.cycle-banner-coin:focus-visible {
    outline: 2px solid rgba(255, 210, 122, 0.5);
    outline-offset: 2px;
}

/* ---- Voting How-It-Works Banner ---- */
.voting-how-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(124,77,255,0.1);
    border: 1px solid rgba(231,84,128,0.25);
    border-radius: var(--radius);
    padding: 12px 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.vhb-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.vhb-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--muted);
    white-space: nowrap;
}
.vhb-step span { color: var(--text); font-weight: 600; }
.vhb-arrow { color: var(--border); font-size: 1rem; flex-shrink: 0; }
@media (max-width: 768px) {
    .vhb-arrow { display: none; }
    .vhb-steps { gap: 6px; min-width: 0; width: 100%; }
    .vhb-step { font-size: 0.8rem; min-width: 0; width: 100%; white-space: normal; align-items: flex-start; }
    .vhb-step span { min-width: 0; overflow-wrap: anywhere; }
}

/* ---- Hamburger ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(163,72,104,0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        z-index: 99;
        backdrop-filter: blur(8px);
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a, .nav-links .nav-user { padding: 10px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); width: 100%; }
    .nav-links a:last-child { border-bottom: none; }
    .btn-ss, .btn-ss-login, .btn-patreon, .btn-patreon-login { width: 100%; justify-content: center; margin-top: 4px; }
    .btn-logout { width: 100%; text-align: center; margin-top: 4px; }
    .navbar { position: relative; }
}

@media (max-width: 640px) {
    .hero { padding: 50px 20px; }
    .hero-title { font-size: 2.8rem; }
    .character-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
    .gate-content { flex-direction: column; align-items: flex-start; }
    .chars-page { padding: 0 12px 60px; }
    .top-tab-bar {
        margin: 0 -12px 20px;
        padding: 0 12px 2px;
    }
    .top-tab { padding: 10px 12px; font-size: 0.82rem; }
    .card-info { padding: 12px; }
    .card-info h4 { font-size: 1rem; }
    .standings-img { width: 48px; height: 48px; }
    .standings-initials-avatar { width: 48px; height: 48px; font-size: 1.2rem; }
    .standings-rank { width: 28px; font-size: 1rem; }
    .how-it-works { padding: 14px 16px; gap: 8px; }
    .suggest-form-card { padding: 20px; }
    .my-suggestions { width: 100%; }
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .card-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }
    .card-actions > * { max-width: 100%; }
    .vote-count-wrap { font-size: 1.35rem; }
    .vote-count-wrap span { font-size: 1.35rem; }
    .btn-vote, .btn-boost {
        font-size: 0.72rem;
        padding: 5px 8px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .zb-tooltip-box {
        left: auto;
        right: 0;
        transform: none;
        width: min(240px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
    }
    .zb-tooltip-box::after {
        left: auto;
        right: 10px;
        transform: none;
    }
}

@media (max-width: 420px) {
    .character-grid { grid-template-columns: 1fr; }
    .card-actions { justify-content: stretch; }
    .card-actions .btn-vote,
    .card-actions .btn-boost {
        width: 100%;
        white-space: normal;
        line-height: 1.15;
        padding: 7px 10px;
    }
}

.choice-footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.legal-disclaimer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ---- Upcoming Sets (zbaiart.php) ---- */
.upcoming-page { padding: 24px 0 60px; }
.upcoming-intro { margin-bottom: 28px; }
.upcoming-intro h2 { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.upcoming-intro p  { color: var(--muted); font-size: 0.95rem; }

.upcoming-section { margin-top: 40px; }
.upcoming-section:first-of-type { margin-top: 0; }
.upcoming-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.upcoming-tier-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.upcoming-backstage-label { background: linear-gradient(135deg, #ff9f43, #ee5a24); color: #fff; }
.upcoming-vault-label     { background: var(--primary); color: #fff; }
.upcoming-diamond-label   { background: linear-gradient(135deg, #7ab3ff, #c0a0ff); color: #000; }
.upcoming-count { color: var(--muted); font-size: 0.85rem; margin-left: auto; }

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1100px) { .upcoming-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .upcoming-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .upcoming-grid { grid-template-columns: 1fr; } }

.upcoming-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.upcoming-card:hover { transform: translateY(-3px); border-color: var(--primary); }

.upcoming-card-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #1a0a14;
}
.upcoming-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.upcoming-card:hover .upcoming-card-img-wrap img { transform: scale(1.05); }

.upcoming-img-blurred {
    filter: blur(18px) brightness(0.5);
    transform: scale(1.1) !important;
}
.upcoming-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 16px;
    background: rgba(0,0,0,0.3);
}
.upcoming-lock-icon { font-size: 2rem; }
.upcoming-lock-overlay span { color: #fff; font-size: 0.82rem; font-weight: 600; }
.btn-upcoming-unlock {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none !important;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 4px;
    transition: background 0.2s;
}
.btn-upcoming-unlock:hover { background: var(--primary-dk); }

.upcoming-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: var(--amber);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}
.upcoming-card-badge-diamond   { color: #c0a0ff; }
.upcoming-card-badge-backstage { color: #ff9f43; }

.upcoming-card-info {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.upcoming-card-info h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upcoming-name-locked { color: var(--muted) !important; letter-spacing: 2px; }
.upcoming-tier-pill {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.upcoming-tier-vault   { background: rgba(231,84,128,0.2); color: var(--primary); border: 1px solid rgba(124,77,255,0.3); }
.upcoming-tier-diamond { background: rgba(122,179,255,0.15); color: #7ab3ff; border: 1px solid rgba(122,179,255,0.3); }

/* ---- MEGA badge ---- */
.badge-mega {
    background: linear-gradient(135deg, #00c9a7, #0066cc);
    color: #fff;
}

/* ---- Load More ---- */
.load-more-wrap {
    text-align: center;
    padding: 32px 0 16px;
}
.btn-load-more {
    background: var(--bg-card);
    border: 2px solid var(--border);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.btn-load-more:hover { border-color: var(--primary); background: var(--bg-card2); }
.load-more-count { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* ---- Character Lightbox ---- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.lightbox-close:hover { background: var(--primary); }
.lightbox-loading { padding: 60px; text-align: center; color: var(--muted); }
.lb-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 460px;
}
@media (max-width: 680px) {
    .lb-layout { grid-template-columns: 1fr; }
}
.lb-img-wrap {
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    background: #1a0a14;
}
@media (max-width: 680px) {
    .lb-img-wrap { border-radius: 16px 16px 0 0; max-height: 340px; }
}
.lb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lb-details {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lb-header { display: flex; flex-direction: column; gap: 6px; }
.lb-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.lb-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.lb-source { color: var(--muted); font-size: 0.9rem; }
.lb-tier {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--amber);
    background: rgba(249,168,201,0.1);
    border: 1px solid rgba(249,168,201,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}
.lb-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-card2);
    border-radius: 10px;
    padding: 16px 18px;
}
.lb-stat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lb-stat-label { color: var(--muted); font-size: 0.85rem; flex-shrink: 0; width: 120px; }
.lb-stat-val { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.1rem; }
.lb-stat-sub { color: var(--muted); font-size: 0.8rem; }
.lb-progress-bar-wrap {
    flex: 1;
    height: 6px;
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    min-width: 80px;
}
.lb-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 6px;
    transition: width 0.4s ease;
}
.lb-vote-section { display: flex; flex-direction: column; }
.btn-lb-vote {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}
.btn-lb-vote:hover:not(:disabled) { background: var(--primary-dk); }
.btn-lb-vote:disabled { opacity: 0.6; cursor: not-allowed; }
.lb-voted-wrap { display: flex; align-items: center; }
.lb-hof-banner {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,170,0,0.1));
    border: 1px solid #ffd70066;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffd700;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

/* MEGA download section in lightbox */
.lb-mega-section { margin-top: 4px; }
.btn-mega-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00c9a7, #0066cc);
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.2s;
    width: 100%;
    justify-content: center;
}
.btn-mega-download:hover { opacity: 0.88; }
.lb-mega-locked {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    flex-wrap: wrap;
}
.lb-mega-lock-icon { font-size: 1.6rem; flex-shrink: 0; }
.lb-mega-locked > div { flex: 1; min-width: 120px; }
.lb-mega-locked strong { display: block; color: #fff; font-size: 0.95rem; }
.lb-mega-locked p { color: var(--muted); font-size: 0.82rem; margin: 2px 0 0; }
.lb-mega-tier-locked { border-color: rgba(124,77,255,0.3); }
.btn-mega-unlock { flex-shrink: 0; font-size: 0.82rem; padding: 8px 14px; }

/* ---- Just Dropped strip (homepage) ---- */
.just-dropped-strip {
    margin: 32px auto 0;
    max-width: 900px;
}
.jd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.jd-label {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.jd-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 700px) { .jd-cards { grid-template-columns: repeat(2, 1fr); } }
.jd-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none !important;
    transition: transform 0.2s;
    background: var(--bg-card);
}
.jd-card:hover { transform: translateY(-4px); }
.jd-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jd-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
}
.jd-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.jd-card-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jd-card-tier { font-size: 0.72rem; color: var(--amber); font-weight: 600; }

/* ---- Lightbox prev/next buttons ---- */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-prev { left: -54px; }
.lightbox-next { right: -54px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
@media (max-width: 700px) {
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
}

/* ---- Creator moderation panel ---- */
.creator-mod-panel {
    background: #1a1a2e;
    border: 1px solid #e7548033;
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
}
.creator-mod-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    user-select: none;
}
.creator-mod-header:hover { background: rgba(231,84,128,0.06); }
.mod-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border-radius: 99px;
    padding: 1px 8px;
    font-size: 0.78rem;
    margin-left: 8px;
}
.mod-toggle { font-size: 0.75rem; color: var(--muted); }
.creator-mod-body { display: none; padding: 0 20px 16px; }
.creator-mod-panel.open .creator-mod-body { display: block; }
.creator-mod-panel.open .mod-toggle { transform: rotate(180deg); }
.mod-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.mod-item {
    background: #12121f;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    transition: opacity 0.3s;
}
.mod-item-main { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 200px; }
.mod-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mod-item-info { display: flex; flex-direction: column; gap: 3px; font-size: 0.85rem; }
.mod-item-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mod-note-input {
    background: #1e1e33;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px 10px;
    color: #eee;
    font-size: 0.82rem;
    width: 160px;
}
.btn-mod-approve {
    background: #00897b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-mod-approve:hover { background: #00695c; }
.btn-mod-reject {
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-mod-reject:hover { background: #8b0000; }

/* ---- Mod suggestion image preview ---- */
.mod-preview-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100px;
}
.mod-preview-img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #333;
}
.mod-preview-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-align: center;
}
.mod-preview-empty {
    width: 100px;
    height: 120px;
    background: #1e1e33;
    border-radius: 8px;
    border: 2px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.75rem;
}

/* ---- Suggestion detail modal ---- */
.sug-modal-box {
    background: var(--bg-card);
    border-radius: 14px;
    max-width: 720px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}
.sug-modal-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
@media (max-width: 580px) {
    .sug-modal-layout { flex-direction: column; }
    .sug-modal-img { width: 100% !important; height: 200px !important; }
}
.sug-modal-img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.sug-modal-details { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sug-modal-name { font-size: 1.5rem; font-family: 'Syne', sans-serif; color: var(--text); margin: 0; }
.sug-modal-source { color: var(--muted); font-size: 0.9rem; margin: 0; }
.sug-modal-tier {
    display: inline-block;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.82rem;
    color: var(--muted);
    width: fit-content;
}
.sug-modal-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--muted);
    flex-wrap: wrap;
}
.sug-modal-field { display: flex; flex-direction: column; gap: 4px; }
.sug-modal-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.sug-modal-notes {
    background: var(--bg-card2);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.5;
}
.sug-modal-wiki {
    color: var(--primary);
    font-size: 0.88rem;
    text-decoration: none;
}
.sug-modal-wiki:hover { text-decoration: underline; }
.sug-modal-status-badge {
    margin-top: 6px;
    display: inline-block;
    background: rgba(0,230,118,0.15);
    border: 1px solid #00e676;
    color: #00e676;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    width: fit-content;
}

/* ---- Suggestion form tips ---- */
.form-field-tip {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 4px 0 8px;
    line-height: 1.5;
}
.required-hint {
    color: #ffb300;
    font-size: 0.78rem;
}

/* ============================================================
   Vote Toast Notification
   ============================================================ */
.vote-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.vote-toast.vote-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.vote-toast.vote-toast-success { border-color: #00e676; color: #00e676; }
.vote-toast.vote-toast-error   { border-color: #ff5722; color: #ff5722; }

/* ============================================================
   Tier Pricing Bar (zbaiart.php non-patron prompt)
   ============================================================ */
.tier-pricing-bar {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.tier-pricing-cta {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.tier-pricing-cta:hover { background: var(--primary-dk); text-decoration: none; }

/* ============================================================
   Cycle Explainer Tooltip
   ============================================================ */
.cycle-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    user-select: none;
    flex-shrink: 0;
}
.cycle-help-btn:hover .cycle-tooltip,
.cycle-help-btn:focus .cycle-tooltip { display: block; }
.cycle-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a0a10;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    width: 280px;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.55;
    z-index: 200;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    white-space: normal;
    text-align: left;
}
.cycle-tooltip strong { color: var(--primary); }

/* ============================================================
   Footer — 4-column grid rebuild
   ============================================================ */
.site-footer {
    background: #1a0a10;
    border-top: 1px solid var(--border);
    padding: 56px 20px 32px;
    margin-top: auto;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.footer-brand span { color: var(--primary); }
.footer-tagline {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-social a {
    color: var(--muted);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); text-decoration: none; }
.footer-col-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    font-size: 0.88rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   Hall of Fame — Almost There section
   ============================================================ */
.almost-there-section {
    margin-top: 64px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.almost-there-header {
    text-align: center;
    margin-bottom: 32px;
}
.almost-there-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
}
.almost-there-header p {
    color: var(--muted);
    font-size: 0.95rem;
}
.almost-there-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.almost-there-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.almost-there-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    text-decoration: none;
}
.at-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.at-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.at-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.at-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.at-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}
.at-source {
    font-size: 0.78rem;
    color: var(--muted);
}
.at-progress-wrap {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.at-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), #ff8f70);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.at-votes {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ============================================================
   ZbWestern — Coming Soon / Waitlist Page
   ============================================================ */
.western-coming-soon {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
}
.western-cs-icon { font-size: 4rem; margin-bottom: 16px; }
.western-coming-soon h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
}
.western-waitlist-success {
    background: rgba(0,230,118,0.12);
    border: 1px solid #00e676;
    color: #00e676;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    margin: 16px auto;
    max-width: 420px;
}
.western-waitlist-form { margin: 0 auto; max-width: 440px; }
.western-waitlist-row {
    display: flex;
    gap: 10px;
}
.western-waitlist-row .form-input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card2);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Raleway', sans-serif;
}
.western-waitlist-row .form-input:focus {
    outline: none;
    border-color: var(--primary);
}
.western-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-discord-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-discord-cta:hover { background: #4752c4; text-decoration: none; }
.western-preview-teaser {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}
.western-char-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.western-chip {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--text);
    transition: border-color 0.2s, color 0.2s;
    cursor: default;
}
.western-chip:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 520px) {
    .western-waitlist-row { flex-direction: column; }
    .western-coming-soon { padding: 32px 20px; }
}

/* ============================================================
   HOF Card gold heart ring
   ============================================================ */
.ring-gold .vote-heart .heart-fill { fill: #ffd700; }
.ring-gold .vote-heart .heart-empty { fill: none; stroke: #ffd700; stroke-width: 1.5px; }

/* ============================================================
   Coming Next Strip (index.php)
   ============================================================ */
.coming-next-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.cn-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
}
.cn-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cn-img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.cn-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.cn-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cn-source { font-size: 0.8rem; color: var(--muted); }
.cn-progress-wrap {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.cn-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), #ff8f70);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.cn-votes { font-size: 0.75rem; color: var(--muted); }
.cn-vote-btn {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.cn-vote-btn:hover { background: var(--primary-dk); text-decoration: none; }
@media (max-width: 520px) {
    .cn-inner { flex-wrap: wrap; }
    .cn-vote-btn { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   Shareable Character Page (/character.php)
   ============================================================ */
.char-page-back {
    display: inline-block;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
    text-decoration: none;
    transition: color 0.2s;
}
.char-page-back:hover { color: var(--text); text-decoration: none; }
.char-page-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 700px) {
    .char-page-layout { grid-template-columns: 1fr; }
}
.char-page-img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--border);
    display: block;
}
.char-page-name {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 4px;
}
.char-page-source {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.char-page-meta { margin-bottom: 20px; }
.char-page-tier {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.82rem;
    color: var(--muted);
}
.char-page-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.char-page-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 20px;
    min-width: 80px;
}
.char-page-stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.char-page-stat-label {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 4px;
    text-align: center;
}
.char-page-hof-progress { margin-bottom: 20px; }
.char-page-vote-row { margin-bottom: 20px; }
.btn-vote-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 10px;
}
.voted-label-lg {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 600;
}
.char-page-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.char-page-share-label {
    font-size: 0.82rem;
    color: var(--muted);
}
.char-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    font-family: 'Raleway', sans-serif;
}
.char-share-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.char-page-browse-link {
    font-size: 0.88rem;
    color: var(--primary);
}

/* ============================================================
   My Votes Page (/myvotes.php)
   ============================================================ */
.myvotes-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 28px 0;
}
.myvotes-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 28px;
    min-width: 100px;
}
.myvotes-stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.myvotes-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
}
.myvotes-section { margin-top: 32px; }
.myvotes-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6px;
}
.myvotes-section-sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 18px;
}
.myvotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.myvotes-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.myvotes-card:hover { transform: translateY(-3px); border-color: var(--primary); text-decoration: none; }
.myvotes-card-prev { opacity: 0.75; }
.myvotes-card-prev:hover { opacity: 1; }
.myvotes-card-img {
    height: 160px;
    overflow: hidden;
}
.myvotes-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.myvotes-card-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.myvotes-card-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}
.myvotes-card-source { font-size: 0.75rem; color: var(--muted); }
.myvotes-card-tier { font-size: 0.75rem; color: var(--muted); }
.myvotes-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 0.75rem;
}
.myvotes-card-total { color: var(--primary); font-weight: 600; }
.myvotes-card-date { color: var(--muted); }

/* ---- Suggestion image upload / drag & drop ---- */
.ref-drop-zone {
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: rgba(255,255,255,0.03);
}
.ref-drop-zone.drag-over {
    border-color: var(--primary);
    background: rgba(233,30,99,0.08);
}
.ref-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    pointer-events: none;
}
.ref-drop-inner svg { opacity: 0.5; }
.ref-browse-label {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    pointer-events: all;
}
.ref-drop-hint { font-size: 0.75rem; opacity: 0.5; }
.myvotes-checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ============================================================
   Welcome Banner (first-time patron)
   ============================================================ */
.welcome-banner {
    background: linear-gradient(135deg, #c0395f 0%, #8a3a57 100%);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}
.welcome-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.welcome-banner-icon { font-size: 1.8rem; flex-shrink: 0; }
.welcome-banner-text {
    flex: 1;
    min-width: 200px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.welcome-banner-text strong { color: #fff; font-size: 1rem; display: block; margin-bottom: 2px; }
.welcome-banner-text span { color: rgba(255,255,255,0.85); }
.welcome-banner-links {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.btn-welcome-vote {
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.btn-welcome-vote:hover { opacity: 0.9; text-decoration: none; }
.btn-welcome-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-welcome-secondary:hover { background: rgba(255,255,255,0.25); text-decoration: none; }
.welcome-banner-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.welcome-banner-close:hover { color: #fff; }

/* ============================================================
   My Votes nav link
   ============================================================ */
.nav-myvotes {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-myvotes:hover { color: var(--primary-dk); text-decoration: none; }
.nav-alert-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    padding: 1px 6px;
    margin-left: 6px;
    border-radius: 999px;
    background: #f05a87;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.4;
    vertical-align: middle;
}

/* ── Nameplate system (shared — used on profile, feed, pinned cards) ───────
   Any element with class nameplate-X gets an animated gradient background.
   ::before = gradient layer  ::after = dark overlay so text stays readable.
   ───────────────────────────────────────────────────────────────────────── */
[class*="nameplate-"] {
    position: relative;
    border: none !important;
    overflow: hidden;
    --np-overlay-1: rgba(255,255,255,0.12);
    --np-overlay-2: rgba(255,255,255,0.03);
    --np-inner-top: rgba(19,14,34,0.34);
    --np-inner-bottom: rgba(11,8,23,0.70);
    --np-sheen-speed: 13s;
    --np-sheen-angle: 118deg;
    --np-edge: rgba(255,255,255,0.09);
    box-shadow: inset 0 0 0 1px var(--np-edge);
}
[class*="nameplate-"]::before {
    content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
    background-size: 300% 300%;
}
[class*="nameplate-"]::after {
    content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(var(--np-sheen-angle), transparent 8%, var(--np-overlay-1) 22%, transparent 38%),
        radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.08), transparent 55%),
        linear-gradient(180deg, var(--np-overlay-2) 0%, transparent 46%, rgba(255,255,255,0.025) 100%),
        linear-gradient(160deg, var(--np-inner-top), var(--np-inner-bottom));
    background-size: 220% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    animation: np-overlay-sheen var(--np-sheen-speed) linear infinite;
}
[class*="nameplate-"] > * { position: relative; z-index: 2; }

.nameplate-gold::before     { background: linear-gradient(160deg,#3a2800,#ffd700,#fff4a0,#c8970a,#ffd700,#3a2800); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-silver::before   { background: linear-gradient(160deg,#222,#c0c0c0,#f5f5f5,#888,#c0c0c0,#222); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-copper::before   { background: linear-gradient(160deg,#2a1200,#b87333,#e8a060,#6a3010,#b87333,#2a1200); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-neon::before     { background: linear-gradient(160deg,#001a14,#00ffcc,#00ddaa,#008866,#00ffee,#001a14); background-size:400% 400%; animation: np-pan 16s ease infinite; }
.nameplate-sakura::before   { background: linear-gradient(160deg,#2a0818,#ffb7c5,#ffe8f0,#cc6688,#ffb7c5,#2a0818); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-midnight::before { background: linear-gradient(160deg,#05051a,#3333cc,#7777ff,#10106a,#4444dd,#05051a); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-crimson::before  { background: linear-gradient(160deg,#1a0008,#dc143c,#ff5070,#7a0020,#dc143c,#1a0008); background-size:400% 400%; animation: np-pan 18s ease infinite; }
.nameplate-ocean::before    { background: linear-gradient(200deg,#020d1a,#003d77,#0088cc,#005599,#00aad4,#020d1a); background-size:400% 400%; animation: np-pan 18s ease infinite; }
.nameplate-toxic::before    { background: linear-gradient(160deg,#0a1a00,#558800,#aaff00,#336600,#ccff33,#0a1a00); background-size:400% 400%; animation: np-pan 16s ease infinite; }
.nameplate-forest::before   { background: linear-gradient(160deg,#050f05,#1a5c1a,#3aaa3a,#0d350d,#228b22,#050f05); background-size:400% 400%; animation: np-pan 20s ease infinite; }
.nameplate-void::before       { background: radial-gradient(ellipse at 50% 50%,#9900ff,#3300aa,#110022,#000005); background-size:300% 300%; animation: np-radial-pulse 12s ease-in-out infinite; }
.nameplate-aurora::before     { background: linear-gradient(45deg,#001a0d,#00cc66,#0055aa,#cc44ff,#00cc66,#001a0d); background-size:500% 500%; animation: np-diagonal 18s ease infinite; }
.nameplate-ember::before      { background: linear-gradient(to top,#0a0000,#660000,#cc3300,#ff6600,#ffcc00,#ffffaa); background-size:200% 400%; animation: np-rise 10s ease-in-out infinite; }
.nameplate-galaxy::before     { background: conic-gradient(from 0deg,#0a0020,#8800ff,#ff00cc,#00ccff,#0a0020,#8800ff); animation: np-spin 30s linear infinite; }
.nameplate-rose_gold::before  { background: linear-gradient(120deg,#1a0810,#7a3040,#c8943c,#f0c8a0,#c8943c,#7a3040,#1a0810); background-size:600% 600%; animation: np-pan 22s ease infinite; }
.nameplate-royal::before      { background: radial-gradient(ellipse at 30% 40%,#aa66ff,#4400cc,#110044,#000); background-size:300% 300%; animation: np-radial-pulse 14s ease-in-out infinite; }
.nameplate-sunset::before     { background: linear-gradient(90deg,#0a0000,#cc1100,#ff6600,#ffcc00,#ff9900,#cc1100,#0a0000); background-size:500% 100%; animation: np-sweep-h 16s ease-in-out infinite; }
.nameplate-holographic::before{ background: conic-gradient(from 0deg,#ff0000,#ff8800,#ffff00,#00ff88,#00ccff,#8800ff,#ff00cc,#ff0000); animation: np-spin 20s linear infinite; }
.nameplate-blood_moon::before { background: radial-gradient(ellipse at 50% 50%,#ff2200,#8b0000,#330000,#0a0000); background-size:300% 300%; animation: np-radial-pulse 8s ease-in-out infinite; }
.nameplate-arctic::before     { background: linear-gradient(to bottom,#ffffff,#aaddff,#55aadd,#aaddff,#ffffff); background-size:200% 400%; animation: np-rise 18s ease-in-out infinite reverse; }
.nameplate-storm::before      { background: linear-gradient(90deg,#02020f,#0a1a3a,#1a4488,#aaccff,#1a4488,#0a1a3a,#02020f); background-size:600% 100%; animation: np-sweep-h 14s ease-in-out infinite, np-storm-flash 10s steps(1) infinite; }
.nameplate-plasma::before     { background: linear-gradient(45deg,#050010,#6600cc,#00eeff,#220055,#00eeff,#6600cc,#050010); background-size:600% 600%; animation: np-diagonal 12s ease infinite; }
.nameplate-inferno::before    { background: linear-gradient(to top,#000,#3a0000,#aa1100,#ff4400,#ff9900,#ffee00,#ffffff); background-size:200% 400%; animation: np-rise 8s ease-in-out infinite; }
.nameplate-venom::before      { background: radial-gradient(ellipse at 50% 60%,#aaff00,#33cc00,#006600,#001500,#000); background-size:300% 300%; animation: np-radial-pulse 9s ease-in-out infinite; }
.nameplate-glitch::before     { background: linear-gradient(180deg,#ff0033 0%,#ff0033 33%,#00ff99 33%,#00ff99 66%,#3399ff 66%,#3399ff 100%); background-size:100% 300%; animation: np-glitch-step 9s steps(3) infinite; }
.nameplate-prism::before      { background: linear-gradient(135deg,#ff0000,#ff8800,#ffff00,#00ff88,#00aaff,#8800ff,#ff00cc,#ff0000); background-size:600% 600%; animation: np-diagonal 24s linear infinite; }
.nameplate-void_pulse::before { background: radial-gradient(ellipse at 50% 50%,#ffffff,#cc66ff,#5500aa,#110022,#000); background-size:400% 400%; animation: np-shockwave 10s ease-in-out infinite; }
.nameplate-lava::before       { background: linear-gradient(90deg,#0a0000,#1a0000,#8b0000,#ff4400,#8b0000,#1a0000,#0a0000); background-size:600% 100%; animation: np-sweep-h 12s ease-in-out infinite; }
.nameplate-frost::before      { background: linear-gradient(45deg,#001122,#aaddff,#ffffff,#77ccee,#ffffff,#aaddff,#001122); background-size:600% 600%; animation: np-diagonal 20s ease infinite; }
.nameplate-synthwave::before  { background: linear-gradient(to bottom,#0a0015,#220033,#ff00aa,#00ffee,#ff00aa,#220033,#0a0015); background-size:200% 600%; animation: np-rise 12s ease-in-out infinite; }

.nameplate-gold        { --np-overlay-1: rgba(255,242,163,0.30); --np-overlay-2: rgba(255,212,90,0.13); --np-sheen-speed: 17s; }
.nameplate-silver      { --np-overlay-1: rgba(226,238,255,0.27); --np-overlay-2: rgba(168,178,193,0.14); --np-sheen-speed: 19s; }
.nameplate-copper      { --np-overlay-1: rgba(255,190,132,0.26); --np-overlay-2: rgba(181,92,36,0.14); --np-sheen-speed: 18s; }
.nameplate-neon        { --np-overlay-1: rgba(120,255,232,0.33); --np-overlay-2: rgba(0,190,148,0.13); --np-sheen-angle: 98deg; --np-sheen-speed: 10s; }
.nameplate-sakura      { --np-overlay-1: rgba(255,210,228,0.35); --np-overlay-2: rgba(255,148,188,0.13); --np-sheen-angle: 132deg; --np-sheen-speed: 15s; }
.nameplate-midnight    { --np-overlay-1: rgba(166,182,255,0.25); --np-overlay-2: rgba(72,90,188,0.13); --np-sheen-angle: 84deg; --np-sheen-speed: 20s; }
.nameplate-crimson     { --np-overlay-1: rgba(255,138,164,0.30); --np-overlay-2: rgba(153,34,62,0.14); --np-sheen-angle: 125deg; --np-sheen-speed: 13s; }
.nameplate-ocean       { --np-overlay-1: rgba(132,228,255,0.31); --np-overlay-2: rgba(0,120,180,0.14); --np-sheen-angle: 105deg; --np-sheen-speed: 11s; }
.nameplate-toxic       { --np-overlay-1: rgba(221,255,122,0.30); --np-overlay-2: rgba(122,188,24,0.13); --np-sheen-angle: 97deg; --np-sheen-speed: 9s; }
.nameplate-forest      { --np-overlay-1: rgba(162,236,162,0.27); --np-overlay-2: rgba(38,112,38,0.14); --np-sheen-angle: 128deg; --np-sheen-speed: 16s; }
.nameplate-void        { --np-overlay-1: rgba(212,140,255,0.31); --np-overlay-2: rgba(126,76,232,0.16); --np-inner-top: rgba(13,6,27,0.46); --np-sheen-speed: 8s; }
.nameplate-aurora      { --np-overlay-1: rgba(161,255,220,0.33); --np-overlay-2: rgba(106,144,255,0.13); --np-sheen-angle: 145deg; --np-sheen-speed: 10s; }
.nameplate-ember       { --np-overlay-1: rgba(255,205,136,0.34); --np-overlay-2: rgba(255,128,42,0.14); --np-sheen-angle: 122deg; --np-sheen-speed: 8s; }
.nameplate-galaxy      { --np-overlay-1: rgba(205,158,255,0.33); --np-overlay-2: rgba(92,130,255,0.15); --np-sheen-angle: 65deg; --np-sheen-speed: 6.6s; }
.nameplate-rose_gold   { --np-overlay-1: rgba(255,214,184,0.32); --np-overlay-2: rgba(186,120,130,0.14); --np-sheen-angle: 136deg; --np-sheen-speed: 14s; }
.nameplate-royal       { --np-overlay-1: rgba(198,156,255,0.33); --np-overlay-2: rgba(98,54,212,0.14); --np-inner-top: rgba(20,10,40,0.48); --np-sheen-speed: 9.5s; }
.nameplate-sunset      { --np-overlay-1: rgba(255,205,118,0.34); --np-overlay-2: rgba(212,82,26,0.15); --np-sheen-angle: 108deg; --np-sheen-speed: 8.4s; }
.nameplate-holographic { --np-overlay-1: rgba(255,255,255,0.45); --np-overlay-2: rgba(170,255,255,0.18); --np-sheen-angle: 72deg; --np-sheen-speed: 5.5s; }
.nameplate-blood_moon  { --np-overlay-1: rgba(255,132,120,0.34); --np-overlay-2: rgba(165,28,28,0.15); --np-sheen-angle: 125deg; --np-sheen-speed: 7.5s; }
.nameplate-arctic      { --np-overlay-1: rgba(238,248,255,0.40); --np-overlay-2: rgba(144,214,255,0.16); --np-inner-top: rgba(18,30,54,0.42); --np-sheen-speed: 11.4s; }
.nameplate-storm       { --np-overlay-1: rgba(210,236,255,0.36); --np-overlay-2: rgba(88,136,190,0.15); --np-sheen-angle: 82deg; --np-sheen-speed: 7.8s; }
.nameplate-plasma      { --np-overlay-1: rgba(200,132,255,0.36); --np-overlay-2: rgba(74,220,255,0.15); --np-sheen-angle: 66deg; --np-sheen-speed: 6.2s; }
.nameplate-inferno     { --np-overlay-1: rgba(255,208,144,0.38); --np-overlay-2: rgba(224,70,20,0.17); --np-sheen-angle: 118deg; --np-sheen-speed: 6.1s; }
.nameplate-venom       { --np-overlay-1: rgba(196,255,132,0.36); --np-overlay-2: rgba(54,172,44,0.15); --np-sheen-angle: 95deg; --np-sheen-speed: 7s; }
.nameplate-glitch      { --np-overlay-1: rgba(255,255,255,0.22); --np-overlay-2: rgba(148,214,255,0.15); --np-sheen-angle: 90deg; --np-sheen-speed: 3.9s; }
.nameplate-prism       { --np-overlay-1: rgba(255,255,255,0.34); --np-overlay-2: rgba(182,255,240,0.15); --np-sheen-angle: 60deg; --np-sheen-speed: 5.9s; }
.nameplate-void_pulse  { --np-overlay-1: rgba(243,203,255,0.37); --np-overlay-2: rgba(139,82,244,0.16); --np-inner-top: rgba(15,7,30,0.45); --np-sheen-speed: 5.4s; }
.nameplate-lava        { --np-overlay-1: rgba(255,173,122,0.36); --np-overlay-2: rgba(198,52,18,0.17); --np-sheen-angle: 114deg; --np-sheen-speed: 6.8s; }
.nameplate-frost       { --np-overlay-1: rgba(240,252,255,0.42); --np-overlay-2: rgba(128,210,255,0.17); --np-inner-top: rgba(16,32,52,0.42); --np-sheen-angle: 72deg; --np-sheen-speed: 10.8s; }
.nameplate-synthwave   { --np-overlay-1: rgba(255,165,232,0.36); --np-overlay-2: rgba(102,255,248,0.16); --np-sheen-angle: 75deg; --np-sheen-speed: 6.6s; }

.nameplate-glitch::after { animation: np-overlay-sheen 4s steps(3) infinite, np-overlay-flicker 2.8s steps(2) infinite; }
.nameplate-storm::after  { animation: np-overlay-sheen 8.5s linear infinite, np-overlay-flash 9s steps(1) infinite; }
.nameplate-holographic::after { animation: np-overlay-sheen 4.8s linear infinite, np-overlay-flicker 6s ease-in-out infinite; }

.nameplate-galaxy::after {
    background:
        linear-gradient(var(--np-sheen-angle), transparent 8%, rgba(240,210,255,0.22) 23%, transparent 40%),
        radial-gradient(circle at 17% 28%, rgba(255,255,255,0.34) 0 1.2px, transparent 2px),
        radial-gradient(circle at 72% 36%, rgba(194,230,255,0.28) 0 1px, transparent 1.8px),
        radial-gradient(circle at 58% 75%, rgba(255,182,248,0.28) 0 1.1px, transparent 2px),
        radial-gradient(circle at 84% 22%, rgba(255,255,255,0.24) 0 0.9px, transparent 1.6px),
        linear-gradient(180deg, rgba(150,122,255,0.10), rgba(18,8,38,0.72));
    background-size: 240% 100%, 170px 170px, 160px 160px, 180px 180px, 150px 150px, 100% 100%;
    background-position: 0% 0%, 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: np-overlay-sheen 6.6s linear infinite, np-galaxy-twinkle 3.9s ease-in-out infinite;
}

.nameplate-lava::after {
    background:
        linear-gradient(var(--np-sheen-angle), transparent 8%, rgba(255,198,138,0.24) 24%, transparent 42%),
        repeating-linear-gradient(144deg, rgba(255,146,70,0.18) 0 10px, rgba(0,0,0,0.0) 10px 20px, rgba(255,214,120,0.22) 20px 22px, transparent 22px 36px),
        repeating-linear-gradient(34deg, rgba(43,17,10,0.52) 0 16px, rgba(255,137,54,0.0) 16px 32px),
        linear-gradient(180deg, rgba(255,110,50,0.14), rgba(20,6,2,0.74));
    background-size: 230% 100%, 230px 230px, 210px 210px, 100% 100%;
    background-position: 0% 0%, 0 0, 0 0, 0 0;
    animation: np-overlay-sheen 7.1s linear infinite, np-lava-flicker 2.4s ease-in-out infinite;
}

.nameplate-frost::after {
    background:
        linear-gradient(var(--np-sheen-angle), transparent 8%, rgba(228,246,255,0.28) 24%, transparent 40%),
        repeating-linear-gradient(124deg, rgba(224,248,255,0.20) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(34deg, rgba(174,226,255,0.16) 0 1px, transparent 1px 16px),
        radial-gradient(120% 80% at 18% 0%, rgba(248,255,255,0.20), transparent 58%),
        linear-gradient(170deg, rgba(100,180,220,0.13), rgba(8,18,38,0.72));
    background-size: 240% 100%, 190px 190px, 220px 220px, 100% 100%, 100% 100%;
    background-position: 0% 0%, 0 0, 0 0, 0 0, 0 0;
    animation: np-overlay-sheen 9.5s linear infinite, np-frost-shimmer 5.2s ease-in-out infinite;
}

.nameplate-void,
.nameplate-aurora,
.nameplate-ember,
.nameplate-galaxy,
.nameplate-rose_gold,
.nameplate-royal,
.nameplate-sunset,
.nameplate-holographic,
.nameplate-blood_moon,
.nameplate-arctic,
.nameplate-storm,
.nameplate-plasma,
.nameplate-inferno,
.nameplate-venom,
.nameplate-glitch,
.nameplate-prism,
.nameplate-void_pulse,
.nameplate-lava,
.nameplate-frost,
.nameplate-synthwave {
    animation: none !important;
    box-shadow: inset 0 0 0 1px var(--np-edge);
}

.nameplate-void        { animation: np-border-void        12s ease-in-out infinite; }
.nameplate-aurora      { animation: np-border-aurora      18s ease-in-out infinite; }
.nameplate-ember       { animation: np-border-ember       10s ease-in-out infinite; }
.nameplate-galaxy      { animation: np-border-galaxy      16s ease-in-out infinite; }
.nameplate-rose_gold   { animation: np-border-rose_gold   22s ease-in-out infinite; }
.nameplate-royal       { animation: np-border-royal       14s ease-in-out infinite; }
.nameplate-sunset      { animation: np-border-sunset      16s ease-in-out infinite; }
.nameplate-holographic { animation: np-border-holo        20s linear     infinite; }
.nameplate-blood_moon  { animation: np-border-blood_moon   8s ease-in-out infinite; }
.nameplate-arctic      { animation: np-border-arctic      18s ease-in-out infinite; }
.nameplate-storm       { animation: np-border-storm       14s ease-in-out infinite; }
.nameplate-plasma      { animation: np-border-plasma      12s ease-in-out infinite; }
.nameplate-inferno     { animation: np-border-inferno      8s ease-in-out infinite; }
.nameplate-venom       { animation: np-border-venom        9s ease-in-out infinite; }
.nameplate-glitch      { animation: np-border-glitch       9s steps(3)   infinite; }
.nameplate-prism       { animation: np-border-holo        24s linear     infinite; }
.nameplate-void_pulse  { animation: np-border-void_pulse  10s ease-in-out infinite; }
.nameplate-lava        { animation: np-border-lava        12s ease-in-out infinite; }
.nameplate-frost       { animation: np-border-frost       20s ease-in-out infinite; }
.nameplate-synthwave   { animation: np-border-synthwave   12s ease-in-out infinite; }

@keyframes np-border-void       { 0%,100%{box-shadow:0 0 8px 2px #5500aa,inset 0 0 8px 2px #3300aa}  50%{box-shadow:0 0 22px 6px #9900ff,inset 0 0 12px 4px #6600cc} }
@keyframes np-border-aurora     { 0%,100%{box-shadow:0 0 8px 2px #00cc66,inset 0 0 8px 2px #0055aa}  50%{box-shadow:0 0 22px 6px #cc44ff,inset 0 0 12px 4px #00cc88} }
@keyframes np-border-ember      { 0%,100%{box-shadow:0 0 8px 2px #cc3300,inset 0 0 8px 2px #660000}  50%{box-shadow:0 0 22px 6px #ff9900,inset 0 0 12px 4px #ff4400} }
@keyframes np-border-galaxy     { 0%{box-shadow:0 0 10px 3px #8800ff} 33%{box-shadow:0 0 16px 5px #ff00cc} 66%{box-shadow:0 0 16px 5px #00ccff} 100%{box-shadow:0 0 10px 3px #8800ff} }
@keyframes np-border-rose_gold  { 0%,100%{box-shadow:0 0 8px 2px #c8943c,inset 0 0 6px 2px #7a3040}  50%{box-shadow:0 0 20px 5px #f0c8a0,inset 0 0 10px 3px #c8943c} }
@keyframes np-border-royal      { 0%,100%{box-shadow:0 0 8px 2px #4400cc,inset 0 0 8px 2px #220066}  50%{box-shadow:0 0 22px 6px #aa66ff,inset 0 0 14px 4px #6600cc} }
@keyframes np-border-sunset     { 0%,100%{box-shadow:0 0 8px 2px #cc1100,inset 0 0 6px 2px #660000}  50%{box-shadow:0 0 22px 6px #ffcc00,inset 0 0 10px 3px #ff6600} }
@keyframes np-border-holo       { 0%{box-shadow:0 0 12px 4px #ff0000} 17%{box-shadow:0 0 12px 4px #ff8800} 33%{box-shadow:0 0 12px 4px #ffff00} 50%{box-shadow:0 0 12px 4px #00ff88} 67%{box-shadow:0 0 12px 4px #00ccff} 83%{box-shadow:0 0 12px 4px #8800ff} 100%{box-shadow:0 0 12px 4px #ff0000} }
@keyframes np-border-blood_moon { 0%,100%{box-shadow:0 0 8px 2px #8b0000,inset 0 0 8px 2px #330000}  50%{box-shadow:0 0 24px 7px #ff2200,inset 0 0 14px 4px #aa0000} }
@keyframes np-border-arctic     { 0%,100%{box-shadow:0 0 8px 2px #55aadd,inset 0 0 8px 2px #aaddff}  50%{box-shadow:0 0 20px 5px #ffffff,inset 0 0 12px 4px #aaddff} }
@keyframes np-border-storm      { 0%,100%{box-shadow:0 0 8px 2px #0a1a3a,inset 0 0 6px 2px #1a4488}  50%{box-shadow:0 0 22px 6px #aaccff,inset 0 0 12px 4px #5588cc} }
@keyframes np-border-plasma     { 0%,100%{box-shadow:0 0 8px 2px #6600cc,inset 0 0 8px 2px #220055}  50%{box-shadow:0 0 22px 6px #00eeff,inset 0 0 12px 4px #6600cc} }
@keyframes np-border-inferno    { 0%,100%{box-shadow:0 0 8px 2px #aa1100,inset 0 0 8px 2px #3a0000}  50%{box-shadow:0 0 24px 7px #ffee00,inset 0 0 14px 4px #ff4400} }
@keyframes np-border-venom      { 0%,100%{box-shadow:0 0 8px 2px #336600,inset 0 0 8px 2px #001500}  50%{box-shadow:0 0 22px 6px #aaff00,inset 0 0 12px 4px #33cc00} }
@keyframes np-border-glitch     { 0%{box-shadow:0 0 10px 3px #ff0033} 33%{box-shadow:0 0 10px 3px #00ff99} 66%{box-shadow:0 0 10px 3px #3399ff} 100%{box-shadow:0 0 10px 3px #ff0033} }
@keyframes np-border-void_pulse { 0%{box-shadow:0 0 4px 1px #5500aa}  60%{box-shadow:0 0 28px 8px #cc66ff,inset 0 0 16px 5px #7700cc} 100%{box-shadow:0 0 4px 1px #5500aa} }
@keyframes np-border-lava       { 0%,100%{box-shadow:0 0 8px 2px #8b0000,inset 0 0 8px 2px #1a0000}  50%{box-shadow:0 0 24px 7px #ff4400,inset 0 0 14px 4px #cc2200} }
@keyframes np-border-frost      { 0%,100%{box-shadow:0 0 8px 2px #77ccee,inset 0 0 8px 2px #aaddff}  50%{box-shadow:0 0 20px 5px #ffffff,inset 0 0 12px 4px #aaddff} }
@keyframes np-border-synthwave  { 0%,100%{box-shadow:0 0 10px 3px #ff00aa,inset 0 0 8px 2px #220033} 50%{box-shadow:0 0 22px 6px #00ffee,inset 0 0 12px 4px #ff00aa} }

[class*="nameplate-"].nameplate-feed {
    animation: none !important;
    background: #161622 !important;
    border-color: rgba(255,255,255,0.08) !important;
    overflow: hidden !important;
    isolation: isolate;
}
[class*="nameplate-"].nameplate-feed::before {
    content: '' !important;
    display: block !important;
    animation: none !important;
    opacity: 0.5 !important;
    filter: saturate(0.8) brightness(0.82);
}
[class*="nameplate-"].nameplate-feed::after {
    content: '' !important;
    display: block !important;
    animation: none !important;
    background: linear-gradient(90deg,
        rgba(8,9,18,0.12) 0%,
        rgba(8,9,18,0.42) 10%,
        rgba(8,9,18,0.7) 30%,
        rgba(8,9,18,0.9) 100%) !important;
}
.nameplate-feed .np-fx {
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
}

.np-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}
.nameplate-gold .np-fx,
.nameplate-silver .np-fx,
.nameplate-copper .np-fx,
.nameplate-rose_gold .np-fx {
    background:
        linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 38%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.55) 62%, transparent 80%),
        linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    background-size: 300% 100%, 200% 100%;
    animation: np-shine-sweep 3.5s ease-in-out infinite, np-shine-sweep2 7s ease-in-out infinite 1.2s;
    mix-blend-mode: screen;
}
.nameplate-ember .np-fx,
.nameplate-inferno .np-fx {
    background:
        radial-gradient(circle at 10% 95%, #ffdd55 1.2px, transparent 2.5px),
        radial-gradient(circle at 25% 92%, #ffaa33 1px, transparent 2px),
        radial-gradient(circle at 42% 96%, #ffee77 1.4px, transparent 2.8px),
        radial-gradient(circle at 58% 93%, #ff8822 1px, transparent 2px),
        radial-gradient(circle at 72% 95%, #ffcc44 1.2px, transparent 2.4px),
        radial-gradient(circle at 88% 91%, #ff6611 0.9px, transparent 1.8px),
        radial-gradient(circle at 33% 94%, #ffee99 0.8px, transparent 1.6px),
        radial-gradient(circle at 65% 97%, #ffaa55 1px, transparent 2px);
    background-size: 100% 100%;
    animation: np-ember-rise 4.5s linear infinite;
    mix-blend-mode: screen;
}
.nameplate-frost .np-fx,
.nameplate-arctic .np-fx {
    background:
        radial-gradient(circle at 12% 18%, #ffffff 1.1px, transparent 2.2px),
        radial-gradient(circle at 33% 42%, #ddeeff 0.9px, transparent 1.8px),
        radial-gradient(circle at 55% 22%, #ffffff 1px, transparent 2px),
        radial-gradient(circle at 74% 55%, #ccddff 1.2px, transparent 2.4px),
        radial-gradient(circle at 88% 30%, #ffffff 0.8px, transparent 1.6px),
        radial-gradient(circle at 22% 68%, #ddeeff 1px, transparent 2px),
        radial-gradient(circle at 48% 80%, #ffffff 1.1px, transparent 2.2px),
        radial-gradient(circle at 80% 78%, #ccddff 0.9px, transparent 1.8px);
    background-size: 100% 100%;
    animation: np-snow 9s linear infinite;
    opacity: 1;
}
.nameplate-sakura .np-fx {
    background:
        radial-gradient(ellipse 4px 3px at 8% 5%, #ffb7c5 0, #ffb7c5 1px, transparent 4px),
        radial-gradient(ellipse 3px 2px at 28% 8%, #ff99bb 0, #ff99bb 1px, transparent 3px),
        radial-gradient(ellipse 4px 2.5px at 52% 3%, #ffccdd 0, #ffccdd 1px, transparent 4px),
        radial-gradient(ellipse 3px 2px at 72% 7%, #ff88aa 0, #ff88aa 1px, transparent 3px),
        radial-gradient(ellipse 4px 3px at 90% 5%, #ffb7c5 0, #ffb7c5 1px, transparent 4px);
    background-size: 100% 100%;
    animation: np-petals 8s linear infinite;
    mix-blend-mode: screen;
}
.nameplate-void .np-fx,
.nameplate-void_pulse .np-fx,
.nameplate-galaxy .np-fx {
    background:
        radial-gradient(circle at 8% 18%, #ffffff 0.8px, transparent 1.6px),
        radial-gradient(circle at 22% 62%, #e0ccff 1px, transparent 2px),
        radial-gradient(circle at 38% 30%, #ffffff 0.6px, transparent 1.2px),
        radial-gradient(circle at 52% 78%, #ccaaff 1.1px, transparent 2.2px),
        radial-gradient(circle at 65% 15%, #ffffff 0.7px, transparent 1.4px),
        radial-gradient(circle at 78% 48%, #eeddff 0.9px, transparent 1.8px),
        radial-gradient(circle at 92% 72%, #ffffff 0.8px, transparent 1.6px),
        radial-gradient(circle at 15% 88%, #ddccff 1px, transparent 2px);
    background-size: 100% 100%;
    animation: np-twinkle 2.5s ease-in-out infinite, np-twinkle-b 3.8s ease-in-out infinite 0.9s;
}
.nameplate-holographic .np-fx,
.nameplate-prism .np-fx {
    background:
        linear-gradient(105deg, transparent 20%, rgba(255,100,200,0.5) 35%, rgba(255,255,255,0.7) 50%, rgba(100,220,255,0.5) 65%, transparent 80%),
        linear-gradient(75deg, transparent 30%, rgba(180,255,180,0.3) 48%, rgba(255,200,100,0.3) 52%, transparent 70%);
    background-size: 250% 100%, 200% 100%;
    animation: np-shimmer 3s linear infinite, np-shimmer2 5s linear infinite 0.7s;
    mix-blend-mode: overlay;
}
.nameplate-glitch .np-fx {
    background:
        repeating-linear-gradient(0deg,
            rgba(255,0,80,0.18) 0px, rgba(255,0,80,0.18) 1px,
            transparent 1px, transparent 3px,
            rgba(0,255,180,0.18) 3px, rgba(0,255,180,0.18) 4px,
            transparent 4px, transparent 6px,
            rgba(80,100,255,0.1) 6px, rgba(80,100,255,0.1) 7px,
            transparent 7px, transparent 10px);
    animation: np-glitch-flick 2s steps(6) infinite;
}
.nameplate-synthwave .np-fx {
    background:
        repeating-linear-gradient(0deg,
            rgba(255,0,170,0.3) 0, rgba(255,0,170,0.3) 1px,
            transparent 1px, transparent 4px,
            rgba(0,240,255,0.15) 4px, rgba(0,240,255,0.15) 5px,
            transparent 5px, transparent 9px);
    animation: np-synth-scroll 1.6s linear infinite;
}
.nameplate-storm .np-fx {
    background:
        linear-gradient(90deg, transparent 38%, rgba(255,255,255,0.9) 46%, rgba(220,240,255,1) 50%, rgba(255,255,255,0.9) 54%, transparent 62%),
        radial-gradient(ellipse 60% 100% at 50% 50%, rgba(100,160,255,0.25), transparent 80%);
    opacity: 0;
    animation: np-lightning 5s steps(1) infinite;
}
.nameplate-crimson .np-fx,
.nameplate-blood_moon .np-fx {
    background:
        radial-gradient(circle at 50% 50%, rgba(255,20,40,0.65), rgba(180,0,20,0.3) 40%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(255,80,80,0.2), transparent 55%);
    animation: np-heartbeat 1.8s ease-in-out infinite;
}
.nameplate-venom .np-fx,
.nameplate-toxic .np-fx {
    background:
        radial-gradient(circle at 15% 55%, rgba(180,255,0,0.55) 0, transparent 12%),
        radial-gradient(circle at 50% 35%, rgba(130,230,0,0.45) 0, transparent 14%),
        radial-gradient(circle at 82% 70%, rgba(210,255,60,0.5) 0, transparent 11%),
        radial-gradient(circle at 38% 80%, rgba(160,255,0,0.35) 0, transparent 9%);
    background-size: 100% 100%;
    animation: np-bubble 4s ease-in-out infinite;
    mix-blend-mode: screen;
}
.nameplate-lava .np-fx {
    background:
        linear-gradient(90deg, transparent, rgba(255,100,0,0.7) 30%, rgba(255,240,0,1) 50%, rgba(255,100,0,0.7) 70%, transparent),
        radial-gradient(ellipse 80% 40% at 50% 60%, rgba(255,60,0,0.3), transparent 70%);
    background-size: 200% 100%, 100% 100%;
    animation: np-lava-flow 5s linear infinite;
    mix-blend-mode: screen;
    filter: blur(1.5px);
}
.nameplate-plasma .np-fx {
    background:
        linear-gradient(72deg, transparent 30%, rgba(0,238,255,0.75) 48%, rgba(180,100,255,0.5) 52%, transparent 68%),
        linear-gradient(108deg, transparent 35%, rgba(0,200,255,0.4) 50%, transparent 65%);
    background-size: 200% 100%, 150% 100%;
    animation: np-plasma-zip 3s ease-in-out infinite, np-plasma-zip2 4.5s ease-in-out infinite 0.6s;
    mix-blend-mode: screen;
    filter: blur(1.5px);
}
.nameplate-royal .np-fx,
.nameplate-aurora .np-fx {
    background:
        radial-gradient(circle at 12% 25%, rgba(255,255,255,1) 0.8px, transparent 1.6px),
        radial-gradient(circle at 35% 65%, rgba(255,220,255,0.9) 0.7px, transparent 1.4px),
        radial-gradient(circle at 58% 20%, rgba(255,255,255,1) 0.9px, transparent 1.8px),
        radial-gradient(circle at 78% 55%, rgba(220,200,255,0.9) 0.8px, transparent 1.6px),
        radial-gradient(circle at 25% 85%, rgba(255,255,255,0.9) 0.6px, transparent 1.2px),
        radial-gradient(circle at 90% 30%, rgba(255,240,255,1) 0.7px, transparent 1.4px);
    animation: np-sparkle 1.8s ease-in-out infinite, np-sparkle-b 2.6s ease-in-out infinite 0.5s;
}
.nameplate-sunset .np-fx {
    background:
        linear-gradient(105deg, transparent 30%, rgba(255,240,160,0.55) 45%, rgba(255,255,220,0.7) 50%, rgba(255,220,120,0.55) 55%, transparent 70%),
        linear-gradient(105deg, transparent 45%, rgba(255,180,80,0.2) 50%, transparent 55%);
    background-size: 300% 100%, 200% 100%;
    animation: np-shine-sweep 6s ease-in-out infinite;
    mix-blend-mode: screen;
}
.nameplate-ocean .np-fx {
    background:
        radial-gradient(ellipse 55% 25% at 25% 38%, rgba(140,210,255,0.5), transparent 70%),
        radial-gradient(ellipse 50% 22% at 72% 62%, rgba(180,240,255,0.45), transparent 70%),
        radial-gradient(ellipse 30% 15% at 50% 20%, rgba(200,240,255,0.3), transparent 70%);
    background-size: 100% 100%;
    animation: np-ripple 6s ease-in-out infinite;
    mix-blend-mode: screen;
}
.nameplate-forest .np-fx {
    background:
        radial-gradient(circle at 18% 25%, rgba(200,255,100,0.35) 0, transparent 18%),
        radial-gradient(circle at 55% 60%, rgba(160,240,80,0.3) 0, transparent 20%),
        radial-gradient(circle at 82% 18%, rgba(220,255,140,0.25) 0, transparent 14%),
        radial-gradient(circle at 38% 80%, rgba(180,255,120,0.2) 0, transparent 16%);
    background-size: 100% 100%;
    animation: np-dapple 7s ease-in-out infinite;
    mix-blend-mode: screen;
}
.nameplate-neon .np-fx {
    background:
        linear-gradient(110deg, transparent 25%, rgba(0,255,220,0.7) 45%, rgba(180,255,255,0.9) 50%, rgba(0,255,220,0.7) 55%, transparent 75%),
        linear-gradient(110deg, transparent 38%, rgba(0,200,180,0.25) 50%, transparent 62%);
    background-size: 300% 100%, 200% 100%;
    animation: np-shine-sweep 3s linear infinite;
    mix-blend-mode: screen;
}
.nameplate-midnight .np-fx {
    background:
        radial-gradient(circle at 20% 30%, rgba(180,200,255,0.9) 0.7px, transparent 1.4px),
        radial-gradient(circle at 55% 65%, rgba(160,180,255,0.8) 0.6px, transparent 1.2px),
        radial-gradient(circle at 80% 25%, rgba(200,220,255,0.9) 0.8px, transparent 1.6px),
        radial-gradient(circle at 40% 80%, rgba(180,200,255,0.7) 0.5px, transparent 1px),
        linear-gradient(105deg, transparent 44%, rgba(140,170,255,0.45) 50%, transparent 56%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 300% 100%;
    animation: np-sparkle 3s ease-in-out infinite, np-shine-sweep 8s ease-in-out infinite 1s;
    mix-blend-mode: screen;
}

@keyframes np-pan         { 0%{background-position:0% 50%}   50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes np-diagonal    { 0%{background-position:0% 0%}    50%{background-position:100% 100%} 100%{background-position:0% 0%} }
@keyframes np-sweep-h     { 0%{background-position:0% 50%}   50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes np-rise        { 0%{background-position:50% 100%} 50%{background-position:50% 0%}   100%{background-position:50% 100%} }
@keyframes np-spin        { 0%{transform:rotate(0deg)}       100%{transform:rotate(360deg)} }
@keyframes np-radial-pulse{ 0%,100%{background-size:200% 200%;background-position:50% 50%} 50%{background-size:400% 400%;background-position:50% 50%} }
@keyframes np-shockwave   { 0%{background-size:100% 100%}   60%{background-size:600% 600%} 100%{background-size:100% 100%} }
@keyframes np-glitch-step { 0%{background-position:0% 0%}   33%{background-position:0% 33%} 66%{background-position:0% 66%} 100%{background-position:0% 0%} }
@keyframes np-storm-flash { 0%,88%{filter:brightness(1)}    90%{filter:brightness(2.2) saturate(0)} 93%,100%{filter:brightness(1)} }
@keyframes np-shine-sweep  { 0%{background-position:-100% 0,-100% 0} 65%,100%{background-position:250% 0,200% 0} }
@keyframes np-shine-sweep2 { 0%{background-position:-100% 0,-100% 0} 65%,100%{background-position:250% 0,200% 0} }
@keyframes np-ember-rise   { 0%{background-position:0 100%,0 100%,0 100%,0 100%,0 100%,0 100%,0 100%,0 100%;opacity:0;} 8%{opacity:1;} 88%{opacity:1;} 100%{background-position:5px -40%,-8px -55%,3px -35%,-5px -48%,7px -42%,-3px -38%,4px -45%,-6px -52%;opacity:0;} }
@keyframes np-snow         { 0%{background-position:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0;} 100%{background-position:18px 110px,-22px 140px,12px 120px,-8px 135px,25px 100px,-15px 125px,10px 115px,-20px 130px;} }
@keyframes np-petals       { 0%{background-position:0 0,0 0,0 0,0 0,0 0;} 100%{background-position:25px 200px,-18px 220px,35px 190px,-12px 210px,20px 215px;} }
@keyframes np-twinkle      { 0%,100%{opacity:1;} 50%{opacity:0.2;} }
@keyframes np-twinkle-b    { 0%,100%{opacity:0.5;} 50%{opacity:1;} }
@keyframes np-shimmer      { 0%{background-position:-100% 0,-100% 0;} 100%{background-position:200% 0,180% 0;} }
@keyframes np-shimmer2     { 0%{background-position:-100% 0,-100% 0;} 100%{background-position:200% 0,180% 0;} }
@keyframes np-glitch-flick { 0%,85%,100%{opacity:0.5;transform:translateX(0) scaleY(1);} 86%{opacity:1;transform:translateX(-3px) scaleY(1.02);} 87%{opacity:1;transform:translateX(4px) scaleY(0.98);} 88%{opacity:1;transform:translateX(-2px);} 89%{opacity:0.6;transform:translateX(2px);} 90%{opacity:0.5;transform:translateX(0);} }
@keyframes np-synth-scroll { 0%{background-position:0 0;} 100%{background-position:0 -18px;} }
@keyframes np-lightning    { 0%,82%{opacity:0;} 83%{opacity:1;} 84%{opacity:0;} 85%{opacity:0.95;} 86%{opacity:0.3;} 87%{opacity:0.8;} 88%,100%{opacity:0;} }
@keyframes np-heartbeat    { 0%,55%,100%{opacity:0.2;transform:scale(1);} 12%{opacity:0.8;transform:scale(1.06);} 26%{opacity:0.35;transform:scale(1);} 40%{opacity:1;transform:scale(1.1);} 48%{opacity:0.5;transform:scale(1.03);} }
@keyframes np-bubble       { 0%,100%{background-position:0 0,0 0,0 0,0 0;} 25%{background-position:4% -10%,-6% 8%,7% -5%,-3% 6%;} 75%{background-position:-5% 8%,7% -6%,-4% 9%,5% -4%;} }
@keyframes np-lava-flow    { 0%{background-position:-100% 0,0 0;} 100%{background-position:200% 0,0 0;} }
@keyframes np-plasma-zip   { 0%{background-position:-80% 0,-80% 0;} 100%{background-position:180% 0,180% 0;} }
@keyframes np-plasma-zip2  { 0%{background-position:-80% 0,-80% 0;} 100%{background-position:180% 0,180% 0;} }
@keyframes np-sparkle      { 0%,100%{opacity:0.35;} 50%{opacity:1;} }
@keyframes np-sparkle-b    { 0%,100%{opacity:1;} 50%{opacity:0.25;} }
@keyframes np-ripple       { 0%,100%{background-position:0 0,0 0,0 0;} 33%{background-position:8% 4%,-6% -3%,2% 6%;} 66%{background-position:-4% -6%,10% 3%,-8% 2%;} }
@keyframes np-dapple       { 0%,100%{opacity:0.35;} 30%{opacity:0.9;} 60%{opacity:0.55;} 80%{opacity:1;} }
@keyframes np-overlay-sheen {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
    50% { background-position: 120% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
    100% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}
@keyframes np-overlay-flicker {
    0%,14%,19%,47%,53%,100% { opacity: 1; }
    15%,18%,49%,51% { opacity: 0.72; }
}
@keyframes np-overlay-flash {
    0%,87%,100% { filter: brightness(1); }
    90% { filter: brightness(1.45); }
    93% { filter: brightness(1.08); }
}
@keyframes np-galaxy-twinkle {
    0%,100% { opacity: 1; filter: saturate(1); }
    25% { opacity: 0.92; filter: saturate(1.08); }
    50% { opacity: 1; filter: saturate(1.16) brightness(1.07); }
    75% { opacity: 0.9; filter: saturate(1.05); }
}
@keyframes np-lava-flicker {
    0%,100% { filter: brightness(1) saturate(1); }
    35% { filter: brightness(1.08) saturate(1.15); }
    60% { filter: brightness(0.96) saturate(1.06); }
    78% { filter: brightness(1.12) saturate(1.22); }
}
@keyframes np-frost-shimmer {
    0%,100% { opacity: 1; filter: brightness(1) saturate(1); }
    40% { opacity: 0.93; filter: brightness(1.08) saturate(1.06); }
    72% { opacity: 1; filter: brightness(1.12) saturate(1.1); }
}
