﻿#detail-view, #wishlist-view, #admin-view,
#profile-view, #chat-overview-view,
#leaderboard-view, #about-view, #legal-view, #fortnite-shop-view, #vouch-view, #fn-how-to-view {
    display: none;
}

/* --- VOUCH & PROOF STYLES — moved to end of file (redesign) --- */

/* ═══════════════════════════════════════════
   "DAS KÖNNTE DIR GEFALLEN" — SUGGESTIONS
═══════════════════════════════════════════ */
#fn-sugg-wrapper {
    margin: 0 0 24px 0;
    width: 100%;
}
.fn-suggestions-banner {
    background: #0b0f16;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}
.fn-suggestions-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 5%, #63b3ff 40%, #a855f7 60%, transparent 95%);
    pointer-events: none;
}
.fn-sugg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}
.fn-sugg-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}
.fn-sugg-live-dot {
    width: 6px; height: 6px;
    background: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 6px #00e676;
    animation: _pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes _pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.6); }
}
.fn-sugg-link {
    font-size: 0.67rem;
    color: rgba(99,179,255,0.6);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
    flex-shrink: 0;
}
.fn-sugg-link:hover { color: #93c5fd; }

/* Grid — 4 cols desktop, 3 cols tablet */
.fn-sugg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

/* Card */
.fn-sugg-card {
    background: #0e1420;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.fn-sugg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.7), 0 0 0 1px var(--rarity-color, rgba(255,255,255,0.15));
    z-index: 2;
}

/* Image: contain so nothing gets cut off */
.fn-sugg-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #060a10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fn-sugg-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 110%, var(--rarity-color, transparent) 0%, transparent 65%);
    opacity: 0.25;
    pointer-events: none;
}
.fn-sugg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}
.fn-sugg-card:hover .fn-sugg-img { transform: scale(1.08); }

/* Rarity badge */
.fn-sugg-rarity-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    font-size: 0.48rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    color: var(--rarity-color, #ccc);
    border: 1px solid var(--rarity-color, rgba(255,255,255,0.15));
    line-height: 1.5;
}

/* Info section below image */
.fn-sugg-info {
    padding: 9px 10px 10px;
    border-top: 2px solid var(--rarity-color, rgba(255,255,255,0.08));
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.fn-sugg-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.82em;
}
.fn-sugg-price {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #7dd3fc;
    margin-top: auto;
}
.fn-sugg-vbucks-icon {
    width: 12px;
    height: 12px;
    background: url('/img/vbucks-icon.webp') center/contain no-repeat;
    flex-shrink: 0;
}
.fn-sugg-eur {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.28);
    font-weight: 500;
}

/* Mobile: 2-column grid, readable sizes */
@media (max-width: 600px) {
    .fn-suggestions-banner { padding: 13px; border-radius: 14px; }
    .fn-sugg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .fn-sugg-title { font-size: 0.72rem; letter-spacing: 1px; }
    .fn-sugg-name { font-size: 0.68rem; }
}

/* --- FORTNITE ITEM SHOP STYLES (MODERN) --- */
.fn-hero-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: radial-gradient(circle at top, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.fn-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--gold-main);
    color: var(--gold-main);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.fn-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 15px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.fn-glow-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

.fn-hero-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.fn-category-section {
    margin-bottom: 60px;
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: var(--glass-border);
}

.fn-category-header {
    font-size: 2rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 5px solid var(--gold-main);
    padding-left: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fn-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* --- MOBILE OPTIMIERUNG: Horizontaler Kategorien-Scroll --- */
@media (max-width: 768px) {
    .fn-shop-grid {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Versteckt Scrollbar in Firefox */
    }
    .fn-shop-grid::-webkit-scrollbar {
        display: none; /* Versteckt Scrollbar in Chrome/Safari */
    }
    .fn-item-card {
        flex: 0 0 220px !important; /* Feste Breite für Karten auf dem Handy */
        scroll-snap-align: center; /* Zentriert die Karte beim Scrollen */
    }
}

/* KARTEN DESIGN & SELTENHEITS-FARBEN */
.fn-item-card {
    background: rgba(10, 15, 20, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

/* Farben für die Rarity Borders */
.fn-item-card.rarity-common { border-color: #888; }
.fn-item-card.rarity-uncommon { border-color: #2ecc71; }
.fn-item-card.rarity-rare { border-color: #00d2ff; }
.fn-item-card.rarity-epic { border-color: #9b59b6; }
.fn-item-card.rarity-legendary { border-color: #e67e22; }
.fn-item-card.rarity-mythic, .fn-item-card.rarity-marvel, .fn-item-card.rarity-starwars { border-color: #e74c3c; }
.fn-item-card.rarity-gaminglegends { border-color: #3498db; }

.fn-item-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.fn-sale-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: #ff2d55;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
    letter-spacing: 1px;
}

.fn-image-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
}

.fn-item-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8));
    z-index: 2;
}

.fn-item-card:hover .fn-item-image {
    transform: scale(1.1) rotate(2deg);
}

.fn-item-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.6);
    flex-grow: 1;
}

.fn-item-type {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 5px;
}

.fn-item-name {
    font-size: 1.05rem;
    margin: 0 0 12px 0;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
}

.fn-item-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    width: 100%;
}

.fn-item-card:hover .fn-item-price {
    background: var(--gold-main);
    color: #000;
    border-color: var(--gold-main);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.fn-vbucks-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-image: url('https://fortnite-api.com/images/vbuck.png');
    background-size: cover;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.fn-error-message {
    color: #ff2d55;
    text-align: center;
    padding: 25px;
    font-size: 1.2rem;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 16px;
    max-width: 600px;
    margin: 40px auto;
}

/* ══════════════════════════════════════════════
   FN INFO BANNER
   ══════════════════════════════════════════════ */
.fn-info-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(20,10,50,0.9), rgba(10,10,40,0.95));
    border: 1px solid rgba(109,40,217,0.55);
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 22px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(109,40,217,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}
.fn-info-banner:hover {
    border-color: rgba(139,92,246,0.8);
    box-shadow: 0 0 30px rgba(109,40,217,0.3);
}
.fn-info-icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    background: rgba(109,40,217,0.25);
    border: 2px solid rgba(139,92,246,0.7);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.05rem; color: #c4b5fd;
    box-shadow: 0 0 12px rgba(139,92,246,0.4);
}
.fn-info-text {
    flex: 1;
    font-size: 0.83rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.4px;
}
.fn-info-cta {
    color: #00e5ff;
    font-weight: 900;
    margin-left: 5px;
    text-shadow: 0 0 10px rgba(0,229,255,0.5);
}
.fn-info-arrow {
    flex-shrink: 0;
    color: rgba(139,92,246,0.8);
}

/* ══════════════════════════════════════════════
   V-BUCKS KAUFEN SECTION
   ══════════════════════════════════════════════ */
.vb-section {
    background: linear-gradient(160deg, #080f1e 0%, #0b1428 40%, #070d1a 100%);
    border-radius: 24px;
    padding: 32px 28px 36px;
    margin-bottom: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: visible;
}
.vb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,100,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* Header: title left, trust items right */
.vb-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.vb-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.vb-header-icon {
    width: 30px; height: 30px;
    filter: drop-shadow(0 0 10px rgba(0,200,255,1));
}
.vb-header-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
    text-shadow: 0 0 20px rgba(100,180,255,0.25);
}
.vb-header-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.vb-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.vbt-title {
    font-size: 0.73rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.vbt-sub {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.2;
}

/* Card grid */
.vb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* Card wrap: needed for floating badge outside overflow:hidden card */
.vb-card-wrap {
    position: relative;
    padding-top: 22px;
    display: flex;
    flex-direction: column;
}

/* Floating badge above card */
.vb-float-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
}
.vb-float-badge--popular {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    box-shadow: 0 4px 18px rgba(109,40,217,0.7), 0 0 0 1px rgba(167,139,250,0.3);
}
.vb-float-badge--best {
    background: linear-gradient(135deg, #047857, #059669);
    color: #fff;
    box-shadow: 0 4px 18px rgba(5,150,105,0.7), 0 0 0 1px rgba(52,211,153,0.3);
}

/* Cards */
.vb-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 16px 14px 18px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    overflow: hidden;
}
.vb-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,160,255,0.5);
    box-shadow: 0 18px 40px rgba(0,80,200,0.25);
}
.vb-card-popular {
    border-color: rgba(139,92,246,0.75);
    background: linear-gradient(160deg, rgba(80,30,160,0.18) 0%, rgba(50,10,100,0.1) 100%);
    box-shadow: 0 0 0 1px rgba(139,92,246,0.2), 0 0 30px rgba(139,92,246,0.35), 0 0 60px rgba(139,92,246,0.12);
}
.vb-card-popular:hover {
    border-color: rgba(167,139,250,1);
    box-shadow: 0 0 0 1px rgba(167,139,250,0.4), 0 0 40px rgba(139,92,246,0.55), 0 0 80px rgba(139,92,246,0.2), 0 20px 40px rgba(80,0,200,0.3);
    transform: translateY(-8px);
}
.vb-card-best {
    border-color: rgba(16,185,129,0.75);
    background: linear-gradient(160deg, rgba(5,80,50,0.2) 0%, rgba(2,40,25,0.12) 100%);
    box-shadow: 0 0 0 1px rgba(16,185,129,0.2), 0 0 30px rgba(16,185,129,0.35), 0 0 60px rgba(16,185,129,0.12);
}
.vb-card-best:hover {
    border-color: rgba(52,211,153,1);
    box-shadow: 0 0 0 1px rgba(52,211,153,0.4), 0 0 40px rgba(16,185,129,0.55), 0 0 80px rgba(16,185,129,0.2), 0 20px 40px rgba(0,120,80,0.3);
    transform: translateY(-8px);
}

/* Amount pill inside card */
.vb-amount-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(0,180,255,0.12);
    border: 1px solid rgba(0,200,255,0.35);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #7de8ff;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
}
.vb-amount-pill--popular {
    background: rgba(139,92,246,0.2);
    border-color: rgba(167,139,250,0.5);
    color: #d8b4fe;
}
.vb-amount-pill--best {
    background: rgba(16,185,129,0.18);
    border-color: rgba(52,211,153,0.5);
    color: #6ee7b7;
}

/* Coin image */
.vb-coin-wrap {
    margin: 6px 0 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vb-coin {
    width: 64px; height: 64px;
    filter: drop-shadow(0 0 14px rgba(0,200,255,0.8));
    transition: transform 0.3s;
}
.vb-coin-lg { width: 76px; height: 76px; }
.vb-coin-xl {
    width: 88px; height: 88px;
    filter: drop-shadow(0 0 18px rgba(0,220,255,0.9));
}
.vb-card:hover .vb-coin { transform: scale(1.08) translateY(-3px); }

/* Price */
.vb-euro {
    font-size: 1.75rem;
    font-weight: 700;
    color: #e8f4ff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
    text-shadow: 0 0 20px rgba(180,220,255,0.3);
}
.vb-euro--best {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74,222,128,0.4);
}

