/* ==========================================================================
   library.css - Spiele-Bibliothek (select_game.php)
   ========================================================================== */

:root {
    --vs-bg: #08080b;
    --vs-surface: #121218;
    --vs-surface-2: #181822;
    --vs-crimson: #cc0000;
    --vs-crimson-dark: #7a000d;
    --vs-gold: #f5d77f;
    --vs-gold-soft: rgba(245, 215, 127, 0.42);
    --vs-emerald: #4cd97b;
    --vs-border: rgba(255, 255, 255, 0.08);
    --vs-text: #d6d6de;
    --vs-muted: #9393a3;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100vh !important;
    background-color: var(--vs-bg);
    background-image:
        radial-gradient(ellipse 90% 45% at 50% 0%, rgba(165, 0, 22, 0.22), transparent 70%),
        radial-gradient(circle at 85% 30%, rgba(245, 215, 127, 0.04), transparent 50%);
    color: var(--vs-text);
    display: flex;
    flex-direction: column;
}

/* === HEADER & TOUCH-HIGHLIGHT-FIX === */
.top-nav { position: relative !important; z-index: 500 !important; flex-shrink: 0; }
.top-nav a, .top-nav button, header a, header button {
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation;
}
.top-nav a:focus:not(:focus-visible),
.top-nav button:focus:not(:focus-visible),
header a:focus:not(:focus-visible),
header button:focus:not(:focus-visible) {
    outline: none !important;
}

/* Auf Touch-Geraeten (Smartphones/Tablets) KEIN klebriges :hover/:focus im Header oder bei Buttons!
   Highlight erscheint ausschliesslich solange der Finger gedrueckt haelt (:active / .vs-touch-pressing). */
.vs-pill:focus:not(:focus-visible),
.vs-pill-genre-btn:focus:not(:focus-visible),
.vs-mode-tab:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

@media (hover: none), (pointer: coarse) {
    .top-nav a:not(.active):not(.nav-brand):not(.logo):not(.brand):hover,
    .top-nav a:not(.active):not(.nav-brand):not(.logo):not(.brand):focus,
    header nav a:not(.active):hover,
    header nav a:not(.active):focus {
        color: #ccc !important;
        background: transparent !important;
        border-color: transparent !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }
    .top-nav a:active,
    .top-nav a.vs-touch-pressing,
    header nav a:active,
    header nav a.vs-touch-pressing {
        color: var(--vs-gold) !important;
    }
    .top-nav a.btn:not(.active):hover,
    .top-nav a.btn:not(.active):focus {
        background: var(--vs-crimson) !important;
        color: #fff !important;
    }
    .top-nav a.btn-outline:not(.active):hover,
    .top-nav a.btn-outline:not(.active):focus {
        background: transparent !important;
        color: #ccc !important;
        border-color: #444 !important;
    }

    /* Genre- & Filter-Pills auf Touch: wenn nicht .active, niemals kleben bleiben */
    .vs-pill:not(.active):hover,
    .vs-pill:not(.active):focus {
        background: var(--vs-surface) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        color: #c8c8d4 !important;
        box-shadow: none !important;
    }
    .vs-pill:active,
    .vs-pill.vs-touch-pressing {
        border-color: rgba(245, 215, 127, 0.7) !important;
        color: #fff !important;
    }
    .vs-pill-genre-btn:not(.has-active):hover,
    .vs-pill-genre-btn:not(.has-active):focus {
        background: var(--vs-surface-2) !important;
        border-color: rgba(245, 215, 127, 0.35) !important;
        color: var(--vs-gold) !important;
        box-shadow: none !important;
    }
    .vs-mode-tab:not(.active):hover,
    .vs-mode-tab:not(.active):focus {
        background: transparent !important;
        border-color: transparent !important;
        color: var(--vs-muted) !important;
        box-shadow: none !important;
    }
}

.site-footer { position: relative !important; z-index: 10 !important; margin-top: auto; flex-shrink: 0; }

/* === HAUPT-CONTAINER === */
.vs-lib-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 14px 80px 14px;
    flex: 1 0 auto;
}

/* === HERO HEADER === */
.vs-lib-hero {
    position: relative;
    text-align: center;
    padding: 26px 18px 22px 18px;
    margin-bottom: 16px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(16, 12, 18, 0.72) 0%, rgba(8, 8, 11, 0.94) 100%),
        url("../img/cards/library_hero_banner.jpg") center/cover no-repeat;
    border: 1px solid rgba(245, 215, 127, 0.22);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}
