/* =========================================================
   Season themes — Summer / Winter
   Summer = gold heat. Winter = polar ice + snow.
   Server Status HUD + numbers keep their original colors.
   ========================================================= */

:root,
html[data-season="summer"] {
    --season-name: "summer";
    --footer: #0e0606;
    --body: #140808;
    --ink: #140808;
    --ink-soft: #1c0c0c;
    --panel: rgba(42, 16, 16, 0.84);
    --panel-solid: #261010;
    --copper: #d4923a;
    --gold: #f0b54a;
    --gold-bright: #ffd978;
    --sand: #f0dfc2;
    --sand-muted: #c4a882;
    --ember: #ff8a3d;
    --line: rgba(240, 181, 74, 0.28);
    --line-soft: rgba(240, 181, 74, 0.14);
    --glow: rgba(240, 181, 74, 0.34);
    --season-sky: rgba(140, 28, 22, 0.28);
    --season-mist: rgba(90, 16, 12, 0.14);
    --nav-pill-bg: linear-gradient(180deg, rgba(48, 16, 16, 0.94), rgba(22, 8, 8, 0.96));
    --nav-pill-border: rgba(240, 181, 74, 0.28);
    --swiper-pagination-color: #f0b54a;
    --swiper-theme-color: #f0b54a;
    --theme-color: #140808;
    --accent-wash: rgba(255, 170, 60, 0.12);
    --accent-wash-soft: rgba(212, 120, 40, 0.07);
}

/* Polar night — ice teal like old-silkroad Ice, colder and snowier */
html[data-season="winter"] {
    --season-name: "winter";
    --footer: #04090c;
    --body: #071014;
    --ink: #071014;
    --ink-soft: #0c181c;
    --panel: rgba(12, 28, 34, 0.86);
    --panel-solid: #0e1c22;
    --copper: #6a9ba3;
    --gold: #8db8c1;
    --gold-bright: #d7eef2;
    --sand: #e6eef0;
    --sand-muted: #9bb0b4;
    --ember: #8ec8d4;
    --line: rgba(141, 184, 193, 0.38);
    --line-soft: rgba(141, 184, 193, 0.18);
    --glow: rgba(173, 210, 216, 0.32);
    --season-sky: rgba(160, 220, 255, 0.22);
    --season-mist: rgba(200, 235, 255, 0.12);
    --nav-pill-bg: linear-gradient(180deg, rgba(16, 32, 38, 0.96), rgba(6, 14, 18, 0.98));
    --nav-pill-border: rgba(173, 210, 216, 0.55);
    --swiper-pagination-color: #8db8c1;
    --swiper-theme-color: #8db8c1;
    --theme-color: #071014;
    --accent: #8db8c1;
    --accent-bright: #add2d8;
    --accent-wash: rgba(141, 184, 193, 0.14);
    --accent-wash-soft: rgba(141, 184, 193, 0.08);
}

body {
    background:
        radial-gradient(900px 380px at 50% -8%, var(--season-sky), transparent 60%),
        radial-gradient(600px 280px at 90% 10%, var(--season-mist), transparent 55%),
        var(--body) url("../images/bg.png") top center !important;
    transition: background-color .35s ease;
}

#app {
    position: relative;
    z-index: 1;
}

html[data-season="winter"] {
    background-color: #071014;
}

html[data-season="winter"] body {
    isolation: isolate;
    background-color: #071014 !important;
    background-image: url("../images/bg.png") !important;
    background-repeat: repeat !important;
    background-position: top center !important;
}

/* Recolor bg.png to polar ice — keeps the texture, not the summer brown */
html[data-season="winter"] body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 42% at 50% -8%, rgba(141, 184, 193, 0.55), transparent 58%),
        radial-gradient(ellipse 40% 32% at 10% 12%, rgba(106, 155, 163, 0.42), transparent 62%),
        radial-gradient(ellipse 46% 28% at 90% 6%, rgba(173, 210, 216, 0.38), transparent 60%),
        linear-gradient(180deg, #6a9ba3 0%, #3d6670 42%, #1c3a44 100%);
    mix-blend-mode: color;
}

/* Frost light over the iced texture — behind content, not on HUD numbers */
html[data-season="winter"] #app::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 42% at 50% -8%, rgba(170, 230, 255, 0.18), transparent 58%),
        radial-gradient(ellipse 40% 32% at 10% 12%, rgba(80, 190, 255, 0.1), transparent 62%),
        radial-gradient(ellipse 46% 28% at 90% 6%, rgba(200, 245, 255, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(210, 235, 255, 0.06), transparent 38%);
}

html[data-season="summer"] body {
    background:
        radial-gradient(1100px 460px at 50% -8%, rgba(90, 16, 12, 0.55), transparent 58%),
        linear-gradient(180deg, #2a0c0c 0%, #140808 34%, #0e0606 100%),
        var(--body) url("../images/bg.png") top center !important;
}

html[data-season="summer"] body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 30% at 50% 0%, rgba(80, 14, 12, 0.5), transparent 68%),
        linear-gradient(180deg, rgba(36, 10, 10, 0.28) 0%, transparent 32%);
}

/* Falling snow — two depths */
html[data-season="winter"] body::after,
html[data-season="winter"] #app::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

