/* Customer correction 07.10.2026: original palette/suns, supplied logo, soft gradient. */
:root {
  --z-green: #9bcb68;
  --z-accent: #9bcb68;
  --z-blue: #5aa2d7;
  --z-ink: #0b0b0b;
  --z-surface: #101211;
  --z-panel: #151816;
  --z-panel-2: #1a1d1b;
  --z-muted: #92968f;
  --span: #9bcb68;
  --green: #9bcb68;
  --blue: #5aa2d7;
  --money: #9bcb68;
  --span-low: rgba(155,203,104,.07);
  --span-10: rgba(155,203,104,.1);
  --span-middle: rgba(155,203,104,.22);
  --span-half: rgba(155,203,104,.45);
  --money-bg: rgba(155,203,104,.08);
  --bg: #080808;
  --card: #121212;
  --navbar: #080808;
  --button: #222;
  --button-hover: #303030;
  --input-form: #1a1a1a;
  --text-custom: #aaa;
  --text-secondary: #aaa;
  --minimal-radius: 0;
  --minimal-radius-lg: 0;
  --z-shell-width: 2800px;
}
.global-container > .container-fluid { width: 92%; max-width: var(--z-shell-width); }
.page-home .zaraysk-home-section, .page-home .container-fluid > .row:not(.navbar) { width: 100%; max-width: none; }
.footer_global { width: 92%; max-width: var(--z-shell-width); margin-inline: auto; }
body, body[class*="theme__gradient-"], .global-container { background: #0b0b0b !important; }
.global-container::before { display: block !important; inset: 0; height: 100%; background-image: radial-gradient(ellipse 65% 680px at 5% 12%,rgba(155,203,104,.19),transparent 78%),radial-gradient(ellipse 55% 720px at 100% 55%,rgba(172,211,95,.13),transparent 82%); background-size: 100% 100%; background-repeat: no-repeat; }
.global-container::after { display: none !important; }
.card, .servers_filter.card { background-image: none !important; }
.zaraysk-wordmark { display: block; width: 132px; height: 20px; object-fit: contain; }
.zaraysk-brand-mark, .zaraysk-footer-mark { width: 26px; height: 26px; flex-basis: 26px; }
.logo-text { min-width: 0; gap: 9px; }
.navbar, .navbar_menu_left, .navbar_usermenu { min-height: 58px; height: 58px; }
.drpdwn_menu .dropbtn, .drpdwn_menu.compact .dropbtn { min-height: 58px; height: 58px; padding-inline: 12px !important; }
.dropdown_block { top: 58px; }
.zaraysk-page-head { min-height: 136px; padding: 22px 24px; align-items: center; background: #0e0e0e; }
.zaraysk-page-head h1 { font-size: clamp(28px, 3.3vw, 48px); letter-spacing: -.06em; }
.zaraysk-page-head__meta { flex-basis: 340px; max-width: 340px; color: var(--z-paper); font-size: 12px; line-height: 1.6; letter-spacing: .06em; }
.zaraysk-page-head__mark { display: none; }
.server_block, .server_block.is-paper, .server_block.is-featured {
  min-height: 252px;
  color: var(--z-paper);
  background: #121212 !important;
  border-color: var(--z-line) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.server_block.is-featured { border-color: var(--z-green) !important; background: var(--z-green) !important; color: #080808; }
.server_block.is-featured .server_name_custom { color: #080808 !important; }
.server_block.is-featured .server_map_name { color: #303820; }
.server_block.is-featured .server-card__top { color: #080808; }
.server_block .server_button span { color: inherit; }
.server_block .server_name_ip { width: 100%; }
.server_block .server_name_custom { width: auto; max-width: 100%; }
.server_block.is-featured .server-card__players span { color: #303820 !important; }
.server_block.is-featured .top_server_block::after { display: block; content: ''; left: auto; right: 18px; top: 10px; width: 108px; height: 108px; background: url('../img/zaraysk-face.svg') center / contain no-repeat; filter: brightness(0); opacity: .14; }
.page-home .server_block.is-featured .server_button { background: linear-gradient(#21251a,#080808) !important; color: var(--z-green) !important; border: 0; }
.server_block .server_name_custom { font-size: clamp(23px,1.8vw,40px); line-height: 1.15; }
.page-home .servers_wrap > .server_block:only-child { min-height: 270px; }
.page-home .servers_wrap > .server_block:only-child .top_server_block { min-height: 135px; }
.page-home .servers_wrap > .server_block:only-child .server_name_custom { max-width: min(calc(100% - 210px),1200px); font-size: clamp(30px,3.2vw,68px); }
.page-home .servers_wrap > .server_block:only-child .top_server_block::after { width: 170px; height: 170px; top: -20px; right: 36px; opacity: .85; }
.page-home .servers_wrap:has(> .server_block:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
.servers_wrap { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.server_block, .server_block.is-paper, .server_block.is-featured { width: 100%; align-items: stretch; gap: 0; }
.server_block .top_server_block { min-height: 115px; width: 100%; padding: 16px; }
.server_block .top_server_block::before, .server_block:not(.is-featured) .top_server_block::after { display: none; }
.server_block:hover { transform: none; }
.server_block .map { display: none !important; }
.server-card__status { color: var(--z-paper); }
.server-card__status-dot { background: var(--z-green); }
.server_block.is-featured .server_name_custom, .server_block.is-paper .server_name_custom { color: var(--z-paper); }
.server_button, .server_block.is-featured .server_button, .server_block.is-paper .server_button {
  color: #080808 !important;
  background: linear-gradient(180deg, #d3ff85, #bfff40 55%, #a6dd36) !important;
  border: 1px solid #d3ff85;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.zaraysk-poster-grid { gap: 12px; }
.zaraysk-nav-card { display: flex; flex-direction: column; min-height: 212px; padding: 18px; background: linear-gradient(165deg,#1b1b1b,#101010 65%); border-radius: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.zaraysk-nav-card:hover { transform: none; border-color: var(--z-green); background: linear-gradient(165deg,#252525,#111 65%); }
.zaraysk-nav-card__top { display: flex; align-items: center; gap: 10px; color: var(--z-green); font-size: 11px; font-weight: 800; }
.zaraysk-nav-card__top img { width: 32px; height: 32px; margin-left: auto; }
.zaraysk-nav-card__top > span:last-child { font-size: 20px; }
.zaraysk-nav-card h3 { margin: 18px 0 8px; max-width: 22ch; font-family: var(--z-display); font-size: clamp(20px,1.8vw,38px); line-height: 1.15; letter-spacing: -.055em; color: var(--z-paper); }
.zaraysk-nav-card p { max-width: 60ch; }
.zaraysk-nav-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #aaa; overflow-wrap: anywhere; }
.zaraysk-nav-card__tag { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--z-line); color: var(--z-green); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.page-store .shop_header { height: 124px; min-height: 124px; background: #161616 !important; }
.page-store .shop_header::after { background-image: url('../img/zaraysk-logo-mark.png'); width: 84px; height: 84px; right: 14px; opacity: .14; }
.page-store .shop_product_title p, .page-store .shop_product_gradient_text { font-size: 19px !important; white-space: normal; }
.page-store .shop_product_button:not(:disabled), .admin_nav > .active { color: #080808 !important; background: linear-gradient(180deg,#d3ff85,#bfff40) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5) !important; }
.page-store .shop_header video { display: none; }
.page-store .shop_server.active { color: #080808 !important; }
.online__square-figure { box-shadow: none !important; }
.zaraysk-service-notice { border-left-color: var(--z-green); }
/* Actual visitor-chat module; these selectors are also repeated after module CSS. */
.page-home .container-fluid > .zaraysk-chat { order: 4; width: 100%; }
.page-home .zaraysk-posters-section { order: 3; }
.page-home .container-fluid > .row:has(.info-block__wrapper-global) { order: 5; }
.zaraysk-chat { margin: 22px 0; padding: 22px; border: 1px solid var(--z-line); background: #101010; border-radius: 0; }
.zaraysk-chat__header h2 { font-family: var(--z-display); font-size: 20px; color: var(--z-paper); }
.zaraysk-chat__messages { max-height: 280px; padding: 0; border-color: #303030; }
.zaraysk-chat__message p, .zaraysk-chat__intro, .zaraysk-chat__login { max-width: 90ch; }
.zaraysk-chat__form { max-width: 1040px; }
.zaraysk-chat__message { border-color: #252525; }
.zaraysk-chat__intro, .zaraysk-chat__login, .zaraysk-chat__actions > span, .zaraysk-chat__meta time { color: #aaa; }
.zaraysk-chat__form { display: block; padding: 0; }
.zaraysk-chat__form textarea { background: #080808; border-color: #444; min-height: 84px; }
.zaraysk-chat__actions button { background: linear-gradient(180deg,#d3ff85,#bfff40); color: #080808; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.zaraysk-chat__delete { color: #aaa; border-color: #444; }
.server_block.is-featured .server-card__players span, .server_block.is-paper .server-card__players span { color: #aaa; }
/* Restore the existing concert-poster palette and decorative suns. */
.server_block { background: var(--z-panel) !important; }
.server_block.is-paper { background: var(--z-paper) !important; color: var(--z-ink); }
.server_block.is-paper .server_name_custom { color: var(--z-ink) !important; }
.server_block:is(.is-featured,.is-paper) .server-card__top span { color: var(--z-ink); }
.server_block.is-paper .server-card__players span { color: #50564b; }
.server_block.is-featured .top_server_block::after { display: none !important; }
.server-card__sun { display: block !important; width: 92px; height: 92px; top: 8px; right: 16px; opacity: .72; }
.page-home .servers_wrap > .server_block:only-child .server-card__sun { width: 150px; height: 150px; top: -12px; right: 36px; opacity: .95; }
.server_button, .server_block.is-featured .server_button, .server_block.is-paper .server_button { background: var(--z-blue) !important; border-color: var(--z-blue); box-shadow: none; }
.page-home .server_block.is-featured .server_button { background: var(--z-blue) !important; color: var(--z-ink) !important; }
.zaraysk-nav-card:nth-child(odd) { background: var(--z-green); }
.zaraysk-nav-card:nth-child(odd) :is(h3,p,.zaraysk-nav-card__top,.zaraysk-nav-card__tag) { color: var(--z-ink); }
.zaraysk-nav-card:nth-child(odd) .zaraysk-nav-card__tag { border-color: rgba(11,11,11,.25); }
.zaraysk-nav-sun { width: 32px; height: 32px; margin-left: auto; fill: currentColor; --sun-face: var(--z-ink); }
.zaraysk-nav-card:nth-child(odd) .zaraysk-nav-sun { --sun-face: var(--z-green); }
.zaraysk-nav-card:nth-child(odd) .zaraysk-nav-card__top span { color: var(--z-ink); }
.zaraysk-nav-card:nth-child(even) .zaraysk-nav-card__tag { color: var(--z-blue); }
.page-store .shop_product_button:not(:disabled), .admin_nav > .active, .zaraysk-chat__actions button { background: linear-gradient(#b1d98c,#9bcb68) !important; color: var(--z-ink) !important; }
@media(max-width:1120px) {
  .zaraysk-page-head__meta { flex-basis: 260px; }
  .servers_wrap, .zaraysk-poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .zaraysk-poster-card:nth-child(3):last-child { width: 100%; }
}
@media(max-width:860px) {
  .zaraysk-page-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .zaraysk-page-head__meta { display: block; flex: none; max-width: 100%; text-align: left; padding: 0; }
  .zaraysk-page-head h1 { font-size: clamp(25px,5vw,40px); }
}
@media(max-width:768px) {
  .global-container > .container-fluid, .footer_global { width: 100%; }
  .zaraysk-wordmark { width: 114px; height: 16px; }
  .zaraysk-brand-mark { width: 24px; height: 24px; flex-basis: 24px; }
  .logo-text { padding-right: 0; }
  .navbar_menu_left { gap: 4px; }
  .navbar_usermenu { margin-left: 8px; }
  .zaraysk-page-head { padding: 18px; }
  .zaraysk-page-head__meta { font-size: 11px; }
  .zaraysk-poster-grid { grid-template-columns: 1fr !important; }
  .servers_wrap { grid-template-columns: minmax(0,1fr) !important; }
  .page-home .servers_wrap:has(> .server_block:nth-child(2):last-child) { grid-template-columns: minmax(0,1fr) !important; }
  .page-home .servers_wrap > .server_block:only-child { min-height: 235px; }
  .page-home .servers_wrap > .server_block:only-child .top_server_block { min-height: 115px; }
  .page-home .servers_wrap > .server_block:only-child .server_name_custom { max-width: 100%; font-size: 28px; }
  .page-home .servers_wrap > .server_block:only-child .top_server_block::after { width: 95px; height: 95px; top: 0; right: 12px; opacity: .13; }
  .server_block:nth-child(3):last-child { grid-column: auto; }
  .zaraysk-poster-card:nth-child(3):last-child { width: 100%; grid-column: auto; }
  .zaraysk-nav-card { min-height: 180px; padding: 16px; }
  .zaraysk-nav-card h3 { font-size: 20px; margin-top: 12px; }
  .zaraysk-nav-card__top img { width: 26px; height: 26px; }
  .server_block, .server_block.is-featured, .server_block.is-paper { min-height: 235px; }
  .zaraysk-chat { padding: 16px; }
  .server_button span { white-space: nowrap; }
  .server_button.play { width: 96px; min-width: 96px; }
  .server-card__bottom { grid-template-columns: minmax(0,1fr) 96px; }
  .page-home .servers_wrap > .server_block:only-child .server-card__sun { width: 92px; height: 92px; top: 8px; right: 16px; opacity: .3; }
}