.vs-lib-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(245, 215, 127, 0.1);
    border: 1px solid rgba(245, 215, 127, 0.38);
    color: var(--vs-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.vs-lib-hero h1 {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(1.65rem, 5.5vw, 2.55rem);
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.18;
}
.vs-lib-hero p {
    margin: 0 auto;
    max-width: 600px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #c4c4d0;
}

/* === LAUFENDES SPIEL BANNER === */
.vs-resume-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.22) 0%, rgba(18, 18, 25, 0.96) 75%);
    border: 1px solid rgba(245, 215, 127, 0.55);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.vs-resume-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vs-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vs-emerald);
    box-shadow: 0 0 10px var(--vs-emerald);
    flex-shrink: 0;
    animation: vsPulse 1.6s infinite;
}
@keyframes vsPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}
.vs-resume-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--vs-gold);
    margin: 0;
    font-weight: 700;
}
.vs-resume-title {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 1.05rem;
    color: #fff;
    margin: 2px 0 0 0;
}
.vs-resume-cta {
    background: linear-gradient(135deg, var(--vs-crimson) 0%, var(--vs-crimson-dark) 100%);
    color: #fff !important;
    border: 1px solid var(--vs-gold);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* === STICKY 3-STUFEN-ZEIT-SWITCHER === */
.vs-sticky-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(8, 8, 11, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 10px 14px 12px 14px;
    margin: 0 -14px 12px -14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.vs-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #101016;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.vs-mode-tab {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 10px 6px;
    cursor: pointer;
    text-align: center;
    color: var(--vs-muted);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 54px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.vs-mode-tab.active {
    background: linear-gradient(160deg, rgba(204, 0, 0, 0.34) 0%, rgba(28, 14, 18, 0.96) 100%);
    border-color: rgba(245, 215, 127, 0.65);
    color: #fff;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.28);
}
.vs-mode-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--vs-gold);
}
.vs-mode-count {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
}
.vs-mode-tab.active .vs-mode-count {
    background: var(--vs-gold);
    color: #111;
}
.vs-mode-label {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 0.96rem;
    color: #e6e6ee;
    font-weight: 600;
    line-height: 1.2;
}
.vs-mode-tab.active .vs-mode-label { color: #fff; }

/* === KONTEXT-STREIFEN & SWIPEABLE FILTER-PILLS === */
.vs-context-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(204, 0, 0, 0.14) 0%, rgba(20, 20, 28, 0.9) 100%);
    border: 1px solid rgba(245, 215, 127, 0.22);
    border-left: 3px solid var(--vs-gold);
    font-size: 12px;
}
.vs-context-strip strong { color: var(--vs-gold); letter-spacing: 0.4px; }
.vs-context-strip span { color: #bdbdca; font-size: 11.5px; }

.vs-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.vs-pills-scroll {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
    flex: 1;
}
.vs-pills-scroll::-webkit-scrollbar { display: none; }

.vs-pill {
    flex: 0 0 auto;
    background: var(--vs-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c8c8d4;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    min-height: 36px;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.vs-pill.active {
    background: linear-gradient(135deg, var(--vs-crimson) 0%, var(--vs-crimson-dark) 100%) !important;
    border-color: var(--vs-gold) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.32) !important;
}
.vs-pill-genre-btn {
    flex: 0 0 auto;
    background: var(--vs-surface-2);
    border: 1px solid rgba(245, 215, 127, 0.35);
    color: var(--vs-gold);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    min-height: 36px;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.vs-pill-genre-btn.has-active {
    background: rgba(245, 215, 127, 0.18) !important;
    border-color: var(--vs-gold) !important;
    color: #fff !important;
}

.vs-genre-drawer {
    display: none;
    background: var(--vs-surface);
    border: 1px solid rgba(245, 215, 127, 0.25);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}
.vs-genre-drawer.open { display: block; animation: vsFadeIn 0.2s ease; }
.vs-genre-grid { display: flex; flex-wrap: wrap; gap: 7px; }

@keyframes vsFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === EINHEITLICHES CINEMA-KARTEN-GRID === */
.vs-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}
@media (min-width: 640px) {
    .vs-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1000px) {
    .vs-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .vs-cards-grid.single-focus { grid-template-columns: minmax(320px, 540px); justify-content: center; }
}

.vs-card {
    position: relative;
    background: linear-gradient(180deg, var(--vs-surface-2) 0%, var(--vs-surface) 100%);
    border: 1px solid var(--vs-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
    -webkit-tap-highlight-color: transparent;
}
.vs-card:active {
    transform: scale(0.99);
    border-color: var(--vs-gold-soft);
}
.vs-card.is-featured {
    border-color: rgba(245, 215, 127, 0.45);
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.16);
}
.vs-card.is-coming-soon { opacity: 0.78; }

.vs-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d0d13;
}
.vs-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.vs-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 8, 12, 0.45) 0%,
        rgba(8, 8, 12, 0.08) 42%,
        rgba(18, 18, 24, 0.96) 100%
    );
    pointer-events: none;
}