html[data-season="winter"] body::after {
    z-index: 3500;
    background-image:
        radial-gradient(2px 2px at 12% 18%, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(1.5px 1.5px at 28% 62%, rgba(230, 245, 255, 0.85), transparent),
        radial-gradient(2.5px 2.5px at 44% 8%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 61% 41%, rgba(210, 235, 255, 0.75), transparent),
        radial-gradient(2px 2px at 76% 73%, rgba(255, 255, 255, 0.88), transparent),
        radial-gradient(1.5px 1.5px at 89% 22%, rgba(220, 240, 255, 0.8), transparent),
        radial-gradient(1px 1px at 7% 84%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 53% 91%, rgba(200, 230, 255, 0.82), transparent);
    background-size: 420px 420px, 360px 360px, 520px 520px, 280px 280px, 460px 460px, 340px 340px, 240px 240px, 580px 580px;
    animation: polarSnowFar 22s linear infinite;
    opacity: 0.72;
}

html[data-season="winter"] #app::after {
    z-index: 3600;
    background-image:
        radial-gradient(3px 3px at 18% 12%, #fff, transparent),
        radial-gradient(2px 2px at 38% 48%, rgba(255, 255, 255, 0.92), transparent),
        radial-gradient(3.5px 3.5px at 67% 21%, rgba(236, 248, 255, 0.95), transparent),
        radial-gradient(2px 2px at 84% 66%, #fff, transparent),
        radial-gradient(2.5px 2.5px at 9% 78%, rgba(220, 240, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 51% 6%, #fff, transparent);
    background-size: 320px 320px, 260px 260px, 400px 400px, 220px 220px, 480px 480px, 180px 180px;
    animation: polarSnowNear 13s linear infinite;
    opacity: 0.9;
}

@keyframes polarSnowFar {
    from { background-position: 0 0, 40px 0, -20px 0, 80px 0, -40px 0, 20px 0, 60px 0, -80px 0; }
    to { background-position: 40px 900px, -80px 720px, 60px 1040px, -30px 640px, 90px 860px, -50px 780px, 20px 520px, 70px 1100px; }
}

@keyframes polarSnowNear {
    from { background-position: 0 0, 30px 0, -40px 0, 70px 0, -20px 0, 50px 0; }
    to { background-position: 70px 1100px, -90px 860px, 50px 1240px, -60px 720px, 110px 980px, -40px 640px; }
}

html[data-season="winter"] .header-logo-img {
    filter:
        hue-rotate(168deg)
        saturate(0.52)
        brightness(1.12)
        drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 16px rgba(180, 230, 255, 0.28));
}

.header-logo-snowbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem 3rem 1.8rem;
}

.header-logo-snow {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 74% 52% at 50% 50%, transparent 46%, #000 68%);
    mask-image: radial-gradient(ellipse 74% 52% at 50% 50%, transparent 46%, #000 68%);
}

html[data-season="summer"] .header-logo-snow,
html[data-season="summer"] .header-logo-orbit {
    display: none;
}

.header-logo-orbit {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

html[data-season="winter"] .header-logo-orbit {
    display: block;
}

.header-logo-orbit i {
    position: absolute;
    width: 12px;
    height: 12px;
    background:
        linear-gradient(#e8f6fb, #e8f6fb) center / 100% 2px no-repeat,
        linear-gradient(#e8f6fb, #e8f6fb) center / 2px 100% no-repeat;
    opacity: 0.8;
    animation: logoOrbitFlake 5.8s ease-in-out infinite;
}

.header-logo-orbit i::before,
.header-logo-orbit i::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(#e8f6fb, #e8f6fb) center / 100% 2px no-repeat,
        linear-gradient(#e8f6fb, #e8f6fb) center / 2px 100% no-repeat;
}

.header-logo-orbit i::before { transform: rotate(45deg); }
.header-logo-orbit i::after { transform: rotate(-45deg); }

.header-logo-orbit i:nth-child(1) { left: 4%; top: 18%; }
.header-logo-orbit i:nth-child(2) { left: 14%; top: 2%; width: 16px; height: 16px; animation-delay: -1s; }
.header-logo-orbit i:nth-child(3) { left: 48%; top: -2%; width: 11px; height: 11px; animation-delay: -2.2s; }
.header-logo-orbit i:nth-child(4) { right: 12%; top: 6%; width: 15px; height: 15px; animation-delay: -0.6s; }
.header-logo-orbit i:nth-child(5) { right: 2%; top: 28%; animation-delay: -1.8s; }
.header-logo-orbit i:nth-child(6) { left: 1%; bottom: 22%; width: 10px; height: 10px; animation-delay: -2.8s; }
.header-logo-orbit i:nth-child(7) { right: 6%; bottom: 18%; width: 13px; height: 13px; animation-delay: -3.4s; }
.header-logo-orbit i:nth-child(8) { left: 38%; bottom: 4%; width: 9px; height: 9px; animation-delay: -1.4s; }

@keyframes logoOrbitFlake {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.35; }
    50% { transform: translateY(7px) rotate(180deg); opacity: 1; }
}

html[data-season="winter"] .header-art-char::after,
html[data-season="winter"] .header.has-image .header-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(220, 240, 255, 0.05) 22%, transparent 42%),
        radial-gradient(ellipse 42% 28% at 50% 42%, rgba(255, 255, 255, 0.2), transparent 72%);
    mix-blend-mode: screen;
}

html[data-season="winter"] .header-art-char {
    position: absolute;
}

html[data-season="winter"] .header-art-char::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 34%),
        radial-gradient(ellipse 38% 26% at 62% 36%, rgba(255, 255, 255, 0.28), transparent 70%);
}

html[data-season="summer"] .site-navbar-pill,
html[data-season="winter"] .site-navbar-pill {
    background: var(--nav-pill-bg) !important;
    border-color: var(--nav-pill-border) !important;
}

html[data-season="winter"] .site-navbar-pill {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 22px rgba(140, 210, 230, 0.12);
}

html[data-season="winter"] .site-navbar .nav-link,
html[data-season="winter"] .site-navbar .nav-link:hover,
html[data-season="winter"] .site-navbar .nav-link.active {
    color: #d7eef2 !important;
}

html[data-season="winter"] .site-navbar .nav-link.active {
    text-shadow: 0 0 12px rgba(173, 210, 216, 0.45);
}

html[data-season="winter"] .site-navbar-links .nav-ico,
html[data-season="winter"] .site-navbar .nav-ico,
html[data-season="winter"] .site-navbar-user .nav-icon-btn i,
html[data-season="winter"] .site-navbar-user .fas,
html[data-season="winter"] .site-navbar-toggler {
    color: #8db8c1 !important;
}

html[data-season="winter"] .site-navbar-links .nav-link:hover .nav-ico,
html[data-season="winter"] .site-navbar-links .nav-link.active .nav-ico,
html[data-season="winter"] .site-navbar-links .nav-link.show .nav-ico,
html[data-season="winter"] .site-navbar-links .active > .nav-link .nav-ico {
    color: #e6f4f7 !important;
    opacity: 1;
}

html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-user-avatar > .fa-user {
    background: linear-gradient(180deg, #add2d8, #6a9ba3) !important;
    color: #071014 !important;
}

html[data-season="winter"] .nav-user-alert {
    border-color: #071014;
    background: #c45b5b;
}

html[data-season="winter"] .nav-user-alert i {
    color: #fff !important;
}

html[data-season="winter"] .nav-verify-item {
    border-color: rgba(141, 184, 193, 0.4) !important;
    background: rgba(141, 184, 193, 0.12);
    color: #d7eef2 !important;
}

html[data-season="winter"] .nav-verify-ico {
    background: rgba(141, 184, 193, 0.18);
    color: #d7eef2;
}

html[data-season="winter"] .verify-toast {
    background: linear-gradient(180deg, rgba(8, 18, 22, 0.96), rgba(6, 12, 16, 0.98));
    border-bottom-color: rgba(141, 184, 193, 0.32);
}

html[data-season="winter"] .verify-toast-actions button,
html[data-season="winter"] .verify-toast-actions a {
    color: #d7eef2 !important;
}

html[data-season="winter"] .verify-toast-actions button,
html[data-season="winter"] .verify-toast-actions a {
    border-color: rgba(141, 184, 193, 0.4);
    background: rgba(141, 184, 193, 0.12);
}

html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-lang .nav-lang-btn,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-lang .nav-link.nav-lang-btn {
    color: #d7eef2 !important;
    background: rgba(8, 18, 22, 0.9) !important;
    border-color: rgba(141, 184, 193, 0.5) !important;
}

html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-lang .nav-lang-btn:hover,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-lang .nav-lang-btn:focus,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-lang .nav-lang-btn.show {
    color: #fff !important;
    background: rgba(14, 30, 36, 0.96) !important;
    border-color: rgba(173, 210, 216, 0.75) !important;
}

html[data-season="winter"] .nav-lang-flag {
    border-color: rgba(141, 184, 193, 0.55);
}

html[data-season="winter"] .site-navbar-user {
    background: linear-gradient(180deg, rgba(16, 32, 38, 0.94), rgba(6, 14, 18, 0.96)) !important;
    border-color: rgba(141, 184, 193, 0.42) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 20px rgba(0, 16, 24, 0.4);
}

html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-link {
    color: #d7eef2;
}

html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-link:hover,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-link:focus,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-link.active,
html[data-season="winter"] .site-navbar.navbar-dark .site-navbar-user .nav-link.show {
    color: #fff;
    background: rgba(141, 184, 193, 0.12) !important;
}

html[data-season="winter"] .site-navbar-user .nav-icon-btn {
    color: #8db8c1 !important;
}

html[data-season="winter"] .site-navbar-user .nav-icon-btn:hover {
    color: #e6f4f7 !important;
    background: rgba(141, 184, 193, 0.14) !important;
}

html[data-season="winter"] .server-cell {
    border: 0 !important;
    background: transparent !important;
    color: #c8dde2 !important;
}

html[data-season="winter"] .server-cell-ico {
    color: #8db8c1 !important;
}

html[data-season="winter"] .server-info-row:hover .server-cell {
    border: 0 !important;
    background: transparent !important;
}

html[data-season="winter"] .server-cell-value {
    color: var(--gold-bright) !important;
}

/* Hero — polar frost over the video. HUD is outside this grade. */
html[data-season="winter"] .header-bg-video {
    filter: saturate(0.52) brightness(0.72) contrast(1.12) hue-rotate(18deg);
}

html[data-season="winter"] .header-art-char {
    filter: saturate(0.58) brightness(0.82) contrast(1.08) hue-rotate(12deg) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

html[data-season="winter"] .header-bg-video-overlay {
    background:
        radial-gradient(ellipse 80% 58% at 50% 32%, rgba(140, 210, 240, 0.16), rgba(4, 14, 22, 0.78) 76%),
        linear-gradient(180deg, rgba(186, 230, 255, 0.28) 0%, rgba(20, 48, 64, 0.28) 36%, rgba(2, 8, 12, 0.92) 100%) !important;
}

html[data-season="winter"] .header-bg-video-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(220, 240, 255, 0.08), transparent 28%),
        repeating-linear-gradient(
            -12deg,
            transparent 0,
            transparent 46px,
            rgba(200, 230, 245, 0.03) 47px,
            transparent 52px
        );
    mix-blend-mode: screen;
}

html[data-season="winter"] .header:after {
    filter: hue-rotate(168deg) saturate(0.55) brightness(1.15);
}

/* Inner page banners */
.header.has-image {
    background-color: #140808 !important;
    background-image: none !important;
}

.header.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--header-bg, url("../images/header_bg.webp"));
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    filter: none;
}

