/* Relay 3.16.0 · Полярная ночь. Loaded by the GameCMS seasonal switch. */
:root {
  --relay-bg: #071824;
  --relay-deep: #091d29;
  --relay-surface: #142a40;
  --relay-elevated: #203d56;
  --relay-border: #3c606a;
  --relay-text: #f0f7ff;
  --relay-muted: #bdd0de;
  --relay-accent: #a6f1e2;
  --relay-accent-strong: #68e2cb;
  --relay-ice: #c1eaff;
  --relay-lilac: #b6c8ed;
  --relay-lime: #ffe2af;
  --relay-positive: #98e3c2;
  --relay-negative: #ffafb7;
  --winter-amber: #ffca7e;
  --winter-edge: #65849b;
  --winter-panel: linear-gradient(112deg, #18353d, #0d2430 68%, #101e2a);
  --winter-forest: url("../img/relay-snowfront/firs.webp");
  --winter-sky: url("../img/relay-polar/ridge.webp");
  --winter-shop: url("../img/relay-snowfront/supply.webp");
  --winter-forum: url("../img/relay-snowfront/club.webp");
  --winter-bank: polygon(0 0,100% 0,100% 34%,95% 47%,91% 30%,87% 45%,83% 30%,78% 39%,72% 21%,67% 42%,62% 27%,56% 40%,50% 20%,45% 28%,40% 15%,36% 33%,31% 29%,26% 50%,22% 30%,17% 49%,13% 40%,8% 68%,4% 55%,0 72%);
  --joker-pink: var(--relay-accent);
  --joker-green: var(--winter-amber);
  --joker-purple: #93c6f4;
  --joker-yellow: #ffdc9b;
  --joker-panel: var(--winter-panel);
  --joker-shadow: inset 0 1px #e0f6ff1c, 0 8px 26px #020b154d;
}

/* Snowy forest at the edges of the site. Solid-backed panels keep text legible. */
body.relay-theme.relay-winter {
  background: radial-gradient(ellipse at 2% 2%, #107a705c, transparent 37%), linear-gradient(90deg, #0719248c, #081924ed 27%, #0a1a2beb 73%, #0918298c),
    var(--winter-forest) center / cover no-repeat, var(--relay-bg);
  background-attachment: fixed;
}
.relay-winter .relay-header {
  background: linear-gradient(108deg, #081b29f5 16%, #144445e6 52%, #092331eb 78%),
    var(--winter-forest) center 38% / cover, var(--relay-deep);
  border-bottom: 1px solid #7996a980;
}
.relay-winter .relay-header::before { height: 2px; background: linear-gradient(90deg, #ffcb82, #a2fae6 46%, #68bddd); }
.relay-winter .relay-nav-band {
  background: #0c222e; border-color: #42636d;
  box-shadow: inset 0 1px #e9f8ff24, 0 5px 16px #04122466;
}
.relay-winter .relay-nav-band::after { height: 2px; background: linear-gradient(90deg, transparent, #8ce7d7, #ffcc8a, transparent); }
.relay-winter .relay-wordmark { color: #eef9ff; text-shadow: 0 2px 14px #87d3ff52; }
.relay-winter .relay-header-help, .relay-winter .relay-wallet, .relay-winter .relay-header-icon, .relay-winter .relay-menu-toggle {
  border-color: #506c83; background: #10243a; color: #e4f2fd;
}
.relay-winter .relay-header-help i, .relay-winter .relay-wallet-balance i { background: #2f4d65; color: #daefff; }
.relay-winter .relay-menu a[aria-current], .relay-winter .relay-menu .relay-menu-parent { background: #243f54; color: #f9e2bb; }
.relay-winter .relay-menu > li > .relay-nav-home[aria-current] { border-color: #c6e7fa; background: #acdcf7; color: #10263a; }
.relay-winter .relay-nav-chat, .relay-winter .relay-nav-chat:hover { color: #231b13; background: var(--winter-amber); }
.relay-winter .relay-menu > li > a:hover, .relay-winter .relay-submenu-toggle:hover { color: #fff; background: #29455b; }
.relay-winter a:hover { color: #ffe0af; }
.relay-winter :focus-visible { outline: 2px solid #ffdc96; outline-offset: 3px; }
.relay-winter .relay-button-primary { border-color: #ffe1a9; color: #2a1c0c; background: #ffcf8b; box-shadow: none; }
.relay-winter .relay-button-primary:hover { border-color: #fff2d6; color: #21180e; background: #ffe0a6; box-shadow: none; }
.relay-winter .relay-button-quiet { border-color: #668098; color: #eaf5ff; background: #13293e; }

/* Internal pages: forum, store, statistics, account and forms. */
body.relay-forum-page {--forum-accent:#f1d28e;--forum-border:#375d71;--forum-surface:#0f2530;--forum-soft:#c0d8e4}
.relay-theme :is(.relay-forum-banner,.relay-forum-page-heading,.relay-client-heading,.relay-news-banner,.relay-page-heading) {background:linear-gradient(105deg,#1b4053,#102733 65%,#0b1b23);border-color:#67a4c3;border-left-color:#96e8cf}
.relay-theme .relay-forum-panel-head {border-bottom-color:#365e73;background:#132e3c}
.relay-theme :is(.relay-forum-section-row,.relay-forum-topic-row):hover {background:#81c4e713}
.relay-theme .relay-shop-card[data-relay-shop-kind="privileges"] {--shop-color:#afeddb}
.relay-theme .relay-shop-card:nth-child(3n+2)[data-relay-shop-kind="privileges"] {--shop-color:#f2d596}
.relay-theme .relay-shop-card:nth-child(3n+3)[data-relay-shop-kind="privileges"] {--shop-color:#b3dcf1}
.relay-theme .relay-filter-tabs > ul {background:#0c1e27;border-color:#385e71}
.relay-theme .relay-filter-tabs .active > a {background:#66583c;border-color:#a69266;color:#f7e4bd}
.relay-theme .relay-settings-tabs a[aria-selected="true"] {background:#1b3c4d;color:#dbf7ef;border-color:#3f6f87}
.relay-theme .form-control {background-color:#0c1c25;border-color:#395f73;color:#f1f9fc}
.relay-theme .form-control:focus {border-color:#9ae9d1;box-shadow:0 0 0 2px #76e1c12b}
.relay-theme .modal-content {background:#102733;border-color:#43738c}
body.relay-theme:not(.relay-home) {
  --joker-inner: linear-gradient(145deg,#153241,#0f212a 65%,#0b1b23);
  --joker-line: #426475;
  --joker-row: #112631;
  --joker-row-hover: #1b3645;
  --joker-inner-shadow: 3px 3px 0 #081319,0 12px 26px #040b0e55;
}
.relay-theme:not(.relay-home) :is(.relay-shop-heading,.relay-rating-head,.relay-player-hero,.relay-profile-hero,.relay-client-heading,.relay-forum-banner,.relay-forum-page-heading,.relay-news-banner) {
  border-color:#6ba6c5; border-left:4px solid var(--joker-pink);
  background:linear-gradient(112deg,#183b4d,#112935 60%,#0d1d25);
  box-shadow:var(--joker-inner-shadow);
}
.relay-theme:not(.relay-home) :is(.relay-shop-heading-icon,.relay-rating-mark,.relay-client-icon,.relay-forum-banner-icon) {
  color:#0d1d25; background:linear-gradient(145deg,#b6efde,#96e8cf); border-color:#c7f3e5;
  box-shadow:3px 3px 0 #09161c;
}
.relay-theme:not(.relay-home) :is(.relay-panel,.relay-forum-panel,.relay-forum-post,.relay-player-panel,.relay-purse-overview,.relay-profile-facts .block,.relay-settings-panel .block,.relay-client-list,.relay-ticket-form,.relay-appeal-form) {
  background:var(--joker-inner); border-color:var(--joker-line); box-shadow:var(--joker-inner-shadow);
}
.relay-theme:not(.relay-home) :is(.block_head,.relay-forum-panel-head) {border-bottom-color:#44697c;color:#eef7fc;}
/* Catalog */
.relay-shop {--shop-back:#0c1d25;--shop-line:#385e73;--shop-color:#b9f0df;}
.relay-theme .relay-shop-tabs,.relay-theme .relay-shop-account {background:#0e232e;border-color:#375e72;}
.relay-theme .relay-shop-tabs a[aria-current] {background:#1b3949;border-color:#69a0bc;color:#c9f3e7;box-shadow:inset 0 -2px var(--joker-pink);}
.relay-theme .relay-shop-servers .active a {background:#f2d597;color:#514324;border-color:#f6e1b4;box-shadow:2px 2px 0 #695325;}
.relay-theme .relay-shop-card {border-color:var(--shop-color);box-shadow:var(--joker-inner-shadow);}
.relay-shop-art {background:radial-gradient(ellipse at 50% 35%,#59b1df45,transparent 72%),#0d202a;}
.relay-shop-metrics > div {background:#0c1b24;border-color:#375c6f;}
.relay-shop-card-footer {border-color:#365d72;}
.relay-theme .relay-shop-buy {background:var(--shop-color);border-color:var(--shop-color);color:#0d1a21;box-shadow:2px 2px 0 #071116;}
.relay-theme .relay-shop-buy:hover {background:#ecf6fb;color:#0d1a21;}
.relay-shop-compare-scroll {background:#0c1b24;border-color:#3d6579;}
.relay-shop-compare :is(th,td) {border-color:#2d4856;}
.relay-shop-compare thead th {background:#173545;}
.relay-shop-compare tbody th {background:#122934;}
.relay-shop-compare tbody td {background:#10222b;}
.relay-shop-compare tbody tr:nth-child(even) td {background:#142a35;}
/* Ratings and player details */
.relay-rating {--rating-edge:#3a6175;--rating-deep:#0b1c24;--rating-row:#132935;}
.relay-player-page {--rating-edge:#3a6175;--player-card:#10232e;--player-line:#375c6f;}
.relay-theme .relay-rating-servers a[aria-current] {background:#f2d597;color:#493f28;border-color:#f6e2b7;}
.relay-theme .relay-rating-orders a[aria-current] {background:#1d3b4a;color:#dbf7ef;border-color:#7dceb6;box-shadow:inset 0 -2px var(--joker-pink);}
.relay-rating-summary > div {background:var(--joker-inner);border-color:#42687c;box-shadow:var(--joker-inner-shadow);}
.relay-rating-summary > [data-relay-rating-metric="hours"] {--metric-color:#9fddef;}
.relay-rating-summary > [data-relay-rating-metric="kills"] {--metric-color:#f2d597;}
.relay-rating-summary > [data-relay-rating-metric="headshots"] {--metric-color:#baf0e0;}
.relay-rating-row:hover > :is(th,td) {background:#1b3746;}
.relay-rating-row[data-place="1"] .relay-rating-place span {background:#ffe14a;color:#271c0b;}
.relay-rating-row[data-place="2"] .relay-rating-place span {background:#d1eaf6;color:#112733;}
.relay-rating-row[data-place="3"] .relay-rating-place span {background:#baf0e0;color:#0e2b27;}
.relay-player-data > div,.relay-player-rates > div {background:#0d1e26;border-color:#2f4e5e;}
.relay-player-table thead th {background:#1a3543;}
.relay-player-table tbody td {background:#10232e;}
.relay-player-table tbody th {background:#152c38;}
/* Profile, wallet and account */
.relay-profile-identity > img,.relay-player-avatar {border-color:#84bcd9;box-shadow:0 0 0 2px #143241,0 0 18px #76e1c13a;}
.relay-theme .relay-profile-actions a,.relay-theme .relay-settings-tabs a {background:#112833;border-color:#42687c;}
.relay-theme .relay-profile-actions :is(a,button):hover,.relay-theme .relay-settings-tabs a:hover {background:#1e3d4d;color:#faeed5;}
.relay-theme .relay-settings-tabs a[aria-selected="true"] {background:#1d3b4a;color:#daf7ee;border-color:#7dceb6;}
.relay-purse-balance strong {color:#f2d597;}
.relay-profile-data > div {border-bottom-color:#385c6f;}
/* Forum, tickets and moderation */
.relay-forum-section {--forum-accent:#f1d391;}
.relay-forum-section:nth-of-type(3n + 2) {--forum-accent:#b9f0df;}
.relay-forum-section:nth-of-type(3n + 3) {--forum-accent:#badff2;}
.relay-theme .relay-forum-action {background:#f2d597;color:#4d4229;border-color:#f5dfae;box-shadow:2px 2px 0 #655022;}
.relay-theme .relay-forum-action:hover {background:#f7e6c1;color:#4d4229;}
.relay-forum-topic-group th {background:#1b313d;}
.relay-forum-topic-group-fixed th {background:#28373e;color:#ffe8a2;}
.relay-forum-post-author {background:#0e232e;border-color:#385d71;}
.relay-forum-post:target {border-color:#b2eedc;box-shadow:0 0 15px #76e1c14d;}
.relay-theme .relay-records-table > thead > tr > th {background:#1b3746;border-color:#395f73;color:#eaf5fb;}
.relay-theme .relay-records-table > tbody > tr[data-relay-row] > td {border-color:#375e7366;}
.relay-records-table > tbody > tr[data-relay-row]:hover {background:#1b3645;}
.relay-conversation,.relay-dialog,.relay-companion,.relay-notice {background:#0e232e;border-color:#396074;}
.relay-private-bubble {background:#122833;border-color:#3d6377;}
.relay-private-own .relay-private-bubble {background:#1b3745;border-color:#7ec4af;border-left-color:#b9f0df;}
.relay-theme:not(.relay-home) .pagination > li.active > a {background:#b9f0df;color:#101f27;border-color:#c9f3e6;}
.relay-theme:not(.relay-home) .form-control:focus-visible {outline:2px solid #b9f0df;outline-offset:1px;}
@media (max-width:575px) {
  body.relay-theme:not(.relay-home) {--joker-inner-shadow:2px 2px 0 #081319,0 6px 12px #040b0e44;}
  .relay-theme:not(.relay-home) :is(.relay-shop-heading,.relay-rating-head,.relay-player-hero,.relay-profile-hero,.relay-client-heading,.relay-forum-banner,.relay-forum-page-heading,.relay-news-banner) {border-left-width:3px;}
}

/* The home poster and the real GameCMS server monitor form one card. */
.relay-winter.relay-home .relay-main { padding-top: clamp(12px, 1.5vw, 22px); }
/* The glow follows the doorway in the art, including while its edges are cropped. */
.relay-snow-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: clamp(422px, 36.8vw, 564px);
  border: 1px solid #6f9c9f; border-bottom: 0; border-radius: 18px 18px 0 0;
  background: #071824; color: #f5fcff;
}
.relay-polar-scene, .relay-snow-hero::after, .relay-polar-flurry {
  position: absolute; inset: 0; pointer-events: none;
}
.relay-polar-scene { z-index: 0; overflow: hidden; container-type: size; }
.relay-snow-art {
  --gate-x: 72.3%; --gate-y: 62%;
  position: absolute; inset: 0; display: block;
}
.relay-snow-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
@supports (width: 1cqh) {
  .relay-snow-art {
    inset: auto; top: 50%; left: 50%; width: max(100cqw, 270cqh);
    aspect-ratio: 1920/711; transform: translate(-50%, -50%);
  }
}
.relay-snow-art::before, .relay-snow-art::after {
  content: ""; pointer-events: none; position: absolute; inset: 0; opacity: 0;
}
.relay-snow-art::before {
  background: radial-gradient(ellipse 20% 11% at 45% 3%, #54ffbb70, transparent 98%),
    radial-gradient(ellipse 9% 12% at 61% 4%, #37caff5c, transparent);
}
.relay-snow-art::after {
  background: radial-gradient(ellipse 1.4% 12% at var(--gate-x) var(--gate-y), #fff5b4b8, transparent),
    radial-gradient(ellipse 7% 22% at var(--gate-x) var(--gate-y), #ffa02e7a, transparent);
}
.relay-polar-actor {
  position: absolute; z-index: 1; bottom: -12%; left: 43.5%; height: 106%; aspect-ratio: 3/4;
  pointer-events: none; transform: translate3d(var(--polar-x, 0px), var(--polar-y, 0px), 0);
}
.relay-polar-actor img { display: block; height: 100%; width: 100%; }
.relay-snow-hero::after {
  content: ""; z-index: 2;
  background: linear-gradient(90deg, #041320f0 0%, #051621ba 17%, #05152050 33%, transparent 48%),
    linear-gradient(0deg, #071a27ab, transparent 21%);
}
.relay-snow-hero::before, .relay-winter .relay-chat-head::after, .relay-winter .relay-footer::before {
  content: ""; pointer-events: none; position: absolute; z-index: 4; inset: 0 0 auto; height: 7px;
  clip-path: var(--winter-bank); background: linear-gradient(#e9ffffea, #b9ece2bc 47%, #87afce84);
}
.relay-polar-flurry { z-index: 3; overflow: hidden; }
.relay-polar-scene::after, .relay-polar-flurry::after {
  content: ""; display: none; pointer-events: none; position: absolute; inset: -184px -26px 0;
  background-size: 269px 184px;
}
.relay-polar-scene::after {
  background-image: radial-gradient(circle at 30px 102px,#d8ffffad .8px,transparent 1.5px),
    radial-gradient(circle at 224px 31px,#e6fbffa6 1px,transparent 1.7px),
    radial-gradient(circle at 147px 153px,#e4faff9e .8px,transparent 1.5px);
}
.relay-polar-flurry::after {
  background-size: 397px 184px;
  background-image: radial-gradient(ellipse 2.4px 3.5px at 250px 46px,#fff9e58c 30%,transparent),
    radial-gradient(ellipse 3.5px 5px at 72px 136px,#dfedf876 15%,transparent);
}
.relay-fx-active .relay-polar-inview .relay-polar-scene::after,
.relay-fx-active .relay-polar-inview .relay-polar-flurry::after {
  display: block; animation: relay-polar-drift 9s linear infinite;
}
.relay-fx-active .relay-polar-inview .relay-polar-flurry::after { animation-duration: 4.8s; animation-delay: -2s; }
.relay-fx-active .relay-polar-inview .relay-snow-art::before { animation: relay-polar-sky 8s ease-in-out infinite alternate; }
.relay-fx-active .relay-polar-inview .relay-snow-art::after { animation: relay-polar-light 4s ease-in-out infinite alternate; }
@keyframes relay-polar-drift {
  0% { transform: translate3d(0,0,0); }
  55% { transform: translate3d(-18px,101px,0); }
  100% { transform: translate3d(0,184px,0); }
}
@keyframes relay-polar-sky { from { opacity: .18; } to { opacity: .72; } }
@keyframes relay-polar-light { 0% { opacity: .08; } 55% { opacity: .68; } 100% { opacity: .32; } }

.relay-polar-lighting {
  position: absolute; z-index: 6; top: clamp(14px, 2vw, 27px); right: clamp(14px, 2vw, 27px);
  display: inline-flex; gap: 2px; padding: 3px; border-radius: 22px;
  border: 1px solid #b2d8d27d; background: #071d28eb;
}
.relay-polar-lighting[hidden] { display: none; }
.relay-polar-lighting button {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 32px; padding: 4px 11px; border: 0; border-radius: 18px;
  color: #d3e2e4; background: transparent; cursor: pointer; font: 600 12px/1.2 "Golos Text", sans-serif;
}
.relay-polar-lighting button:hover { color: white; background: #28444b; }
.relay-polar-lighting button[aria-pressed="true"] { color: #0c302f; background: #a4e8d8; }
.relay-polar-at-dusk .relay-polar-lighting button[aria-pressed="true"] { color: #30200f; background: #ffd18e; }
.relay-polar-lighting[aria-busy="true"] button[data-relay-light="dusk"] { cursor: progress; }
.relay-polar-light-status:not(:empty) {
  position: absolute; top: 100%; right: 0; width: 185px; margin-top: 5px; padding: 7px 10px;
  border-radius: 6px; background: #0b202e; color: #ffe4bd; font-size: 12px;
}
.relay-polar-dusk { opacity: 0; }
.relay-polar-dusk::before, .relay-polar-dusk::after { content: none; }
.relay-fx-active .relay-polar-inview .relay-polar-dusk { transition: opacity .55s ease; }
.relay-polar-at-dusk .relay-polar-dusk { opacity: 1; }
.relay-polar-at-dusk .relay-snow-game { color: #ffdfa3; }
.relay-polar-at-dusk .relay-snow-game::before { background: currentColor; }
.relay-polar-at-dusk .relay-polar-actor img { filter: sepia(.1) saturate(.88) brightness(1.05); }

.relay-snow-intro { z-index: 5; width: min(52%, 630px); padding: clamp(26px, 4.25vw, 68px); }
.relay-snow-game {
  display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(16px, 1.5vw, 24px); color: #92f1db;
  font: 700 12px/1.3 "Golos Text", sans-serif; letter-spacing: .19em; text-transform: uppercase;
}
.relay-snow-game::before {
  content: ""; width: 30px; height: 3px; flex: none; transform: skewX(-20deg);
  background: linear-gradient(90deg, #97f9df 58%, transparent 58% 70%, #97f9df 70% 84%, transparent 84% 92%, #97f9df 92%);
}
.relay-winter .relay-snow-hero h1 {
  margin: 0; color: #f3fcff; font: 700 clamp(94px, 10.1vw, 150px)/.98 var(--relay-heading);
  text-transform: uppercase; text-shadow: 0 3px 14px #06152179;
}
.relay-snow-hero h1 span {
  display: block; margin: 0 0 .11em .04em; color: #defaf7;
  font-size: .355em; font-weight: 500; letter-spacing: .17em;
}
.relay-snow-hero h1 strong { display: block; width: fit-content; color: #f6fcff; font-weight: 700; letter-spacing: -.025em; }
@supports (background-clip: text) {
  .relay-snow-hero h1 strong {
    background: linear-gradient(165deg, #fff 20%, #edfdf9 46%, #b7eee0 73%, #81bac8);
    background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 5px #05131e9e);
  }
}
.relay-snow-caption { max-width: 32ch; margin: 15px 0 21px; color: #eef7fa; font-size: 15px; line-height: 1.5; }
.relay-winter .relay-snow-caption a { color: #b1f8e9; text-decoration: underline; text-underline-offset: 3px; }
.relay-snow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.relay-winter .relay-snow-actions .relay-button {
  min-height: 50px; padding: 8px 16px; border-radius: 7px; font-size: 14px; text-shadow: none;
}
.relay-winter .relay-snow-actions .relay-polar-play {
  display: inline-flex; gap: 10px; align-items: center; justify-content: flex-start;
  min-width: 174px; max-width: 100%; padding-inline: 13px 15px; text-align: left;
  border-color: #ffe4ab; color: #241c14; background: linear-gradient(110deg, #ffe2a4, #ffbd65);
  box-shadow: inset 0 1px #ffefbf, 0 5px 21px #ffb45224;
}
.relay-winter .relay-snow-actions .relay-polar-play:hover { background: #ffe3a7; color: #211a12; }
.relay-polar-play-icon {
  display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 50%;
  border: 1px solid #8e632e8c;
}
.relay-polar-play-icon::after {
  content: ""; margin-left: 2px; border-block: 4px solid transparent; border-left: 6px solid currentColor;
}
.relay-polar-play-copy { display: grid; gap: 3px; min-width: 0; line-height: 1.1; }
.relay-polar-play-copy strong { font-weight: 700; }
.relay-polar-play-copy small { color: #4c361c; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.relay-polar-play-copy small[hidden] { display: none; }
.relay-winter .relay-snow-actions .relay-button-quiet { border-color: #95aea884; color: #e0f6ee; background: #0b202bcc; }
.relay-winter .relay-snow-actions .relay-button-quiet:hover { background: #1d3d45; }
.relay-winter .relay-monitor {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 18px;
  margin: 0; padding: 10px clamp(12px, 2vw, 27px);
  border: 1px solid #668398; border-top: 2px solid #b6d5e6; border-radius: 0 0 16px 16px;
  background: linear-gradient(102deg, #13363d, #0c242f 60%, #132b33);
  box-shadow: 0 10px 24px #020e1a60;
}
.relay-winter .relay-snow-server-title {
  grid-area: 1 / 1; margin: 0; color: #dcefff;
  font: 600 clamp(17px, 1.6vw, 22px)/1.2 var(--relay-heading); text-transform: uppercase;
}
.relay-winter .relay-servers {
  grid-area: 1 / 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 8px;
}
.relay-winter .relay-server {
  --relay-tint: #a5dbfb; min-height: 66px; max-width: none; gap: 11px; padding: 7px 12px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  border: 1px solid #7796ac70; border-radius: 9px; background: #0c2032; box-shadow: none;
}
.relay-winter .relay-server::before { background: linear-gradient(90deg, #0d2032fa, #0e2234e0 57%, #0f263aad); }
.relay-winter .relay-server::after { content: none; }
.relay-winter .relay-server-ring { width: 44px; height: 44px; box-shadow: none; background: conic-gradient(from 15deg, var(--relay-tint) var(--relay-fill, 0%), #3c5265 0); }
.relay-winter .relay-server-ring strong { background: #13283d; }
.relay-winter .relay-server-unavailable .relay-server-ring { background: #546372; }
.relay-winter .relay-server-address { color: #e2eff7; }
.relay-winter .relay-server-info h3 span { color: var(--winter-amber); }
.relay-winter .relay-server-play { min-height: 42px; width: 42px; border-radius: 7px; color: #132536; box-shadow: none; }
.relay-winter .relay-server-tools { grid-auto-flow: column; grid-template-rows: 1fr; }
.relay-winter .relay-server-tools button, .relay-winter .relay-reload {
  width: 34px; min-height: 34px; border: 1px solid #658298; border-radius: 7px; color: #dcefff; background: #1b3348;
}
.relay-winter .relay-server-tools button:hover, .relay-winter .relay-reload:hover { background: #315069; }
.relay-winter .relay-reload { grid-area: 1 / 3; position: static; width: 38px; min-height: 38px; }
.relay-winter .relay-status-visible:not(:empty), .relay-winter .relay-monitor > noscript { grid-column: 1/-1; }
.relay-winter .relay-servers > .relay-empty { padding-block: 12px; border-color: #607890; background: #112639; color: #dbeaf8; }

/* Community entrances. Each destination has its own seasonal photo. */
.relay-winter .relay-shortcuts { gap: 10px; margin-top: 14px; }
.relay-winter .relay-tile-shop { --tile-art: var(--winter-shop); --tile-tint: #ffd399; }
.relay-winter .relay-tile-forum { --tile-art: var(--winter-forum); --tile-tint: #9af4e5; }
.relay-winter .relay-shortcut { border-color: var(--relay-border); box-shadow: var(--joker-shadow); }
.relay-winter .relay-shortcut-featured {
  align-items: end; min-height: clamp(142px, 13vw, 204px); padding: clamp(14px, 1.6vw, 24px);
  border-color: #8caebe94; border-radius: 12px; background: #0c1c2a;
}
.relay-winter .relay-shortcut-featured::before { inset: 0; background-position: center 50%; }
.relay-winter .relay-shortcut-featured::after { background: linear-gradient(90deg, #081725b8, #0b1c2a33 48%, transparent 71%), linear-gradient(0deg, #081a2b75, transparent 60%); }
.relay-winter .relay-shortcut-feature-content strong { margin-top: 7px; color: #f4f9ff; font-size: clamp(24px, 2.8vw, 39px); line-height: 1.15; }
.relay-winter .relay-shortcut-feature-content small { color: #e0edf5; }
.relay-winter .relay-shortcut-featured .relay-shortcut-icon { width: 29px; height: 29px; color: var(--tile-tint); background: #0c1d2ccc; }
.relay-winter .relay-shortcut-arrow { width: 31px; height: 31px; border-color: #e6f4ff96; color: #fff; background: #0c1d2dd9; }
.relay-winter .relay-shortcut-featured { border-left: 3px solid var(--tile-tint); }
.relay-winter .relay-shortcut-featured:is(:hover, :focus-visible) .relay-shortcut-arrow { background: var(--tile-tint); color: #10232c; }
.relay-winter .relay-shortcut-quick { border-color: #47647b; border-radius: 8px; background: linear-gradient(120deg, #203b52, #102437); box-shadow: inset 0 1px #e8f7ff21; }
.relay-winter .relay-shortcut-quick .relay-shortcut-icon { color: #cbeaff; border-color: #47677c; background: #122a3a; }
.relay-winter .relay-shortcut:hover { border-color: #b6dff3; box-shadow: inset 0 1px #d5f3ff70, 0 3px 15px #749bb633; }

/* Page headers, feeds and site furniture. */
body.relay-winter:not(.relay-home) {
  --joker-inner: var(--winter-panel); --joker-line: #4a6780; --joker-row: #132a40;
  --joker-row-hover: #223f57; --joker-inner-shadow: var(--joker-shadow);
}
body.relay-theme.relay-winter :is(.relay-shop-heading, .relay-rating-head, .relay-player-hero, .relay-client-heading, .relay-forum-banner, .relay-forum-page-heading, .relay-news-banner) {
  border-color: #648197; border-left: 3px solid #d5eaf7; border-top-color: #c2d9e7;
  background: linear-gradient(90deg, #0b1f34f2 4%, #10283bdd 34%, #0d22366b 65%, #0b1c3045),
    var(--winter-heading-image, var(--winter-forest)) center / cover no-repeat, #13293e;
  box-shadow: var(--joker-shadow);
}
.relay-winter .relay-shop-heading { --winter-heading-image: var(--winter-shop); }
.relay-winter .relay-forum-banner { --winter-heading-image: var(--winter-forum); }
.relay-winter :is(.relay-news-banner, .relay-rating-head, .relay-player-hero) { --winter-heading-image: var(--winter-sky); }
.relay-winter :is(.relay-shop-heading, .relay-rating-head, .relay-player-hero, .relay-forum-banner, .relay-news-banner)::before { content: none; }
.relay-winter :is(.relay-shop-heading, .relay-forum-banner, .relay-news-banner) p { color: #d9e8f4; }
.relay-winter .relay-forum-banner .relay-forum-manage { background: #11263be8; }
.relay-winter :is(.relay-panel, .relay-chat, .relay-project-stats, .relay-forum-panel, .relay-news-preview, .relay-news-story, .relay-auth) {
  border-color: var(--relay-border); background: var(--winter-panel); box-shadow: var(--joker-shadow);
}
.relay-winter :is(.relay-forum-feed, .relay-events-feed, .relay-visits-feed, .relay-news-feed) {
  --line-tint: #93e8d9; --line-fill: #edf7ff; --line-glow: transparent; --line-wash: #91cdf714;
}
.relay-winter .relay-news-feed { --line-tint: #ffd29b; }
.relay-winter .relay-line-head {
  min-height: 68px; padding-inline: 8px; border-bottom: 1px solid #8eafc455;
  background: linear-gradient(90deg, #123238dd, #0c222e8a 70%, transparent);
}
.relay-winter :is(.relay-forum-feed, .relay-news-feed) .relay-line-head {
  border-left: 2px solid var(--line-tint); padding-inline: clamp(9px, 1.4vw, 21px); border-radius: 9px;
  background: linear-gradient(90deg, #0b212bed 7%, #0b212bd1 33%, #0b212b33 70%, #081925b8),
    var(--winter-sky) center 22% / cover, #10252e;
}
.relay-winter .relay-news-feed .relay-heading-icon { border-color: #b39467; color: #ffda99; background: #312e25; }
.relay-winter .relay-line-heading h2 {
  color: #eff8ff; font: 600 clamp(21px, 2.6vw, 32px)/1.15 var(--relay-heading); letter-spacing: .015em; text-shadow: none;
}
.relay-winter .relay-line-heading p { color: #c3d6e5; }
.relay-winter .relay-heading-icon, .relay-winter .relay-stats-mark, .relay-winter .relay-donation-icon {
  border: 1px solid #8bb2cc; color: #dff3ff; background: #1b3850; border-radius: 8px;
  box-shadow: inset 0 1px #e9f8ff35; transform: none;
}
.relay-winter .relay-line-link, .relay-winter .relay-donation-action, .relay-winter .relay-visits-count {
  border-color: #728fa1; color: #eaf5fd; background: #182f43; box-shadow: none;
}
.relay-winter .relay-line-link:hover, .relay-winter .relay-donation-action:hover { border-color: #b9d8e9; color: #fff; background: #2a4357; }
.relay-winter .relay-donations {
  padding: clamp(12px, 1.4vw, 20px); border: 1px solid #7890a3; border-top: 2px solid #e6d3ad; border-radius: 12px;
  background: linear-gradient(90deg, #172b3ff7 10%, #1b2f3dd6 60%, #17273cc2), var(--winter-forest) center 62% / cover;
  box-shadow: var(--joker-shadow);
}
.relay-winter .relay-donations::before { content: none; }
.relay-winter .relay-donation-heading h2, .relay-winter .relay-chat-head h2 { color: #f1f8ff; letter-spacing: .015em; text-shadow: none; }
.relay-winter .relay-donation-icon { color: #ffdba6; }
.relay-winter .relay-chat { --relay-chat-pink: #b0dbf5; --relay-chat-cyan: #b0dbf5; --relay-chat-green: #a9e3ca; }
.relay-winter .relay-chat-head { border-color: #49667c; background: linear-gradient(90deg, #1a344c, #12293c); }
.relay-winter .relay-chat-head::after { height: 5px; }
.relay-winter .relay-chat-head h2 { font-family: var(--relay-heading); }
.relay-winter .relay-chat #chat_messages { background: #0e2133; }
.relay-winter .relay-chat #chat_messages:empty { height: 94px; }
.relay-winter .relay-chat #chat_messages:has(> .empty-element:only-child) { height: 94px; }
.relay-winter .relay-chat:has(.relay-chat-presence[open], .relay-chat-help[open]) { overflow: visible; }
.relay-winter .relay-chat-compose { border-color: var(--relay-border); background: #142a40; }
.relay-winter .relay-chat #chat_message_input { background: #0a1b2b; color: #eff7ff; }
.relay-winter :is(.relay-activity, .relay-events-list .relay-event, .relay-about, .relay-visit-user, .relay-stats-metric, .relay-stats-group) {
  border-color: #4b6980; background: linear-gradient(115deg, #1b344a, #102538);
}
.relay-winter .relay-news-excerpt { color: #d2e0eb; }
.relay-winter .relay-news-preview { border-top-color: #a6c1d3; }
.relay-winter .relay-footer {
  position: relative; border-top: 1px solid #7d9bb2;
  background: linear-gradient(90deg, #071f2be8, #103634c4 62%, #091d2dd9), var(--winter-sky) center 36% / cover;
}
.relay-winter .relay-footer::before { height: 7px; }
.relay-winter .relay-footer-links h2 { color: #ffdcaa; }
.relay-winter .relay-dock { border-color: #7290a8; background: #0d2235f7; }
.relay-winter .relay-dock a[aria-current] { color: #ffdcaa; background: #263c4e; }

/* The button controls both moving layers. The artwork also works without JS. */
.relay-fx-ribbon {
  display: flex; align-items: center; gap: 12px; min-height: 29px;
  padding: 1px max(13px, calc((100% - 1460px) / 2)); background: #0a192a; border-bottom: 1px solid #7490a34d;
}
.relay-fx-lights {
  flex: 1; min-width: 0; height: 20px;
  background:
    radial-gradient(ellipse 4px 5px at 14px 11px, #fff4c9 24%, #ffd294 57%, transparent 85%) 0 0 / 82px 20px repeat-x,
    radial-gradient(ellipse 3px 4px at 54px 7px, #edfaff 30%, #b4e9ff 60%, transparent 92%) 0 0 / 82px 20px repeat-x,
    radial-gradient(ellipse 10px 9px at 14px 11px, #ffca7e70, transparent) 0 0 / 82px 20px repeat-x,
    radial-gradient(ellipse 7px 6px at 54px 7px, #a9dcff78, transparent) 0 0 / 82px 20px repeat-x,
    repeating-radial-gradient(ellipse 45px 11px at 26px -4px, transparent 88%, #698292b3 95%, transparent 100%) 0 0 / 82px 8px repeat-x;
}
.relay-fx-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 26px; padding: 2px 9px; border: 1px solid #638297; border-radius: 5px;
  background: #13293c; color: #e6f4ff; font: 600 11px/1.2 "Golos Text", sans-serif; cursor: pointer;
}
.relay-fx-toggle::before { content: ""; width: 6px; height: 6px; background: #788e9d; border-radius: 50%; }
.relay-fx-toggle[aria-pressed="true"]::before { background: #ffce8b; }
.relay-fx-snow {
  position: fixed; z-index: 10; inset: 0; pointer-events: none; overflow: hidden; display: none;
  mask-image: linear-gradient(90deg, #000 0%, #0009 12%, #0004 27%, #0003 55%, #0006 77%, #000 100%);
}
.relay-fx-active .relay-fx-snow { display: block; }
.relay-fx-snow::before, .relay-fx-snow::after {
  content: ""; position: absolute; inset: -240px -32px 0; pointer-events: none;
  background-repeat: repeat; background-size: 237px 240px; animation: relay-snow-fall 13s linear infinite;
}
.relay-fx-snow::before {
  background-image: radial-gradient(circle at 13px 36px, #f3fbffe0 1px, transparent 2px),
    radial-gradient(circle at 90px 179px, #f2fbffcf 1.1px, transparent 2px),
    radial-gradient(circle at 151px 83px, #c3dfefe0 .8px, transparent 1.5px),
    radial-gradient(circle at 202px 210px, #e1f3ffd9 1.1px, transparent 1.8px),
    radial-gradient(circle at 199px 29px, #cde8fbc2 .8px, transparent 1.5px);
}
.relay-fx-snow::after {
  background-size: 331px 240px; animation-duration: 7s; animation-delay: -3s;
  background-image: radial-gradient(ellipse 2.5px 3px at 30px 105px, #fbfdffe0 30%, transparent),
    radial-gradient(ellipse 2px 3px at 176px 209px, #e6f7ffe0 30%, transparent),
    radial-gradient(circle at 254px 48px, #f6fbffd9 1.6px, transparent 3px);
}
.relay-fx-active .relay-fx-lights { animation: relay-snow-lamps 6s ease-in-out infinite alternate; }
@keyframes relay-snow-fall {
  0% { transform: translate3d(0, 0, 0); }
  45% { transform: translate3d(15px, 108px, 0); }
  100% { transform: translate3d(0, 240px, 0); }
}
@keyframes relay-snow-lamps { from { opacity: .7; } to { opacity: 1; } }

@media (max-width: 850px) {
  .relay-winter .relay-monitor { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .relay-winter .relay-reload { grid-area: 1 / 2; min-height: 34px; width: 34px; }
  .relay-winter .relay-servers { grid-area: 2 / 1 / 3 / -1; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .relay-snow-intro { width: 55%; padding: 25px; }
  .relay-polar-actor { left: 41%; height: 95%; bottom: -3%; }
}
@media (max-width: 767px) {
  .relay-theme.relay-winter .relay-wordmark {
    white-space: normal; text-wrap: balance; overflow-wrap: anywhere;
    font-size: clamp(14px, 3.9vw, 18px); line-height: 1.15; letter-spacing: .025em;
  }
}
@media (max-width: 640px) {
  body.relay-theme.relay-winter { background: linear-gradient(#0b3139, #091e2a 720px, #091924); }
  .relay-snow-hero { align-items: end; min-height: clamp(468px, 113vw, 560px); border-radius: 12px 12px 0 0; }
  .relay-polar-scene { bottom: 17%; }
  .relay-snow-art { --gate-x: 57.8%; --gate-y: 62%; }
  @supports (width: 1cqh) {
    .relay-snow-art { width: max(100cqw, 115.4cqh); aspect-ratio: 780/676; }
    .relay-polar-dusk { width: max(100cqw, 110.49cqh); aspect-ratio: 780/706; }
  }
  .relay-polar-lighting { top: 11px; right: 10px; padding: 2px; }
  .relay-polar-lighting button { min-height: 32px; padding: 3px 8px; font-size: 11px; }
  .relay-polar-actor {
    top: 9%; bottom: auto; left: auto; right: -3%; height: 73%;
    mask-image: linear-gradient(#000 54%, #000e 66%, transparent 99%);
  }
  .relay-snow-hero::after {
    background: linear-gradient(0deg, #071924 6%, #071924f7 18%, #071924bc 33%, transparent 58%),
      linear-gradient(90deg, #07182483, #07182428 46%, transparent 66%);
  }
  .relay-snow-intro { width: 100%; padding: 20px clamp(14px, 4.5vw, 26px) 20px; }
  .relay-snow-game {
    position: absolute; top: 15px; left: 15px; gap: 7px; margin: 0; padding: 5px 8px;
    background: #081c26c4; border: 1px solid #98d7d256; border-radius: 4px;
    font-size: 10px; letter-spacing: .12em;
  }
  .relay-snow-game::before { width: 14px; height: 2px; }
  .relay-winter .relay-snow-hero h1 { font-size: clamp(86px, 21vw, 114px); }
  .relay-snow-hero h1 span { font-size: .36em; }
  .relay-snow-caption { max-width: 30ch; margin: 9px 0 14px; font-size: 13px; }
  .relay-snow-actions { gap: 7px; }
  .relay-winter .relay-snow-actions .relay-button { min-height: 46px; padding-inline: 10px; font-size: 13px; }
  .relay-winter .relay-snow-actions .relay-polar-play { gap: 7px; min-width: 152px; }
  .relay-polar-play-icon { width: 22px; height: 22px; }
  .relay-winter .relay-monitor { padding: 8px; }
  .relay-winter .relay-snow-server-title { padding-left: 4px; }
  .relay-winter .relay-server { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 5px; padding: 6px; }
  .relay-winter .relay-server-ring { width: 34px; height: 34px; }
  .relay-winter .relay-server-info h3 { font-size: 15px; }
  .relay-winter .relay-server-info p { flex-wrap: wrap; gap: 2px 5px; }
  .relay-winter .relay-server-actions { gap: 4px; }
  .relay-winter .relay-server-tools { grid-template-rows: repeat(2, 27px); gap: 3px; }
  .relay-winter .relay-server-tools button { width: 29px; min-height: 27px; padding: 0; }
  .relay-winter .relay-server-play { width: 33px; min-height: 50px; }
  .relay-winter .relay-shortcuts { gap: 8px; }
  .relay-winter .relay-shortcut-featured { grid-column: 1/-1; min-height: 127px; }
  .relay-winter .relay-shortcut-quick { grid-column: span 3; }
  .relay-winter .relay-line-head { min-height: 58px; }
  .relay-fx-ribbon { padding-inline: 8px; }
  .relay-fx-snow { mask-image: linear-gradient(90deg, #000a, #0002 24%, #0002 76%, #000a); }
  .relay-fx-snow::before { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .relay-fx-active:not(.relay-fx-motion-optin) .relay-fx-snow { display: none; }
  .relay-fx-active:not(.relay-fx-motion-optin) .relay-fx-lights { animation: none; }
}
@media (max-width: 365px) {
  .relay-polar-lighting button i { display: none; }
  .relay-snow-game { top: 14px; left: 12px; padding: 5px 6px; font-size: 9px; letter-spacing: .08em; }
  .relay-snow-game::before, .relay-polar-rules-long { display: none; }
  .relay-winter .relay-snow-actions .relay-button-quiet { padding-inline: 8px; }
  .relay-theme.relay-winter .relay-wordmark { font-size: 12px; letter-spacing: 0; overflow-wrap: normal; }
  .relay-winter .relay-header-bar { gap: 5px; }
}
@media (forced-colors: active) {
  .relay-snow-hero h1 strong { background: none; color: CanvasText; filter: none; }
  .relay-fx-snow, .relay-polar-flurry, .relay-polar-scene::after { visibility: hidden; }
  .relay-snow-game, .relay-snow-hero h1 span, .relay-snow-caption { background: Canvas; color: CanvasText; }
}
@media print {
  .relay-fx-snow, .relay-fx-ribbon { display: none !important; }
}