.vs-card-top-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}
.vs-tag-left {
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f0f0f5;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 9px;
    border-radius: 999px;
}
.vs-price-badge {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.vs-price-free {
    background: linear-gradient(135deg, #1d8f47 0%, #126130 100%);
    border: 1px solid #6ef09c;
    color: #fff;
}
.vs-price-deal {
    background: linear-gradient(135deg, #d9001b 0%, #80000e 100%);
    border: 1px solid var(--vs-gold);
    color: #fff;
}
.vs-price-vip {
    background: rgba(20, 16, 10, 0.88);
    border: 1px solid var(--vs-gold);
    color: var(--vs-gold);
}
.vs-price-regular {
    background: rgba(12, 12, 18, 0.86);
    border: 1px solid rgba(245, 215, 127, 0.45);
    color: var(--vs-gold);
}
.vs-price-soon {
    background: rgba(25, 25, 34, 0.9);
    border: 1px solid #555;
    color: #aaa;
}

.vs-card-body {
    padding: 12px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}
.vs-card-title {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 1.18rem;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.25;
}
.vs-card-teaser {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #b5b5c4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vs-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}
.vs-mini-chip {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cfcfe0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vs-mini-chip-spice {
    background: rgba(204, 0, 0, 0.14);
    border-color: rgba(204, 0, 0, 0.38);
    color: #fff;
}
.vs-mini-chip-gold {
    background: rgba(245, 215, 127, 0.1);
    border-color: rgba(245, 215, 127, 0.35);
    color: var(--vs-gold);
}

.vs-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.vs-card-price-line {
    font-size: 12px;
    color: #ccc;
    line-height: 1.25;
}
.vs-card-price-line strong {
    color: #fff;
    font-size: 13.5px;
}
.vs-strike {
    text-decoration: line-through;
    color: #777;
    font-size: 11px;
    margin-right: 4px;
}
.vs-card-cta {
    background: linear-gradient(135deg, var(--vs-crimson) 0%, var(--vs-crimson-dark) 100%);
    color: #fff;
    border: 1px solid rgba(245, 215, 127, 0.7);
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.vs-card.is-coming-soon .vs-card-cta {
    background: #20202b;
    border-color: #3d3d4d;
    color: #888;
}

/* Tresor Hinweis unten */
.vs-vault-banner {
    margin-top: 22px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 215, 127, 0.06) 0%, rgba(18, 18, 24, 0.9) 100%);
    border: 1px dashed rgba(245, 215, 127, 0.32);
    text-align: center;
    font-size: 12.5px;
    color: #bbb;
    line-height: 1.55;
}
.vs-vault-banner strong { color: var(--vs-gold); }

/* === FLOATING RUBINE-PILL === */
#token-display {
    position: fixed !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    top: auto !important;
    z-index: 60 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 16, 22, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 215, 127, 0.55);
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

/* === LUXUS DETAIL-SHEET === */
.vs-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(4, 4, 8, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.vs-sheet-overlay.open {
    display: flex;
    animation: vsFadeOverlay 0.22s ease;
}
@keyframes vsFadeOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (min-width: 720px) {
    .vs-sheet-overlay { align-items: center; padding: 20px; }
}

.vs-sheet {
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    background: #13131a;
    border: 1px solid rgba(245, 215, 127, 0.4);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -14px 45px rgba(0, 0, 0, 0.85);
    animation: vsSlideUp 0.28s cubic-bezier(0.2, 0.9, 0.25, 1);
}
@keyframes vsSlideUp {
    from { transform: translateY(45px); opacity: 0.4; }
    to   { transform: translateY(0); opacity: 1; }
}
@media (min-width: 720px) {
    .vs-sheet {
        border-bottom: 1px solid rgba(245, 215, 127, 0.4);
        border-radius: 16px;
        max-height: 88vh;
    }
}

.vs-sheet-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}

.vs-sheet-hero {
    position: relative;
    width: 100%;
    height: 190px;
    background: #0d0d13;
    overflow: hidden;
}
@media (min-width: 720px) {
    .vs-sheet-hero { height: 220px; }
}
.vs-sheet-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vs-sheet-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,14,0.35) 0%, rgba(19,19,26,0.98) 100%);
}
.vs-sheet-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.vs-sheet-hero-title-wrap {
    position: absolute;
    bottom: 12px;
    left: 18px;
    right: 18px;
    z-index: 4;
    text-align: left;
}
.vs-sheet-hero-title-wrap h2 {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(1.35rem, 4.8vw, 1.75rem);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.vs-sheet-content {
    padding: 14px 18px 20px 18px;
    text-align: left;
}
.vs-sheet-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.vs-sheet-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #dcdce6;
    margin-bottom: 16px;
}
.vs-sheet-toys {
    background: rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.28);
    border-left: 3px solid var(--vs-crimson);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e6d5d5;
}
.vs-sheet-toys strong { color: var(--vs-gold); display: block; margin-bottom: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.vs-sheet-toys a { color: #fff; text-decoration: underline; font-size: 12px; display: inline-block; margin-top: 6px; }

.vs-sheet-status-box {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(245, 215, 127, 0.08);
    border: 1px solid rgba(245, 215, 127, 0.35);
    color: var(--vs-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
}
.vs-sheet-status-box small {
    display: block;
    color: #aaa;
    font-weight: 400;
    font-size: 0.78rem;
    margin-top: 3px;
}

.vs-sheet-footer {
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)) 18px;
    background: #0e0e14;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    flex-shrink: 0;
}
.vs-sheet-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--vs-crimson) 0%, var(--vs-crimson-dark) 100%);
    color: #fff;
    border: 1px solid var(--vs-gold);
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(204, 0, 0, 0.38);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}
.vs-sheet-cta:disabled {
    background: #22222c;
    border-color: #444;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

/* === SPIELER- & ROLLEN-SETUP (90+ MIN. BRETTSPIELE) === */
#setup-screen {
    display: none;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 14px 60px 14px;
}
.vs-setup-panel {
    background: var(--vs-surface);
    border: 1px solid rgba(245, 215, 127, 0.35);
    border-top: 3px solid var(--vs-crimson);
    border-radius: 14px;
    padding: 22px 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
}
.vs-setup-header { text-align: center; margin-bottom: 20px; }
.vs-setup-header h1 {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: clamp(1.45rem, 5vw, 2rem);
    color: #fff;
    margin: 0 0 6px 0;
}
.vs-setup-header p { margin: 0; font-size: 0.88rem; color: var(--vs-gold); }