html[data-season="summer"] .header.has-image {
    background-color: #1a0808 !important;
}

html[data-season="summer"] .header.has-image .header-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(20, 8, 8, 0.08) 0%, rgba(20, 8, 8, 0.02) 40%, #140808 100%);
}

html[data-season="summer"] .header:after {
    filter: none;
}

html[data-season="summer"] .header-bg-video-overlay {
    background:
        linear-gradient(180deg, rgba(20, 8, 8, 0.2) 0%, rgba(20, 8, 8, 0.06) 42%, #140808 100%);
}

.header.has-image .header-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 42%, rgba(20, 12, 8, 0.62) 100%);
}

html[data-season="winter"] .header.has-image {
    background-color: #071014 !important;
}

html[data-season="winter"] .header.has-image::before {
    background-image:
        linear-gradient(#7aa8b4, #7aa8b4),
        var(--header-bg, url("../images/header_bg.webp"));
    background-position: center top, center top;
    background-size: auto, cover;
    background-repeat: no-repeat;
    background-blend-mode: color;
    filter: brightness(0.9) contrast(1.08) saturate(0.78);
}

html[data-season="winter"] .header.has-image .header-stage::before {
    background:
        radial-gradient(ellipse 78% 62% at 50% 36%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5) 74%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.8) 100%);
}

html[data-season="winter"] .header-page-banner {
    position: relative;
    z-index: 3;
}

html[data-season="winter"] .header-page-title {
    color: #eef8fb !important;
    text-shadow: 0 2px 18px rgba(120, 200, 230, 0.45), 0 0 28px rgba(160, 220, 255, 0.22);
}

html[data-season="winter"] .header-page-kicker {
    color: #9bb0b4 !important;
}

html[data-season="winter"] .header-headline {
    color: #eef8fb;
    text-shadow: 0 2px 18px rgba(120, 200, 230, 0.4);
}

html[data-season="winter"] .header-subline {
    color: rgba(220, 236, 240, 0.9);
}

html[data-season="winter"] .header-logo:before {
    background: radial-gradient(circle, rgba(160, 220, 240, 0.38), transparent 70%);
}

html[data-season="winter"] .header-logo.is-glowing .header-logo-img {
    filter:
        hue-rotate(168deg)
        saturate(0.52)
        brightness(1.16)
        drop-shadow(0 0 28px rgba(180, 230, 255, 0.75))
        drop-shadow(0 0 48px rgba(120, 200, 230, 0.45));
}

/* Card / page section headers — CSS only, no PNG bars */
html[data-season="winter"] .card-header,
html[data-season="winter"] .content-card-header,
html[data-season="winter"] .content_card_header,
html[data-season="winter"] [class*="content-card"] .card-header,
html[data-season="winter"] .theme-card-head,
html[data-season="winter"] .ranking-card-header,
html[data-season="winter"] .hud-cell-label {
    position: relative;
    isolation: isolate;
    filter: none;
    background-color: transparent !important;
    background-image: none !important;
    border-bottom-color: var(--line-soft) !important;
    color: var(--sand) !important;
}

html[data-season="winter"] .card-header::before,
html[data-season="winter"] .theme-card-head::before,
html[data-season="winter"] .ranking-card-header::before,
html[data-season="winter"] .main-content .card-header::before,
html[data-season="winter"] .main-content .theme-card-head::before,
html[data-season="winter"] .rank-podium-head::before,
html[data-season="winter"] .ranking-table-panel-head::before,
html[data-season="winter"] .donate-shop-head::before,
html[data-season="winter"] .downloads-page-head::before,
html[data-season="winter"] .downloads-section-head::before,
html[data-season="winter"] .main-content.full-size .card-header::before,
html[data-season="winter"] .ranking-page-head::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

html[data-season="winter"] .card-header > *,
html[data-season="winter"] .theme-card-head > *,
html[data-season="winter"] .ranking-card-header > * {
    position: relative;
    z-index: 1;
}

html[data-season="winter"] .sidebar .card-header,
html[data-season="winter"] .sidebar .theme-card-head,
html[data-season="winter"] .main-content:not(.full-size) .theme-card > .card-header {
    background-image: none !important;
    background-color: transparent !important;
    color: var(--sand) !important;
}

html[data-season="winter"] .sidebar .card-header::before,
html[data-season="winter"] .sidebar .theme-card-head::before,
html[data-season="winter"] .main-content:not(.full-size) .theme-card > .card-header::before {
    content: none !important;
    display: none !important;
}

html[data-season="winter"] .theme-ico,
html[data-season="winter"] .hud-ico {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--gold) !important;
}

html[data-season="winter"] .theme-ico img,
html[data-season="winter"] .hud-ico img {
    display: none !important;
}

html[data-season="winter"] .theme-ico i,
html[data-season="winter"] .hud-ico i {
    display: inline-block !important;
    color: var(--gold) !important;
}

html[data-season="winter"] .hud-dock {
    filter: none;
    background: var(--panel);
    border-color: var(--line);
}

html[data-season="winter"] .card,
html[data-season="winter"] .ranking-page,
html[data-season="winter"] .donate-shop,
html[data-season="winter"] .downloads-page,
html[data-season="winter"] .downloads-section,
html[data-season="winter"] .rank-podium,
html[data-season="winter"] .ranking-table-panel {
    position: relative;
    border-color: var(--line) !important;
    background-color: #0c181e !important;
    background-image: none !important;
    box-shadow:
        0 0 0 1px rgba(141, 184, 193, 0.12),
        0 16px 36px rgba(0, 16, 24, 0.45);
}

html[data-season="winter"] .card::before,
html[data-season="winter"] .ranking-page::before,
html[data-season="winter"] .donate-shop::before,
html[data-season="winter"] .downloads-page::before,
html[data-season="winter"] .downloads-section::before,
html[data-season="winter"] .rank-podium::before,
html[data-season="winter"] .ranking-table-panel::before,
html[data-season="winter"] .main-content .card::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

html[data-season="winter"] .card > *,
html[data-season="winter"] .ranking-page > *,
html[data-season="winter"] .donate-shop > *,
html[data-season="winter"] .downloads-page > *,
html[data-season="winter"] .downloads-section > *,
html[data-season="winter"] .rank-podium > *,
html[data-season="winter"] .ranking-table-panel > * {
    position: relative;
    z-index: 1;
}

html[data-season="winter"] .card:hover {
    border-color: rgba(141, 184, 193, 0.45) !important;
}

html[data-season="winter"] .card-body {
    background: transparent !important;
}

html[data-season="winter"] .theme-empty {
    border-color: rgba(141, 184, 193, 0.28);
    background: rgba(4, 12, 16, 0.28);
}

/* Footer, dropdowns, buttons — polar on every page */
html[data-season="winter"] .site-footer,
html[data-season="winter"] footer.site-footer,
html[data-season="winter"] #footer {
    background-color: var(--footer) !important;
}

html[data-season="winter"] .dropdown-menu,
html[data-season="winter"] .navbar-dropdown,
html[data-season="winter"] .navbar-account-panel,
html[data-season="winter"] .nav-lang-menu,
html[data-season="winter"] .site-navbar-lang .dropdown-menu.nav-lang-menu,
html[data-season="winter"] .nav-lang-menu.dropdown-menu {
    background: linear-gradient(180deg, rgba(14, 32, 38, 0.98), rgba(7, 16, 20, 0.98)) !important;
    border-color: rgba(141, 184, 193, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 16, 24, 0.5), inset 0 1px 0 rgba(220, 245, 255, 0.08) !important;
}

html[data-season="winter"] .nav-lang-menu .dropdown-item {
    color: #d7eef2 !important;
    background: transparent !important;
}

html[data-season="winter"] .nav-lang-menu .dropdown-item .nav-lang-flag {
    border-color: rgba(141, 184, 193, 0.4) !important;
}

