﻿        *, :after, :before {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }

        html, body {
            --sb-track-color: #1b1b1b;
            --sb-thumb-color: #cb3c6d;
            --sb-size: 15px;
            scrollbar-color: var(--sb-thumb-color) var(--sb-track-color) !important;
            scrollbar-width: thin;
        }
        ::-webkit-scrollbar { width: var(--sb-size); }
        ::-webkit-scrollbar-thumb { background: var(--sb-thumb-color); border-radius: 4px; }
        ::-webkit-scrollbar-track { background: var(--sb-track-color); border-radius: 4px; }

        html, body {
            overflow-x: hidden;
        }
        body {
            font-family: Poppins, sans-serif;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            background-color: #0c0c0c;
            color: #fff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            max-width: 100vw;
        }
        body::before {
            content: '';
            display: block;
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background-image: url('../../images/site/fond.webp');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: 50%;
            opacity: 0.6;
            z-index: -1;
        }


        .wls-main {
            flex: 1 0 auto;
            width: 100%;
        }


        .wls-page-header {
            position: relative;
            width: 100%;
            background: rgba(9, 9, 9, 0.6);
            text-transform: uppercase;
            overflow: hidden;
        }
        .wls-page-header::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 0.2rem;
            background: linear-gradient(90deg, #f34a53, #cb3c6d);
        }
        .wls-page-header-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        .wls-page-header-logo {
            padding: 1rem;
            width: auto;
            height: 200px;
            filter: drop-shadow(0 0 25px rgba(203, 60, 109, 0.35));
        }
        .wls-filters {
            display: flex;
            flex-direction: column;
            padding: 1rem;
        }
        .wls-filter-select {
            width: 300px;
            display: flex;
            flex-direction: column;
        }
        .wls-filter-select:first-child { margin-bottom: 0.5rem; }
        .wls-filter-select:last-child { margin-top: 0.5rem; }
        .wls-filter-select label {
            padding: 0.1rem;
            color: #fff;
            font-size: 0.875rem;
            font-weight: 400;
            text-transform: none;
            letter-spacing: normal;
        }
        .wls-filter-select select {
            padding: 4px 6px;
            background-color: #0c0c0c;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.18);
            outline: none;
            font-family: Poppins, sans-serif;
            font-size: 14px;
            font-weight: 300;
            cursor: pointer;
            width: 100%;
            text-transform: none;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23fff' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 10px;
        }
        .wls-filter-select select option {
            background-color: #0c0c0c;
            font-size: 13px;
        }
        .wls-filter-separator {
            height: 3px;
            background: linear-gradient(90deg, #f34a53, #cb3c6d);
            transform: skewX(-30deg);
            border: none;
            margin: 0;
        }

        @media screen and (max-width: 1100px) {
            .wls-page-header-logo { height: 120px; }
        }


        .wls-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 20px;
        }


        .twitch-section {
            position: relative;
            margin: 40px auto;
            max-width: 700px;
            width: 100%;
            background-color: transparent;
            border: none;
            padding-bottom: 12px;
        }
        .twitch-section::after {
            content: '';
            position: absolute;
            left: -50vw;
            right: -50vw;
            bottom: 0;
            height: 0.2rem;
            background: linear-gradient(90deg, #f34a53, #cb3c6d);
        }
        @media screen and (max-width: 560px) {
            .twitch-section { max-width: 92%; }
        }
        .twitch-embed {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background:
                radial-gradient(ellipse at center, #1a1a20 0%, #050505 75%),
                #000;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            text-decoration: none;
            color: #fff;
            overflow: hidden;
        }
        .twitch-embed iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        .twitch-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            text-align: center;
            z-index: 2;
        }
        .twitch-placeholder img.skull-bg {
            width: 120px;
            opacity: 0.35;
            filter: drop-shadow(0 0 40px rgba(203, 60, 109, 0.6));
        }
        .twitch-placeholder .play {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: rgba(145, 71, 255, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 30px rgba(145, 71, 255, 0.5);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .twitch-embed:hover .twitch-placeholder .play {
            transform: scale(1.1);
            box-shadow: 0 0 40px rgba(145, 71, 255, 0.8);
        }
        .twitch-placeholder .play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
        .twitch-placeholder .channel { font-size: 16px; font-weight: 600; letter-spacing: 0.5px; }
        .twitch-placeholder .sub { font-size: 12px; font-weight: 300; color: #c9c9c9; }
        .twitch-live-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            background: #e0203f;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 3px 8px;
            border-radius: 2px;
            z-index: 3;
        }
        .twitch-brand {
            position: absolute;
            bottom: 12px;
            right: 16px;
            font-size: 12px;
            font-weight: 700;
            color: #9146ff;
            letter-spacing: 0.5px;
            z-index: 3;
        }


        .gwb-wrapper {
            margin: 18px auto;
            background-color: rgba(14, 14, 14, 0.6);
            border: none;
            padding-bottom: 20px;
        }
        .gwb-title {
            position: relative;
            margin-bottom: 1rem;
            min-height: 36px;
            padding: 0 0.3rem;
            overflow: visible;
            cursor: pointer;
            user-select: none;
        }
        .gwb-title .gwb-chevron {
            position: absolute;
            top: 50%;
            right: 1.25rem;
            width: 14px;
            height: 14px;
            transform: translateY(-50%);
            transition: transform 0.25s;
            z-index: 1;
        }
        .gwb-wrapper.collapsed .gwb-chevron { transform: translateY(-50%) rotate(180deg); }
        .gwb-wrapper.collapsed .gwb-body { display: none; }
        .gwb-wrapper.collapsed { padding-bottom: 0; }
        .gwb-wrapper.collapsed .gwb-title { margin-bottom: 0; }
        .gwb-title::before {
            position: absolute;
            content: "";
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            border-top: 1px solid rgba(255, 196, 208, 0.5);
            border-bottom: 1px solid rgba(53, 12, 23, 0.72);
            background:
                linear-gradient(180deg, rgba(255,255,255,0.12) 0, rgba(255,255,255,0.03) 8%, rgba(255,255,255,0) 17%),
                linear-gradient(90deg, #b1333b 0%, #a03244 40%, #a13059 100%);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
            clip-path: polygon(1.25% 0, 100% 0, 98.55% 100%, 0 100%);
            z-index: -1;
        }
        .gwb-title h1,
        .gwb-title h2 {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            min-height: 36px;
            margin-left: 1.45rem;
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            line-height: 1;
        }


        .wls-current-events-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 12px;
            padding: 10px 16px;
        }


        .wls-current-event {
            position: relative;
            width: calc(33.333% - 8px);
            padding: 10px;
            background-color: rgba(10, 10, 10, 0.78);
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            display: flex;
            transition: transform 0.15s ease-out, filter 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s;
            filter: brightness(100%);
            min-height: 230px;
        }
        .wls-current-event:hover {
            transform: translateY(-6px);
            filter: brightness(120%);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5),
                        0 0 14px var(--card-color-glow, rgba(203, 60, 109, 0.4));
            border-color: var(--card-color, rgba(203, 60, 109, 0.7));
        }
        .wls-current-event.ended { filter: brightness(70%); }
        .wls-current-event.ended:hover { filter: brightness(85%); }

        .wls-current-event-poster {
            position: relative;
            flex: 0 0 38%;
            max-width: 160px;
            min-width: 110px;
            aspect-ratio: 750 / 1080;
            background-color: #1a1a1a;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .wls-current-event-poster::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: var(--poster-bg, none);
            background-size: cover;
            background-position: center;
            filter: blur(22px) brightness(0.55) saturate(1.15);
            transform: scale(1.25);
            z-index: 0;
        }
        .wls-current-event-poster img {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .wls-current-event-poster img.fallback {
            width: 60%;
            height: 60%;
            object-fit: contain;
            opacity: 0.45;
        }
        .wls-current-event-infos {
            position: relative;
            flex: 1 1 auto;
            margin-left: 12px;
            line-height: 1.2;
            font-size: 17px;
            font-weight: 600;
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .wls-current-event-name {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            padding-right: 60px;
            margin-bottom: 6px;
            line-height: 1.25;
            overflow-wrap: normal;
            word-break: normal;
            hyphens: none;
        }
        .wls-current-event-prize {
            position: absolute;
            top: 18px;
            right: 0;
            color: #fff;
            font-size: 16px;
            line-height: 1;
            font-weight: 800;
            text-align: right;
            white-space: nowrap;
        }

        .wls-event-tags {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
            margin-top: 2px;
            margin-bottom: 6px;
        }
        .wls-event-tag {
            font-family: "Poppins", sans-serif;
            border-radius: 4px;
            background-color: #fff;
            color: #151515;
            padding: 0 8px;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            width: fit-content;
            margin-right: 6px;
            margin-bottom: 4px;
            line-height: 1.5;
        }
        .wls-event-tag.small { font-size: 12px; padding: 0 4px; }
        .wls-event-tag.medium { font-size: 14px; padding: 0 6px; }
        .platform-icons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            justify-content: flex-start;
            margin-left: 0;
            margin-top: 0;
            width: auto;
            min-height: 16px;
        }
        .platform-icons svg {
            width: 16px;
            height: 16px;
            fill: #9d9d9d;
            display: block;
            flex: 0 0 16px;
        }
        .event-platforms {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            margin-top: 6px;
            margin-bottom: 6px;
        }

        .wls-event-prizepool {
            font-size: 19px;
            font-weight: 700;
            margin: 4px 0 10px;
            background: linear-gradient(90deg, #f34a53, #cb3c6d);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .wls-countdown {
            display: flex;
            justify-content: space-around;
            text-align: center;
            margin: auto 0 10px;
        }
        .wls-countdown-value {
            padding: 4px 6px;
            font-weight: 600;
            font-size: 16px;
            color: #fff;
            line-height: 1.1;
            min-width: 50px;
        }
        .wls-countdown-value .wls-countdown-sub {
            display: block;
            font-size: 9px;
            font-weight: 300;
            color: hsla(0,0%,100%,.7);
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-top: 2px;
        }
        .wls-countdown-value.live {
            background-color: red;
            box-shadow: 0 0 4px rgba(255,0,0,.4);
            font-size: 13px;
            padding: 6px 10px;
            align-self: center;
        }

        .wls-current-events-action {
            text-align: center;
            background: var(--card-gradient, linear-gradient(90deg, #f34a53, #cb3c6d));
            color: #fff;
            font-weight: 500;
            padding: 7px;
            font-size: 14px;
            border: 1px solid rgba(0, 0, 0, 0.5);
            transition: transform 0.25s, box-shadow 0.25s;
            text-transform: none;
            letter-spacing: 0.3px;
        }
        .wls-current-events-action:hover {
            transform: scaleX(1.02);
            box-shadow: 0 0 8px var(--card-color-glow, rgba(203, 60, 109, 0.5));
        }


        .month-group { margin-top: 6px; padding: 0 20px; }
        .month-label {
            font-size: 13px;
            font-weight: 400;
            color: #c9c9c9;
            padding: 14px 0 10px 4px;
            text-transform: capitalize;
            letter-spacing: 0.3px;
        }
        .ended-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
            gap: 16px;
            padding: 0 0 16px;
        }
        .ended-card {
            background-color: rgba(10, 10, 10, 0.85);
            border: 2px solid var(--card-color, rgba(255, 255, 255, 0.12));
            padding: 8px 8px 10px;
            cursor: pointer;
            filter: brightness(85%);
            transition: transform 0.15s, filter 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .ended-card:hover {
            transform: translateY(-4px);
            filter: brightness(115%);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55),
                        0 0 12px var(--card-color-glow, rgba(203, 60, 109, 0.35));
        }
        .ended-card .poster {
            position: relative;
            width: 100%;
            aspect-ratio: 750 / 1080;
            background-color: #0c0c0c;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ended-card .poster::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: var(--poster-bg, none);
            background-size: cover;
            background-position: center;
            filter: blur(22px) brightness(0.55) saturate(1.15);
            transform: scale(1.25);
            z-index: 0;
        }
        .ended-card .poster img {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .ended-card .poster img.fallback {
            width: 55%;
            height: 55%;
            object-fit: contain;
            opacity: 0.45;
        }
        .ended-card .info {
            padding: 10px 2px 2px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
        }
        .ended-card .name {
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            line-height: 1.3;
            text-align: center;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.6em;
        }
        .ended-card .date {
            font-size: 11px;
            font-weight: 300;
            color: #9d9d9d;
            text-align: center;
            text-transform: capitalize;
        }
        .ended-card .tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 4px;
            margin-top: 6px;
        }
        .ended-card .tag {
            font-size: 10px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 3px;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            color: #111;
            background: var(--tag-bg, #cb3c6d);
            line-height: 1.3;
        }
        .ended-card .tag.tag-region,
        .ended-card .tag.tag-mode {
            background: var(--tag-bg, #cb3c6d);
            color: #111;
        }

        .loading, .empty {
            padding: 30px;
            text-align: center;
            color: #9d9d9d;
            font-size: 14px;
            width: 100%;
        }


        .footer {
            flex-shrink: 0;
            padding: 20px;
            text-align: center;
            font-size: 11px;
            color: #666;
            margin-top: 10px;
        }
        .footer a { color: #888; text-decoration: none; margin: 0 5px; }
        .footer a:hover { color: #fff; }
        .footer a.active { color: #fff; }
        .footer span { color: #444; }

        @media (max-width: 1100px) {
            .wls-current-event { width: calc(50% - 6px); }
        }
        @media (max-width: 768px) {
            .wls-current-event { width: 100%; }
            .nav-links { display: none; }
            .events-header { justify-content: center; }
            .gwb-events-filter, .filter-select, .filter-select-separator { width: 100%; min-width: 0; max-width: 320px; }
        }


        .live-section {
            position: relative;
            margin: 40px auto;
            max-width: 1000px;
            width: 100%;
            padding-bottom: 12px;
        }
        .live-section::after {
            content: '';
            position: absolute;
            left: -50vw;
            right: -50vw;
            bottom: 0;
            height: 0.2rem;
            background: linear-gradient(90deg, #f34a53, #cb3c6d);
        }


        .wls-live-card {
            flex: 0 0 100%;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 200px;
            gap: 10px;
            background: transparent;
            max-width: 880px;
            margin: 0 auto;
        }
        .wls-live-card-stream {
            position: relative;
            aspect-ratio: 16 / 9;
            background: #000;
        }
        .wls-live-card-stream iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        .wls-live-card-side {
            display: flex;
            flex-direction: column;
            background: var(--card-color, #cb3c6d);
            padding: 10px;
            gap: 8px;
            text-align: center;
            align-items: stretch;
        }
        .wls-live-card-poster {
            width: 100%;
            aspect-ratio: 750 / 1080;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .wls-live-card-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .wls-live-card-body {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2px;
            width: 100%;
        }
        .wls-live-card-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--card-text-color, #fff);
            line-height: 1.2;
        }
        .wls-live-card-sub {
            font-size: 11px;
            color: var(--card-text-color, #fff);
            opacity: .85;
            font-weight: 400;
        }
        .wls-live-card-btn {
            display: block;
            width: 100%;
            background: rgba(255,255,255,.18);
            color: var(--card-text-color, #fff);
            text-decoration: none;
            text-align: center;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.06em;
            margin-top: 2px;
            transition: background 200ms ease;
        }
        .wls-live-card-btn:hover { background: rgba(255,255,255,.28); }
        @media (max-width: 768px) {
            .wls-live-card { grid-template-columns: 1fr; }
        }