/* Buy button */
.vb-buy-btn {
    width: 100%;
    padding: 12px 10px;
    background: linear-gradient(135deg, #1d6fdb, #1255b0);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(29,111,219,0.35);
}
.vb-buy-btn:hover {
    background: linear-gradient(135deg, #2d80f0, #1a65d0);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,111,219,0.55);
}
.vb-buy-btn--popular {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    box-shadow: 0 4px 16px rgba(124,58,237,0.45);
}
.vb-buy-btn--popular:hover {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 8px 24px rgba(139,92,246,0.6);
    transform: translateY(-2px);
}
.vb-buy-btn-best {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 16px rgba(16,185,129,0.4);
}
.vb-buy-btn-best:hover {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 24px rgba(16,185,129,0.6);
    transform: translateY(-2px);
}

/* Legacy badge (used in Stripe cards) */
.vb-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 0 0 8px 8px;
}
.vb-badge-popular {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    border-top: none;
}
.vb-badge-best {
    background: linear-gradient(135deg, #1a9e50, #0d7a3c);
    color: #fff;
}

/* Legacy amount (used in Stripe cards) */
.vb-amount {
    font-size: 1.7rem;
    font-weight: 900;
    color: #e8f4ff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 4px;
}
.vb-card-best .vb-amount { color: #cfffdf; }

/* ── Stripe V-Bucks Tab ── */
.vb-pay-tabs {
    display: flex; gap: 8px; margin-bottom: 18px;
}
.vb-pay-tab {
    padding: 9px 22px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55);
    font-size: 0.82rem; font-weight: 700; font-family: inherit; cursor: pointer;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.vb-pay-tab.active {
    background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.5);
    color: #a5b4fc;
}
.vb-pay-tab:hover:not(.active) { background: rgba(255,255,255,0.08); }

/* ── Stripe grid: price size matches manual grid ── */
#vb-grid-stripe .vb-euro {
    font-size: 1.55rem;
    font-weight: 700;
    color: #e8f4ff;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
}
#vb-grid-stripe .vb-euro--best { color: #4ade80; }

/* Stripe fee note (below price) */
.vb-stripe-fee-note {
    font-size: 0.6rem;
    color: rgba(160,185,255,0.45);
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.vb-stripe-fee-note--best { color: rgba(110,231,183,0.45); }

/* Stripe card variant (popular — indigo instead of purple) */
.vb-card-stripe-popular {
    border-color: rgba(99,102,241,0.7);
    background: linear-gradient(160deg, rgba(50,40,160,0.15) 0%, rgba(30,20,100,0.08) 100%);
    box-shadow: 0 0 0 1px rgba(99,102,241,0.15), 0 0 28px rgba(99,102,241,0.3), 0 0 55px rgba(99,102,241,0.1);
}
.vb-card-stripe-popular:hover {
    border-color: rgba(129,140,248,1);
    box-shadow: 0 0 0 1px rgba(129,140,248,0.4), 0 0 40px rgba(99,102,241,0.5), 0 20px 40px rgba(60,40,200,0.3);
    transform: translateY(-8px);
}

/* Stripe popular floating badge (indigo) — layout inherited from .vb-float-badge */
.vb-float-badge--stripe-popular {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    box-shadow: 0 4px 18px rgba(79,70,229,0.7), 0 0 0 1px rgba(129,140,248,0.3);
}

/* Stripe amount pill variant (indigo) */
.vb-amount-pill--stripe {
    background: rgba(99,102,241,0.18);
    border-color: rgba(129,140,248,0.45);
    color: #a5b4fc;
}

/* Stripe buy button */
.vb-card-stripe { cursor: pointer; }
.vb-stripe-btn {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    box-shadow: 0 4px 16px rgba(79,70,229,0.4) !important;
}
.vb-stripe-btn:hover {
    background: linear-gradient(135deg, #6366f1, #818cf8) !important;
    box-shadow: 0 8px 24px rgba(99,102,241,0.6) !important;
    transform: translateY(-2px) !important;
}
.vb-stripe-btn--popular {
    background: linear-gradient(135deg, #4338ca, #6366f1) !important;
    box-shadow: 0 4px 16px rgba(67,56,202,0.5) !important;
}

/* Stripe info bar at bottom */
.vb-stripe-info-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

@media (max-width: 860px) {
    .vb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .vb-section { padding: 22px 16px 26px; }
    .vb-coin { width: 52px; height: 52px; }
    .vb-coin-lg { width: 60px; height: 60px; }
    .vb-coin-xl { width: 68px; height: 68px; }
    .vb-amount { font-size: 1.5rem; }
    .vb-header-trust { display: none; }
    .vb-section-header { justify-content: flex-start; }
    .fn-info-text { font-size: 0.75rem; }
}
@media (max-width: 640px) {
    .fn-info-banner {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    .fn-info-icon {
        width: 30px; height: 30px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .fn-info-text { font-size: 0.72rem; letter-spacing: 0; }
    .fn-info-arrow { display: none; }
}
@media (max-width: 400px) {
    .vb-grid { gap: 8px; }
    .vb-card { padding: 14px 8px 14px; }
    .vb-amount { font-size: 1.3rem; }
    .vb-euro { font-size: 1.2rem; }
    .vb-buy-btn { font-size: 0.7rem; padding: 9px 6px; }
}

/* --- FN MODAL (POPUP) STYLES --- */
/* ============================================================
   FN ITEM MODAL — FIM (Fortnite Item Modal)
   ============================================================ */

/* Desktop: Nebeneinander | Mobile: Übereinander (Vollbild) */
/* ═══════════════════════════════════════════
   FN ITEM MODAL  (fim-*)
   ═══════════════════════════════════════════ */
.fim-box {
    display: flex;
    flex-direction: row;
    padding: 0 !important;
    overflow: hidden !important;
    width: 92vw !important;
    max-width: 960px !important;
    max-height: 88vh !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    background: #0b0b13 !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.9) !important;
    position: relative !important;
}

.fim-close {
    position: absolute; top: 14px; right: 14px; z-index: 300;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s; font-family: inherit;
}
.fim-close:hover { background: rgba(220,30,60,0.6); color: #fff; border-color: transparent; }

/* Hero: image column */
.fim-hero {
    flex: 0 0 340px;
    display: flex; justify-content: center; align-items: center;
    position: relative; overflow: hidden;
    padding: 0;
}
.fim-glow {
    position: absolute; bottom: -20px; left: 50%;
    transform: translateX(-50%);
    width: 260px; height: 120px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.2) 0%, transparent 70%);
    filter: blur(22px); z-index: 1; pointer-events: none;
}
.fim-hero img {
    max-width: 90%; max-height: 340px;
    width: auto; height: auto; object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,0.95));
    animation: floatCart 4.5s ease-in-out infinite;
    position: relative; z-index: 2;
}

/* Rarity backgrounds */
.fim-hero.rarity-common-bg    { background: radial-gradient(ellipse at 50% 110%, #555 0%, #1a1a1a 45%, #080808 100%); }
.fim-hero.rarity-uncommon-bg  { background: radial-gradient(ellipse at 50% 110%, #2a7a38 0%, #0c2e15 45%, #020904 100%); }
.fim-hero.rarity-rare-bg      { background: radial-gradient(ellipse at 50% 110%, #0074cc 0%, #001e35 45%, #00060e 100%); }
.fim-hero.rarity-epic-bg      { background: radial-gradient(ellipse at 50% 110%, #7a28c0 0%, #220840 45%, #070210 100%); }
.fim-hero.rarity-legendary-bg { background: radial-gradient(ellipse at 50% 110%, #c06000 0%, #3e1800 45%, #100500 100%); }
.fim-hero.rarity-mythic-bg,
.fim-hero.rarity-marvel-bg    { background: radial-gradient(ellipse at 50% 110%, #c01e00 0%, #460600 45%, #100100 100%); }
.fim-hero.rarity-dc-bg        { background: radial-gradient(ellipse at 50% 110%, #163688 0%, #060c26 45%, #020408 100%); }
.fim-hero.rarity-icon-bg      { background: radial-gradient(ellipse at 50% 110%, #00aaaa 0%, #003030 45%, #000a0a 100%); }
.fim-hero.rarity-gaming-legends-bg { background: radial-gradient(ellipse at 50% 110%, #6400c8 0%, #1c003c 45%, #05000e 100%); }

/* Info column */
.fim-info {
    flex: 1; padding: 26px 24px 20px;
    display: flex; flex-direction: column;
    overflow-y: auto; max-height: 88vh;
    background: #0b0b13;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.07) transparent;
}
.fim-info::-webkit-scrollbar { width: 3px; }
.fim-info::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.fim-top-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.fim-badge {
    background: rgba(255,255,255,0.08);
    padding: 4px 11px; border-radius: 6px;
    font-size: 0.62rem; font-weight: 900;
    color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.8px;
}
.fim-share-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5); border-radius: 8px;
    padding: 5px 12px; font-size: 0.72rem; font-weight: 700;
    cursor: pointer; transition: 0.2s; letter-spacing: 0.3px;
    font-family: inherit;
}
.fim-share-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

.fim-title {
    font-size: 1.75rem; font-weight: 900;
    text-transform: uppercase; line-height: 1.1;
    margin: 0 0 14px; color: #fff; letter-spacing: 0.3px;
}
.fim-price-row {
    display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px;
}
.fim-price {
    font-size: 1.55rem; font-weight: 900; color: #fff;
    display: flex; align-items: center; gap: 7px;
}
.fim-old-price {
    color: rgba(255,255,255,0.3); font-size: 0.95rem;
    text-decoration: line-through; font-weight: 600;
}

/* Balance bar */
.fim-balance-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0,80,180,0.1);
    border: 1px solid rgba(80,160,255,0.15);
    border-radius: 12px; padding: 10px 14px; margin-bottom: 14px;
}
.fim-balance-label {
    color: rgba(150,200,255,0.5);
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
}
.fim-balance-val {
    display: flex; align-items: center; gap: 5px;
    color: #7ec8ff; font-weight: 900; font-size: 0.9rem;
}
.fim-balance-unit {
    color: rgba(126,200,255,0.5); font-size: 0.65rem; font-weight: 700;
}

/* Form: input + button */
.fim-form {
    display: flex; flex-direction: column; gap: 9px; margin-bottom: 8px;
}
.fim-input-wrap {
    position: relative;
}
.fim-input-icon {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3); pointer-events: none;
}
.fim-input {
    width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(80,160,255,0.2);
    border-radius: 13px; padding: 13px 16px 13px 40px;
    color: #fff; font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fim-input:focus {
    border-color: rgba(80,160,255,0.55);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,100,204,0.12);
}
.fim-input::placeholder { color: rgba(255,255,255,0.25); }

.fim-gift-btn {
    width: 100%; padding: 15px;
    background: linear-gradient(135deg, #0072e5, #004db8);
    border: none; border-radius: 13px;
    color: #fff; font-size: 1rem; font-weight: 800;
    font-family: 'Poppins', sans-serif;
    cursor: pointer; transition: all 0.2s;
    letter-spacing: 0.8px; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0,114,229,0.4);
}
.fim-gift-btn:hover {
    background: linear-gradient(135deg, #0085ff, #0060d0);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,114,229,0.55);
}
.fim-gift-btn:disabled {
    opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none;
}

.fim-status {
    font-size: 0.82rem; min-height: 18px;
    margin: 2px 0 4px; text-align: center;
}
.fim-divider {
    height: 1px; background: rgba(255,255,255,0.06); margin: 16px 0 13px;
}
.fim-history {
    font-size: 0.68rem; color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.03);
    padding: 7px 11px; border-radius: 8px;
    border-left: 2px solid rgba(30,155,255,0.5);
    margin-bottom: 10px;
}
.fim-desc {
    color: rgba(255,255,255,0.45); font-size: 0.82rem;
    line-height: 1.65; margin: 0 0 14px;
}

.fim-fine-print {
    font-size: 0.6rem; color: rgba(255,255,255,0.18);
    text-align: center; margin-top: auto;
    padding-top: 10px; line-height: 1.7;
}

/* ── Mobile: Vollbild ───────────────────────────────────────── */
@media (max-width: 768px) {
    #fn-item-modal { align-items: stretch !important; padding: 0 !important; }

    .fim-box {
        flex-direction: column !important;
        width: 100% !important; max-width: 100% !important;
        align-self: stretch !important;
        height: 100vh !important; max-height: 100vh !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important; border: none !important;
        animation: fadeIn 0.2s ease !important;
    }

    /* Hero oben: Bild sichtbar */
    .fim-hero {
        flex: 0 0 40vh !important;
        height: 40vh !important;
        padding: 16px 16px 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }
    /* Sanfter Übergang zum Info-Panel */
    .fim-hero::after {
        content: '';
        position: absolute; bottom: 0; left: 0; right: 0;
        height: 80px;
        background: linear-gradient(to bottom, transparent, #0c0c14);
        z-index: 5; pointer-events: none;
    }
    .fim-hero img {
        max-width: 75% !important;
        max-height: 34vh !important;
        width: auto !important;
        height: auto !important;
        position: relative !important; z-index: 3 !important;
    }
    .fim-glow { width: 160px !important; height: 80px !important; }

    /* X-Button gut sichtbar auf Hero */
    .fim-close {
        top: 12px !important; right: 12px !important;
        z-index: 400 !important;
    }

    /* Info unten: scrollbar */
    .fim-info {
        flex: 1 !important;
        overflow-y: auto !important;
        max-height: none !important;
        padding: 16px 16px 50px !important;
        -webkit-overflow-scrolling: touch;
    }

    .fim-title { font-size: 1.45rem !important; margin-bottom: 8px !important; }
    .fim-price { font-size: 1.3rem !important; }
    .fim-price-row { margin-bottom: 12px !important; }
    .fim-balance-bar { padding: 8px 12px !important; margin-bottom: 10px !important; }

    /* Eingabefeld: groß und gut bedienbar */
    .fim-input {
        padding: 16px 20px 16px 44px !important;
        font-size: 1.05rem !important;
        border-radius: 16px !important;
        border-width: 2px !important;
        height: 56px !important;
        background: rgba(255,255,255,0.08) !important;
    }
    /* Gift Button: groß und auffällig */
    .fim-gift-btn {
        padding: 17px !important;
        font-size: 1.2rem !important;
        border-radius: 100px !important;
        letter-spacing: 1px !important;
        height: 60px !important;
        text-transform: uppercase !important;
        box-shadow: 0 10px 25px rgba(0, 112, 224, 0.4) !important;
        margin-top: 5px !important;
    }
    .fim-form { gap: 12px !important; margin-bottom: 12px !important; }
    .fim-status { font-size: 0.84rem !important; margin-bottom: 8px !important; }
    .fim-divider { margin: 14px 0 12px !important; }
    
    /* Den Warnhinweis optisch absetzen, damit er sofort verstanden wird */
    .fim-desc { 
        background: rgba(255, 170, 0, 0.1) !important;
        border: 1px solid rgba(255, 170, 0, 0.3) !important;
        border-radius: 16px !important;
        padding: 15px !important;
        color: #ffcc55 !important;
        font-weight: 600 !important;
        text-align: center !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .fn-hero-title { font-size: 2.5rem; }
    .fn-category-section { padding: 15px; }

    /* V-Bucks Widget Mobile Fix */
    .fn-vbucks-widget {
        position: static !important;
        margin: 16px auto 0 auto !important;
        justify-content: center !important;
        width: fit-content !important;
        border-radius: 50px !important;
        padding: 8px 20px 8px 14px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    }
    .fn-vbucks-widget img { width: 22px !important; height: 22px !important; }
    .fn-vbucks-widget span:last-child { font-size: 0.95rem !important; }
    .fn-hero-header { padding-top: 30px !important; }
    .fn-category-header { font-size: 1.2rem; margin-bottom: 15px; }
    .fn-shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .fn-image-wrapper { height: 120px; }
    .fn-item-name { font-size: 0.75rem; min-height: 2.6em; }
    .fn-item-price { padding: 5px 8px; font-size: 0.75rem; }
    .fn-vbucks-icon { width: 14px; height: 14px; margin-right: 4px; }
    .fn-item-type { font-size: 0.55rem; }

    /* MODAL ALLGEMEIN MOBILE */
    .modal-overlay { padding: 0 !important; align-items: flex-end !important; }
    .modal-box {
        border-radius: 25px 25px 0 0 !important;
        max-height: 92vh !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px 30px !important;
        animation: slideUpMobile 0.35s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    /* Buy Modal — kompakter auf Mobile */
    #buy-modal .modal-box { border-radius: 25px 25px 0 0 !important; }
    #buy-modal h2 { font-size: 1rem !important; margin-bottom: 10px !important; }

    /* Discord-Warnbox: kompakt auf Mobile */
    #buy-modal .checkout-discord-box {
        padding: 8px 10px !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }
    #buy-modal .checkout-discord-warning {
        display: none !important; /* Warntext ausblenden — Button reicht */
    }
    #buy-modal #discord-sync-btn {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }

    /* AGB-Checkbox kompakter */
    #buy-modal .checkout-agb-box {
        padding: 8px 10px !important;
        margin-bottom: 10px !important;
    }
    #buy-modal .checkout-agb-box span {
        font-size: 0.65rem !important;
    }

    /* Coupon-Zeile kompakter */
    .modal-coupon-box {
        padding: 7px !important;
        margin-bottom: 12px !important;
    }
    .modal-coupon-box input { padding: 8px 10px !important; font-size: 0.82rem !important; }
    .modal-coupon-box button { padding: 8px 12px !important; font-size: 0.82rem !important; }

    /* Zahlungsmethoden-Grid: 2 große Buttons nebeneinander */
    #checkout-payment-methods-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .pm-btn {
        padding: 14px 8px !important;
        font-size: 0.78rem !important;
    }
    .pm-btn img { height: 28px !important; }

    /* FN HERO HEADER MOBILE */
    .fn-hero-header { padding: 30px 15px !important; }
    #fn-vbucks-banner { top: 10px !important; right: 10px !important; padding: 7px 12px 7px 8px !important; }
    #fn-vbucks-banner img { width: 22px !important; height: 22px !important; }
    #fn-shop-credits { font-size: 0.95rem !important; }

    /* RECENT GIFTS MOBILE */
    #recent-gifts-list > div { padding: 10px 12px !important; }
    #recent-gifts-list > div > div:nth-child(2) > div:first-child { font-size: 0.8rem !important; }

    /* CHECKOUT GRID MOBILE */
    #checkout-step-1 > div:last-of-type { grid-template-columns: 1fr 1fr !important; }
}

@keyframes slideUpMobile {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
/* ══════════════════════════════════════════════════════════
   FN-HOW-TO-VIEW  (V-Bucks Anleitung)
   ══════════════════════════════════════════════════════════ */
.htv-root {
    max-width: 680px;
    margin: 0 auto;
}

/* Header */
.htv-header {
    text-align: center;
    padding: 40px 20px 36px;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    margin-bottom: 24px;
}
.htv-glow {
    position: absolute; inset: -60px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,200,255,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.htv-vb-icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0,200,255,0.15), rgba(0,100,200,0.1));
    border: 2px solid rgba(0,200,255,0.3);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,200,255,0.2);
    animation: floatCart 3.5s ease-in-out infinite;
}
.htv-vb-icon img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,200,255,0.6)); }
.htv-title {
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}
.htv-accent {
    background: linear-gradient(90deg, #00c8ff, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.htv-subtitle {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Steps */
.htv-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }

.htv-step {
    display: flex;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.htv-step:hover { transform: translateX(4px); }

.htv-step--gold { border-color: rgba(240,180,0,0.2); }
.htv-step--gold:hover { box-shadow: 4px 0 0 rgba(240,180,0,0.4); }
.htv-step--blue { border-color: rgba(88,101,242,0.25); }
.htv-step--blue:hover { box-shadow: 4px 0 0 rgba(88,101,242,0.4); }
.htv-step--red { border-color: rgba(239,68,68,0.2); }
.htv-step--red:hover { box-shadow: 4px 0 0 rgba(239,68,68,0.35); }
.htv-step--cyan { border-color: rgba(6,182,212,0.2); }
.htv-step--cyan:hover { box-shadow: 4px 0 0 rgba(6,182,212,0.4); }

.htv-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}
.htv-num {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-main, #f0c040), #cc8800);
    color: #000;
    font-size: 1rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.htv-connector {
    width: 2px;
    flex: 1;
    min-height: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
    margin: 8px 0;
}

.htv-step-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1;
}
.htv-step-emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}
.htv-step-content { flex: 1; }
.htv-step-title {
    font-size: 1rem; font-weight: 800; color: #fff;
    margin: 0 0 8px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.htv-badge-epic {
    font-size: 0.62rem; font-weight: 800; text-transform: uppercase;
    background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.4);
    color: #f87171; border-radius: 6px; padding: 2px 7px; letter-spacing: 0.5px;
}
.htv-step-text {
    font-size: 0.84rem; color: rgba(255,255,255,0.55);
    line-height: 1.7; margin: 0 0 10px;
}
.htv-step-text strong { color: rgba(255,255,255,0.85); }
.htv-step-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(240,180,0,0.1); border: 1px solid rgba(240,180,0,0.25);
    color: var(--gold-main, #f0c040); border-radius: 8px; padding: 4px 10px;
}
.htv-step-tag--blue {
    background: rgba(88,101,242,0.12); border-color: rgba(88,101,242,0.3);
    color: #818cf8;
}
.htv-step-tag--cyan {
    background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.3);
    color: #22d3ee;
}

/* Info box */
.htv-info-box {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(6,182,212,0.07); border: 1px solid rgba(6,182,212,0.2);
    border-radius: 12px; padding: 12px 14px;
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
    line-height: 1.5; margin-top: 10px;
}
.htv-info-box strong { color: rgba(255,255,255,0.8); }

/* CTA Row */
.htv-cta-row {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.htv-cta {
    flex: 1; min-width: 140px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 20px;
    border: none; border-radius: 16px;
    font-size: 0.95rem; font-weight: 800;
    cursor: pointer; font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.htv-cta:hover { transform: translateY(-2px); }
.htv-cta--primary {
    background: linear-gradient(135deg, #0064cc, #004999);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,100,200,0.35);
}
.htv-cta--primary:hover { box-shadow: 0 10px 28px rgba(0,100,200,0.5); }
.htv-cta--secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.htv-cta--secondary:hover { background: rgba(255,255,255,0.1); }

/* Mobile tweaks */
@media (max-width: 480px) {
    .htv-step { padding: 16px 14px; gap: 12px; }
    .htv-step-body { gap: 10px; }
    .htv-step-emoji { width: 34px; height: 34px; font-size: 1.3rem; }
    .htv-step-title { font-size: 0.93rem; }
    .htv-step-text { font-size: 0.82rem; }
    .htv-header { padding: 28px 16px 24px; }
}
/* --- FN FRIEND REQUEST ROW --- */
.fn-friend-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.fn-friend-input {
    flex: 1;
    min-width: 0;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(80,160,255,0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s;
}
.fn-friend-input:focus {
    border-color: rgba(80,160,255,0.7);
}
.fn-friend-btn {
    background: linear-gradient(135deg,#0078ff,#0050cc);
    border: none;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 48px;
    box-shadow: 0 4px 15px rgba(0,120,255,0.3);
}
.fn-friend-btn:hover {
    background: linear-gradient(135deg,#0088ff,#0060dd);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,120,255,0.45);
}
.fn-friend-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}
.fn-friend-input {
    min-height: 48px;
}
@media (max-width: 480px) {
    .fn-friend-row { flex-direction: column; }
    .fn-friend-btn { width: 100%; justify-content: center; text-align: center; padding: 14px; font-size: 0.95rem; }
    .fn-friend-input { width: 100%; }
}

/* --- WISHLIST HERO HEADER --- */
.wl-hero-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255,45,85,0.08), rgba(10,10,10,0.7));
    border: 1px solid rgba(255,45,85,0.15);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.wl-hero-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255,45,85,0.25), rgba(200,20,60,0.35));
    border: 1px solid rgba(255,45,85,0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(255,45,85,0.2);
}
.wl-hero-title {
    margin: 0 0 4px 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.wl-hero-sub {
    margin: 0;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- WISHLIST TAB BAR --- */
.wl-tab-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    overflow-x: auto;
}

/* --- WISHLIST TRACKER INFO BOX --- */
.wl-tracker-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(0,100,204,0.08);
    border: 1px solid rgba(80,160,255,0.2);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
.wl-tracker-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wl-tracker-info-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.wl-tracker-info-title {
    color: #7ec8ff;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 4px;
}
.wl-tracker-info-sub {
    color: rgba(150,200,255,0.6);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* --- WISHLIST SAVED ITEMS HEADER --- */
.wl-saved-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wl-saved-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-main);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wl-saved-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-main);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,255,255,0.7);
}
.wl-saved-hint {
    font-size: 0.7rem;
    color: #555;
    font-weight: 600;
}

/* --- FORTNITE WISHLIST / TRACKER STYLES (MODERNIZED) --- */
.wl-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.wl-tab-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

.wl-tab-btn.active {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--gold-main);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
    font-weight: 900;
}

.fn-wl-search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(10, 15, 20, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fn-wl-search-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 15px 25px;
    border-radius: 14px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.fn-wl-search-box input:focus {
    border-color: var(--gold-main);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.fn-wl-search-box button {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 900;
    border: none;
    padding: 0 30px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fn-wl-search-box button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.fn-wl-horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 25px 5px;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.fn-wl-result-card {
    min-width: 160px;
    max-width: 160px;
    background: linear-gradient(180deg, rgba(30,30,30,0.8) 0%, rgba(10,10,10,0.95) 100%);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.fn-wl-result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Rarity Borders mit Glow */
.fn-wl-result-card.rarity-common { border-color: #888; }
.fn-wl-result-card.rarity-uncommon { border-color: #2ecc71; }
.fn-wl-result-card.rarity-rare { border-color: #00d2ff; }
.fn-wl-result-card.rarity-epic { border-color: #9b59b6; }
.fn-wl-result-card.rarity-legendary { border-color: #e67e22; }

.fn-wl-result-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.6));
    transition: transform 0.3s;
}

.fn-wl-result-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.fn-wl-result-card .info {
    width: 100%;
    margin-bottom: 12px;
}

.fn-wl-result-card .info h4 {
    margin: 0 0 4px 0;
    color: #fff;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
}

.fn-wl-result-card .info span {
    font-size: 0.65rem;
    color: #88aaaa;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.fn-wl-add-btn {
    margin-top: auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-transform: uppercase;
}

.fn-wl-add-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    box-shadow: 0 4px 10px rgba(255,255,255,0.1);
}

.fn-wl-add-btn.active {
    background: rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
    color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

/* Tracker Alert Box Animation */
.fn-alert-box {
    animation: alertMegaPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes alertMegaPop {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; filter: blur(20px); }
    70% { transform: scale(1.1) rotate(2deg); filter: blur(0); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* --- MOBILE OPTIMIERUNG FÜR TRACKER --- */
@media (max-width: 768px) {
    .wl-hero-header { padding: 16px; gap: 14px; }
    .wl-hero-icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .wl-hero-title { font-size: 1.2rem; }
    .wl-hero-sub { font-size: 0.75rem; }
    .wl-tab-btn {
        padding: 10px 15px;
        font-size: 0.75rem;
    }

    .fn-wl-search-box { 
        flex-direction: column; 
        padding: 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .fn-wl-search-box input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .fn-wl-search-box button { 
        padding: 15px; 
        width: 100%;
    }

    .fn-wl-horizontal-scroll {
        gap: 12px;
        padding-bottom: 15px;
    }

    .fn-wl-result-card {
        min-width: 140px;
        max-width: 140px;
        padding: 12px;
    }

    .fn-wl-result-card img {
        width: 70px;
        height: 70px;
    }
    
    /* Stellt sicher, dass das gespeicherte Tracker Grid auf dem Handy 2 Spalten hat */
    #fn-wl-saved-container.fn-shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* ============================================================
   FN GIFT PANEL MODERN STYLES
   ============================================================ */
.fn-gift-panel-modern {
    margin-top: 20px;
    background: linear-gradient(145deg, rgba(0,40,100,0.35), rgba(0,15,50,0.6));
    border: 1px solid rgba(80,160,255,0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.fn-gift-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(80,160,255,0.12);
    background: rgba(0,60,150,0.15);
    flex-wrap: wrap;
}
.fn-gift-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.fn-gift-panel-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0064cc, #003a80);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,100,204,0.35);
}
.fn-gift-panel-label {
    color: rgba(150,200,255,0.65);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 2px;
}
.fn-gift-panel-itemname {
    color: #c8e8ff;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.fn-gift-panel-price-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,80,200,0.3);
    border: 1px solid rgba(80,160,255,0.35);
    border-radius: 50px;
    padding: 5px 12px;
    color: #d0eeff;
    font-weight: 900;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.fn-gift-balance-row {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}
.fn-gift-balance-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(80,160,255,0.12);
}
.fn-gift-balance-label {
    color: rgba(150,200,255,0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.fn-gift-balance-val {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7ec8ff;
    font-weight: 900;
    font-size: 1.05rem;
}
.fn-gift-balance-unit {
    color: rgba(126,200,255,0.6);
    font-size: 0.72rem;
    font-weight: 700;
}
.fn-gift-input-row {
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fn-gift-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.fn-gift-input-icon {
    position: absolute;
    left: 13px;
    font-size: 1.05rem;
    pointer-events: none;
}
.fn-gift-epic-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(80,160,255,0.3);
    border-radius: 12px;
    padding: 12px 14px 12px 40px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
}
.fn-gift-epic-input:focus {
    border-color: rgba(80,160,255,0.65);
    box-shadow: 0 0 0 3px rgba(0,100,204,0.18);
}
.fn-gift-epic-input::placeholder { color: rgba(150,200,255,0.4); }
.fn-gift-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0064cc, #004999);
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0,100,204,0.35);
}
.fn-gift-submit-btn:hover {
    background: linear-gradient(135deg, #0074ee, #005ac2);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,100,204,0.5);
}
.fn-gift-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.fn-gift-status-msg {
    margin: 0 18px 14px;
    font-size: 0.82rem;
    text-align: center;
    min-height: 20px;
}

/* =====================================================
   FN SHOP — APP-STYLE REDESIGN
   ===================================================== */

/* Override: view gets its own dark canvas */
#fortnite-shop-view {
    background: #0a0a12;
    min-height: 100vh;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* ---- APP HEADER ---- */
.fns-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(10, 10, 18, 0.96);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fns-hamburger {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
.fns-hamburger:hover { background: rgba(255,255,255,0.07); }
.fns-brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-style: italic;
}
.fns-brand-fn  { color: #ffffff; }
.fns-brand-shop { color: #00c8ff; margin-left: 3px; }
.fns-header-actions { display: flex; align-items: center; gap: 10px; }

/* V-Bucks pill in header */
.fns-vbucks-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #0d1b2e 0%, #071120 100%);
    border: 1px solid rgba(80,160,255,0.35);
    border-radius: 50px;
    padding: 6px 8px 6px 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    position: static !important;
    top: auto !important; right: auto !important;
}
.fns-vbuck-img {
    width: 22px; height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(100,200,255,0.9));
}
.fns-vbucks-pill span#fn-shop-credits {
    color: #d0eeff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(100,180,255,0.6);
    min-width: 38px;
}
.fns-plus-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.fns-plus-btn:hover { background: rgba(0,200,255,0.25); }
.fns-bell-btn {
    background: none; border: none;
    color: #fff; font-size: 1.35rem;
    cursor: pointer; padding: 4px 6px;
    position: relative;
    border-radius: 50%;
    transition: background 0.2s;
}
.fns-bell-btn:hover { background: rgba(255,255,255,0.08); }
.fns-bell-dot {
    position: absolute; top: 2px; right: 2px;
    width: 10px; height: 10px;
    background: #5f5bff;
    border-radius: 50%;
    border: 2px solid #0a0a12;
}

/* ---- SEARCH BAR ---- */
.fns-search-outer {
    padding: 10px 16px 6px;
    max-width: 100%;
    position: relative;
}
.fns-search-inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 10px 14px;
    gap: 10px;
    transition: border-color 0.2s;
}
.fns-search-inner:focus-within {
    border-color: rgba(0,200,255,0.4);
}
.fns-search-icon { color: rgba(255,255,255,0.35); font-size: 1.05rem; flex-shrink: 0; }
.fns-search-inner input {
    background: none; border: none;
    color: #fff; font-size: 0.9rem;
    flex: 1; outline: none;
    font-family: 'Poppins', sans-serif;
    min-width: 0;
}
.fns-search-inner input::placeholder { color: rgba(255,255,255,0.3); }

/* ---- SECTION WRAPPERS ---- */
.fns-section {
    padding: 20px 16px 4px;
}
.fns-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fns-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 3px solid #1e9bff;
    padding-left: 12px;
}
.fns-sect-icon { color: rgba(255,255,255,0.55); font-size: 1rem; }
.fns-section-action {
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    cursor: pointer;
    display: flex; align-items: center; gap: 3px;
    transition: color 0.2s;
    font-weight: 600;
}
.fns-section-action:hover { color: #00c8ff; }

/* ---- FEATURED — horizontal scroll cards ---- */
.fns-featured-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.fns-featured-scroll::-webkit-scrollbar { display: none; }

.fns-featured-card {
    flex: 0 0 148px;
    height: 230px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fns-featured-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
.fns-featured-card.rarity-common    { border-color: #666; }
.fns-featured-card.rarity-uncommon  { border-color: #2ecc71; }
.fns-featured-card.rarity-rare      { border-color: #00d2ff; }
.fns-featured-card.rarity-epic      { border-color: #9b59b6; }
.fns-featured-card.rarity-legendary { border-color: #e67e22; }
.fns-featured-card.rarity-mythic, .fns-featured-card.rarity-marvel { border-color: #e74c3c; }

.fns-feat-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #2a0840 0%, #0d0218 100%);
}
.fns-featured-card.rarity-rare .fns-feat-bg     { background: linear-gradient(160deg, #083060 0%, #020c1e 100%); }
.fns-featured-card.rarity-epic .fns-feat-bg     { background: linear-gradient(160deg, #4a0880 0%, #160230 100%); }
.fns-featured-card.rarity-legendary .fns-feat-bg { background: linear-gradient(160deg, #603010 0%, #1e0a00 100%); }
.fns-featured-card.rarity-uncommon .fns-feat-bg  { background: linear-gradient(160deg, #0e3820 0%, #020e06 100%); }
.fns-featured-card.rarity-mythic .fns-feat-bg,
.fns-featured-card.rarity-marvel .fns-feat-bg   { background: linear-gradient(160deg, #5a0c00 0%, #1a0200 100%); }

.fns-feat-heart {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.65);
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
    z-index: 10;
    transition: color 0.2s, background 0.2s;
}
.fns-feat-heart:hover, .fns-feat-heart.wishlisted { color: #ff2d55; border-color: rgba(255,45,85,0.5); }

.fns-feat-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
}
.fns-feat-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 36px 10px 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, transparent 100%);
    z-index: 5;
}
.fns-feat-name {
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    line-height: 1.2;
}
.fns-feat-price {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 0.72rem; font-weight: 900; color: #fff;
}
.fns-feat-price img { width: 13px; height: 13px; filter: drop-shadow(0 0 4px rgba(100,200,255,0.8)); }

/* Scroll indicator dots */
.fns-dots {
    display: flex; justify-content: center;
    gap: 5px; padding: 10px 0 2px;
}
.fns-dot {
    width: 18px; height: 3.5px;
    border-radius: 2px;
    background: rgba(255,255,255,0.18);
    transition: all 0.3s;
}
.fns-dot.active { background: #00c8ff; width: 22px; }

/* ---- DAILY — countdown in header ---- */
.fns-daily-timer {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 4px;
    cursor: pointer;
}
.fns-daily-timer span { color: rgba(255,255,255,0.75); }
.fns-daily-timer-arrow { color: rgba(255,255,255,0.35); font-size: 0.9rem; }

/* ---- DAILY GRID — 2 col ---- */
.fns-daily-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.fns-daily-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 0.7;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: #0d0218;
}
.fns-daily-card:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px rgba(0,0,0,0.7); }
.fns-daily-card.rarity-rare      { border-color: rgba(0,210,255,0.6); }
.fns-daily-card.rarity-epic      { border-color: rgba(155,89,182,0.7); }
.fns-daily-card.rarity-legendary { border-color: rgba(230,126,34,0.7); }
.fns-daily-card.rarity-uncommon  { border-color: rgba(46,204,113,0.6); }
.fns-daily-card.rarity-mythic, .fns-daily-card.rarity-marvel { border-color: rgba(231,76,60,0.7); }

.fns-daily-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #2a0840 0%, #0d0218 100%);
}
.fns-daily-card.rarity-rare .fns-daily-bg      { background: linear-gradient(160deg, #0d4a78 0%, #020c1e 100%); }
.fns-daily-card.rarity-epic .fns-daily-bg      { background: linear-gradient(160deg, #5a1090 0%, #160230 100%); }
.fns-daily-card.rarity-legendary .fns-daily-bg { background: linear-gradient(160deg, #7a3a10 0%, #1e0a00 100%); }
.fns-daily-card.rarity-uncommon .fns-daily-bg  { background: linear-gradient(160deg, #0e4a20 0%, #020e06 100%); }

.fns-daily-img {
    position: absolute;
    left: 0; right: 0; top: 0;
    width: 100%; height: 78%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.55));
}
.fns-daily-footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 9px 9px;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, transparent 100%);
    z-index: 5;
}
.fns-daily-name {
    color: #fff; font-size: 0.62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 5px;
}
.fns-daily-price {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.7rem; font-weight: 900; color: #fff;
}
.fns-daily-price img { width: 12px; height: 12px; filter: drop-shadow(0 0 4px rgba(100,200,255,0.8)); }

/* ---- WATCHLIST BANNER ---- */
.fns-watchlist-banner {
    margin: 18px 16px 10px;
    background: rgba(15, 10, 40, 0.9);
    border: 1px solid rgba(80,55,180,0.4);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex; align-items: center; gap: 13px;
    cursor: pointer; transition: border-color 0.2s, transform 0.2s;
}
.fns-watchlist-banner:hover { border-color: rgba(130,100,255,0.7); transform: translateY(-1px); }
.fns-watchlist-icon-wrap {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6040cc, #4020aa);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(80,40,180,0.5);
}
.fns-watchlist-body { flex: 1; }
.fns-watchlist-title { color: #fff; font-size: 0.88rem; font-weight: 800; margin-bottom: 3px; }
.fns-watchlist-sub  { color: rgba(255,255,255,0.45); font-size: 0.74rem; line-height: 1.4; }
.fns-watchlist-arrow { color: rgba(255,255,255,0.35); font-size: 1.4rem; flex-shrink: 0; }

/* ---- FRIENDS / GIFTS collapsible section ---- */
.fns-friends-section {
    margin: 16px 16px 100px;
    background: rgba(10,15,30,0.7);
    border: 1px solid rgba(80,160,255,0.15);
    border-radius: 18px;
    overflow: hidden;
}
.fns-friends-toggle {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.75);
    user-select: none;
    transition: background 0.2s;
}
.fns-friends-toggle:hover { background: rgba(255,255,255,0.04); }
.fns-friends-chevron {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.3);
    transition: transform 0.3s;
    display: inline-block;
}
.fns-friends-section.fns-friends-open .fns-friends-chevron { transform: rotate(90deg); }
.fns-friends-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 16px;
}
.fns-friends-section.fns-friends-open .fns-friends-body {
    max-height: 1000px;
    padding: 0 16px 16px;
}

/* ---- OTHER CATEGORIES (remaining items) ---- */
.fns-other-wrap {
    padding: 8px 16px 0;
}
.fns-other-section {
    margin-bottom: 28px;
}
.fns-other-header {
    font-size: 0.82rem; font-weight: 900;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 1.5px;
    border-left: 3px solid rgba(0,200,255,0.4);
    padding-left: 10px;
    margin-bottom: 12px;
}
.fns-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.fns-mini-card {
    position: relative; border-radius: 12px;
    overflow: hidden; aspect-ratio: 0.7;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    background: #0d0218;
}
.fns-mini-card:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,0.65); }
.fns-mini-card.rarity-rare      { border-color: rgba(0,210,255,0.5); }
.fns-mini-card.rarity-epic      { border-color: rgba(155,89,182,0.5); }
.fns-mini-card.rarity-legendary { border-color: rgba(230,126,34,0.5); }
.fns-mini-card .fns-feat-bg     { position: absolute; inset: 0; }
.fns-mini-img {
    position: absolute;
    left: 0; right: 0; top: 0;
    width: 100%; height: 78%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.fns-mini-bottom {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 22px 7px 7px;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, transparent 100%);
    z-index: 5;
}
.fns-mini-name {
    color: #fff; font-size: 0.58rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.4px; line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fns-mini-price {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.62rem; font-weight: 900; color: #fff;
}
.fns-mini-price img { width: 10px; height: 10px; filter: drop-shadow(0 0 3px rgba(100,200,255,0.7)); }

/* ---- DESKTOP OVERRIDES ---- */
@media (min-width: 900px) {
    #fortnite-shop-view {
        padding-top: 10px !important;
    }
    .fns-app-header {
        max-width: 1400px;
        margin: 0 auto;
        padding: 16px 40px;
        position: relative;
        top: auto;
    }
    .fns-search-outer, .fns-section, .fns-other-wrap,
    .fns-watchlist-banner, .fns-friends-section {
        max-width: 1400px;
        margin-left: auto; margin-right: auto;
    }
    .fns-watchlist-banner { margin: 24px auto 10px; }
    .fns-friends-section  { margin: 16px auto 40px; }
    .fns-search-outer { padding: 12px 40px 8px; }
    .fns-section { padding: 24px 40px 8px; }
    .fns-other-wrap { padding: 8px 40px 0; }

    .fns-featured-card { flex: 0 0 190px; height: 280px; }
    .fns-daily-grid    { grid-template-columns: repeat(4, 1fr); }
    .fns-other-grid    { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .fns-mini-name     { font-size: 0.65rem; white-space: normal; }
    .fns-mini-price    { font-size: 0.68rem; }
    .fns-mini-price img { width: 12px; height: 12px; }

    /* Anfragen 2-column on PC: form left, steps right */
    .fns-anfragen-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }
    .fns-anfragen-steps { margin-bottom: 0; margin-top: 0; }
    .fns-anfragen-card { max-width: none; }
}

/* =====================================================
   FN SHOP — COMPLETE APP LAYOUT v2
   (Sidebar + Topbar + Pages + Mobile Nav)
   ===================================================== */

/* Override: the view is its own fullscreen app */
#fortnite-shop-view {
    background: #070b18 !important;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}

/* =====================================================
   EPIC NAME CHIPS — saved Epic names quick-select
   ===================================================== */
.epic-chips-section {
    margin-bottom: 10px;
}
.epic-chips-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 6px;
}
.epic-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.epic-chip {
    background: rgba(0,150,255,0.1);
    border: 1px solid rgba(0,150,255,0.3);
    color: #7ec8ff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.epic-chip:hover, .epic-chip:active {
    background: rgba(0,150,255,0.28);
    border-color: rgba(0,150,255,0.7);
    color: #fff;
}
.epic-chip-manage {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.38);
    font-size: 0.72rem;
    padding: 6px 11px;
}
.epic-chip-manage:hover, .epic-chip-manage:active {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}
.epic-chip-add {
    background: rgba(46,204,113,0.1);
    border-color: rgba(46,204,113,0.3);
    color: #2ecc71;
    font-size: 1rem;
    padding: 4px 11px;
    line-height: 1.4;
}
.epic-chip-add:hover { background: rgba(46,204,113,0.22); border-color: rgba(46,204,113,0.6); }

/* ── Manage Epic Names Modal ── */
.epic-manage-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.epic-manage-box {
    background: #0d1221;
    border: 1px solid rgba(0,150,255,0.3);
    border-radius: 20px;
    width: 100%; max-width: 440px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.95), 0 0 0 1px rgba(0,150,255,0.1);
    overflow: hidden;
    max-height: 90vh; overflow-y: auto;
    animation: epicModalIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes epicModalIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.epic-manage-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.epic-manage-title {
    font-size: 1rem; font-weight: 900; color: #fff;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.epic-manage-close {
    background: rgba(255,255,255,0.06); border: none; color: #888;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.epic-manage-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.epic-manage-body { padding: 18px 20px 24px; }
.epic-manage-add {
    display: flex; gap: 8px; margin-bottom: 18px;
}
.epic-manage-input {
    flex: 1; min-width: 0; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    color: #fff; font-size: 0.9rem; padding: 12px 14px;
    outline: none; transition: border-color 0.15s;
    font-family: inherit;
}
.epic-manage-input:focus { border-color: rgba(0,150,255,0.55); background: rgba(0,150,255,0.04); }
.epic-manage-input::placeholder { color: rgba(255,255,255,0.3); }
.epic-manage-save-btn {
    background: linear-gradient(135deg,#0096ff,#0050cc);
    border: none; color: #fff; border-radius: 12px;
    padding: 12px 18px; font-size: 0.85rem; font-weight: 800;
    cursor: pointer; white-space: nowrap; transition: opacity 0.15s, transform 0.15s;
    font-family: inherit; flex-shrink: 0;
}
.epic-manage-save-btn:hover { opacity: 0.88; transform: translateY(-1px); }
/* Mobile: stack input and save button */
@media (max-width: 480px) {
    .epic-manage-add { flex-direction: column; }
    .epic-manage-save-btn { width: 100%; padding: 14px; font-size: 0.9rem; }
    .epic-manage-input { padding: 13px 14px; font-size: 0.92rem; }
    .epic-manage-overlay { padding: 12px; align-items: center; }
    .epic-manage-box { border-radius: 20px; max-height: 85vh; }
}
.epic-manage-list { display: flex; flex-direction: column; gap: 7px; }
.epic-manage-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px; padding: 10px 14px;
}
.epic-manage-row-name {
    color: #fff; font-weight: 700; font-size: 0.88rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
}
.epic-manage-del {
    background: rgba(255,45,85,0.12); border: 1px solid rgba(255,45,85,0.25);
    color: #ff6b8a; border-radius: 8px; padding: 5px 10px;
    font-size: 0.75rem; font-weight: 700; cursor: pointer;
    transition: background 0.15s; flex-shrink: 0; margin-left: 10px;
}
.epic-manage-del:hover { background: rgba(255,45,85,0.28); color: #fff; }
.epic-manage-empty {
    text-align: center; color: rgba(255,255,255,0.25);
    font-size: 0.85rem; padding: 20px 0;
}

/* Full-bleed & Full-height: sorgt dafür, dass FN Shop und Admin Panel den ganzen Bildschirm füllen */
body.fn-shop-active .container,
body.admin-active .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
}

/* Admin panel: full viewport */
body.admin-active #admin-view {
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.admin-active .admin-shell {
    flex: 1;
    overflow: hidden;
}

/* Versteckt alle Shop-Elemente im Admin-Modus */
body.fn-shop-active header,
body.fn-shop-active .ticker-wrap,
body.fn-shop-active footer,
body.admin-active header,
body.admin-active .ticker-wrap,
body.admin-active footer,
body.admin-active .mobile-bottom-nav,
body.admin-active #tiktok-live-banner,
body.admin-active #fn-shop-info-banner {
    display: none !important;
}
/* Tawk.to Chat-Widget im Admin-Modus verstecken */
body.admin-active #tawk-bubble-container,
body.admin-active .tawk-min-container,
body.admin-active iframe[title*="chat"],
body.admin-active [id^="tawk"] {
    display: none !important;
    visibility: hidden !important;
}

/* FN Topbar back button */
.fns-back-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.fns-back-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* ── Root layout: sidebar + main ── */
.fns-app-root {
    display: flex;
    min-height: 100vh;
    background: #070b18;
}

/* ═══════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════ */
.fns-sidebar {
    width: 270px;
    flex-shrink: 0;
    background: #0d1221;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
    z-index: 300;
    transition: transform 0.3s ease;
}
.fns-sidebar::-webkit-scrollbar { width: 4px; }
.fns-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.fns-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.fns-sidebar-logo { font-size: 1.4rem; font-weight: 900; font-style: italic; }
.fns-sidebar-close {
    display: none;
    background: none; border: none; color: rgba(255,255,255,0.4);
    font-size: 1.1rem; cursor: pointer; padding: 4px 8px;
    border-radius: 6px; transition: 0.2s;
}
.fns-sidebar-close:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* Sidebar nav */
.fns-sidebar-nav {
    padding: 12px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.fns-snav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
    user-select: none;
}
.fns-snav-item:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }
.fns-snav-active {
    background: rgba(30,155,255,0.15) !important;
    color: #1e9bff !important;
    border: 1px solid rgba(30,155,255,0.25);
}
.fns-snav-icon { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 2; }
.fns-snav-badge {
    margin-left: auto;
    background: #5b21b6;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* Divider */
.fns-sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 16px;
}

/* Sidebar cards */
.fns-sidebar-card {
    margin: 0 12px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fns-scard-title {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fns-konto-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fns-konto-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 600;
}
.fns-konto-icon { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.fns-credits-ico { font-size: 1rem; line-height: 1; color: #1e9bff; }
.fns-konto-val { font-size: 0.92rem; font-weight: 800; color: #fff; }
.fns-scard-text { color: rgba(255,255,255,0.45); font-size: 0.78rem; line-height: 1.5; margin: 0; }

.fns-sidebar-card--watchlist {
    background: rgba(30,10,80,0.4);
    border-color: rgba(90,33,182,0.3);
    cursor: pointer;
    transition: border-color 0.2s;
}
.fns-sidebar-card--watchlist:hover { border-color: rgba(90,33,182,0.7); }
.fns-wl-count { background: #5b21b6; }

.fns-sidebar-card--invite {
    background: rgba(10,30,80,0.4);
    border-color: rgba(30,80,180,0.3);
}

/* Buttons */
.fns-btn-purple {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border: none; color: #fff; font-size: 0.8rem; font-weight: 700;
    padding: 9px 14px; border-radius: 10px; cursor: pointer; width: 100%;
    transition: opacity 0.2s, transform 0.2s;
    letter-spacing: 0.3px;
}
.fns-btn-purple:hover { opacity: 0.88; transform: translateY(-1px); }

.fns-btn-outline {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem; font-weight: 600;
    padding: 8px 14px; border-radius: 10px; cursor: pointer; width: 100%;
    transition: border-color 0.2s, color 0.2s;
}
.fns-btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.fns-btn-blue {
    background: linear-gradient(135deg, #1e5ccc, #0a2e88);
    border: none; color: #fff; font-size: 0.8rem; font-weight: 700;
    padding: 9px 14px; border-radius: 10px; cursor: pointer; width: 100%;
    transition: opacity 0.2s, transform 0.2s;
}
.fns-btn-blue:hover { opacity: 0.88; transform: translateY(-1px); }

/* Sidebar back link */
.fns-sidebar-back {
    margin: 10px 12px 4px;
    padding: 9px 14px;
    display: none; /* shown on desktop via media query */
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.fns-sidebar-back:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.14);
}

/* Mobile sidebar overlay */
.fns-sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 299;
    backdrop-filter: blur(3px);
}

/* ═══════════════════════════════════════
   MAIN PANEL
   ═══════════════════════════════════════ */
.fns-main-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Topbar ── */
.fns-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: rgba(7,11,24,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky; top: 0; z-index: 200;
    flex-shrink: 0;
}
.fns-topbar-left {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.fns-hamburger-btn {
    background: none; border: none; cursor: pointer; padding: 6px 8px;
    border-radius: 8px; transition: background 0.2s; display: flex; align-items: center;
}
.fns-hamburger-btn:hover { background: rgba(255,255,255,0.07); }
.fns-topbar-brand { font-size: 1.3rem; font-weight: 900; font-style: italic; }
.fns-topbar-search {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}
.fns-search-inner {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 9px 14px; gap: 10px;
    transition: border-color 0.2s;
}
.fns-search-inner:focus-within { border-color: rgba(30,155,255,0.4); }
.fns-search-icon { display: flex; align-items: center; flex-shrink: 0; }
.fns-search-inner input {
    background: none; border: none; color: #fff;
    font-size: 0.88rem; flex: 1; outline: none;
    font-family: 'Poppins', sans-serif; min-width: 0;
}
.fns-search-inner input::placeholder { color: rgba(255,255,255,0.3); }
.fns-topbar-right {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto;
}
/* V-Bucks pill — override old fns-vbucks-pill */
#fn-vbucks-banner.fns-vbucks-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #0d1b2e, #071120);
    border: 1px solid rgba(80,160,255,0.35);
    border-radius: 50px;
    padding: 6px 8px 6px 10px;
    position: static !important; top: auto !important; right: auto !important;
}
.fns-topbar-bell {
    background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer;
    padding: 7px; border-radius: 50%; position: relative; display: flex;
    align-items: center; justify-content: center; transition: background 0.2s;
}
.fns-topbar-bell:hover { background: rgba(255,255,255,0.07); color: #fff; }
.fns-bell-badge {
    position: absolute; top: 0; right: 0;
    background: #5b21b6; color: #fff;
    font-size: 0.55rem; font-weight: 800;
    min-width: 16px; height: 16px;
    border-radius: 8px; border: 2px solid #070b18;
    display: flex; align-items: center; justify-content: center;
}
.fns-topbar-user {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; padding: 5px 12px 5px 5px;
    cursor: pointer; transition: background 0.2s;
}
.fns-topbar-user:hover { background: rgba(255,255,255,0.09); }
.fns-topbar-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #1e5ccc);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: #fff;
    overflow: hidden; flex-shrink: 0;
}
.fns-topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fns-topbar-uname { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.fns-topbar-login {
    background: linear-gradient(135deg, #1e5ccc, #7c3aed);
    border: none; color: #fff; font-size: 0.8rem; font-weight: 700;
    padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: opacity 0.2s;
}
.fns-topbar-login:hover { opacity: 0.85; }

/* ── Pages ── */
.fns-page { flex: 1; overflow-y: auto; background: #070b18; }
.fns-page-inner { padding: 28px 24px; max-width: 860px; }
.fns-page-title {
    display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.fns-page-title h2 {
    margin: 0; color: #fff; font-size: 1.3rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px;
}
.fns-live-badge {
    font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.5);
    background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3);
    border-radius: 20px; padding: 3px 10px; display: flex; align-items: center; gap: 5px;
}

/* ─── Gifts page ─── */
.fns-gifts-list { display: flex; flex-direction: column; gap: 8px; }
.fns-gift-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(80,140,255,0.1);
    border-radius: 16px;
    transition: background 0.2s, border-color 0.2s;
}
.fns-gift-item:hover { background: rgba(0,80,255,0.06); border-color: rgba(80,160,255,0.25); }
.fns-gift-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(135deg,#0064cc,#003a80);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.fns-gift-meta { flex: 1; min-width: 0; }
.fns-gift-text {
    color: #fff; font-weight: 700; font-size: 0.88rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fns-gift-user { color: #7ec8ff; }
.fns-gift-dim { color: rgba(255,255,255,0.4); font-weight: 400; }
.fns-gift-time { color: rgba(150,200,255,0.5); font-size: 0.72rem; margin-top: 3px; }
.fns-gift-price {
    display: flex; align-items: center; gap: 5px; flex-shrink: 0;
    background: rgba(0,60,180,0.2); border: 1px solid rgba(80,140,255,0.2);
    border-radius: 8px; padding: 6px 12px;
}
.fns-gift-price img { width: 14px; height: 14px; }
.fns-gift-price-val { color: #c8e8ff; font-size: 0.82rem; font-weight: 800; }

/* ─── Accounts page ─── */
.fns-acc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fns-acc-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(80,140,255,0.1);
    border-radius: 16px;
    transition: background 0.2s, border-color 0.2s;
}
.fns-acc-card:hover { background: rgba(0,80,255,0.06); border-color: rgba(80,160,255,0.3); }
.fns-acc-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.fns-acc-badge {
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid rgba(80,160,255,0.25); border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
}
.fns-acc-badge img { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(100,200,255,0.8)); }
.fns-acc-info { min-width: 0; }
.fns-acc-label {
    color: rgba(120,180,255,0.6); font-size: 0.6rem;
    text-transform: uppercase; letter-spacing: 2px; font-weight: 800; margin-bottom: 3px;
}
.fns-acc-name {
    color: #fff; font-weight: 800; font-size: 0.95rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.fns-acc-vb {
    display: flex; align-items: center; gap: 7px; flex-shrink: 0;
    background: rgba(0,80,200,0.15); border: 1px solid rgba(80,160,255,0.2);
    border-radius: 10px; padding: 8px 13px;
}
.fns-acc-vb img { width: 17px; height: 17px; filter: drop-shadow(0 0 5px rgba(100,200,255,0.9)); }
.fns-acc-vb span { color: #c8e8ff; font-size: 1rem; font-weight: 900; text-shadow: 0 0 12px rgba(100,180,255,0.7); }
.fns-acc-total {
    border-radius: 18px;
    background: linear-gradient(135deg,rgba(0,80,200,0.2),rgba(0,40,120,0.3));
    border: 1px solid rgba(80,160,255,0.3);
    padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
}
.fns-acc-total-label {
    color: rgba(120,180,255,0.65); font-size: 0.6rem;
    text-transform: uppercase; letter-spacing: 2.5px; font-weight: 800; margin-bottom: 4px;
}
.fns-acc-total-sub { color: rgba(200,230,255,0.5); font-size: 0.78rem; }
.fns-acc-total-right { display: flex; align-items: center; gap: 10px; }
.fns-acc-total-right img { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(100,200,255,0.9)); }
.fns-acc-total-num { color: #c8e8ff; font-size: 1.6rem; font-weight: 900; text-shadow: 0 0 20px rgba(100,180,255,0.8); }
.fns-refresh-btn {
    background: rgba(0,120,255,0.15); border: 1px solid rgba(80,160,255,0.35);
    color: #7ec8ff; padding: 8px 16px; border-radius: 12px;
    cursor: pointer; font-size: 0.78rem; font-weight: 800;
    display: flex; align-items: center; gap: 6px;
    transition: background 0.2s; font-family: inherit;
}
.fns-refresh-btn:hover { background: rgba(0,120,255,0.3); }
.fns-acc-desc {
    color: rgba(150,200,255,0.5); font-size: 0.8rem; line-height: 1.5;
    margin-bottom: 20px; padding: 12px 16px;
    background: rgba(0,60,180,0.08); border: 1px solid rgba(80,140,255,0.1);
    border-radius: 12px;
}

/* ─── Anfragen page redesign ─── */
.fns-anfragen-steps {
    display: flex; flex-direction: column; gap: 10px;
}
.fns-anfragen-steps-header {
    font-size: 0.68rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: 1.5px; color: rgba(255,255,255,0.35);
    margin-bottom: 4px; padding-left: 2px;
}
.fns-anfragen-step {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(80,140,255,0.1);
    border-radius: 14px;
    transition: border-color 0.2s;
}
.fns-anfragen-step:hover { border-color: rgba(80,140,255,0.22); }
.fns-anfragen-step-num {
    width: 32px; height: 32px; flex-shrink: 0;
    background: linear-gradient(135deg,#1e5ccc,#0a2e88);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 900; color: #fff;
    box-shadow: 0 4px 12px rgba(30,92,204,0.4);
}
.fns-anfragen-step-ttl { color: #fff; font-size: 0.88rem; font-weight: 800; margin-bottom: 4px; }
.fns-anfragen-step-desc { color: rgba(150,200,255,0.6); font-size: 0.78rem; line-height: 1.5; }
.fns-anfragen-card {
    background: linear-gradient(145deg, rgba(0,50,140,0.3), rgba(0,10,40,0.7));
    border: 1px solid rgba(80,160,255,0.25);
    border-radius: 20px; padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.fns-anfragen-header {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.fns-anfragen-ico {
    font-size: 2rem; flex-shrink: 0; margin-top: 2px;
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: rgba(30,155,255,0.12); border-radius: 14px;
    border: 1px solid rgba(30,155,255,0.25);
}
.fns-anfragen-ttl { color: #fff; font-size: 1.05rem; font-weight: 900; margin-bottom: 5px; }
.fns-anfragen-sub { color: rgba(150,200,255,0.65); font-size: 0.82rem; line-height: 1.5; }
.fns-anfragen-warn {
    background: rgba(255,160,0,0.07);
    border: 1px solid rgba(255,160,0,0.3);
    border-left: 3px solid #ffaa00;
    border-radius: 0 12px 12px 0;
    padding: 12px 16px;
    margin-bottom: 18px;
    color: #ffc84a;
    font-size: 0.82rem;
    line-height: 1.5;
    font-weight: 600;
}
.fns-anfragen-note {
    margin: 12px 0 0; color: rgba(255,255,255,0.22); font-size: 0.7rem; text-align: center;
}

/* Features bar */
.fns-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 24px 32px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #070b18;
}
.fns-feat-highlight {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px; padding: 16px;
    display: flex; align-items: flex-start; gap: 12px;
    transition: border-color 0.2s;
}
.fns-feat-highlight:hover { border-color: rgba(255,255,255,0.14); }
.fns-feat-hl-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.fns-feat-hl-title { color: #fff; font-size: 0.82rem; font-weight: 800; margin-bottom: 5px; }
.fns-feat-hl-text { color: rgba(255,255,255,0.4); font-size: 0.74rem; line-height: 1.5; }

/* ═══════════════════════════════════════
   FN-SPECIFIC MOBILE BOTTOM NAV
   ═══════════════════════════════════════ */
.fns-mobile-nav {
    display: none; /* shown by JS when in FN shop */
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9998;
    background: rgba(6,9,20,0.97);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.07);
    justify-content: space-around;
    padding: 10px 0 env(safe-area-inset-bottom, 20px);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.9);
}
.fns-mnav-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: #3a4a6a; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3px;
    cursor: pointer; flex: 1; transition: color 0.25s;
    padding: 2px 0;
}
.fns-mnav-item:hover { color: rgba(255,255,255,0.6); }
.fns-mnav-active { color: #1e9bff !important; }
.fns-mnav-icon { width: 22px; height: 22px; stroke-width: 1.8; transition: filter 0.25s; }
.fns-mnav-active .fns-mnav-icon { filter: drop-shadow(0 0 6px rgba(30,155,255,0.7)); }

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    /* On mobile, sidebar slides in from left */
    .fns-sidebar {
        position: fixed;
        top: 0; left: 0;
        height: 100%;
        transform: translateX(-100%);
        z-index: 400;
        width: 280px;
    }
    .fns-sidebar.fns-sidebar-open {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0,0,0,0.8);
    }
    .fns-sidebar-overlay.fns-overlay-open { display: block; }
    .fns-sidebar-close { display: flex !important; }

    /* Main panel takes full width */
    .fns-main-panel { width: 100%; }

    /* Topbar: hamburger + brand visible, search below */
    .fns-topbar { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
    .fns-topbar-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
    .fns-topbar-brand { display: block; }
    .fns-topbar-uname { display: none; }
    .fns-topbar-user svg { display: none; }

    /* Search suggestions on mobile */
    .fns-sugg-item { padding: 9px 12px; gap: 11px; }
    .fns-sugg-thumb { width: 48px; height: 48px; border-radius: 8px; }
    .fns-sugg-name { font-size: 0.84rem; }
    .fns-sugg-type { font-size: 0.68rem; margin-bottom: 4px; }
    .fns-sugg-price { font-size: 0.72rem; }
    .fns-sugg-rarity { font-size: 0.54rem; padding: 2px 6px; }

    /* Features bar: hidden on mobile to avoid confusion with normal shop layout */
    .fns-features-bar { display: none; }

    /* Pages padding */
    .fns-page-inner { padding: 20px 16px; }
    .fns-section { padding: 18px 16px 4px !important; }
    .fns-other-wrap { padding: 6px 16px 0 !important; }

    /* Gifts page */
    .fns-gift-text { font-size: 0.82rem; }

    /* Accounts page */
    .fns-acc-name { max-width: 130px; }
    .fns-acc-total { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fns-acc-total-right { width: 100%; justify-content: flex-end; }

    /* Anfragen steps */
    .fns-anfragen-layout { display: flex; flex-direction: column; gap: 20px; }
    .fns-anfragen-steps { gap: 8px; }
    .fns-anfragen-step { padding: 12px 14px; }
    .fns-anfragen-card { padding: 18px 16px; }
    .fns-anfragen-ico { width: 40px; height: 40px; font-size: 1.6rem; border-radius: 12px; }
    .fns-anfragen-ttl { font-size: 0.95rem; }

    /* Show FN mobile nav (controlled by JS), hide global nav */
    .fns-mobile-nav { display: flex; }

    /* Mobile: fns-app-root is the scroll container (prevents body bleed) */
    .fns-app-root {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 68px;
    }
    /* Main panel must not clip content on mobile */
    .fns-main-panel {
        overflow-x: hidden;
        overflow-y: visible;
    }
    /* Pages don't self-scroll on mobile (fns-app-root scrolls instead) */
    .fns-page { overflow-y: visible; }

    /* Featured cards on mobile */
    .fns-featured-card { flex: 0 0 155px !important; height: 240px !important; }
    .fns-featured-scroll { gap: 10px !important; padding: 6px 16px 12px !important; }

    /* Daily grid: 3 columns on mobile */
    .fns-daily-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
    .fns-daily-card { border-radius: 10px !important; }
    .fns-daily-name { font-size: 0.54rem !important; margin-bottom: 3px !important; }
    .fns-daily-price { font-size: 0.58rem !important; }
    .fns-daily-price img { width: 10px !important; height: 10px !important; }
    .fns-daily-footer { padding: 18px 6px 7px !important; }
    .fns-feat-heart { width: 22px !important; height: 22px !important; font-size: 0.65rem !important; top: 5px !important; right: 5px !important; }

    /* "Other" items grid: 3 col on mobile */
    .fns-other-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
    .fns-mini-card { border-radius: 10px !important; }
    .fns-mini-name { font-size: 0.54rem !important; white-space: nowrap !important; line-height: 1.2 !important; font-weight: 800 !important; margin-bottom: 3px !important; }
    .fns-mini-price { font-size: 0.56rem !important; gap: 3px !important; }
    .fns-mini-price img { width: 10px !important; height: 10px !important; }
    .fns-mini-bottom { padding: 18px 6px 7px !important; }

    /* Section headers */
    .fns-section-title { font-size: 0.85rem !important; }
}

/* Very small phones: drop back to 2 columns */
@media (max-width: 359px) {
    .fns-daily-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fns-other-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fns-daily-name { font-size: 0.6rem !important; }
    .fns-mini-name  { font-size: 0.6rem !important; }
}

@media (min-width: 901px) {
    /* Desktop: sidebar always visible, topbar hamburger hidden */
    .fns-hamburger-btn { display: none; }
    .fns-topbar-brand  { display: none; } /* logo is in sidebar */
    .fns-back-btn      { display: none; } /* back link is in sidebar on desktop */
    .fns-mobile-nav    { display: none !important; }

    /* Sticky layout: sidebar and main panel each scroll independently */
    .fns-app-root {
        height: 100vh;
        overflow: hidden;
    }
    .fns-sidebar {
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .fns-main-panel {
        height: 100vh;
        overflow-y: auto;
    }

    /* Sidebar "Zurück zum Shop" button — pinned at top, visible on desktop */
    .fns-sidebar-back {
        display: flex !important;
        margin: 0 12px 0 !important;
        order: -1;
        border-radius: 10px;
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }

    /* Main panel sections use more space */
    .fns-section { padding: 24px 28px 8px !important; }
    .fns-other-wrap { padding: 8px 28px 0 !important; }
    .fns-features-bar { padding: 20px 28px 32px; }
    .fns-daily-grid { grid-template-columns: repeat(6, 1fr) !important; }
    .fns-featured-card { flex: 0 0 200px !important; height: 300px !important; }
    .fns-other-grid { grid-template-columns: repeat(5, 1fr) !important; }

    /* Featured scroll arrows — visible only on desktop */
    .fns-feat-arrow {
        display: flex !important;
    }
}
.fns-featured-wrap {
    position: relative;
}
.fns-feat-arrow {
    display: none; /* shown only on desktop via media query above */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(10,14,26,0.88);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 38px; height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.fns-feat-arrow:hover {
    background: rgba(30,155,255,0.25);
    border-color: rgba(30,155,255,0.5);
    transform: translateY(-50%) scale(1.08);
}
.fns-feat-arrow--prev { left: 4px; }
.fns-feat-arrow--next { right: 4px; }

/* ═══════════════════════════════════════
   FN WATCHLIST PAGE
   ═══════════════════════════════════════ */
.fns-watchlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 0 0 24px;
}
.fns-wl-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.fns-wl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    border-color: rgba(30,155,255,0.3);
}
.fns-wl-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.fns-wl-card-body {
    padding: 10px 12px 12px;
}
.fns-wl-card-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fns-wl-card-remove {
    width: 100%;
    background: rgba(255,45,85,0.08);
    border: 1px solid rgba(255,45,85,0.2);
    color: #ff4d6d;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.fns-wl-card-remove:hover { background: rgba(255,45,85,0.18); }
.fns-wl-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.3);
}
.fns-wl-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.fns-wl-empty-text { font-size: 0.88rem; line-height: 1.5; }

/* ══════════════════════════
   FN WATCHLIST PAGE (neu)
══════════════════════════ */
.fns-wl-page-inner { padding-bottom: 40px; }

.fns-wl-page-header { margin-bottom: 24px; }
.fns-wl-page-title-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; margin-bottom: 16px;
}
.fns-wl-page-h2 { font-size: 1.4rem; font-weight: 900; color: #fff; margin: 0 0 4px; }
.fns-wl-page-sub { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin: 0; }
.fns-wl-back-btn {
    flex-shrink: 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    color: #ccc; padding: 9px 16px; border-radius: 12px; cursor: pointer;
    font-size: 0.78rem; font-weight: 700; font-family: inherit; white-space: nowrap;
    transition: background 0.2s;
}
.fns-wl-back-btn:hover { background: rgba(255,255,255,0.1); }

.fns-wl-info-banner {
    display: flex; align-items: flex-start; gap: 14px;
    background: linear-gradient(135deg, rgba(98,60,255,0.18), rgba(30,155,255,0.1));
    border: 1px solid rgba(98,60,255,0.35); border-radius: 16px;
    padding: 16px 18px;
}
.fns-wl-info-icon { font-size: 1.6rem; flex-shrink: 0; }
.fns-wl-info-text { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.fns-wl-info-text b { color: #fff; }

/* Search section */
.fns-wl-search-section {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 20px; margin-bottom: 28px;
}
.fns-wl-search-label {
    font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px;
}
.fns-wl-search-bar { display: flex; gap: 10px; }
.fns-wl-search-input {
    flex: 1; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12); color: #fff;
    padding: 12px 16px; border-radius: 12px; font-size: 0.88rem;
    outline: none; font-family: inherit; min-width: 0;
    transition: border-color 0.2s;
}
.fns-wl-search-input:focus { border-color: rgba(98,60,255,0.6); }
.fns-wl-search-input::placeholder { color: rgba(255,255,255,0.3); }
.fns-wl-search-btn {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #6230ff, #1e9bff);
    border: none; color: #fff; font-weight: 800; font-family: inherit;
    padding: 12px 20px; border-radius: 12px; cursor: pointer;
    font-size: 0.85rem; white-space: nowrap; flex-shrink: 0;
    transition: opacity 0.2s;
}
.fns-wl-search-btn:hover { opacity: 0.88; }

/* Search results grid */
.fns-wl-search-results {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}
.fns-wl-sr-loading {
    grid-column: 1/-1; padding: 20px; text-align: center;
    color: rgba(255,255,255,0.45); font-size: 0.88rem;
}
.fns-wl-sr-card {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.04); border-width: 1px; border-style: solid;
    border-color: rgba(255,255,255,0.08); border-radius: 14px; padding: 10px 12px;
    transition: border-color 0.2s, background 0.2s;
}
.fns-wl-sr-card:hover { background: rgba(255,255,255,0.07); }
.fns-wl-sr-img {
    width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
    flex-shrink: 0; background: rgba(0,0,0,0.3);
}
.fns-wl-sr-info { flex: 1; min-width: 0; }
.fns-wl-sr-name {
    font-size: 0.82rem; font-weight: 800; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px;
}
.fns-wl-sr-type { font-size: 0.68rem; color: rgba(255,255,255,0.4); }
.fns-wl-sr-btn {
    flex-shrink: 0; background: rgba(98,60,255,0.15);
    border: 1px solid rgba(98,60,255,0.4); color: #a78bfa;
    font-size: 0.72rem; font-weight: 800; padding: 7px 14px;
    border-radius: 9px; cursor: pointer; font-family: inherit;
    white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.fns-wl-sr-btn:hover { background: rgba(98,60,255,0.3); }
.fns-wl-sr-btn.active {
    background: rgba(46,204,113,0.15); border-color: rgba(46,204,113,0.4);
    color: #2ecc71;
}

/* Saved items section */
.fns-wl-saved-section { display: block; }
.fns-wl-saved-label {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px;
}
.fns-wl-saved-count {
    background: rgba(98,60,255,0.25); color: #a78bfa;
    font-size: 0.7rem; font-weight: 900; padding: 3px 10px;
    border-radius: 20px; letter-spacing: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .fns-wl-search-bar { flex-direction: column; gap: 8px; }
    .fns-wl-search-btn { width: 100%; justify-content: center; }
    .fns-wl-search-results { grid-template-columns: 1fr; }
    .fns-wl-page-h2 { font-size: 1.15rem; }
    .fns-wl-info-banner { gap: 10px; padding: 14px; }
}

/* Sidebar Wunschliste preview strip */
.fns-wl-preview {
    display: flex;
    gap: 6px;
    margin: 8px 0 10px;
}
.fns-wl-preview-img {
    width: calc(33.333% - 4px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.fns-wl-preview-img:hover { transform: scale(1.06); }

/* ─── FN Shop search suggestions dropdown ─── */
#fn-search-suggestions {
    background: rgba(5,9,20,0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(30,155,255,0.18);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.95);
}
.fns-sugg-item {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}
.fns-sugg-item:last-child { border-bottom: none; }
.fns-sugg-item:hover { background: rgba(30,155,255,0.09); }
.fns-sugg-thumb {
    width: 58px; height: 58px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
    background: linear-gradient(145deg, #2a0840, #0d0218);
    display: flex; align-items: center; justify-content: center;
}
.fns-sugg-thumb.rarity-rare      { background: linear-gradient(145deg, #0d4a78, #020c1e); }
.fns-sugg-thumb.rarity-epic      { background: linear-gradient(145deg, #5a1090, #160230); }
.fns-sugg-thumb.rarity-legendary { background: linear-gradient(145deg, #7a3a10, #1e0a00); }
.fns-sugg-thumb.rarity-uncommon  { background: linear-gradient(145deg, #0e4a20, #020e06); }
.fns-sugg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.fns-sugg-info { flex: 1; min-width: 0; }
.fns-sugg-name {
    color: #fff; font-weight: 800; font-size: 0.9rem;
    margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fns-sugg-type {
    color: rgba(255,255,255,0.45); font-size: 0.72rem; margin-bottom: 5px;
}
.fns-sugg-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fns-sugg-price {
    display: flex; align-items: center; gap: 4px;
    color: #4da8ff; font-size: 0.78rem; font-weight: 800;
}
.fns-sugg-price img { width: 13px; height: 13px; filter: drop-shadow(0 0 4px rgba(77,168,255,0.8)); }
.fns-sugg-rarity {
    font-size: 0.58rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.5px;
    padding: 2px 7px; border-radius: 4px;
}
.fns-sugg-rarity.rarity-common    { background: rgba(130,130,130,0.2); color: #aaa; }
.fns-sugg-rarity.rarity-uncommon  { background: rgba(46,204,113,0.18); color: #2ecc71; }
.fns-sugg-rarity.rarity-rare      { background: rgba(0,186,255,0.18); color: #00baff; }
.fns-sugg-rarity.rarity-epic      { background: rgba(155,89,182,0.22); color: #c39bdf; }
.fns-sugg-rarity.rarity-legendary { background: rgba(230,126,34,0.22); color: #e6932a; }
.fns-sugg-rarity.rarity-mythic,
.fns-sugg-rarity.rarity-marvel    { background: rgba(231,76,60,0.22); color: #e74c3c; }
.fns-sugg-empty {
    padding: 18px; color: rgba(255,255,255,0.35);
    text-align: center; font-size: 0.85rem;
}

/* Prevent body scroll when FN shop is active (all screen sizes) */
/* position:fixed is required for iOS Safari to truly block body scroll */
body.fn-shop-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
}

/* Mobile back button — cleaner on small screens */
@media (max-width: 900px) {
    .fns-back-btn {
        padding: 7px 10px !important;
        font-size: 0.72rem !important;
        gap: 5px !important;
    }
    .fns-back-btn svg { width: 12px; height: 12px; }
}