html[data-season="winter"] .nav-lang-menu .dropdown-item:hover,
html[data-season="winter"] .nav-lang-menu .dropdown-item:focus,
html[data-season="winter"] .nav-lang-menu .dropdown-item.active,
html[data-season="winter"] .nav-lang-menu .dropdown-item:active {
    color: #fff !important;
    background: rgba(141, 184, 193, 0.2) !important;
    box-shadow: inset 0 0 0 1px rgba(141, 184, 193, 0.28);
}

html[data-season="winter"] .navbar-account-panel .account {
    border-color: rgba(141, 184, 193, 0.35) !important;
    color: #d7eef2 !important;
    background: rgba(6, 14, 18, 0.62) !important;
}

html[data-season="winter"] .navbar-account-panel .account .row,
html[data-season="winter"] .navbar-account-panel .account .col-9,
html[data-season="winter"] .navbar-account-panel .dropdown-item {
    color: #d7eef2 !important;
}

html[data-season="winter"] .navbar-account-panel .account .row:not(:last-child),
html[data-season="winter"] .navbar-account-panel .account .dropdown-item:not(:last-child) {
    border-bottom-color: rgba(141, 184, 193, 0.22) !important;
}

html[data-season="winter"] .navbar-account-panel .account img {
    filter: hue-rotate(168deg) saturate(0.68) brightness(1.14);
}

/* Banners / inner panels — ice chrome on every page */
html[data-season="winter"] .sidebar .card,
html[data-season="winter"] .main-content .theme-card,
html[data-season="winter"] .media-video,
html[data-season="winter"] .news-swiper.swiper,
html[data-season="winter"] .discord-avatar img,
html[data-season="winter"] .discord-member,
html[data-season="winter"] .donate-rate,
html[data-season="winter"] .donation-method,
html[data-season="winter"] .donate-method-tab,
html[data-season="winter"] .dl-row,
html[data-season="winter"] .dl-row-media,
html[data-season="winter"] .rank-podium-card,
html[data-season="winter"] .ranking-table-panel,
html[data-season="winter"] .rank-podium {
    border-color: rgba(141, 184, 193, 0.35) !important;
}

html[data-season="winter"] .media-video {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(173, 210, 216, 0.08) !important;
}

html[data-season="winter"] .media-video:hover,
html[data-season="winter"] .news-swiper.swiper,
html[data-season="winter"] .sidebar .card:hover,
html[data-season="winter"] .dl-row:hover,
html[data-season="winter"] .rank-podium-card:hover,
html[data-season="winter"] .donate-rate:hover,
html[data-season="winter"] .donation-method:hover {
    border-color: rgba(173, 210, 216, 0.6) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38), 0 0 16px rgba(141, 184, 193, 0.12);
}

html[data-season="winter"] .discord-member:hover {
    background: rgba(141, 184, 193, 0.1) !important;
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .discord-status {
    border-color: #0a161c;
}

html[data-season="winter"] .donate-rate-frame,
html[data-season="winter"] .donate-pay-panel,
html[data-season="winter"] .dl-row {
    background-color: #0c181e !important;
    background-image: none !important;
}

html[data-season="winter"] .donate-rate-frame {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(141, 184, 193, 0.12), transparent 65%),
        #0c181e !important;
}

html[data-season="winter"] .donate-rate-frame::before,
html[data-season="winter"] .dl-row::before,
html[data-season="winter"] .donate-pay-panel::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

html[data-season="winter"] .dl-row {
    position: relative;
    overflow: hidden;
}

html[data-season="winter"] .donate-pay-panel {
    overflow: hidden;
    border-color: rgba(141, 184, 193, 0.35) !important;
}

html[data-season="winter"] .dl-row > *,
html[data-season="winter"] .donate-pay-panel > * {
    position: relative;
    z-index: 1;
}

html[data-season="winter"] .rank-podium-card {
    background:
        linear-gradient(90deg, rgba(141, 184, 193, 0.12), transparent 55%),
        rgba(6, 16, 20, 0.55) !important;
}

html[data-season="winter"] .rank-podium-card.is-rank-1 {
    border-color: rgba(173, 210, 216, 0.55) !important;
    background:
        linear-gradient(90deg, rgba(141, 184, 193, 0.2), transparent 55%),
        rgba(8, 20, 26, 0.62) !important;
}

html[data-season="winter"] .donate-rate-art {
    border-color: rgba(141, 184, 193, 0.5) !important;
    background:
        radial-gradient(circle at 40% 30%, rgba(173, 210, 216, 0.2), transparent 60%),
        rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 14px rgba(141, 184, 193, 0.18) !important;
}

html[data-season="winter"] .donate-rate-art img {
    filter: hue-rotate(168deg) saturate(0.7) brightness(1.1);
}

html[data-season="winter"] .donate-rate-plain {
    color: #e6f4f7 !important;
    text-shadow: 0 0 14px rgba(141, 184, 193, 0.35), 0 2px 8px rgba(0, 0, 0, 0.55);
}

html[data-season="winter"] .donate-rate-col em {
    color: #9bb0b4 !important;
}

