/* ════════════════════════════════════════════════════════════════════════
   Levý sticky panel s bonusy (includes/components/bonus-rail.php)
   Jen ≥1400 px: panel je fixed vlevo pod lištou a obsah se odsune
   o jeho šířku (body:has). Pod 1400 px se nevykreslí vůbec (display:none).
   ════════════════════════════════════════════════════════════════════════ */
.bonus-rail { display: none; }

@media (min-width: 1400px) {
    :root { --rail-w: 276px; }
    body:has(> .bonus-rail) { padding-left: calc(var(--rail-w) + 16px); }

    .bonus-rail {
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 40;
        left: 12px;
        top: calc(var(--nav-height, 110px) + 12px);
        bottom: 12px;
        width: var(--rail-w);
        padding: 14px 12px 12px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(168, 85, 247, 0.4) transparent;
        background: #0f0f15;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        font-family: var(--font-body, Montserrat, sans-serif);
    }
}

.bonus-rail-head {
    display: flex;
    justify-content: space-between;
    margin: 0 4px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9ab0;
}
.bonus-rail-month { color: var(--neon-cyan, #00f5ff); }

/* Tokyo: velká karta nahoře */
.bonus-rail-hero {
    position: relative;
    flex-shrink: 0;
    padding: 16px 14px 14px;
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid rgba(0, 245, 255, 0.5);
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(0, 245, 255, 0.22), transparent 60%),
        radial-gradient(120% 90% at 100% 100%, rgba(255, 0, 255, 0.2), transparent 60%),
        #12101f;
    box-shadow: 0 0 26px rgba(0, 245, 255, 0.14);
}
.bonus-rail-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 5px;
    background: var(--neon-cyan, #00f5ff);
    color: #000;
}
.bonus-rail-hero-link { display: block; color: #fff; text-decoration: none; }
.bonus-rail-hero-link img { display: block; height: 34px; width: auto; margin-bottom: 10px; }
.bonus-rail-amt {
    display: block;
    font-family: var(--font-accent, 'Exo 2', sans-serif);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, var(--neon-cyan, #00f5ff), var(--neon-magenta, #ff00ff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bonus-rail-sub { display: block; margin: 6px 0 12px; font-size: 12.5px; line-height: 1.4; color: #d6d6e6; }
.bonus-rail-sub b { color: #fff; }
.bonus-rail-go {
    display: block;
    padding: 11px;
    border-radius: 11px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    background: linear-gradient(135deg, var(--neon-cyan, #00f5ff), var(--neon-purple, #a855f7));
    transition: filter .15s ease, transform .15s ease;
}
.bonus-rail-go:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Řádky ostatních casin */
.bonus-rail-list { list-style: none; margin: 0; padding: 0; }
.bonus-rail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 6px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease;
}
.bonus-rail-row:hover { background: #141420; border-color: rgba(168, 85, 247, 0.35); }
.bonus-rail-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: #fff; text-decoration: none; }
.bonus-rail-ic {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #1a1a28;
    font-size: 11px;
    font-weight: 900;
}
.bonus-rail-ic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.bonus-rail-txt { display: flex; flex-direction: column; min-width: 0; }
.bonus-rail-nm { font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bonus-rail-bn { margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--neon-cyan, #00f5ff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bonus-rail-btn {
    flex-shrink: 0;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #e9dcff;
    text-decoration: none;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.45);
    transition: background .15s ease, color .15s ease;
}
.bonus-rail-row:hover .bonus-rail-btn,
.bonus-rail-btn:hover { background: var(--neon-purple, #a855f7); color: #fff; }

.bonus-rail-all {
    display: block;
    flex-shrink: 0;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed rgba(0, 245, 255, 0.35);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-cyan, #00f5ff);
    text-decoration: none;
}
.bonus-rail-all:hover { background: rgba(0, 245, 255, 0.06); }
.bonus-rail-legal { margin: 10px 0 0; font-size: 10px; text-align: center; color: #6d6d82; }