.vs-players-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
@media (min-width: 600px) {
    .vs-players-grid { grid-template-columns: repeat(2, 1fr); }
}
.player-setup {
    background: #0d0d13;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
}
.player-setup h2 {
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    font-size: 1.05rem;
    color: var(--vs-gold);
    margin: 0 0 10px 0;
}
.player-setup input[type="text"],
.player-setup select.role-select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: #161620;
    border: 1px solid #353545;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
}
.player-setup input:focus,
.player-setup select:focus {
    outline: none;
    border-color: var(--vs-gold);
}
.color-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
    margin-top: 6px;
}
.color-swatch {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.color-swatch.selected {
    border-color: #fff;
    transform: scale(1.18);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}
.vs-setup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
}
.vs-btn-back {
    width: 100%;
    background: transparent;
    color: #bbb;
    border: 1px solid #444;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* === HOVER-EFFEKTE NUR FÜR ECHTE MAUS-GERÄTE (DESKTOP) === */
@media (hover: hover) and (pointer: fine) {
    .vs-resume-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245, 215, 127, 0.28); }
    .vs-mode-tab:not(.active):hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
    .vs-pill:not(.active):hover { border-color: rgba(245, 215, 127, 0.5); color: #fff; }
    .vs-pill-genre-btn:not(.has-active):hover { border-color: var(--vs-gold); color: #fff; }
    .vs-card:hover {
        transform: translateY(-4px);
        border-color: var(--vs-gold-soft);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.7), 0 0 20px rgba(204, 0, 0, 0.16);
    }
    .vs-card:hover .vs-card-media img { transform: scale(1.05); }
    .vs-card:hover .vs-card-cta { box-shadow: 0 4px 14px rgba(245, 215, 127, 0.25); }
    #token-display:hover { transform: translateY(-2px); border-color: var(--vs-gold); }
    .vs-sheet-close:hover { border-color: var(--vs-gold); color: var(--vs-gold); }
    .vs-sheet-cta:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(245, 215, 127, 0.28);
    }
    .vs-btn-back:hover { border-color: var(--vs-gold); color: #fff; }
}