html[data-season="winter"] .donate-rate-col strong {
    color: #c8dde2 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

html[data-season="winter"] .donate-rate-col.is-after em {
    color: #d7eef2 !important;
}

html[data-season="winter"] .donate-rate-col.is-after strong {
    color: #eef8fb !important;
    text-shadow: 0 0 14px rgba(141, 184, 193, 0.4), 0 2px 8px rgba(0, 0, 0, 0.55);
}

html[data-season="winter"] .donate-rate-arrow {
    color: #8db8c1 !important;
}

html[data-season="winter"] .donate-rate-unit {
    color: #d7eef2 !important;
}

html[data-season="winter"] .donate-rate-bonus {
    color: #d7eef2 !important;
    border-color: rgba(141, 184, 193, 0.5) !important;
    background: rgba(141, 184, 193, 0.12) !important;
}

html[data-season="winter"] .donate-rate-price {
    filter: hue-rotate(168deg) saturate(0.72) brightness(1.12);
}

html[data-season="winter"] .donate-rate-price strong {
    color: #071014 !important;
    text-shadow: 0 1px 0 rgba(220, 245, 255, 0.35);
}

html[data-season="winter"] .rank-podium-score {
    filter: hue-rotate(168deg) saturate(0.72) brightness(1.12);
}

html[data-season="winter"] .donate-method-tab,
html[data-season="winter"] .ranking-mode-tab {
    border-color: rgba(141, 184, 193, 0.28) !important;
    background: rgba(4, 12, 16, 0.45) !important;
    color: #9bb0b4 !important;
}

html[data-season="winter"] .donate-method-tab:hover,
html[data-season="winter"] .ranking-mode-tab:hover {
    border-color: rgba(141, 184, 193, 0.5) !important;
    color: #e6f4f7 !important;
}

html[data-season="winter"] .donate-method-tab.is-active,
html[data-season="winter"] .ranking-mode-tab.is-active {
    border-color: rgba(173, 210, 216, 0.7) !important;
    color: #e6f4f7 !important;
    background: rgba(141, 184, 193, 0.16) !important;
}

html[data-season="winter"] .ranking-result table.dataTable thead th,
html[data-season="winter"] .downloads-requirements thead th,
html[data-season="winter"] .table.game-requirements thead th,
html[data-season="winter"] .table thead th {
    color: #d7eef2 !important;
    background: rgba(141, 184, 193, 0.14) !important;
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .downloads-requirements-wrap {
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .downloads-requirements tbody th {
    color: #d7eef2 !important;
}

html[data-season="winter"] .ranking-result .dt-button,
html[data-season="winter"] .ranking-result .buttons-colvis,
html[data-season="winter"] .ranking-result button.btn,
html[data-season="winter"] .dataTables_wrapper .dt-buttons .dt-button {
    background: rgba(141, 184, 193, 0.16) !important;
    border-color: rgba(141, 184, 193, 0.4) !important;
    color: #e6f4f7 !important;
}

html[data-season="winter"] .dl-row-name {
    color: #d7eef2 !important;
}

html[data-season="winter"] .news-feature {
    border-color: rgba(141, 184, 193, 0.4) !important;
}

html[data-season="winter"] .news-feature-title,
html[data-season="winter"] .news-rail-item.is-active .news-rail-title {
    color: #d7eef2 !important;
}

html[data-season="winter"] .news-feature-date,
html[data-season="winter"] .news-all-link,
html[data-season="winter"] .news-rail-num {
    color: #8db8c1 !important;
}

html[data-season="winter"] .news-rail-timer-bar {
    stroke: #8db8c1 !important;
}

html[data-season="winter"] .news-swiper.swiper {
    border-color: rgba(141, 184, 193, 0.4) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(173, 210, 216, 0.08) !important;
}

html[data-season="winter"] .news-slide-caption {
    background: linear-gradient(180deg, rgba(7, 16, 20, 0.92) 0%, rgba(7, 16, 20, 0.42) 70%, transparent 100%) !important;
}

html[data-season="winter"] .news-slide-title {
    color: #d7eef2 !important;
    text-shadow: 0 0 18px rgba(141, 184, 193, 0.45), 0 2px 10px rgba(0, 0, 0, 0.85);
}

html[data-season="winter"] .latest-news .theme-card-head p {
    color: var(--sand) !important;
    text-shadow: none;
}

html[data-season="winter"] .news-slide-title:hover {
    color: #fff !important;
}

html[data-season="winter"] .news-swiper .swiper-pagination {
    border-color: rgba(141, 184, 193, 0.38) !important;
    background: rgba(7, 16, 20, 0.68) !important;
}

html[data-season="winter"] .news-swiper .swiper-pagination-bullet {
    background: rgba(141, 184, 193, 0.42) !important;
}

html[data-season="winter"] .news-swiper .swiper-pagination-bullet-active {
    background: #d7eef2 !important;
    box-shadow: 0 0 8px rgba(141, 184, 193, 0.5) !important;
}

html[data-season="winter"] .news-swiper .autoplay-progress {
    color: #d7eef2 !important;
    border-color: rgba(141, 184, 193, 0.5) !important;
    background: rgba(7, 16, 20, 0.72) !important;
}

html[data-season="winter"] .news-swiper .autoplay-progress svg {
    stroke: #8db8c1 !important;
}

html[data-season="winter"] .theme-media-card::before {
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .yt-play-btn {
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(141, 184, 193, 0.4) !important;
}

html[data-season="winter"] .yt-play-btn::after {
    border-color: transparent transparent transparent #071014 !important;
}

html[data-season="winter"] .media-video:hover .yt-play-btn {
    background: linear-gradient(180deg, #f2fbff, #adcad8) !important;
}

html[data-season="winter"] .yt-watch-bar {
    border-color: rgba(141, 184, 193, 0.42) !important;
    background: rgba(7, 16, 20, 0.82) !important;
    color: #d7eef2 !important;
}

html[data-season="winter"] .yt-watch-bar svg {
    color: #8db8c1 !important;
}

html[data-season="winter"] .facebook-widget {
    border-color: rgba(141, 184, 193, 0.32) !important;
    background: rgba(6, 14, 18, 0.5) !important;
    box-shadow: inset 0 0 0 1px rgba(173, 210, 216, 0.08), 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

html[data-season="winter"] .facebook-widget-feed {
    background: #071014 !important;
}

html[data-season="winter"] .discord-panel,
html[data-season="winter"] .discord-online-badge,
html[data-season="winter"] .donate-intro,
html[data-season="winter"] .donate-pending,
html[data-season="winter"] .donate-contact,
html[data-season="winter"] .donate-method-card,
html[data-season="winter"] .donate-epin,
html[data-season="winter"] .donate-epin-field,
html[data-season="winter"] .donate-epin-badge,
html[data-season="winter"] .donate-epin-card {
    border-color: rgba(141, 184, 193, 0.32) !important;
}

html[data-season="winter"] .discord-panel {
    background:
        linear-gradient(180deg, rgba(141, 184, 193, 0.08), transparent 40%),
        rgba(6, 14, 18, 0.55) !important;
}

html[data-season="winter"] .discord-online-badge {
    color: #d7eef2 !important;
}

html[data-season="winter"] .discord-playing,
html[data-season="winter"] .discord-playing i,
html[data-season="winter"] .donate-method-tab-ico,
html[data-season="winter"] .donate-pay-hint i,
html[data-season="winter"] .donate-epin-field i,
html[data-season="winter"] .donate-epin-badge {
    color: #8db8c1 !important;
}

html[data-season="winter"] .ranking-mode-tab .donate-method-tab-ico img,
html[data-season="winter"] .rank-tab img,
html[data-season="winter"] .rank-podium-avatar,
html[data-season="winter"] .rank-podium-job,
html[data-season="winter"] .job-tab-img,
html[data-season="winter"] .job-stat-img,
html[data-season="winter"] .job-stat-label img {
    filter: none !important;
}

html[data-season="winter"] .donate-pay-title,
html[data-season="winter"] .rank-podium-name,
html[data-season="winter"] .donate-epin-title,
html[data-season="winter"] .donate-intro a,
html[data-season="winter"] .donate-contact a {
    color: #d7eef2 !important;
}

html[data-season="winter"] .rank-podium-card.is-rank-1 .rank-podium-name {
    color: #e6f4f7 !important;
}

html[data-season="winter"] .donate-method-card:hover,
html[data-season="winter"] .donate-pay-btn:hover,
html[data-season="winter"] .donate-pay-btn.is-active {
    border-color: rgba(173, 210, 216, 0.7) !important;
    background: rgba(141, 184, 193, 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(173, 210, 216, 0.08), 0 0 12px rgba(141, 184, 193, 0.12);
}

html[data-season="winter"] .donate-pay-btn {
    border-color: rgba(141, 184, 193, 0.32) !important;
    background: rgba(4, 12, 16, 0.45) !important;
    color: #e6f4f7 !important;
}

html[data-season="winter"] .donate-epin {
    background:
        linear-gradient(135deg, rgba(141, 184, 193, 0.12), transparent 45%),
        rgba(0, 0, 0, 0.35) !important;
}

html[data-season="winter"] .donate-epin-card {
    background:
        linear-gradient(145deg, rgba(141, 184, 193, 0.28), rgba(18, 48, 56, 0.75)),
        rgba(8, 20, 26, 0.9) !important;
}

html[data-season="winter"] .donate-epin-chip {
    background: linear-gradient(180deg, #d7eef2, #6a9ba3) !important;
}

html[data-season="winter"] .donate-epin-submit,
html[data-season="winter"] a.donate-epin-submit {
    border-color: rgba(141, 184, 193, 0.55) !important;
    background: linear-gradient(180deg, rgba(141, 184, 193, 0.32), rgba(18, 42, 50, 0.45)) !important;
    color: #e6f4f7 !important;
}

html[data-season="winter"] .donate-epin-submit:hover,
html[data-season="winter"] a.donate-epin-submit:hover {
    border-color: rgba(173, 210, 216, 0.85) !important;
    color: #fff !important;
}

html[data-season="winter"] .ranking-page-head.theme-card-head,
html[data-season="winter"] .rank-podium-head.theme-card-head,
html[data-season="winter"] .ranking-table-panel-head.theme-card-head {
    border-bottom-color: rgba(141, 184, 193, 0.32) !important;
}

html[data-season="winter"] .uniques,
html[data-season="winter"] .globals,
html[data-season="winter"] .server-event-timers .timer-row {
    background: rgba(0, 0, 0, 0.32) !important;
    border-color: var(--line-soft) !important;
    box-shadow: inset 2px 0 0 var(--gold) !important;
}

html[data-season="winter"] .server-event-timers .timer-row {
    background:
        linear-gradient(90deg, rgba(141, 184, 193, 0.12), transparent 50%),
        rgba(0, 0, 0, 0.35) !important;
}

html[data-season="winter"] .uniques .unique-image,
html[data-season="winter"] .globals .player-image,
html[data-season="winter"] .uniques .unique-killer,
html[data-season="winter"] .globals .global-message {
    border-color: rgba(141, 184, 193, 0.35) !important;
    background: rgba(8, 22, 28, 0.72) !important;
}

html[data-season="winter"] .timer-name i {
    color: #8db8c1 !important;
}

html[data-season="winter"] .dropdown-item {
    color: #c8dde2 !important;
}

html[data-season="winter"] .dropdown-item:focus,
html[data-season="winter"] .dropdown-item:hover,
html[data-season="winter"] .dropdown-item.active,
html[data-season="winter"] .dropdown-item:active {
    background: rgba(141, 184, 193, 0.18) !important;
    color: #e6f4f7 !important;
}

html[data-season="winter"] .dropdown-divider {
    border-top-color: rgba(141, 184, 193, 0.22);
}

html[data-season="winter"] .discord-join-btn,
html[data-season="winter"] .theme-join-btn,
html[data-season="winter"] .donate-offer-buy {
    border-color: rgba(141, 184, 193, 0.55) !important;
    background: linear-gradient(180deg, rgba(141, 184, 193, 0.32), rgba(18, 42, 50, 0.58)) !important;
    color: #e6f4f7 !important;
    box-shadow: inset 0 1px 0 rgba(220, 245, 255, 0.16), 0 8px 18px rgba(0, 0, 0, 0.28) !important;
}

html[data-season="winter"] .modal-content-discord {
    background-color: #071014 !important;
    border-color: rgba(141, 184, 193, 0.42) !important;
}

html[data-season="winter"] .modal-content-discord::before {
    filter: hue-rotate(168deg) saturate(0.62) brightness(1.08);
}

html[data-season="winter"] .discord-popup-copy {
    color: #d7eef2 !important;
}

html[data-season="winter"] .close-discord {
    color: #d7eef2 !important;
}

html[data-season="winter"] .modal-discord .join-btn {
    border-color: rgba(173, 210, 216, 0.7) !important;
    background: transparent !important;
    color: #d7eef2 !important;
}

html[data-season="winter"] .modal-discord .join-btn:hover {
    background: rgba(141, 184, 193, 0.14) !important;
    color: #fff !important;
}

html[data-season="winter"] .modal-discord .close-discord-modal {
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
    color: #071014 !important;
}

html[data-season="winter"] .discord-join-btn i,
html[data-season="winter"] .theme-join-btn i,
html[data-season="winter"] .facebook-panel-ico {
    color: #8db8c1 !important;
}

html[data-season="winter"] .discord-join-btn:hover,
html[data-season="winter"] .theme-join-btn:hover,
html[data-season="winter"] .donate-offer-buy:hover {
    border-color: rgba(173, 210, 216, 0.85) !important;
    color: #fff !important;
    background: linear-gradient(180deg, rgba(173, 210, 216, 0.42), rgba(28, 58, 68, 0.7)) !important;
}

html[data-season="winter"] .discord-card-footer,
html[data-season="winter"] .theme-card-footer {
    border-top-color: rgba(141, 184, 193, 0.22) !important;
}

html[data-season="winter"] #sidebar-ranking-tabs .nav-link {
    background: transparent !important;
    color: #9bb0b4 !important;
}

html[data-season="winter"] #sidebar-ranking-tabs .nav-link i {
    color: #8db8c1 !important;
}

html[data-season="winter"] #sidebar-ranking-tabs .nav-link:hover,
html[data-season="winter"] #sidebar-ranking-tabs .nav-link:focus {
    color: #e6f4f7 !important;
    background: rgba(141, 184, 193, 0.1) !important;
    border-color: rgba(141, 184, 193, 0.45) !important;
}

html[data-season="winter"] #sidebar-ranking-tabs .nav-link.active {
    color: #d7eef2 !important;
    background: transparent !important;
    border-color: #8db8c1 !important;
}

html[data-season="winter"] #sidebar-ranking-tabs .nav-link.active i {
    color: #8db8c1 !important;
}

html[data-season="winter"] .pvp-record,
html[data-season="winter"] .supporter-online-item,
html[data-season="winter"] .job-stat-item,
html[data-season="winter"] .card-body-rounded,
html[data-season="winter"] .uniques,
html[data-season="winter"] .globals,
html[data-season="winter"] .donate-offer,
html[data-season="winter"] .dl-driver-row,
html[data-season="winter"] .dl-row {
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .job-stat-label i,
html[data-season="winter"] .progress,
html[data-season="winter"] .job-progress {
    border-color: rgba(141, 184, 193, 0.28) !important;
    color: var(--gold);
}

html[data-season="winter"] .progress-bar.bg-players-count,
html[data-season="winter"] .bg-players-count,
html[data-season="winter"] .bg-trader,
html[data-season="winter"] .bg-hunter,
html[data-season="winter"] .bg-thief {
    background: linear-gradient(90deg, #4a7c88, #8db8c1) !important;
    box-shadow: 0 0 10px rgba(141, 184, 193, 0.25) !important;
}

html[data-season="winter"] .job-percentage,
html[data-season="winter"] .server-cell-value,
html[data-season="winter"] .timer-value,
html[data-season="winter"] .donate-offer-amount,
html[data-season="winter"] .dl-row-size strong {
    color: var(--gold-bright) !important;
    background: none !important;
}

html[data-season="winter"] .donate-offer-price {
    background: linear-gradient(180deg, rgba(141, 184, 193, 0.3), rgba(24, 48, 56, 0.5)) !important;
    border-color: rgba(141, 184, 193, 0.5) !important;
}

html[data-season="winter"] .donate-offer-price strong,
html[data-season="winter"] .donate-offer-price small {
    color: #e6f4f7 !important;
}

html[data-season="winter"] .dl-row-btn {
    filter: hue-rotate(168deg) saturate(0.7) brightness(1.12);
}

html[data-season="winter"] .form-control,
html[data-season="winter"] .custom-select,
html[data-season="winter"] .page-link,
html[data-season="winter"] .pagination .page-link,
html[data-season="winter"] .dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: rgba(8, 18, 22, 0.85) !important;
    border-color: rgba(141, 184, 193, 0.35) !important;
    color: #d7eef2 !important;
}

html[data-season="winter"] .page-link:hover,
html[data-season="winter"] .pagination .page-item.active .page-link {
    background: rgba(141, 184, 193, 0.28) !important;
    border-color: rgba(173, 210, 216, 0.55) !important;
    color: #fff !important;
}

html[data-season="winter"] .btn-primary,
html[data-season="winter"] .btn-info,
html[data-season="winter"] .btn-warning {
    background: linear-gradient(180deg, #8db8c1, #4a7c88) !important;
    border-color: rgba(173, 210, 216, 0.55) !important;
    color: #071014 !important;
}

html[data-season="winter"] .navbar-account-panel img {
    filter: hue-rotate(168deg) saturate(0.7) brightness(1.08);
}

html[data-season="winter"] .download-btn {
    filter: hue-rotate(168deg) saturate(0.7) brightness(1.12) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

html[data-season="winter"] .download-btn:hover,
html[data-season="winter"] .download-btn:focus {
    filter: hue-rotate(168deg) saturate(0.8) brightness(1.2) drop-shadow(0 14px 26px rgba(140, 210, 230, 0.35));
}

html[data-season="winter"] .hud-cell-label {
    color: #e8f6fa;
}

html[data-season="winter"] .hud-ico {
    border-color: rgba(173, 210, 216, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(220, 245, 255, 0.1),
        0 0 8px rgba(141, 184, 193, 0.2);
}

/* HUD numbers and Players Online bar keep Summer colors */
html[data-season="winter"] .hud-cell-value,
html[data-season="winter"] .header-timer,
html[data-season="winter"] .header-donation,
html[data-season="winter"] .hud-meter,
html[data-season="winter"] .hud-meter span,
html[data-season="winter"] .players-online-count {
    filter: none;
}

html[data-season="winter"] .hud-cell-value {
    color: #ffd978;
    text-shadow: 0 0 14px rgba(232, 180, 90, 0.22);
}

html[data-season="winter"] .hud-cell-value.players-online-count {
    color: #ffd978 !important;
    text-shadow: 0 0 14px rgba(232, 180, 90, 0.22);
}

html[data-season="winter"] .hud-meter {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(240, 181, 74, 0.14);
}

html[data-season="winter"] .hud-meter span {
    background: linear-gradient(90deg, #d4923a, #ffd978) !important;
    box-shadow: 0 0 10px rgba(240, 181, 74, 0.34);
}

html[data-season="winter"] .dataTable tbody td,
html[data-season="winter"] .sidebar table.table td,
html[data-season="winter"] .ranking-table-panel td {
    color: #ffd978;
}

/* Summer / Winter switcher */
.season-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.55rem;
    padding: 0.28rem 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(160, 140, 110, 0.28);
    background: rgba(18, 16, 12, 0.82);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

html[data-season="winter"] .season-switch {
    border-color: rgba(141, 184, 193, 0.35);
    background: rgba(8, 16, 20, 0.88);
}

.season-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 30px;
    padding: 0.28rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #c9b896;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.season-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.season-switch-btn[data-season-set="summer"] {
    color: #e0b45a;
}

.season-switch-btn[data-season-set="summer"] .season-dot {
    background: #e0b45a;
    box-shadow: 0 0 6px rgba(224, 180, 90, 0.55);
}

.season-switch-btn[data-season-set="winter"] {
    color: #8ec4d4;
}

.season-switch-btn[data-season-set="winter"] .season-dot {
    background: #8ec4d4;
    box-shadow: 0 0 8px rgba(173, 210, 216, 0.7);
}

.season-switch-btn.is-active[data-season-set="summer"] {
    border-color: rgba(224, 180, 90, 0.7);
    background: rgba(224, 180, 90, 0.08);
    color: #f0c56a;
}

.season-switch-btn.is-active[data-season-set="winter"] {
    border-color: rgba(173, 210, 216, 0.85);
    background: rgba(141, 184, 193, 0.16);
    color: #e6f4f7;
    box-shadow: inset 0 0 12px rgba(173, 210, 216, 0.12);
}

.season-switch-btn:hover {
    filter: brightness(1.08);
}

@media screen and (max-width: 991px) {
    .season-switch {
        margin: 0.55rem auto 0.25rem;
    }
}

/* Season change cinematic */
#season-fx {
    position: fixed;
    inset: 0;
    z-index: 40000;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

#season-fx.is-on {
    opacity: 1;
}

.season-fx-veil,
.season-fx-ring,
.season-fx-spark,
.season-fx-title {
    position: absolute;
    pointer-events: none;
}

.season-fx-veil {
    inset: -8%;
    opacity: 0;
}

.season-fx-ring {
    left: 50%;
    top: 38%;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border-radius: 50%;
    opacity: 0;
}

.season-fx-spark {
    inset: 0;
    opacity: 0;
}

.season-fx-title {
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-family: var(--display), Cinzel, serif;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    opacity: 0;
}

#season-fx.to-winter .season-fx-veil {
    background:
        radial-gradient(ellipse 80% 70% at 50% 18%, rgba(210, 245, 255, 0.42), rgba(10, 36, 48, 0.28) 46%, transparent 72%),
        linear-gradient(180deg, rgba(186, 230, 255, 0.22), transparent 58%);
    animation: seasonVeil 1.15s ease forwards;
}

#season-fx.to-summer .season-fx-veil {
    background:
        radial-gradient(ellipse 70% 65% at 50% 42%, rgba(255, 214, 110, 0.46), rgba(90, 36, 8, 0.26) 50%, transparent 74%),
        linear-gradient(180deg, rgba(255, 176, 70, 0.16), transparent 56%);
    animation: seasonVeil 1.15s ease forwards;
}

#season-fx.to-winter .season-fx-ring {
    border: 2px solid rgba(220, 245, 255, 0.7);
    box-shadow: 0 0 28px rgba(170, 230, 255, 0.45), inset 0 0 24px rgba(200, 240, 255, 0.25);
    animation: seasonRing 1.05s cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
}

#season-fx.to-summer .season-fx-ring {
    border: 2px solid rgba(255, 214, 120, 0.75);
    box-shadow: 0 0 32px rgba(255, 176, 70, 0.5), inset 0 0 24px rgba(255, 220, 140, 0.28);
    animation: seasonRing 1.05s cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
}

#season-fx.to-winter .season-fx-spark {
    background-image:
        radial-gradient(2px 2px at 12% 18%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 28% 42%, rgba(230, 245, 255, 0.95), transparent),
        radial-gradient(2.5px 2.5px at 46% 12%, #fff, transparent),
        radial-gradient(1px 1px at 63% 36%, rgba(210, 235, 255, 0.9), transparent),
        radial-gradient(2px 2px at 78% 22%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 88% 48%, rgba(220, 240, 255, 0.9), transparent),
        radial-gradient(2px 2px at 18% 62%, #fff, transparent),
        radial-gradient(1px 1px at 54% 70%, rgba(200, 230, 255, 0.85), transparent);
    background-size: 280px 280px, 220px 220px, 340px 340px, 180px 180px, 300px 300px, 240px 240px, 200px 200px, 360px 360px;
    animation: seasonSnowBurst 1.15s linear forwards;
}

#season-fx.to-summer .season-fx-spark {
    background-image:
        radial-gradient(2px 2px at 20% 70%, #ffd978, transparent),
        radial-gradient(1.5px 1.5px at 38% 78%, #f0b54a, transparent),
        radial-gradient(2.5px 2.5px at 58% 64%, #ffe49a, transparent),
        radial-gradient(1px 1px at 74% 82%, #ffc85a, transparent),
        radial-gradient(2px 2px at 12% 58%, #ffd978, transparent),
        radial-gradient(1.5px 1.5px at 86% 68%, #e0a84a, transparent);
    background-size: 240px 240px, 190px 190px, 300px 300px, 160px 160px, 260px 260px, 210px 210px;
    animation: seasonEmberRise 1.15s linear forwards;
}

#season-fx.to-winter .season-fx-title {
    color: #e6f4f7;
    text-shadow: 0 0 22px rgba(160, 220, 255, 0.55), 0 8px 28px rgba(0, 0, 0, 0.45);
    animation: seasonTitle 1.15s ease forwards;
}

#season-fx.to-summer .season-fx-title {
    color: #ffe49a;
    text-shadow: 0 0 22px rgba(255, 196, 80, 0.55), 0 8px 28px rgba(0, 0, 0, 0.45);
    animation: seasonTitle 1.15s ease forwards;
}

@keyframes seasonVeil {
    0% { opacity: 0; transform: scale(1.04); }
    18% { opacity: 1; transform: scale(1); }
    58% { opacity: 0.78; }
    100% { opacity: 0; transform: scale(1.02); }
}

@keyframes seasonRing {
    0% { transform: scale(0.2); opacity: 0.8; }
    70% { opacity: 0.35; }
    100% { transform: scale(2.15); opacity: 0; }
}

@keyframes seasonSnowBurst {
    0% { opacity: 0; background-position: 0 -40px, 30px -20px, -20px -50px, 50px -10px, -30px -30px, 20px -40px, 40px -20px, -40px -30px; }
    18% { opacity: 1; }
    100% { opacity: 0; background-position: 30px 220px, -40px 180px, 50px 260px, -20px 160px, 60px 200px, -30px 190px, 20px 140px, 40px 240px; }
}

@keyframes seasonEmberRise {
    0% { opacity: 0; background-position: 0 80px, 20px 100px, -10px 70px, 40px 110px, -20px 90px, 10px 85px; }
    20% { opacity: 1; }
    100% { opacity: 0; background-position: 20px -160px, -30px -140px, 40px -180px, -10px -120px, 50px -150px, -20px -170px; }
}

@keyframes seasonTitle {
    0% { opacity: 0; letter-spacing: 0.46em; filter: blur(6px); }
    22% { opacity: 1; letter-spacing: 0.28em; filter: blur(0); }
    62% { opacity: 1; }
    100% { opacity: 0; letter-spacing: 0.34em; filter: blur(4px); }
}

.season-switch-btn {
    transition: border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.season-switch-btn.is-active {
    transform: translateY(-1px);
}

html[data-season="summer"] body.auth-pages {
    background-color: #140808 !important;
    background-image: none !important;
}

html[data-season="summer"] .auth-center-bg::before {
    filter: none;
}

html[data-season="summer"] .auth-center-bg::after {
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%, rgba(20, 8, 8, 0.1), rgba(20, 8, 8, 0.38) 72%),
        linear-gradient(180deg, rgba(20, 8, 8, 0.18) 0%, rgba(14, 6, 6, 0.52) 100%);
}

html[data-season="summer"] .auth-card {
    border-color: var(--line);
    background: rgba(42, 16, 16, 0.88);
}

html[data-season="summer"] .auth-card-mark {
    border-color: rgba(240, 181, 74, 0.5);
    background:
        radial-gradient(circle at 50% 28%, rgba(140, 28, 22, 0.38), transparent 58%),
        #1a0808;
}

html[data-season="summer"] .auth-tabs {
    border-color: rgba(240, 181, 74, 0.22);
    background: rgba(14, 6, 6, 0.66);
}

html[data-season="winter"] body.auth-pages {
    background-color: #071014 !important;
}

html[data-season="winter"] .auth-center-bg::before {
    filter: hue-rotate(168deg) saturate(0.5) brightness(0.78) contrast(1.06);
}

html[data-season="winter"] .auth-center-bg::after {
    background:
        radial-gradient(ellipse 38% 48% at 50% 44%, rgba(6, 16, 20, 0.12), rgba(4, 12, 16, 0.46) 72%),
        linear-gradient(180deg, rgba(4, 12, 16, 0.22) 0%, rgba(3, 10, 14, 0.62) 100%);
}

html[data-season="winter"] .auth-card {
    border-color: rgba(141, 184, 193, 0.34) !important;
    background: rgba(7, 16, 20, 0.74) !important;
}

html[data-season="winter"] .auth-card-close,
html[data-season="winter"] .auth-card-mark {
    border-color: rgba(141, 184, 193, 0.5) !important;
}

html[data-season="winter"] .auth-card-mark {
    background:
        radial-gradient(circle at 50% 28%, rgba(141, 184, 193, 0.22), transparent 58%),
        #071014 !important;
}

html[data-season="winter"] .auth-card-title,
html[data-season="winter"] .auth-card-close,
html[data-season="winter"] .auth-tab:hover {
    color: #d7eef2 !important;
}

html[data-season="winter"] .auth-tab.is-active {
    color: #071014 !important;
}

html[data-season="winter"] .auth-tabs {
    border-color: rgba(141, 184, 193, 0.24);
    background: rgba(4, 12, 16, 0.55);
}

html[data-season="winter"] .auth-tabs::after {
    background: linear-gradient(180deg, #d7eef2, #8db8c1);
}

html[data-season="winter"] .auth-field label,
html[data-season="winter"] .auth-human-label,
html[data-season="winter"] .auth-input > i {
    color: #8db8c1 !important;
}

html[data-season="winter"] .auth-card-note,
html[data-season="winter"] .auth-human {
    border-color: rgba(141, 184, 193, 0.22) !important;
    background: transparent !important;
}

html[data-season="winter"] .auth-captcha-img {
    border-color: rgba(141, 184, 193, 0.35);
}

html[data-season="winter"] .auth-captcha-reload {
    border-color: rgba(141, 184, 193, 0.42);
    background: rgba(141, 184, 193, 0.1);
    color: #d7eef2;
}

html[data-season="winter"] .auth-captcha-reload:hover,
html[data-season="winter"] .auth-captcha-reload:focus {
    border-color: #d7eef2;
    color: #fff;
}

html[data-season="winter"] .auth-input .form-control {
    background: transparent !important;
    border-bottom-color: rgba(141, 184, 193, 0.38) !important;
    color: #e6eef0 !important;
}

html[data-season="winter"] .auth-input .form-control:focus {
    border-bottom-color: #d7eef2 !important;
}

html[data-season="winter"] .auth-card-btn {
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
    color: #071014 !important;
}

html[data-season="winter"] .acc-welcome {
    color: #8db8c1 !important;
}

html[data-season="winter"] .acc-dash-kicker,
html[data-season="winter"] .acc-dash-name,
html[data-season="winter"] .acc-profile strong,
html[data-season="winter"] .acc-balances b,
html[data-season="winter"] .acc-panel h2,
html[data-season="winter"] .acc-wallet > div strong,
html[data-season="winter"] .acc-btn-ghost,
html[data-season="winter"] .acc-link {
    color: #d7eef2 !important;
}

html[data-season="winter"] .acc-dash-rail,
html[data-season="winter"] .acc-panel {
    border-color: rgba(141, 184, 193, 0.28) !important;
    background: rgba(7, 16, 20, 0.72) !important;
}

html[data-season="winter"] .acc-avatar,
html[data-season="winter"] .acc-chip,
html[data-season="winter"] .acc-btn-ghost,
html[data-season="winter"] .acc-step-num,
html[data-season="winter"] .acc-secure-note {
    border-color: rgba(141, 184, 193, 0.38) !important;
}

html[data-season="winter"] .acc-nav a:not(.is-active),
html[data-season="winter"] .acc-nav a:not(.is-active) i {
    color: #8db8c1 !important;
}

html[data-season="winter"] .acc-nav a.is-active {
    color: #071014 !important;
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

html[data-season="winter"] .acc-avatar {
    border-color: rgba(141, 184, 193, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(141, 184, 193, 0.08);
}

html[data-season="winter"] .acc-btn-solid {
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
    color: #071014 !important;
}

html[data-season="winter"] .acc-nav a:hover,
html[data-season="winter"] .acc-nav button:hover {
    color: #d7eef2 !important;
    background: rgba(141, 184, 193, 0.1) !important;
}

html[data-season="winter"] .acc-nav a.is-active:hover {
    color: #071014 !important;
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
}

html[data-season="winter"] .acc-notice {
    border-color: rgba(141, 184, 193, 0.22);
    background: rgba(6, 14, 18, 0.35);
}

html[data-season="winter"] .acc-notice-ico {
    background: rgba(141, 184, 193, 0.16);
    color: #d7eef2;
}

html[data-season="winter"] .acc-notice-empty i,
html[data-season="winter"] .acc-notice-empty strong {
    color: #d7eef2;
}

html[data-season="winter"] .acc-nav-logout:hover {
    color: #efc4c4 !important;
    background: rgba(196, 138, 138, 0.12) !important;
}

html[data-season="winter"] .acc-status.is-off {
    color: #b7c6ca !important;
    background: rgba(141, 184, 193, 0.1) !important;
    border-color: rgba(141, 184, 193, 0.28) !important;
}

html[data-season="winter"] .acc-chip.is-ok {
    color: #9ad7a4 !important;
}

html[data-season="winter"] .acc-chip.is-bad {
    color: #efc4c4 !important;
    border-color: rgba(239, 196, 196, 0.4) !important;
}

html[data-season="winter"] .acc-char-tab {
    border-color: rgba(141, 184, 193, 0.24);
}

html[data-season="winter"] .acc-char-tab b,
html[data-season="winter"] .acc-char-name {
    color: #d7eef2 !important;
}

html[data-season="winter"] .acc-char-tab.is-active {
    color: #071014 !important;
    background: linear-gradient(180deg, #d7eef2, #8db8c1) !important;
}

html[data-season="winter"] .acc-char-tab.is-active b,
html[data-season="winter"] .acc-char-tab.is-active small {
    color: inherit !important;
}

html[data-season="winter"] .acc-char-portrait {
    border-color: rgba(141, 184, 193, 0.45) !important;
}

html[data-season="winter"] .info-modal-backdrop {
    background: rgba(2, 10, 14, 0.78);
}

html[data-season="winter"] .news-sheet-hero::after {
    background:
        linear-gradient(180deg, rgba(4, 10, 14, 0.1) 0%, rgba(4, 10, 14, 0.2) 42%, rgba(4, 10, 14, 0.94) 100%);
}

html[data-season="winter"] .info-modal-panel.news-sheet-modal .info-modal-close,
html[data-season="winter"] .news-sheet-close,
html[data-season="winter"] .info-modal-close {
    border-color: rgba(215, 238, 242, 0.45);
    background: rgba(4, 12, 16, 0.78);
    color: var(--gold-bright);
}

html[data-season="winter"] .dl-row-media img,
html[data-season="winter"] .dl-driver-row img,
html[data-season="winter"] .char-stat-job img {
    filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html[data-season="winter"] body::after,
    html[data-season="winter"] #app::after,
    .auth-stage {
        animation: none;
    }

    #season-fx,
    #season-fx * {
        animation: none !important;
        display: none !important;
    }
}
