:root {
  --bg: #070d19; --bg2: #0b1424; --card: rgba(16, 24, 40, .82); --card-solid: #101828;
  --border: rgba(34, 211, 238, .22); --border-soft: rgba(255, 255, 255, .07);
  --text: #f2f5fa; --muted: #8f9bb0; --accent: #22d3ee; --accent2: #2dd6e0; --green: #3ddc84;
  --gold: #22d3ee; --red: #ef4444; --radius: 16px; --shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; zoom: .88; }
body {
  margin: 0; color: var(--text); font-family: "Poppins", system-ui, sans-serif; line-height: 1.5;
  background:
    radial-gradient(135% 105% at -5% 22%, rgba(34, 211, 238, .18) 0px, rgba(34, 211, 238, .07) 40%, rgba(0,0,0,0) 74%),
    radial-gradient(130% 100% at 105% 18%, rgba(34, 211, 238, .13) 0px, rgba(34, 211, 238, .05) 42%, rgba(0,0,0,0) 76%),
    linear-gradient(180deg, rgba(3,4,8,.06) 0%, rgba(3,4,8,.28) 45%, rgba(3,4,8,.55) 100%),
    #030408;
  background-attachment: fixed, fixed, fixed;
  min-height: 100vh; display: flex; flex-direction: column;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035;
}
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: "Rajdhani", "Poppins", sans-serif; letter-spacing: .02em; margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

.demo-banner { text-align: center; font-size: .78rem; padding: 8px 14px; background: rgba(34, 211, 238, .08); border-bottom: 1px solid var(--border); color: var(--muted); }
.demo-pill { background: rgba(34, 211, 238, .16); border: 1px solid var(--border); color: var(--accent); padding: 1px 9px; border-radius: 999px; font-weight: 700; letter-spacing: .12em; font-size: .68rem; margin-right: 6px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); background: rgba(7, 13, 25, .45); border-bottom: 1px solid var(--border-soft); }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.35rem; white-space: nowrap; }
.brand b { color: var(--accent); }
.brand em { font-style: normal; font-size: .7rem; background: linear-gradient(135deg, var(--accent), var(--green)); color: #04121a; padding: 1px 8px; border-radius: 6px; margin-left: 4px; vertical-align: 3px; font-family: "Poppins", sans-serif; font-weight: 700; }
.brand-logo { height: 40px; width: auto; animation: brand-logo-float 4.5s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .4)); }
@keyframes brand-logo-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -3px; rotate: -3deg; } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .brand-logo, .footer-logo { animation: none; } }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--muted); font-weight: 500; font-size: .92rem; padding: 9px 15px; border-radius: 11px; border: 1px solid var(--border); position: relative; transition: .18s; text-transform: uppercase; letter-spacing: .02em; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); border-color: var(--border); }
.nav a.on { color: var(--text); background: rgba(34, 211, 238, .1); border-color: var(--border); }
.nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav a.ext { opacity: .8; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: rgba(255, 255, 255, .05); border-radius: 9px; padding: 2px; }
.lang a { color: var(--muted); font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.lang a.on { background: rgba(34, 211, 238, .18); color: var(--accent); }
.wallet-chip { background: rgba(34, 211, 238, .12); color: var(--gold); border: 1px solid rgba(34, 211, 238, .35); padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 20px; font: 600 .9rem "Poppins", sans-serif; cursor: pointer; transition: .18s; color: var(--text); }
.btn.sm { padding: 7px 14px; font-size: .8rem; border-radius: 10px; }
.btn.lg { padding: 14px 30px; font-size: 1rem; border-radius: 14px; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #14b8c8); color: #04121a; box-shadow: 0 8px 24px rgba(34, 211, 238, .28); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34, 211, 238, .42); }
.btn.gold { background: linear-gradient(135deg, #67e8f9, #0891b2); color: #241800; box-shadow: 0 8px 24px rgba(34, 211, 238, .28); }
.btn.gold:hover { transform: translateY(-2px); }
.btn.ghost { background: rgba(255, 255, 255, .05); border-color: var(--border-soft); }
.btn.ghost:hover { background: rgba(34, 211, 238, .1); border-color: var(--border); }
.btn.steam { background: #171a21; border-color: rgba(255, 255, 255, .14); }
.btn.steam:hover { border-color: var(--accent); }
.block-btn { width: 100%; }

/* ---------- layout ---------- */
.wrap { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 20px 40px; }
.narrow { max-width: 760px; margin: 0 auto; }
.block { margin-bottom: 26px; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.block-head-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.block-head h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.block-head small { font-family: "Poppins"; font-size: .7rem; font-weight: 400; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); display: inline-block; }
.dot.red { background: var(--red); box-shadow: 0 0 14px var(--red); } .dot.gold { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.online-pill { background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .35); color: var(--green); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card h3.center { justify-content: center; }
details.card > summary { font: 700 1.15rem "Rajdhani", "Poppins", sans-serif; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; user-select: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "▾"; font-size: .8rem; opacity: .55; margin-left: auto; transition: transform .15s; }
details.card:not([open]) > summary { margin-bottom: 0; }
details.card[open] > summary::after { transform: rotate(180deg); }
details.card > summary:hover { color: var(--accent); }
.bar-mark { width: 4px; height: 20px; border-radius: 2px; background: var(--accent); display: inline-block; } .bar-mark.red { background: var(--red); }
.lead { margin: -4px 0 18px; }
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .92rem; border: 1px solid var(--border); background: rgba(34, 211, 238, .08); }
.flash.ok { border-color: rgba(61, 220, 132, .4); background: rgba(61, 220, 132, .09); color: #b8f5d1; }
.flash.error { border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .1); color: #fecaca; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid transparent; background: radial-gradient(60% 90% at 78% 55%, rgba(239, 68, 68, .16), transparent 65%), linear-gradient(180deg, #0a1628, #070d19); min-height: 400px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--shadow); }
.hero-agent { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: url('/static/img/hero/agent.png'); background-repeat: no-repeat; background-position: bottom right; background-size: auto 145%; -webkit-mask-image: linear-gradient(to left, black 40%, transparent 58%); mask-image: linear-gradient(to left, black 40%, transparent 58%); filter: drop-shadow(0 20px 36px rgba(0,0,0,.5)); }
@media (max-width: 860px) { .hero-agent { display: none; } }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px); pointer-events: none; }

/* ---------- glow border (static, cyan -> green): applied to every bordered box/pill/button on the site ---------- */
.hero::before, .server::before, .tile::before, .prizes::before, .card::before, .faq-item::before,
.stat::before, .pkg::before, .member-card::before, .promo::after, .soon::before,
.searchbar::before, .online-pill::before, .chip::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(135deg, #178a9e, #2a9d5c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.prizes::before { background: linear-gradient(135deg, #22d3ee, #22d3ee) !important; }
.nav a, .searchbar, .online-pill, .dd-btn, .icon-btn, .user-chip, .btn, .chip, .staff-nav { position: relative; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 34px 20px; }
.hero-logo { height: 210px; width: auto; filter: drop-shadow(0 0 46px rgba(45, 214, 224, .55)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -8px; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; margin: 10px 0 6px; text-transform: uppercase; text-shadow: 0 4px 30px rgba(34, 211, 238, .4);
  background: linear-gradient(100deg, #fff 30%, var(--accent) 46%, #fff 56%, #fff 100%);
  background-size: 240% auto; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: hero-shine 4s linear infinite;
}
.hero h1 span { background: inherit; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@keyframes hero-shine { 0% { background-position: 200% center; } 100% { background-position: -140% center; } }
.hero-tag { display: inline-block; margin: 6px 0; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(34, 211, 238, .1); color: var(--accent); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.hero-sub { color: #b9c4d6; max-width: 560px; margin: 8px auto 22px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pay-marquee { margin-top: 10px; }
.pay-marquee-label { text-align: center; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 6px; }
.pay-marquee-track { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pay-marquee-inner { display: flex; width: max-content; gap: 10px; animation: pay-marquee-scroll 16s linear infinite; }
.pay-marquee-track:hover .pay-marquee-inner { animation-play-state: paused; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); border-radius: 999px; padding: 4px 12px; font-size: .74rem; font-weight: 600; color: #e4e9f4; white-space: nowrap; }
.pay-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@keyframes pay-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .pay-marquee-inner { animation: none; } }

.searchbar { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 8px 8px 8px 16px; margin-bottom: 26px; }
.searchbar input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); font: 500 .95rem "Poppins", sans-serif; padding: 8px 4px; }
.searchbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }

/* ---------- servers ---------- */
.servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.server { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: var(--card-solid); min-height: 210px; transition: .2s; box-shadow: var(--shadow); }
.server:hover { transform: translateY(-4px); border-color: var(--border); }
.server-art { position: absolute; inset: 0; opacity: .9; }
.server-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 25, .25), rgba(7, 13, 25, .94) 62%); }
.server-cross { position: absolute; right: -14px; top: -14px; width: 150px; color: rgba(255, 255, 255, .17); }
.map-mirage { background: linear-gradient(135deg, #b8842c, #7a4a17 55%, #3b2a14); }
.map-inferno { background: linear-gradient(135deg, #b1452b, #6a2a1c 55%, #2f1a17); }
.map-dust2 { background: linear-gradient(135deg, #cba764, #8c6d3a 55%, #45391f); }
.map-nuke { background: linear-gradient(135deg, #5b7ea1, #2f4a66 55%, #17222f); }
.map-ancient { background: linear-gradient(135deg, #4d8f5a, #285436 55%, #142a1c); }
.map-anubis, .map-vertigo, .map-overpass, .map-train { background: linear-gradient(135deg, #5a7fa0, #2f4a66 55%, #17222f); }
.server-body { position: relative; z-index: 2; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; gap: 8px; }
.server-body.off { justify-content: center; align-items: center; text-align: center; }
.server-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.server-top .online-pill { font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; }
.chip { font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); text-transform: uppercase; }
.chip.live { background: rgba(61, 220, 132, .16); border-color: rgba(61, 220, 132, .45); color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.chip.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.chip.off { background: rgba(239, 68, 68, .15); border-color: rgba(239, 68, 68, .45); color: #fca5a5; }
.chip.mode { background: rgba(34, 211, 238, .13); border-color: var(--border); color: var(--accent); }
.chip.staff { background: rgba(61, 220, 132, .13); border-color: rgba(61, 220, 132, .4); color: var(--green); }
.server-name { font-size: 1.2rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--green), var(--accent)); transition: width .6s; }
.server-meta { display: flex; justify-content: space-between; font-size: .82rem; color: #c3cee0; }
.server-ip { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: .78rem; }
.server-actions { display: flex; gap: 8px; margin-top: 2px; justify-content: flex-end; }
.server.is-off .server-art { filter: grayscale(1) brightness(.5); }

/* ---------- promo + supporters ---------- */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-bottom: 20px; }
.promo { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(120% 140% at 82% 20%, rgba(88, 101, 242, .35), transparent 60%), linear-gradient(120deg, #0d1230, #0a0a16 65%); padding: 30px; display: flex; align-items: center; justify-content: space-between; color: var(--text); min-height: 270px; box-shadow: var(--shadow); }
.promo::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 68, 68, .25), transparent 65%); }
.promo-text { position: relative; max-width: 460px; z-index: 2; } .promo-text h2 { font-size: 2rem; line-height: 1.1; margin-bottom: 8px; } .promo-text p { color: #b9c4d6; margin: 0 0 18px; }
.promo-art { position: absolute; right: -10px; bottom: -18px; width: 280px; height: 280px; flex: none; background-image: url('https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIa-2lmxU-LR0dnuNm6E8Vl45Iv181z1fgn8oYby8iRe_OGnZ6psLM-FD3WWj-gn47Q-GH7qxkhwsWjWyN6pJynGZld0CJR3QOdbtRa4lIGxY7_g7wfAy9USZdxTISw'); background-size: contain; background-repeat: no-repeat; background-position: bottom center; filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); z-index: 1; }
.promo-chip { position: absolute; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(15,15,22,.88); border: 1px solid rgba(255,255,255,.12); z-index: 2; }
.promo-chip-a { top: 6px; right: 80px; box-shadow: 0 0 20px rgba(139,147,255,.55); }
.promo-chip-b { bottom: 70px; right: 4px; color: #f2f2f7; font-weight: 700; letter-spacing: 1px; font-size: 11px; box-shadow: 0 0 20px rgba(239,68,68,.5); }
.supporters { margin: 0; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tab { flex: 1; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); color: var(--muted); padding: 8px 6px; border-radius: 10px; font: 600 .78rem "Poppins", sans-serif; cursor: pointer; }
.tab.on { background: linear-gradient(135deg, var(--accent), #14b8c8); color: #04121a; border-color: transparent; }
.sup-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sup-list[hidden] { display: none; }
.sup-list li { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .04); border-radius: 11px; padding: 9px 12px; }
.sup-list li.empty { color: var(--muted); justify-content: center; }
.sup-name { flex: 1; font-weight: 500; } .sup-amt { color: var(--gold); font-weight: 600; font-size: .88rem; }
.sup-pos { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: rgba(255, 255, 255, .1); }
.sup-pos.p1 { background: var(--gold); color: #241800; } .sup-pos.p2 { background: #cbd5e1; color: #111827; } .sup-pos.p3 { background: #d49a6a; color: #2b1606; }

/* ---------- stats + tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px 18px; }
.stat span { display: block; color: var(--muted); font-size: .78rem; }
.stat b { font: 700 2rem "Rajdhani", sans-serif; line-height: 1.1; }
.stat.gold { border-color: rgba(34, 211, 238, .55); box-shadow: 0 0 0 1px rgba(34, 211, 238, .2) inset; } .stat.gold b { color: var(--gold); }
.stat.red b { color: #fca5a5; } .stat.green b { color: var(--green); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 16px; padding: 26px 26px; min-height: 104px; color: var(--text); border: 1px solid var(--border-soft); transition: .2s; display: flex; flex-direction: column; justify-content: center; }
.tile:hover { transform: translateY(-3px); }
.tile b { font: 700 1.9rem "Rajdhani", sans-serif; } .tile span { color: rgba(255, 255, 255, .7); font-size: .85rem; }
.tile em { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-style: normal; opacity: .85; }
.t-store { background: linear-gradient(120deg, #2a2110, #1a150a); } .t-store b { color: var(--gold); }
.t-rank { background: linear-gradient(120deg, #0f2a33, #0a1a20); } .t-rank b { color: var(--accent); }
.t-bans { background: linear-gradient(120deg, #2e1416, #1a0c0d); } .t-bans b { color: #fca5a5; }
/* small agent renders as a faint background accent on the homepage tiles */
.tile > * { position: relative; z-index: 1; }
.tile::before { content: ""; position: absolute; right: -10px; top: -20px; bottom: auto; left: auto; width: 220px; height: 220px; background-size: contain; background-repeat: no-repeat; background-position: top center; opacity: .55; filter: grayscale(.1); pointer-events: none; z-index: 0; transform: scaleX(-1); -webkit-mask: none; mask: none; padding: 0; border-radius: 0; }
.t-store::before { background-image: url('https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIa-2lmxU-LR0dnuNm6E8Vl45Iv181z1fgn8oYby8iRe_OGnZ6psLM-FD3WWlKAhtLhqHXDilxgm4z7dztesJH2SbgApCMchFrQNsRSxw4XhYeK0swbYlcsbmucxTysR'); }
.t-rank::before { background-image: url('https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIa-2lmxU-LR0dnuNm6E8Vl45Iv181z1fh7lk6nz6iNP0OSveq1sLuSVQGLFx7h0tbU6GHG1lERz62WEm9j6cimebgB0WZd4Ee4Ks0a-lNbjZrj8p1uJLRQDiME'); }
.t-bans::before { background-image: url('https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIa-2lmxU-LR0dnuNm6E8Vl45Iv181z1fh7lk6nz6iNP0OSveq1sLuSWQDGVlbx34-Q8HC3nk012tWzTzY79JHiQOgYpW8B3EeYN40HtxtzlNuz8p1uJLMIs6sE'); }


/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { text-align: left; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); }
.table td { padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: .92rem; vertical-align: middle; }
.table tbody tr:hover { background: rgba(34, 211, 238, .05); }
.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #14b8c8, #3ddc84); color: #04121a; font-weight: 700; margin-right: 8px; vertical-align: middle; }
.avatar.xl { width: 74px; height: 74px; font-size: 2rem; margin: 0; }
.vip-tag { background: rgba(34, 211, 238, .16); color: var(--gold); border: 1px solid rgba(34, 211, 238, .4); border-radius: 6px; font-size: .62rem; font-weight: 700; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
.clan-tag { color: var(--accent); text-decoration: none; font-weight: 700; }
.clan-tag:hover { text-decoration: underline; }
.rank-badge { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 9px; background: rgba(255, 255, 255, .08); font-weight: 700; }
.rank-badge.r1 { background: var(--gold); color: #241800; } .rank-badge.r2 { background: #cbd5e1; color: #111827; } .rank-badge.r3 { background: #d49a6a; color: #2b1606; }
.rank-badge.big { min-width: 64px; height: 64px; font: 700 1.7rem "Rajdhani"; border-radius: 16px; margin-left: auto; }
.place { font-weight: 700; color: var(--accent); }
.status { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; } .status.on { background: rgba(239, 68, 68, .16); color: #fca5a5; } .status.end { background: rgba(255, 255, 255, .08); color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); color: var(--muted); font-weight: 600; font-size: .84rem; }
.pill.on { background: rgba(34, 211, 238, .14); border-color: var(--border); color: var(--accent); }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* ---------- profile ---------- */
.profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.profile-head h1 { font-size: 2.2rem; }

/* ---------- store ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pkg { position: relative; border-radius: 18px; background: var(--card); border: 1px solid var(--border-soft); padding: 26px 22px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: .2s; }
.pkg:hover { transform: translateY(-4px); border-color: var(--border); }
.pkg.hot { border-color: rgba(34, 211, 238, .6); background: linear-gradient(180deg, rgba(34, 211, 238, .1), var(--card) 40%); }
.pkg-flag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #67e8f9, #0891b2); color: #241800; font-weight: 700; font-size: .7rem; padding: 4px 14px; border-radius: 999px; white-space: nowrap; z-index: 4; }
.pkg h3 { font-size: 1.5rem; text-align: center; }
.pkg-price { text-align: center; font: 700 2.1rem "Rajdhani"; color: var(--accent); margin-top: 6px; } .pkg.hot .pkg-price { color: var(--gold); }
.pkg-price-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pkg-price-row .pkg-price { margin-top: 0; }
.pkg-old-price { color: var(--muted); font-size: 1.05rem; text-decoration: line-through; text-decoration-color: rgba(255, 90, 90, .7); }
.pkg-discount-badge { background: rgba(61, 220, 132, .16); color: var(--green); border: 1px solid rgba(61, 220, 132, .4); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 2px 9px; }
.pkg-len { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; flex: 1; font-size: .85rem; color: #c3cee0; }
.perks li { padding-left: 2px; }

/* ---------- wallet + login ---------- */
.wallet-amount { font: 700 3rem "Rajdhani"; color: var(--gold); line-height: 1.1; }
.wallet-vip { margin-top: 8px; color: #c3cee0; }
.amounts { display: flex; gap: 10px; flex-wrap: wrap; }
.login-list { display: grid; gap: 10px; }
.login-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); color: var(--text); font: 500 .95rem "Poppins"; cursor: pointer; text-align: left; }
.login-row:hover { border-color: var(--accent); background: rgba(34, 211, 238, .08); }
.login-name { flex: 1; }

.footer { border-top: 1px solid var(--border-soft); padding: 22px 20px; color: var(--muted); font-size: .85rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .stats { grid-template-columns: repeat(3, 1fr); } .two-col { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: rgba(7, 13, 25, .97); padding: 10px 16px 16px; border-bottom: 1px solid var(--border-soft); }
  .nav.open { display: flex; }
  .topbar-inner { flex-wrap: wrap; gap: 10px; }
  .topbar-right { order: 3; width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .tiles { grid-template-columns: 1fr; }
  .promo-art, .promo-chip { display: none; }
}
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .hero { min-height: 340px; } .wrap { padding: 16px 12px 32px; } }

/* ---------- live mode ---------- */
.two-col.one { grid-template-columns: 1fr; }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.soon { grid-column: 1 / -1; text-align: center; padding: 42px 20px; border: 1px dashed var(--border); border-radius: var(--radius); background: rgba(34, 211, 238, .04); display: flex; flex-direction: column; gap: 6px; }
.soon b { font: 700 1.5rem "Rajdhani", sans-serif; } .soon span { color: var(--muted); max-width: 520px; margin: 0 auto; }
@media (max-width: 860px) { .tiles.two { grid-template-columns: 1fr; } }

/* ---------- admin panel ---------- */
.admin-link { color: #f5c451 !important; }
.footer-admin { opacity: .45; } .footer-admin:hover { opacity: 1; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.admin-side { position: sticky; top: 86px; background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.admin-side-title { font: 700 1.1rem "Rajdhani", sans-serif; padding: 6px 10px 10px; color: #f5c451; }
.admin-side a { color: var(--muted); padding: 9px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; }
.admin-side a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.admin-side a.on { background: rgba(34, 211, 238, .12); color: var(--text); }
.admin-side a.danger { color: #fca5a5; margin-top: 8px; border-top: 1px solid var(--border-soft); border-radius: 0 0 10px 10px; }
.admin-side details { display: flex; flex-direction: column; gap: 2px; margin: 2px 0; }
.admin-side summary { cursor: pointer; padding: 9px 12px; border-radius: 10px; font-size: .88rem; font-weight: 700; color: var(--muted); list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.admin-side summary::-webkit-details-marker { display: none; }
.admin-side summary::after { content: "▾"; font-size: .75rem; transition: transform .15s; opacity: .6; }
.admin-side details[open] summary::after { transform: rotate(180deg); }
.admin-side summary:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.admin-side details > a { display: block; padding-left: 26px; font-size: .87rem; }
.admin-side details.has-active summary { color: var(--accent); }
.admin-h { font-size: 1.8rem; margin-bottom: 6px; }
.admin-main .muted { margin: 4px 0 16px; }
.admin-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.admin-stats a.stat { color: var(--text); transition: .18s; } .admin-stats a.stat:hover { border-color: var(--border); transform: translateY(-2px); }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #c3cee0; font-size: .92rem; }
.admin-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-items: end; }
.admin-form.single { grid-template-columns: 1fr; max-width: 420px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); }
.fld input[type=text], .fld input[type=number], .fld input[type=email], .fld input[type=password], .fld select {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 500 .92rem "Poppins", sans-serif; width: 100%; }
.fld input:focus, .fld select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }
.fld input[readonly] { opacity: .6; }
.fld input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--accent); margin: 4px 0; }
.row-actions { white-space: nowrap; text-align: right; }
.danger-btn { color: #fca5a5; } .danger-btn:hover { border-color: rgba(239, 68, 68, .5) !important; background: rgba(239, 68, 68, .12) !important; }
@media (max-width: 860px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { position: static; flex-direction: column; flex-wrap: nowrap; } }

/* ---------- banner, steam login, account ---------- */
.hero.has-banner {
  background-image: linear-gradient(rgba(7, 13, 25, var(--overlay, .55)), rgba(7, 13, 25, var(--overlay, .55))), var(--banner);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.hero.has-banner .hero-art { display: none; }
.banner-preview { height: 190px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(rgba(7, 13, 25, var(--overlay, .55)), rgba(7, 13, 25, var(--overlay, .55))), var(--banner) var(--banner-pos, center) / cover no-repeat; margin-bottom: 10px; }
.small { font-size: .82rem; }
.steam-card { text-align: center; padding: 34px 20px; }
.steam-card .lead { margin: 0 0 20px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border-soft); color: var(--text); font-weight: 600; font-size: .85rem; }
.user-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-chip span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 8px; }
.user-chip img + span { padding-left: 0; }
.account-head { display: flex; align-items: center; gap: 18px; }
.account-avatar { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.avatar-frame-devil { position: relative; display: inline-block; }
.avatar-frame-devil .account-avatar, .avatar-frame-devil .avatar.xl, .avatar-frame-devil .member-av, .avatar-frame-devil .acc-hero-av { border: 3px solid #ff6a1a !important; box-shadow: 0 0 16px rgba(255, 70, 0, .55), inset 0 0 20px rgba(255, 120, 0, .25) !important; }
.avatar-frame-devil::before, .avatar-frame-devil::after {
  content: ""; position: absolute; top: -13px; width: 16px; height: 24px;
  background: linear-gradient(160deg, #3d0d0d, #160303);
  border: 2px solid #ff6a1a; clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 0 6px rgba(255, 90, 0, .7)); z-index: 2;
}
.avatar-frame-devil::before { left: 4px; transform: rotate(-20deg); }
.avatar-frame-devil::after { right: 4px; transform: rotate(20deg); }
.member-card .avatar-frame-devil::before, .member-card .avatar-frame-devil::after { width: 9px; height: 13px; top: -6px; }
.member-card .avatar-frame-devil::before { left: 1px; }
.member-card .avatar-frame-devil::after { right: 1px; }
.member-card .avatar-frame-devil .member-av { border-width: 2px !important; }
.account-nick { font: 700 1.6rem "Rajdhani", sans-serif; }
.fld.wide { grid-column: 1 / -1; }
.fld textarea { background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 500 .9rem "Poppins", sans-serif; width: 100%; resize: vertical; }
.fld input[type=file] { color: var(--muted); font-size: .85rem; }
.slug-row { display: flex; align-items: center; gap: 0; }
.slug-row .muted { white-space: nowrap; padding: 9px 0 9px 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); border-right: 0; border-radius: 10px 0 0 10px; }
.slug-row input { border-radius: 0 10px 10px 0 !important; border-left: 0 !important; }
.texts-table td input { width: 100%; min-width: 200px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); border-radius: 8px; padding: 8px 10px; font: 500 .85rem "Poppins", sans-serif; }
.texts-table td:first-child { color: var(--muted); font-size: .85rem; min-width: 200px; }

.footer-admin { opacity: .85 !important; color: #f5c451; }
.steps.how { text-align: left; max-width: 460px; margin: 22px auto 14px; }

/* ---------- site footer (4 columns, banner background) ---------- */
.site-footer { margin-top: 30px; border-top: 1px solid var(--border-soft); padding: 34px 20px 14px; background: rgba(7, 13, 25, .9); }
.site-footer.has-banner { background: linear-gradient(rgba(7, 13, 25, .74), rgba(7, 13, 25, .82)), var(--banner) var(--banner-pos, center) / cover no-repeat; }
.footer-cols { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footer-title { font: 700 .72rem "Poppins", sans-serif; letter-spacing: .14em; color: #b7c4d8; margin-bottom: 4px; }
.footer-col a { color: #c3cee0; font-size: .95rem; } .footer-col a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 700 1.25rem "Rajdhani", sans-serif; color: var(--text) !important; margin: 2px 0; }
.footer-brand b { color: var(--accent); }
.footer-logo { height: 46px; width: auto; animation: brand-logo-float 4.5s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .4)); }
.footer-desc { color: #b9c4d6; font-size: .9rem; max-width: 300px; margin: 6px 0 0; }
.footer-mail { color: #aebbd0 !important; font-size: .88rem !important; }
.footer-bottom { max-width: 1240px; margin: 26px auto 0; padding-top: 14px; border-top: 1px solid var(--border-soft); display: flex; gap: 22px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.footer-credit { text-align: center; padding: 14px 20px 4px; color: rgba(255, 255, 255, .3); font-size: .78rem; }
.footer-credit b { color: rgba(255, 255, 255, .5); font-weight: 600; }
.legal .card { padding: 26px 28px; }
.legal-h { font-size: 1.15rem; margin: 22px 0 6px; color: var(--accent); } .legal-h:first-child { margin-top: 0; }
.legal-p { margin: 0 0 8px; color: #d3dcea; white-space: pre-line; }
.legal-area { min-height: 260px; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- language + currency dropdowns ---------- */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); border-radius: 12px; padding: 8px 12px; font: 700 .78rem "Poppins", sans-serif; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: .18s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--accent); background: rgba(34, 211, 238, .08); }
.dd .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); margin-left: 2px; transition: .18s; }
.dd.open .caret { transform: rotate(180deg); }
.flag { width: 24px; height: 17px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); flex: none; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: #131a29; border: 1px solid var(--border); border-radius: 14px; padding: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .6); z-index: 80; display: flex; flex-direction: column; gap: 2px; }
.dd-menu[hidden] { display: none; }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #dbe3f0; font-weight: 500; font-size: .92rem; }
.dd-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.dd-item.on { color: var(--accent); }
.dd-item .tick { margin-left: auto; color: var(--accent); }
.dd-cur { min-width: 150px; }
.cur-code { font-weight: 700; min-width: 38px; }

/* ---------- checkout / orders / payments admin ---------- */
.pay-summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 14px; margin-bottom: 10px; }
.pay-pkg { font: 700 1rem "Rajdhani", sans-serif; } .pay-price { font: 700 1.25rem "Rajdhani", sans-serif; color: var(--gold); }
.methods { display: grid; gap: 10px; margin-bottom: 18px; }
.method { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border-soft); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.method:hover { border-color: var(--accent); } .method input { accent-color: var(--accent); width: 18px; height: 18px; }
.method-name { font-weight: 600; flex: 1; }
.order-state { padding: 14px; } .order-state h3 { margin-bottom: 8px; } .order-state.s-paid { border-color: rgba(61, 220, 132, .5); }
.crypto-box { background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px; margin: 10px 0 14px; display: grid; gap: 10px; }
.crypto-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .crypto-row code { background: rgba(0, 0, 0, .35); padding: 6px 10px; border-radius: 8px; word-break: break-all; font-size: .92rem; }
.crypto-row .muted { min-width: 60px; }
.status.ok { background: rgba(61, 220, 132, .16); color: var(--green); }
.btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
label.inline { flex-direction: row; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font-size: .78rem; } label.inline input { width: 16px; height: 16px; }

/* ---------- VIP link in the menu ---------- */
.nav a.vip-link { color: var(--gold); font-weight: 600; }
.nav a.vip-link:hover { background: rgba(34, 211, 238, .1); color: #ffd97a; }
.nav a.vip-link.on { background: rgba(34, 211, 238, .12); }
.nav a.vip-link.on::after { background: var(--gold); }

/* ---------- menu as pill buttons (same look as the shop) ---------- */
.topbar-inner { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
.brand { flex: none; }
.nav { flex: 1 1 auto; justify-content: center; flex-wrap: wrap; gap: 8px; }
.nav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: none;
  background: rgba(34, 211, 238, .04); color: var(--text); font-weight: 600; font-size: .86rem; box-shadow: 0 0 14px rgba(34, 211, 238, .07); }
.nav a:hover { background: rgba(34, 211, 238, .13); box-shadow: 0 0 18px rgba(34, 211, 238, .28); color: #fff; }
.nav a.on { background: rgba(34, 211, 238, .2); box-shadow: 0 0 18px rgba(34, 211, 238, .3); }
.nav a.on::after { display: none; }
.nav a.ext { opacity: 1; }
.nav a.vip-link { background: rgba(34, 211, 238, .07); color: var(--gold); box-shadow: 0 0 14px rgba(34, 211, 238, .13); }
.nav a.vip-link:hover, .nav a.vip-link.on { background: rgba(34, 211, 238, .18); box-shadow: 0 0 18px rgba(34, 211, 238, .32); color: #ffe08a; }
.nav a.admin-link { }
.topbar-right { flex: none; flex-wrap: wrap; justify-content: center; }
@media (max-width: 860px) { .nav a { justify-content: flex-start; } .topbar-inner { justify-content: flex-start; } }

/* ---------- normal top bar: one row on desktop, hamburger below 1180px ---------- */
.topbar-inner { max-width: 1560px; flex-wrap: nowrap; justify-content: flex-start; gap: 10px; padding: 10px 24px; }
.nav { flex: 1 1 auto; min-width: 0; justify-content: center; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 10px; font-size: .8rem; }
.topbar-right { flex: none; flex-wrap: nowrap; gap: 8px; margin-left: 0; }
.user-chip span { max-width: 90px; }
.nav-group { display: contents; }
/* non-admin view (desktop only, matches the complementary >1650px range of the hamburger breakpoint below):
   nav links + right-side buttons form one group, centered together on the true page midpoint. */
@media (min-width: 1651px) {
  .nav-user-centered { position: relative; }
  .nav-user-centered .brand { flex: none; }
  .nav-user-centered .nav-group { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 18px; max-width: min(80%, 1240px); }
  .nav-user-centered .nav { flex: 0 0 auto; }
  .nav-user-centered .topbar-right { flex: none; margin-left: 0; }
}
@media (max-width: 1650px) {
  .topbar-inner { flex-wrap: wrap; }
  .topbar-right { order: 2; margin-left: auto; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .nav { display: none; order: 5; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 8px;
    background: rgba(7, 13, 25, .98); padding: 14px 20px 18px; border-bottom: 1px solid var(--border-soft); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
  .nav.open { display: flex; }
  .nav a { justify-content: flex-start; padding: 10px 16px; font-size: .92rem; }
}
@media (max-width: 640px) {
  .topbar-inner { padding: 8px 14px; }
  .topbar-right { order: 4; width: 100%; justify-content: center; flex-wrap: wrap; margin-left: 0; }
  .nav-toggle { margin-left: auto; }
  .brand { font-size: 1.15rem; } .brand-logo { height: 34px; }
}

/* ---------- account, tickets, cart, ranks ---------- */
.rank-badge-sm { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; color: var(--rc, #22d3ee); border: 1px solid var(--rc, #22d3ee); background: rgba(255, 255, 255, .04); margin-left: 8px; text-transform: uppercase; }
.user-chip .rank-badge-sm { margin-left: 2px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); font-size: 1rem; }
.icon-btn:hover { border-color: var(--accent); background: rgba(34, 211, 238, .1); }
.badge-count { background: var(--red); color: #fff; font-size: .65rem; font-weight: 700; border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.icon-btn .badge-count { position: absolute; top: -6px; right: -6px; margin: 0; }
.acc-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gold-text { color: var(--gold); }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; } .codes code, .secret { background: rgba(0, 0, 0, .35); padding: 6px 10px; border-radius: 8px; font-size: .95rem; letter-spacing: .04em; }
.qr-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 12px 0; } .qr { background: #fff; padding: 10px; border-radius: 10px; line-height: 0; } .qr svg { width: 220px; height: 220px; }
.inline-form { margin-bottom: 10px; }
.conn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border-soft); } .conn-row:last-child { border: 0; } .conn-name { font-weight: 600; min-width: 110px; }
.conn-av { width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.pkg-actions { display: grid; gap: 8px; }
.cart-line { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; } .cart-name { flex: 1; min-width: 160px; }
.qty { display: flex; align-items: center; gap: 8px; } .qty-n { min-width: 22px; text-align: center; font-weight: 700; } .cart-sum { min-width: 90px; text-align: right; font-weight: 700; color: var(--gold); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; font: 700 1.4rem "Rajdhani", sans-serif; } .cart-total b { color: var(--gold); }
.thread { display: grid; gap: 12px; margin: 14px 0; }
.msg { border: 1px solid var(--border-soft); border-radius: 14px; padding: 12px 16px; background: rgba(255, 255, 255, .03); } .msg.staff { border-color: rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .06); }
.msg-head { display: flex; justify-content: space-between; margin-bottom: 6px; } .msg-body { white-space: pre-wrap; word-break: break-word; }
.msg-img { max-width: min(100%, 420px); max-height: 320px; border-radius: 10px; margin-top: 10px; display: block; }
.fld textarea { min-height: 90px; }

/* ---------- community: member cards + public profiles ---------- */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.member-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: border-color .15s, transform .15s; }
.member-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.member-card.has-banner { background: linear-gradient(180deg, rgba(7, 13, 25, .55), rgba(7, 13, 25, .88)), var(--mc-banner) center / cover no-repeat; }
.member-card.is-private { opacity: .65; }
.member-link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit; text-decoration: none; width: 100%; min-width: 0; }
.member-av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .06); border: 2px solid var(--border-soft); }
.member-av.ph { display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #04121a; background: linear-gradient(135deg, #14b8c8, #3ddc84); }
.member-nick { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.member-link .rank-badge-sm { margin-left: 0; }
.member-uid { color: var(--muted); font-size: .78rem; }
.member-follow { width: 100%; justify-content: center; }
.member-follow-form { width: 100%; }
.member-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.member-legend .rank-badge-sm { margin-left: 0; }
.pager { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 20px; }
.profile-head .account-avatar { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.stat b.small { font-size: 1rem; }

/* server cards: Counter-Strike 2 artwork behind every server */
.server-art { background-size: cover; background-position: center 30%; background-repeat: no-repeat; opacity: 1; }
.server-art::after { background: linear-gradient(180deg, rgba(7, 13, 25, .05), rgba(7, 13, 25, .55) 45%, rgba(7, 13, 25, .95) 88%); }
.server-cross { display: none; }
.server.is-off .server-art { filter: grayscale(.55) brightness(.65); }

/* ---------- FAQ (very bottom of the home page) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 18px; color: #c3cee0; white-space: pre-line; line-height: 1.6; }

/* ---------- sign-in / register forms ---------- */
.auth-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto 6px; text-align: left; }
.auth-form .btn { align-self: stretch; justify-content: center; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 18px auto; max-width: 420px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

/* ---------- account page ---------- */
.acc-wrap { max-width: 1100px; }
.acc-hero { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-soft); background: var(--card); margin-bottom: 16px; }
.acc-hero-bg { position: absolute; inset: 0; background: radial-gradient(900px 260px at 0% 0%, rgba(34, 211, 238, .22), transparent 60%), radial-gradient(700px 240px at 100% 100%, rgba(61, 220, 132, .14), transparent 60%); }
.acc-hero.is-vip .acc-hero-bg { background: radial-gradient(900px 260px at 0% 0%, rgba(34, 211, 238, .28), transparent 60%), radial-gradient(700px 240px at 100% 100%, rgba(34, 211, 238, .14), transparent 60%); }
.acc-hero.is-vip { border-color: rgba(34, 211, 238, .45); }
.acc-hero-main { position: relative; display: flex; align-items: center; gap: 20px; padding: 24px 24px 18px; flex-wrap: wrap; }
.acc-hero-av { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(34, 211, 238, .12); flex: none; }
.acc-hero.is-vip .acc-hero-av { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(34, 211, 238, .14); }
.acc-hero-av.ph { display: grid; place-items: center; font-size: 2.6rem; font-weight: 700; color: #04121a; background: linear-gradient(135deg, #14b8c8, #3ddc84); }
.acc-hero-id { flex: 1; min-width: 220px; }
.acc-hero-nick { margin: 0; font: 700 2rem "Rajdhani", sans-serif; line-height: 1.1; word-break: break-word; }
.acc-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.acc-hero-meta b { color: var(--text); font-weight: 600; }
.acc-hero-vip { margin-top: 8px; color: #c3cee0; }
.acc-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-tiles { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; padding: 0 24px 22px; }
.acc-tile { display: flex; flex-direction: column; gap: 2px; background: rgba(7, 13, 25, .55); border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px 14px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.acc-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.acc-tile span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.acc-tile b { font: 700 1.35rem "Rajdhani", sans-serif; }
.acc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; position: sticky; top: 64px; z-index: 5; padding: 8px 0; background: linear-gradient(var(--bg, #070d19) 70%, transparent); }
.acc-tabs a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); font-size: .85rem; text-decoration: none; }
.acc-tabs a:hover { border-color: var(--accent); background: rgba(34, 211, 238, .1); }
.acc-alert { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.acc-grid > .card, .acc-wrap > .card { margin-bottom: 0; scroll-margin-top: 130px; }
.acc-wrap > .card { margin-bottom: 16px; }
.acc-sub { margin: 14px 0 4px; font-size: .95rem; color: var(--accent); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } .acc-hero-main { padding: 18px 16px 12px; } .acc-tiles { padding: 0 16px 16px; } .acc-tabs { position: static; } }

/* ---------- referral code ---------- */
.ref-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.ref-row > span { min-width: 84px; }
.ref-code { background: rgba(0, 0, 0, .35); padding: 7px 12px; border-radius: 10px; font: 600 1.05rem ui-monospace, Consolas, monospace; letter-spacing: .12em; word-break: break-all; }
.ref-code.ref-link { font-size: .82rem; letter-spacing: 0; }
.ref-tiles { padding: 12px 0 0; }
.ref-list { margin: 10px 0 0; padding-left: 18px; }

/* ---------- account page v3: tabs + tidy forms ---------- */
.acc-panel[hidden] { display: none; }
.acc-panel > .card { margin-bottom: 16px; }
.acc-tabs { position: static; padding: 0; background: none; margin: 4px 0 18px; border-bottom: 1px solid var(--border-soft); gap: 4px; }
.acc-tabs a { border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0; background: transparent; padding: 10px 18px; font-weight: 600; color: var(--muted); }
.acc-tabs a:hover { color: var(--text); background: rgba(255, 255, 255, .04); border-color: transparent; }
.acc-tabs a.on { color: var(--accent); background: var(--card); border-color: var(--border-soft); margin-bottom: -1px; box-shadow: inset 0 2px 0 var(--accent); }
.acc-grid { align-items: stretch; }
.acc-grid > .card { display: flex; flex-direction: column; }
.acc-grid .admin-form .fld.wide { grid-column: 1 / -1; }
.acc-grid .admin-form .fld.inline.wide { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.acc-grid .admin-form .fld.inline.wide input[type="checkbox"] { width: 18px; height: 18px; flex: none; }
.acc-grid .admin-form button.btn { grid-column: 1 / -1; justify-self: start; min-width: 160px; }
.conn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.conn-row .conn-name { min-width: 92px; font-weight: 600; }
@media (max-width: 640px) { .acc-tabs { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; } .acc-tabs a { padding: 9px 12px; font-size: .82rem; } }
.acc-grid { align-items: start; }
.acc-grid > .card { display: block; }
.acc-grid .admin-form .fld input[type="text"], .acc-grid .admin-form .fld input[type="password"], .acc-grid .admin-form .fld input[type="email"], .acc-grid .admin-form .fld input[type="file"] { width: 100%; box-sizing: border-box; }

/* ---------- player banners ---------- */
.acc-hero-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.acc-hero.has-banner .acc-hero-bg { background: linear-gradient(180deg, rgba(7, 13, 25, .35) 0%, rgba(7, 13, 25, .78) 62%, rgba(7, 13, 25, .92) 100%); }
.acc-hero.has-banner .acc-hero-nick, .acc-hero.has-banner .acc-hero-meta, .acc-hero.has-banner .acc-hero-vip { text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.profile-banner { height: 190px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; border: 1px solid var(--border-soft); border-bottom: 0; background: var(--card); }
.profile-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-head.has-banner { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ---------- sign-in / register (v2) ---------- */
.auth-wrap { max-width: 980px; margin: 8px auto 40px; }
.auth-card { display: grid; grid-template-columns: 380px 1fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.auth-side { position: relative; padding: 38px 32px; display: flex; flex-direction: column; gap: 14px; background:
  radial-gradient(420px 260px at 0% 0%, rgba(34, 211, 238, .28), transparent 65%), radial-gradient(360px 280px at 100% 100%, rgba(61, 220, 132, .18), transparent 65%), linear-gradient(160deg, #0b1626, #08111d); border-right: 1px solid var(--border-soft); }
.auth-logo { width: 74px; height: auto; filter: drop-shadow(0 6px 18px rgba(61, 220, 132, .35)); }
.auth-side h2 { margin: 6px 0 0; font: 700 1.8rem "Rajdhani", sans-serif; line-height: 1.1; }
.auth-side p { margin: 0; }
.auth-perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; color: #c9d5e8; font-size: .92rem; }
.auth-perks li span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border-soft); }
.auth-main { padding: 38px 40px 30px; display: flex; flex-direction: column; }
.auth-title { margin: 0; font: 700 2rem "Rajdhani", sans-serif; }
.auth-sub { margin: 4px 0 20px; color: var(--muted); }
.auth-steam { width: 100%; justify-content: center; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 20px 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin: 0; max-width: none; }
.af { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.af label { font-size: .8rem; font-weight: 600; color: #9fb0c9; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-box { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); border-radius: 12px; padding: 0 12px; transition: border-color .15s, box-shadow .15s, background .15s; }
.af-box:focus-within { border-color: var(--accent); background: rgba(34, 211, 238, .06); box-shadow: 0 0 0 3px rgba(34, 211, 238, .14); }
.af-box i { font-style: normal; opacity: .75; flex: none; }
.af-box input { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--text); font: 500 .95rem "Poppins", sans-serif; padding: 13px 0; }
.af-box input::placeholder { color: #5f7089; }
.af-eye { background: none; border: 0; cursor: pointer; opacity: .55; font-size: 1rem; padding: 6px; color: var(--text); }
.af-eye:hover, .af-eye.on { opacity: 1; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.pw-meter { display: flex; align-items: center; gap: 12px; margin-top: -4px; min-height: 18px; }
.pw-bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pw-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--muted); transition: width .2s, background .2s; }
.pw-meter[data-level="weak"] .pw-bar i { background: #ef4444; }
.pw-meter[data-level="fair"] .pw-bar i { background: #22d3ee; }
.pw-meter[data-level="strong"] .pw-bar i { background: #3ddc84; }
.pw-text { font-style: normal; font-size: .76rem; color: var(--muted); min-width: 120px; text-align: right; }
.auth-foot { text-align: center; margin: 18px 0 4px; color: var(--muted); font-size: .9rem; }
.auth-foot a { color: var(--accent); font-weight: 600; }
.auth-note { text-align: center; color: #6f8099; font-size: .78rem; margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 860px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { padding: 24px 24px 20px; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .auth-perks { display: none; }
  .auth-main { padding: 26px 22px 24px; }
}
@media (max-width: 520px) { .af-row { grid-template-columns: 1fr; } .pw-text { min-width: 0; } }

/* ---------- ranking levels (rangi) ---------- */
.tier { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; color: var(--tc, #9aa8bd);
        background: color-mix(in srgb, var(--tc, #9aa8bd) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tc, #9aa8bd) 55%, transparent); }
.tier i { font-style: normal; font-size: .95em; }
.tier.big { font-size: 1rem; padding: 6px 16px 6px 12px; }
.tier-progress { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 14px 18px; margin: 14px 0; }
.tier-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.tier-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tier-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 60%, #fff 0%), var(--tc)); box-shadow: 0 0 14px color-mix(in srgb, var(--tc) 60%, transparent); }
.tier-ladder { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.tier-step { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 14%, var(--card)), var(--card) 55%); border: 1px solid color-mix(in srgb, var(--tc) 40%, transparent); }
.tier-step-icon { font-size: 1.9rem; width: 46px; text-align: center; }
.tier-step-body { display: flex; flex-direction: column; flex: 1; }
.tier-step-body b { font: 700 1.25rem "Rajdhani", sans-serif; color: var(--tc); }
.tier-step-count { font: 700 1.3rem "Rajdhani", sans-serif; } .tier-step-count em { font: 400 .78rem "Poppins", sans-serif; color: var(--muted); font-style: normal; }

/* ---------- Discord status preview (admin) ---------- */
.dc-embeds { max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.dc-embed { background: #2b2d31; border-left: 4px solid var(--dc, #3ddc84); border-radius: 6px; padding: 12px 14px 10px; color: #dbdee1; font-family: "Poppins", sans-serif; }
.dc-title { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 6px; }
.dc-desc { font-size: .84rem; white-space: pre-line; margin-bottom: 8px; color: #b5bac1; }
.dc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 8px; }
.dc-field { display: flex; flex-direction: column; font-size: .85rem; } .dc-field b { font-size: .8rem; color: #fff; } .dc-field.full { grid-column: 1 / -1; white-space: pre-line; }
.dc-img { width: 100%; border-radius: 6px; display: block; margin: 6px 0 8px; max-height: 260px; object-fit: cover; }
.dc-foot { font-size: .72rem; color: #949ba4; }
.dc-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.dc-btn { background: #4e5058; color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 4px; font-size: .84rem; font-weight: 600; }
.dc-btn:hover { background: #6d6f78; }

/* ---------- server admins ---------- */
.staff-pill { text-decoration: none; margin-left: 8px; }
.hero-status { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-status .staff-pill { margin-left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; font-size: .9rem; background: rgba(7, 13, 25, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 24px rgba(61, 220, 132, .18); transition: transform .15s, border-color .15s, box-shadow .15s; }
.hero-status .staff-pill:hover { transform: translateY(-2px); border-color: rgba(61, 220, 132, .7); box-shadow: 0 0 30px rgba(61, 220, 132, .32); }
.staff-pill.is-off { color: var(--muted); border-color: rgba(255, 255, 255, .16); background: rgba(7, 13, 25, .55); box-shadow: none; }
@keyframes staffpulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.staff-card { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--border-soft); }
.staff-card.is-on { border-color: rgba(61, 220, 132, .55); background: linear-gradient(90deg, rgba(61, 220, 132, .10), var(--card) 60%); }
.staff-dot { width: 10px; height: 10px; border-radius: 50%; background: #6b7686; flex: none; } .staff-card.is-on .staff-dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.staff-card .rank-badge-sm { margin-left: 0; --rc: #9aa8bd; } .role-moderator { --rc: #22d3ee !important; } .role-admin { --rc: #22d3ee !important; } .role-owner { --rc: #ef4444 !important; }
.staff-card .muted { flex-basis: 100%; }

/* ---------- community chat ---------- */
.chat-live { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .08em; font-size: .72rem; }
.chat-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: staffpulse 1.8s infinite; }
.chat-box { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(16, 24, 40, .88), rgba(9, 15, 28, .92)); box-shadow: var(--shadow, 0 18px 50px rgba(0, 0, 0, .35)); }
.chat-log { height: min(62vh, 560px); min-height: 320px; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-log::-webkit-scrollbar { width: 8px; } .chat-log::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, .25); border-radius: 8px; }
.chat-empty { margin: auto; color: var(--muted); text-align: center; padding: 30px 10px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; animation: chatin .22s ease-out; }
.chat-msg.mine { flex-direction: row-reverse; align-self: flex-end; }
@keyframes chatin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(34, 211, 238, .45); background: #0b1424; }
.chat-av.ph { display: grid; place-items: center; font-weight: 700; color: #04121a; background: linear-gradient(135deg, #14b8c8, #3ddc84); border: 0; }
.chat-bubble { min-width: 0; padding: 9px 13px 10px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border-soft); }
.chat-msg.mine .chat-bubble { border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(61, 220, 132, .14)); border-color: rgba(34, 211, 238, .35); }
.chat-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 3px; }
.chat-nick { font-weight: 700; font-size: .88rem; color: var(--text); text-decoration: none; }
a.chat-nick:hover { color: var(--accent); }
.chat-time { margin-left: auto; color: var(--muted); font-size: .7rem; }
.chat-text { margin: 0; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-del { border: 0; background: rgba(239, 68, 68, .15); color: #ff8a8a; border-radius: 6px; width: 22px; height: 22px; line-height: 1; cursor: pointer; font-size: .7rem; }
.chat-del:hover { background: rgba(239, 68, 68, .35); }
.chat-form { border-top: 1px solid var(--border-soft); padding: 10px 14px 14px; background: rgba(7, 13, 25, .55); }
.chat-emojis { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.chat-emoji { border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); border-radius: 9px; padding: 3px 8px; font-size: 1.05rem; cursor: pointer; transition: transform .12s, background .12s; }
.chat-emoji:hover { transform: translateY(-2px) scale(1.08); background: rgba(34, 211, 238, .14); }
.chat-row { display: flex; align-items: center; gap: 10px; }
.chat-row input[type=text] { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; outline: none; }
.chat-row input[type=text]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.chat-count { color: var(--muted); font-size: .72rem; min-width: 46px; text-align: right; }
.chat-err { margin-top: 8px; color: #ff9b9b; font-size: .84rem; }
.chat-login { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 16px; border-top: 1px solid var(--border-soft); background: rgba(7, 13, 25, .55); }
@media (max-width: 560px) { .chat-msg { max-width: 96%; } .chat-count { display: none; } .chat-log { height: 58vh; } }

/* ---------- hero: quick connect + polish ---------- */
.hero-connect { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; padding: 6px 8px 6px 16px; border-radius: 14px; background: rgba(7, 13, 25, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--border); }
.hero-connect .hc-ip { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--accent); }
.hero-status { flex-direction: column; align-items: center; }
.staff-pill .staff-dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: staffpulse 1.8s infinite; }
.staff-pill.is-off .staff-dot { background: #6b7a90; animation: none; box-shadow: none; }
.tile, .server, .member-card, .stat { transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile:hover, .server:hover, .member-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .4); }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .chat-msg, .chat-live-dot, .staff-dot { animation: none !important; } .tile:hover, .server:hover, .member-card:hover { transform: none; } }

/* ---------- collapsible form section ---------- */
.fold { border: 1px solid var(--border-soft); border-radius: 12px; background: rgba(255, 255, 255, .03); padding: 0 14px; }
.fold > summary { cursor: pointer; list-style: none; padding: 12px 0; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "\25BE"; margin-left: auto; color: var(--muted); transition: transform .18s; }
.fold[open] > summary::after { transform: rotate(180deg); }
.fold[open] { padding-bottom: 12px; border-color: var(--border); }
.fold[open] > summary { border-bottom: 1px solid var(--border-soft); margin-bottom: 12px; }
.fold { width: 100%; box-sizing: border-box; grid-column: 1 / -1; }
.fold .fld.inline { margin: 6px 0; }

/* ---------- admin: give money / VIP ---------- */
.give-search { display: flex; gap: 10px; flex-wrap: wrap; }
.give-search input[type=search] { flex: 1; min-width: 220px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; outline: none; }
.give-search input[type=search]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.give-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.give-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.give-nick { font-size: 1.25rem; }
.give-stats { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.gold-pill { color: var(--gold, #22d3ee); border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .1); }
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.give-box { border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .03); }
.give-box h4 { margin: 0 0 10px; }
.give-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
@media (max-width: 800px) { .give-grid { grid-template-columns: 1fr; } .give-stats { margin-left: 0; } }

/* ---------- a single server: one featured card (kept compact) ---------- */
.servers.single { grid-template-columns: 1fr; }
.servers.single .server, .servers.single .server-body { min-height: 190px; }
.servers.single .server:hover { transform: none; }
.servers.single .server-body { padding: 16px 20px; gap: 8px; }
.servers.single .server-body > * { max-width: 680px; }
.servers.single .server-body.off { min-height: 150px; align-items: center; }
.servers.single .server-name { font-size: clamp(1.05rem, 1.8vw, 1.25rem); white-space: normal; overflow: visible; }
.servers.single .server-meta { font-size: .85rem; }
.servers.single .server-ip { font-size: .78rem; }
.servers.single .bar { height: 6px; }
.servers.single .server-actions { margin-top: 4px; }
.servers.single .server-actions .btn { padding: 9px 20px; font-size: .9rem; }
@media (max-width: 560px) { .servers.single .server-body { padding: 14px 14px; } .servers.single .server, .servers.single .server-body { min-height: 170px; } }

/* ---------- admin: server control ---------- */
.ctl-choice { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ctl-radio input { position: absolute; opacity: 0; pointer-events: none; }
.ctl-radio span { display: inline-block; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 600; transition: .15s; }
.ctl-radio input:checked + span { border-color: var(--accent); background: rgba(34, 211, 238, .14); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }
.ctl-live { border-color: rgba(34, 211, 238, .55); }
.ctl-count { font: 700 3rem "Rajdhani", sans-serif; color: var(--gold, #22d3ee); line-height: 1.1; margin: 6px 0 10px; }
.danger-text { color: #ff9b9b; }

/* ---------- server card: the HvH LegionS logo instead of the stock CS2 picture ---------- */
.server-art.has-logo { background-image: radial-gradient(ellipse at 72% 38%, rgba(34, 211, 238, .22), transparent 62%), radial-gradient(ellipse at 20% 100%, rgba(61, 220, 132, .10), transparent 55%) !important; background-size: auto, auto !important; background-position: center, center !important; background-repeat: no-repeat !important; }
.server-art.has-logo.map-mirage { background-image: radial-gradient(ellipse at 72% 38%, rgba(34, 211, 238, .14), transparent 62%), linear-gradient(180deg, rgba(7,13,25,.15), rgba(7,13,25,.55) 75%), url('/static/img/maps/mirage.webp') !important; background-size: auto, auto, cover !important; background-position: center, center, center 38% !important; background-repeat: no-repeat, no-repeat, no-repeat !important; }
.server-art.has-logo::after { z-index: 0; }
.server-logo { position: absolute; z-index: 1; right: 6%; top: 46%; transform: translateY(-50%); height: 58%; max-width: 44%; object-fit: contain; filter: drop-shadow(0 0 28px rgba(45, 214, 224, .5)); animation: float 5s ease-in-out infinite; pointer-events: none; }
.servers:not(.single) .server-logo { right: 50%; top: 34%; transform: translate(50%, -50%); height: 42%; max-width: 60%; }
.server.is-off .server-logo { filter: grayscale(.6) brightness(.7) drop-shadow(0 0 18px rgba(45, 214, 224, .25)); }

/* ---------- winter mode: badge + frost overlay instead of the plain logo ---------- */
.winter-frost { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(200, 225, 255, .16), rgba(120, 160, 210, .08) 40%, transparent 72%); }
.winter-snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.winter-snow span { position: absolute; top: -10%; color: #eaf4ff; opacity: 0; text-shadow: 0 0 4px rgba(180, 210, 255, .6); animation: wsnow-fall 7s linear infinite; }
@keyframes wsnow-fall { 0% { transform: translateY(-10%) translateX(0); opacity: 0; } 8% { opacity: .95; } 92% { opacity: .8; } 100% { transform: translateY(340%) translateX(14px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .winter-snow span, .winter-badge .wb-sway, .winter-badge animateTransform { animation: none !important; } }
.winter-badge { position: absolute; z-index: 1; right: 6%; top: 46%; transform: translateY(-50%); height: 76%; width: auto; filter: drop-shadow(0 0 20px rgba(200, 220, 255, .35)); pointer-events: none; }
.servers:not(.single) .winter-badge { right: 50%; top: 34%; transform: translate(50%, -50%); height: 58%; }
.server.is-off .winter-badge { filter: grayscale(.5) brightness(.75); }
@media (max-width: 560px) { .servers.single .winter-badge { right: 50%; top: 30%; transform: translate(50%, -50%); height: 52%; } }
@media (max-width: 560px) { .servers.single .server-logo { right: 50%; top: 30%; transform: translate(50%, -50%); height: 38%; max-width: 60%; animation: none; } }

/* ---------- tier icons: chevrons like the in-game rank badge (1-4 chevrons, then stars) ---------- */
.tier i { display: inline-flex; align-items: center; }
.tier-svg { width: 1.05em; height: 1.15em; overflow: visible; }
.tier-svg path { fill: none; stroke: var(--tc, #9aa8bd); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tier-svg circle { fill: var(--tc, #9aa8bd); }
.tier-svg.max { filter: drop-shadow(0 0 3px var(--tc)); }
.tier.big .tier-svg { width: 1.2em; height: 1.3em; }
.tier-step-icon { display: grid; place-items: center; }
.tier-step-icon .tier-svg { width: 30px; height: 33px; }

/* ---------- skins page ---------- */
.skins-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.skins-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--border-soft); transition: transform .18s, border-color .18s; }
.skins-step:hover { transform: translateY(-3px); border-color: var(--border); }
.skins-step > b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font: 700 1.2rem "Rajdhani", sans-serif; color: #04121a; background: linear-gradient(135deg, #22d3ee, #3ddc84); }
.skins-step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.skins-step p { margin: 0; color: var(--muted); font-size: .9rem; }
.skins-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
.skins-note ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.skins-note li { margin: 6px 0; }
.footer-note { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }

/* ---------- tier badge in the style of the CS2 Premier rating chip (slanted stripes + number) ---------- */
.prem { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px 1px 7px; border-radius: 4px; background: linear-gradient(180deg, #2a303f, #181d2a); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); transform: skewX(-9deg); line-height: 1.25; }
.prem s { display: inline-block; width: 3px; height: .95em; background: #d7dde8; text-decoration: none; opacity: .95; }
.prem s + s { margin-right: 3px; opacity: .6; }
.prem b { display: inline-block; transform: skewX(9deg); color: #f2f5fa; font: 700 .95em "Rajdhani", sans-serif; letter-spacing: .02em; }
.tier .prem { font-size: .82rem; }
.tier.big .prem { font-size: 1rem; }
.tier-step-icon .prem { font-size: 1.15rem; padding: 3px 12px 3px 9px; }

/* ---------- rules page ---------- */
.rules-hero { position: relative; overflow: hidden; padding: 30px 26px; margin-bottom: 26px; border-radius: 20px; border: 1px solid var(--border); background: radial-gradient(900px 260px at 0% 0%, rgba(34, 211, 238, .18), transparent 60%), radial-gradient(700px 240px at 100% 100%, rgba(61, 220, 132, .13), transparent 60%), var(--card); }
.rules-kicker { display: inline-block; letter-spacing: .22em; font: 700 .78rem "Rajdhani", sans-serif; color: var(--accent); margin-bottom: 6px; }
.rules-hero h1 { margin: 0 0 8px; font: 700 clamp(2rem, 5vw, 2.8rem) "Rajdhani", sans-serif; letter-spacing: .02em; }
.rules-hero p { margin: 0; max-width: 760px; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.rules-meta { margin-top: 14px; font-size: .78rem; color: var(--muted); }
.rules-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 1.15rem; }
.rules-golden { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 22px; }
.rules-gold { padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--border-soft); transition: transform .18s, border-color .18s; }
.rules-gold:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .45); }
.rules-gold-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; font-size: 1.5rem; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3); }
.rules-gold h3 { margin: 0 0 6px; font-size: 1.05rem; }
.rules-gold p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.rules-toc { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--border-soft); background: rgba(9, 15, 28, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rules-toc > span { color: var(--muted); font-size: .8rem; margin-right: 4px; }
.rules-toc a { padding: 5px 11px; border-radius: 999px; font-size: .82rem; color: var(--text); text-decoration: none; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); transition: background .15s, border-color .15s; }
.rules-toc a:hover { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .45); }
.rules-sec { margin-bottom: 16px; scroll-margin-top: 130px; }
.rules-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rules-sec-head h2 { margin: 0; font-size: 1.3rem; }
.rules-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 700 1.1rem "Rajdhani", sans-serif; color: #04121a; background: linear-gradient(135deg, #22d3ee, #3ddc84); }
.rules-intro { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.rules-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rules-cols.one { grid-template-columns: 1fr; }
.rules-col { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .03); }
.rules-col.yes { border-color: rgba(61, 220, 132, .35); background: rgba(61, 220, 132, .06); }
.rules-col.no { border-color: rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .06); }
.rules-col h4 { margin: 0 0 8px; font-size: .95rem; }
.rules-col ul { margin: 0; padding-left: 18px; }
.rules-col li { margin: 6px 0; line-height: 1.45; font-size: .93rem; }
.rules-note { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .9rem; color: var(--text); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); }
.rules-pts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0 0 14px; }
.rules-pt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: .88rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); }
.rules-pt span { color: var(--muted); }
.rules-pt b { font: 700 1.05rem "Rajdhani", sans-serif; }
.rules-pt.pos b { color: #3ddc84; } .rules-pt.neg b { color: #ff7a7a; } .rules-pt.min b { color: var(--accent); }
.rules-ladder { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; }
.rules-ladder li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); }
.rules-ladder li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 .9rem "Rajdhani", sans-serif; color: #04121a; background: linear-gradient(135deg, #fbbf24, #ef4444); }
.rules-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.rules-cta h3 { margin: 0 0 4px; } .rules-cta p { margin: 0; }
.rules-more { margin-top: 12px; font-size: .88rem; }
@media (max-width: 720px) { .rules-cols { grid-template-columns: 1fr; } .rules-toc { position: static; } .rules-hero { padding: 22px 18px; } }

/* ---------- footer links with icons ---------- */
.footer-col { gap: 4px; }
.footer-title { position: relative; display: inline-block; padding-bottom: 9px; margin-bottom: 4px; color: #dbe6f7; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #3ddc84); }
.footer-col a.fl { display: flex; align-items: center; gap: 11px; width: max-content; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 12px; border: 1px solid transparent; color: #c9d4e6; font-size: .95rem; line-height: 1.2; transition: background .16s, border-color .16s, transform .16s, color .16s; }
.footer-col a.fl .fi { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-style: normal; font-size: .95rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background .16s, border-color .16s, transform .16s; }
.footer-col a.fl:hover { color: #fff; background: rgba(34, 211, 238, .09); border-color: rgba(34, 211, 238, .28); transform: translateX(4px); }
.footer-col a.fl:hover .fi { background: rgba(34, 211, 238, .2); border-color: rgba(34, 211, 238, .45); transform: scale(1.08) rotate(-4deg); }
.footer-col a.fl.vip .fi { background: rgba(251, 191, 36, .16); border-color: rgba(251, 191, 36, .4); }
.footer-col a.fl.vip:hover { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .4); }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .footer-col a.fl, .footer-col a.fl .fi { transition: none; } .footer-col a.fl:hover, .footer-col a.fl:hover .fi { transform: none; } }

/* ---------- footer: neat aligned layout ---------- */
.footer-cols { grid-template-columns: 1.25fr 1.5fr 1fr 1fr; align-items: start; gap: 36px; }
.footer-col { min-width: 0; position: relative; padding-left: 28px; }
.footer-col:first-child { padding-left: 0; }
.footer-col::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); }
.footer-col:first-child::before { display: none; }
.fl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; width: 100%; }
.footer-col a.fl { width: 100%; max-width: none; margin-left: -10px; min-width: 0; box-sizing: border-box; padding: 4px 10px; }
.footer-col a.fl span { overflow-wrap: break-word; white-space: normal; line-height: 1.3; }
.footer-mail { padding-left: 2px; word-break: break-word; }
.footer-title { font-size: .74rem; letter-spacing: .16em; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-col.col-site { grid-column: 1 / -1; } .footer-col { padding-left: 0; } .footer-col::before { display: none; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } .fl-grid { grid-template-columns: 1fr; } }

/* ---------- CS2 updates feed ---------- */
.cs2news-list { display: flex; flex-direction: column; gap: 12px; }
.cs2news-item { padding: 18px 20px; }
.cs2news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- admin: page visibility (eye) ---------- */
.vis-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.vis-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .04); transition: opacity .15s, border-color .15s; }
.vis-row:hover { border-color: var(--border); }
.vis-row.off { opacity: .6; border-style: dashed; }
.vis-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25); }
.vis-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vis-name small { color: var(--muted); font-size: .78rem; }
.vis-state { font-size: .78rem; padding: 3px 10px; border-radius: 999px; color: #3ddc84; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .3); }
.vis-row.off .vis-state { color: #ff9b9b; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .3); }
.eye-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--border-soft); transition: background .15s, transform .15s, color .15s; }
.eye-btn:hover { background: rgba(34, 211, 238, .16); color: var(--accent); transform: scale(1.06); }
.vis-row.off .eye-btn { color: #ff9b9b; }

/* ---------- "Admini online" in the top menu ---------- */
a.staff-nav { color: var(--green); border-color: rgba(61, 220, 132, .45); background: rgba(61, 220, 132, .08); box-shadow: 0 0 14px rgba(61, 220, 132, .12); font-weight: 600; }
a.staff-nav:hover, a.staff-nav.on { color: #b8ffd6; border-color: var(--green); background: rgba(61, 220, 132, .18); box-shadow: 0 0 18px rgba(61, 220, 132, .3); }
a.staff-nav .staff-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: staffpulse 1.8s infinite; }
a.staff-nav.is-off { color: var(--muted); border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); box-shadow: none; }
a.staff-nav.is-off .staff-dot { background: #6b7a90; animation: none; }

/* ---------- TOP rewards ---------- */
.prizes { margin: 0 0 20px; padding: 18px; border-radius: 18px; border: 1px solid rgba(34, 211, 238, .35); background: radial-gradient(700px 200px at 0% 0%, rgba(34, 211, 238, .13), transparent 60%), var(--card); }
.prizes-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.prizes-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: 1.2rem; background: rgba(34, 211, 238, .15); border: 1px solid rgba(34, 211, 238, .4); }
.prizes-head h3 { margin: 0 0 3px; font-size: 1.15rem; }
.prizes-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.prizes-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.prizes-row .prize { flex: 0 1 200px; max-width: 240px; }
.prize { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); transition: transform .18s, border-color .18s; }
.prize:hover { transform: translateY(-3px); }
.prize.p1 { border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .09); }
.prize.p2 { border-color: rgba(203, 213, 225, .45); }
.prize.p3 { border-color: rgba(205, 127, 50, .5); }
.prize-medal { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.prize-medal svg { display: block; }
.prize-days { color: var(--gold); font-weight: 700; }
.prize-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.prize-form .chk { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

/* ---------- PayPal Family & Friends checkout ---------- */
.method { flex-wrap: wrap; }
.method-sub { flex-basis: 100%; margin: 2px 0 0 30px; font-size: .82rem; }
.pp-box { margin-top: 10px; padding: 14px; border-radius: 16px; border: 1px solid rgba(34, 211, 238, .28); background: rgba(9, 15, 28, .55); }
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pp-kicker { font-size: .72rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.pp-pill { padding: 5px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--accent); border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); }
.pp-title { margin: 0 0 8px; padding-bottom: 8px; font-size: 1.05rem; border-bottom: 1px solid var(--border-soft); }
.pp-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); line-height: 1.45; }
.pp-steps li b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; font-size: .8rem; color: var(--accent); background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .25); }
.btn.pp-open { display: flex; align-items: center; justify-content: center; width: 100%; padding: 11px 16px; margin-bottom: 10px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #003087, #0a3f9e); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 22px rgba(0, 48, 135, .45); }
.btn.pp-open:hover { filter: brightness(1.12); transform: translateY(-1px); }
.pp-info { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; font-size: .9rem; }
.pp-info div { display: flex; flex-direction: column; }
.pp-code { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .03); }
.pp-code-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.pp-code-val { display: block; padding: 9px 12px; border-radius: 10px; font-size: 1rem; font-weight: 700; letter-spacing: .06em; user-select: all; background: rgba(0, 0, 0, .3); border: 1px solid var(--border-soft); }
.pp-code-hint { margin: 8px 0 0; font-size: .82rem; color: #b9c4d6; line-height: 1.4; }
.pp-warn { margin: 10px 0 0; font-size: .82rem; color: #fbbf24; line-height: 1.45; }
.pp-noref { margin: 8px 0 0; font-size: .82rem; color: #f87171; font-weight: 600; line-height: 1.45; }
.pp-wait { margin: 14px 0 0; text-align: center; }
.pp-info { display: grid; gap: 8px; }
.pp-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border-soft); }
.pp-line b { word-break: break-all; }

/* ---------- top bar: brand + menu + controls grouped together on wide screens ---------- */
@media (min-width: 1651px) {
  .topbar-inner { max-width: none; margin: 0; padding: 10px 28px 10px 20px; }
  .nav { justify-content: flex-start; margin-left: 10px; }
}
.pp-info .pp-line { flex-direction: row; align-items: center; }
.pp-info .pp-line > div { display: flex; flex-direction: column; }

/* ---------- order info on tickets ---------- */
.tk-order { margin: 12px 0 16px; border-color: rgba(251, 191, 36, .35); }
.tk-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.tk-order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 16px; margin-bottom: 12px; }
.tk-order-grid div { display: flex; flex-direction: column; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .05em; }
/* ---------- Christmas extras: fairy lights + tree (added alongside the snow effect) ---------- */
#xmas-lights { position: fixed; top: 0; left: 0; right: 0; z-index: 55; display: flex; justify-content: space-around; padding: 2px 6px 0; pointer-events: none; }
#xmas-lights i { display: block; width: 9px; height: 9px; border-radius: 50%; margin-top: 2px; animation: xmas-twinkle 1.6s ease-in-out infinite; }
@keyframes xmas-twinkle { 0%, 100% { opacity: .45; filter: brightness(1) drop-shadow(0 0 2px currentColor); } 50% { opacity: 1; filter: brightness(1.6) drop-shadow(0 0 6px currentColor); } }
#xmas-lights i:nth-child(3n) { margin-top: 6px; } #xmas-lights i:nth-child(3n+1) { margin-top: 0; }
#xmas-tree { position: fixed; left: 14px; bottom: 14px; z-index: 55; pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
@media (max-width: 640px) { #xmas-tree { transform: scale(.7); transform-origin: bottom left; } #xmas-lights i { width: 7px; height: 7px; } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { #xmas-lights i { animation: none; opacity: .85; } }

/* ---------- holiday effects list (admin settings) ---------- */
.holiday-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin-bottom: 8px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border-soft); }
.holiday-row.is-active { border-color: var(--accent); background: rgba(34, 211, 238, .07); }
.holiday-row-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* ---------- corner FAQ bot ---------- */
#hvh-bot { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.hvh-bot-fab { width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--border); background: radial-gradient(circle at 40% 32%, #241010, #0b0505); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 20px rgba(255, 70, 0, .35); }
.hvh-bot-panel { position: absolute; right: 0; bottom: 90px; width: 320px; max-width: calc(100vw - 40px); height: 420px; max-height: 65vh; display: flex; flex-direction: column; background: var(--card-solid); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); overflow: hidden; }
.hvh-bot-panel[hidden] { display: none; }
.hvh-bot-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: rgba(34, 211, 238, .1); border-bottom: 1px solid var(--border-soft); font-weight: 700; }
.hvh-bot-close { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; }
.hvh-bot-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.hvh-bot-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.4; }
.hvh-bot-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .06); color: var(--text); }
.hvh-bot-msg.user { align-self: flex-end; background: rgba(34, 211, 238, .18); color: var(--text); }
.hvh-bot-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--border-soft); }
.hvh-bot-form input { flex: 1; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: .86rem; }
.hvh-bot-form button { background: var(--accent); color: #04121a; border: 0; border-radius: 10px; width: 38px; font-weight: 700; cursor: pointer; }
@media (max-width: 480px) { .hvh-bot-panel { width: calc(100vw - 32px); right: -6px; } }
.tk-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-ordertag { margin: 4px 0 12px; }

/* ---------- QR codes on the order page ---------- */
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0; text-align: center; }
.qr-img { padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 8px 26px rgba(0, 0, 0, .45); line-height: 0; }
.qr-img svg { width: 128px; height: 128px; display: block; }

/* ---------- dropdown lists: dark, readable options ---------- */
select { color-scheme: dark; }
select option, select optgroup { background-color: #0d1526; color: #e6edf7; }
select option:checked, select option:hover { background-color: #164e63; color: #ffffff; }
select option:disabled { color: #7a8aa3; }

/* ---------- top bar: brand + menu + controls grouped together on wide screens ---------- */
@media (min-width: 1651px) {
  .topbar-inner { max-width: none; margin: 0; padding: 10px 20px; justify-content: flex-start; gap: 14px; }
  .nav { flex: 0 1 auto; justify-content: flex-start; margin-left: 10px; }
  .topbar-right { flex: none; margin-left: 10px; }
}

/* ---------- "Admini online" chip (icon badge + two lines) ---------- */
a.staff-nav { display: inline-flex; align-items: center; gap: 9px; padding: 3px 14px 3px 4px; border-radius: 999px; border: 1px solid rgba(61, 220, 132, .4); background: linear-gradient(135deg, rgba(61, 220, 132, .16), rgba(34, 211, 238, .08)); box-shadow: 0 0 16px rgba(61, 220, 132, .14); text-transform: none; }
a.staff-nav .sn-ic { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .95rem; background: rgba(4, 18, 26, .7); border: 1px solid rgba(61, 220, 132, .5); }
a.staff-nav .sn-ic .staff-dot { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #0a1220; background: var(--green); animation: staffpulse 1.8s infinite; }
a.staff-nav .sn-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
a.staff-nav .sn-txt small { font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(190, 255, 220, .75); font-weight: 600; }
a.staff-nav .sn-txt b { font: 700 1.02rem "Rajdhani", sans-serif; color: #eafff3; }
a.staff-nav .sn-txt b em { font-style: normal; font-weight: 600; font-size: .85em; color: rgba(190, 255, 220, .65); margin-left: 1px; }
a.staff-nav:hover, a.staff-nav.on { background: linear-gradient(135deg, rgba(61, 220, 132, .28), rgba(34, 211, 238, .14)); box-shadow: 0 0 20px rgba(61, 220, 132, .32); }
a.staff-nav.is-off { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
a.staff-nav.is-off .sn-ic { border-color: rgba(255, 255, 255, .2); }
a.staff-nav.is-off .sn-ic .staff-dot { background: #6b7a90; animation: none; }
a.staff-nav.is-off .sn-txt small, a.staff-nav.is-off .sn-txt b, a.staff-nav.is-off .sn-txt b em { color: var(--muted); }
@media (max-width: 1280px) { a.staff-nav { padding-right: 16px; } }

/* ---------- community cards: smaller avatars and tighter cards ---------- */
.member-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.member-card { padding: 12px 12px 12px; gap: 8px; border-radius: 14px; }
.member-link { gap: 4px; }
.member-av { width: 46px; height: 46px; border-width: 2px; }
.member-av.ph { font-size: 1.15rem; }
.member-nick { font-size: .95rem; }
.member-uid { font-size: .72rem; }

/* ---------- smaller home banner ---------- */
.hero { min-height: 190px; }
.hero-inner { padding: 14px 16px; }
.hero-logo { height: 78px; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 4px 0 2px; }
.hero-tag { margin: 3px 0; padding: 2px 12px; font-size: .7rem; }
.hero-sub { margin: 4px auto 10px; font-size: .85rem; max-width: 480px; }
.hero-cta { gap: 8px; }
.hero-cta .btn.lg { padding: 8px 18px; font-size: .85rem; }
@media (max-width: 560px) { .hero { min-height: 170px; } .hero-logo { height: 64px; } }

/* ---------- admin: panel permissions ---------- */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; width: 100%; }
.perm-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; cursor: pointer; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s; }
.perm-item:hover { border-color: var(--border); }
.perm-item input { position: absolute; opacity: 0; pointer-events: none; }
.perm-box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: .15s; }
.perm-item input:checked + .perm-box { background: linear-gradient(135deg, #22d3ee, #3ddc84); border-color: transparent; }
.perm-item input:checked + .perm-box::after { content: "✓"; color: #04121a; font-weight: 900; font-size: .8rem; line-height: 1; }
.perm-item:has(input:checked) { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .08); }
.perm-item.sens:has(input:checked) { border-color: rgba(251, 191, 36, .55); background: rgba(251, 191, 36, .08); }
.perm-ic { flex: none; font-size: 1.1rem; }
.perm-label { font-size: .88rem; line-height: 1.3; }
.perm-label em { font-style: normal; color: #fbbf24; }
.perm-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.perm-form { gap: 12px; }
.perm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.perm-head > div { flex: 1; min-width: 0; }
.perm-av { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.perm-av.ph { display: grid; place-items: center; font-weight: 700; color: #04121a; background: linear-gradient(135deg, #14b8c8, #3ddc84); }
.perm-count { font-size: .8rem; padding: 3px 12px; border-radius: 999px; background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .3); color: var(--accent); }

/* ---------- admin: in-game permissions ---------- */
.perm-group { width: 100%; margin: 6px 0 4px; }
.perm-group h5 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ctl-row3 { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 12px; width: 100%; }
@media (max-width: 700px) { .ctl-row3 { grid-template-columns: 1fr; } }

/* ---------- VIP store: compact package cards ---------- */
.packages { grid-template-columns: repeat(auto-fit, minmax(240px, 370px)); justify-content: center; gap: 14px; }
.pkg { padding: 18px 18px 16px; border-radius: 16px; }
.pkg h3 { font-size: 1.2rem; }
.pkg-price { font-size: 1.7rem; margin-top: 2px; }
.pkg-len { margin-bottom: 10px; font-size: .8rem; }
.perks { gap: 5px; margin-bottom: 10px; font-size: .8rem; line-height: 1.35; }
.pkg-actions { grid-template-columns: 1fr; gap: 8px; }
.pkg-actions .btn { padding: 9px 10px; font-size: .88rem; }
.pkg-flag { font-size: .66rem; padding: 3px 12px; top: 8px; }
@media (max-width: 420px) { .pkg-actions { grid-template-columns: 1fr; } }

/* ---------- VIP store: collapsible "show more perks" ---------- */
.perks-more { margin: 0 0 14px; }
.perks-more summary { display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; list-style: none; color: var(--accent); font-size: .78rem; font-weight: 600; padding: 6px 0; border-top: 1px dashed var(--border-soft); user-select: none; }
.perks-more summary::-webkit-details-marker { display: none; }
.perks-more summary::after { content: "▾"; font-size: .7rem; transition: transform .18s; }
.perks-more[open] summary::after { transform: rotate(180deg); }
.perks-more[open] summary { border-bottom: 1px dashed var(--border-soft); margin-bottom: 8px; }
.perks-extra { margin: 0 0 4px; animation: perks-fade .18s ease-out; }
@keyframes perks-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- nick colour picker ---------- */
.nick-colors > span { display: block; margin-bottom: 8px; }
.nc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nc-sw { position: relative; cursor: pointer; }
.nc-sw input { position: absolute; opacity: 0; pointer-events: none; }
.nc-sw i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); font-style: normal; color: var(--muted); transition: transform .15s, border-color .15s, box-shadow .15s; }
.nc-sw:hover i { transform: scale(1.12); }
.nc-sw input:checked + i { border-color: #fff; box-shadow: 0 0 0 3px rgba(34, 211, 238, .45); transform: scale(1.12); }

/* ---------- maintenance page + admin ---------- */
.maint { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(900px 500px at 50% 0%, rgba(34, 211, 238, .12), transparent 60%), #070d19; }
.maint-card { width: 100%; max-width: 560px; text-align: center; padding: 34px 28px; border-radius: 22px; border: 1px solid var(--border); background: var(--card); box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.maint-logo { height: 54px; width: auto; margin-bottom: 8px; }
.maint-ic { font-size: 2.6rem; margin: 6px 0; animation: float 4s ease-in-out infinite; }
.maint-card h1 { margin: 0 0 10px; font: 700 2rem "Rajdhani", sans-serif; letter-spacing: .03em; }
.maint-msg { margin: 0 auto 12px; max-width: 440px; color: #c3cee0; line-height: 1.55; }
.maint-until { margin: 0 0 16px; color: var(--gold, #22d3ee); }
.maint-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 14px; }
.maint-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 7px 14px; font-size: .84rem; font-weight: 600; color: #fff; background: linear-gradient(90deg, #7f1d1d, #b91c1c); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.maint-bar a { color: #fff; text-decoration: underline; }
.maint-state { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.maint-state .dot { width: 10px; height: 10px; border-radius: 50%; }
.maint-state.off { color: #3ddc84; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .3); } .maint-state.off .dot { background: #3ddc84; }
.maint-state.on { color: #ff9b9b; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); } .maint-state.on .dot { background: #ef4444; animation: staffpulse 1.4s infinite; }
.maint-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- live players + seasons ---------- */
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.live-servers { display: flex; flex-direction: column; gap: 22px; }
.live-server-name { margin: 0 0 8px; font: 700 1rem "Rajdhani", sans-serif; letter-spacing: .04em; color: var(--text, #e5e7eb); }
.live-team { padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--border-soft); }
.live-team.ct { border-color: rgba(34, 211, 238, .4); } .live-team.t { border-color: rgba(251, 191, 36, .4); }
.live-team h3 { margin: 0 0 8px; font: 700 1.05rem "Rajdhani", sans-serif; letter-spacing: .06em; }
.live-team.ct h3 { color: #6db3ff; } .live-team.t h3 { color: #fbbf24; }
.live-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.live-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 6px; }
.live-table td { padding: 5px 6px; border-top: 1px solid var(--border-soft); }
.live-table .num { text-align: right; width: 44px; font-variant-numeric: tabular-nums; }
.live-table tr.dead td.nm { opacity: .55; text-decoration: line-through; }
.live-table td.nm a { color: var(--text); font-weight: 600; }
.live-vip, .live-tier { margin-left: 6px; font-style: normal; font-size: .66rem; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; }
.live-vip { color: var(--gold, #22d3ee); }
.live-tier { color: var(--accent); }
@media (max-width: 760px) { .live-grid { grid-template-columns: 1fr; } }
.season-now { text-align: center; border-color: rgba(34, 211, 238, .45); margin-bottom: 14px; }
.season-now h3 { margin: 4px 0; font: 700 1.7rem "Rajdhani", sans-serif; color: var(--gold, #22d3ee); }
.season-top { list-style: none; margin: 10px auto 0; padding: 0; max-width: 460px; display: grid; gap: 6px; text-align: left; }
.season-top li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-soft); }
.season-top li b { width: 26px; text-align: center; } .season-top li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .season-top li em { font-style: normal; color: var(--muted); font-size: .85rem; }
.season-old { margin-bottom: 12px; } .season-old h3 { margin: 0 0 4px; }
.season-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; font-size: .82rem; color: var(--gold, #22d3ee); border: 1px solid rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .08); }

.happy-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 7px 14px; font-size: .86rem; font-weight: 700; color: #241800; background: linear-gradient(90deg, #67e8f9, #0891b2); border-bottom: 1px solid rgba(0, 0, 0, .25); }
.happy-bar a { color: #241800; text-decoration: underline; }

/* ---------- ranking reset ---------- */
.rr-modes { display: grid; gap: 8px; width: 100%; }
.rr-mode { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; cursor: pointer; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .03); }
.rr-mode:has(input:checked) { border-color: rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .08); }
.rr-mode span { display: flex; flex-direction: column; gap: 2px; } .rr-mode small { color: var(--muted); }

/* ---------- command list ---------- */
.cmds-tools, .cmds-tools input { width: 100%; } .cmds-tools { margin-bottom: 8px; }
.cmds-tools input, #cmd-q { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; outline: none; }
#cmd-q:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.cmds-hint, .cmd-h { margin: 14px 0 8px; }
.cmd-group { margin-bottom: 14px; } .cmd-group h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.cmd-list { display: grid; gap: 8px; }
.cmd-row { display: flex; gap: 14px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border-soft); }
.cmd-name { flex: none; min-width: 108px; padding: 5px 12px; border-radius: 9px; cursor: pointer; font: 700 .95rem ui-monospace, Consolas, monospace; color: var(--accent); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); text-align: left; }
.cmd-name:hover { background: rgba(34, 211, 238, .2); }
.cmd-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmd-use { font: .82rem ui-monospace, Consolas, monospace; color: var(--gold, #22d3ee); } .cmd-desc { line-height: 1.4; } .cmd-alias { font-size: .78rem; color: var(--muted); }
.cmd-role { font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; }
.role-helper .cmd-role { color: #3ddc84; } .role-moderator .cmd-role { color: #22d3ee; } .role-admin .cmd-role { color: #22d3ee; } .role-owner .cmd-role { color: #ff7a7a; }
.cmd-notes { margin: 6px 0 0; padding-left: 20px; color: #c3cee0; } .cmd-notes li { margin: 5px 0; line-height: 1.45; }
@media (max-width: 560px) { .cmd-row { flex-direction: column; gap: 6px; } .cmd-name { min-width: 0; } }

/* ---------- lucky wheel ---------- */
.wheel-card { text-align: center; }
.wheel-stage { position: relative; width: 260px; height: 260px; margin: 6px auto 16px; }
.wheel-pointer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 1.6rem; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.wheel-disc { position: relative; width: 260px; height: 260px; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 40px rgba(0, 0, 0, .55), inset 0 0 30px rgba(0, 0, 0, .35); }
.wheel-lbl { position: absolute; left: 50%; top: 50%; width: 80px; margin: -10px 0 0 -40px; text-align: center; font: 700 .78rem "Rajdhani", sans-serif; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.wheel-result { margin: 14px 0 4px; font-size: 1.15rem; } .wheel-result.win { color: #3ddc84; font-weight: 700; font-size: 1.3rem; } .wheel-result.done { color: var(--muted); }
.wheel-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; } .wheel-list li { display: flex; align-items: center; gap: 10px; } .wheel-list i { width: 14px; height: 14px; border-radius: 4px; }
/* connect line in the server card: a copy button that looks like the old IP text */
button.server-ip{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:right}
button.server-ip:hover{color:var(--accent,#22d3ee)}

/* paid unban page */
.unban-card{display:flex;flex-direction:column;gap:12px}
.unban-price{font-size:1.1rem;margin:0}
.unban-rule{margin:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,180,60,.35);background:rgba(255,180,60,.08);font-size:.9rem}

/* unban card in the shop */
.pkg.pkg-unban{border-color:rgba(255,120,120,.45);background:linear-gradient(180deg,rgba(255,120,120,.08),var(--card) 40%)}
.pkg.pkg-unban .pkg-price{color:#ff8f8f}
.pkg.pkg-unban .pkg-actions{margin-top:auto;padding-top:14px}
.pkg.pkg-unban .block-btn{display:block;width:100%;text-align:center;box-sizing:border-box}
.pkg.pkg-unban .perks{flex:0 0 auto;align-content:start}

/* the little devil in the unban card (pseudo-3D: sways in perspective, red glow) */
.pkg.pkg-unban .unban-devil{flex:1;display:flex;align-items:center;justify-content:center;perspective:520px;padding:8px 0;min-height:130px}
.pkg.pkg-unban .unban-devil svg{filter:drop-shadow(0 10px 16px rgba(255,60,60,.5));transform-style:preserve-3d;animation:devil-sway 4.5s ease-in-out infinite}
@keyframes devil-sway{0%,100%{transform:rotateY(-16deg) rotateX(4deg) translateY(0)}50%{transform:rotateY(16deg) rotateX(-4deg) translateY(-7px)}}
@media (prefers-reduced-motion: reduce) and (min-width: 99999px){.pkg.pkg-unban .unban-devil svg{animation:none}}

/* moving glow border wins over the plain borders defined earlier for these boxes */
.server, .tile, .pkg, .promo { border-color: transparent; }
.prizes, .card, .faq-item, .stat, .member-card, .soon { position: relative; border-color: transparent; }
.nav a, .searchbar, .online-pill, .dd-btn, .icon-btn, .user-chip, .btn.ghost, .btn.steam { border-color: transparent !important; }
.chip, .chip.live, .chip.off, .chip.mode { border-color: transparent !important; }
.staff-nav, .staff-nav:hover, .staff-nav.on, .staff-nav.is-off { border-color: transparent !important; }

/* ---------- Christmas tree "4D": layered depth (translateZ), follows the mouse / device tilt, sways, twinkles ---------- */
#xmas-tree { perspective: 460px; perspective-origin: 50% 70%; }
.xt-scene { position: relative; width: 96px; height: 125px; transform-style: preserve-3d; transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); transform-origin: 50% 90%; will-change: transform; }
.xt-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.xt-back { transform: translateZ(-16px); }
.xt-mid { transform: translateZ(2px); }
.xt-front { transform: translateZ(26px); }
.xt-shadow { position: absolute; left: 50%; bottom: -4px; width: 120px; height: 20px; margin-left: -60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 209, 102, .28), rgba(0, 0, 0, 0)); transform: translateZ(-22px); }
.xt-star { transform-box: fill-box; transform-origin: center; animation: xt-star 2.2s ease-in-out infinite; }
@keyframes xt-star { 0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px #ffd166); } 50% { transform: scale(1.22) rotate(10deg); filter: drop-shadow(0 0 8px #ffe08a); } }
.xt-b { transform-box: fill-box; transform-origin: center; animation: xt-bulb 1.9s ease-in-out infinite; }
.xt-b:nth-of-type(2n) { animation-delay: .5s; } .xt-b:nth-of-type(3n) { animation-delay: 1.1s; } .xt-b:nth-of-type(5n) { animation-delay: 1.5s; }
@keyframes xt-bulb { 0%, 100% { opacity: .65; transform: scale(.9); filter: drop-shadow(0 0 1px currentColor); } 50% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 5px #fff); } }
.xt-gift { transform-box: fill-box; transform-origin: 50% 100%; animation: xt-bob 3.4s ease-in-out infinite; }
.xt-g2 { animation-delay: 1.2s; }
@keyframes xt-bob { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-2.5px) scaleY(1.03); } }
.xt-sp { position: absolute; bottom: 60%; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px rgba(255, 224, 138, .9); opacity: 0; transform: translateZ(34px); animation: xt-sp 3.2s ease-in infinite; }
@keyframes xt-sp { 0% { opacity: 0; transform: translateZ(34px) translateY(0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateZ(34px) translateY(-60px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .xt-star, .xt-b, .xt-gift, .xt-sp { animation: none; } }

/* ---------- Halloween: glowing jack-o'-lanterns (candle flicker inside) ---------- */
#hw-decor { position: fixed; left: 0; right: 0; bottom: 0; height: 0; z-index: 55; pointer-events: none; }
.hw-pk { position: fixed; bottom: 6px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); animation: hw-bob 4.2s ease-in-out infinite; }
.hw-pk svg { display: block; width: 100%; height: auto; overflow: visible; position: relative; }
.hw-pk1 { left: 14px; width: 118px; } .hw-pk2 { left: 118px; width: 84px; bottom: 4px; animation-delay: -1.4s; }
.hw-pk3 { right: 20px; width: 104px; animation-delay: -2.4s; } .hw-pk4 { right: 118px; width: 66px; bottom: 4px; animation-delay: -.8s; }
.hw-halo { position: absolute; left: 50%; top: 58%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 158, 32, .34), rgba(255, 110, 0, .1) 55%, rgba(0, 0, 0, 0)); animation: hw-flicker 2.6s linear infinite; }
.hw-pk2 .hw-halo, .hw-pk2 .hw-face, .hw-pk2 .hw-inner { animation-delay: -.9s; } .hw-pk3 .hw-halo, .hw-pk3 .hw-face, .hw-pk3 .hw-inner { animation-delay: -1.7s; } .hw-pk4 .hw-halo, .hw-pk4 .hw-face, .hw-pk4 .hw-inner { animation-delay: -.4s; }
.hw-face { animation: hw-flicker 2.6s linear infinite; filter: drop-shadow(0 0 5px #ffb020) drop-shadow(0 0 14px #ff8a00); }
.hw-inner { animation: hw-flicker 2.6s linear infinite; mix-blend-mode: screen; }
@keyframes hw-flicker { 0% { opacity: 1; } 6% { opacity: .78; } 11% { opacity: 1; } 27% { opacity: .9; } 34% { opacity: .68; } 39% { opacity: .96; } 58% { opacity: .82; } 63% { opacity: 1; } 79% { opacity: .72; } 85% { opacity: .95; } 100% { opacity: 1; } }
@keyframes hw-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-3px) rotate(1deg); } }
@media (max-width: 640px) { .hw-pk1 { width: 84px; left: 6px; } .hw-pk2 { width: 60px; left: 84px; } .hw-pk3 { width: 76px; right: 8px; } .hw-pk4 { display: none; } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .hw-pk, .hw-halo, .hw-face, .hw-inner { animation: none; } }

/* ---------- Christmas snowman "4D" next to the tree (same depth layers / tilt as the tree) ---------- */
#xmas-snowman { position: fixed; left: 122px; bottom: 12px; z-index: 55; pointer-events: none; perspective: 460px; perspective-origin: 50% 70%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.xs-scene { width: 92px; height: 120px; }
.xs-body { transform-box: fill-box; transform-origin: 50% 100%; animation: xs-breathe 3.8s ease-in-out infinite; }
@keyframes xs-breathe { 0%, 100% { transform: scaleY(1) scaleX(1); } 50% { transform: scaleY(1.025) scaleX(.99); } }
.xs-hat { transform-box: fill-box; transform-origin: 50% 100%; animation: xs-hat 3.1s ease-in-out infinite; }
@keyframes xs-hat { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3.5deg) translateY(-.6px); } }
@media (max-width: 640px) { #xmas-snowman { transform: scale(.7); transform-origin: bottom left; left: 88px; } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .xs-body, .xs-hat { animation: none; } }

/* ---------- corner bot: the devil moves (float, blink, horns, brows, tongue, hop, chatter) ---------- */
.hvh-bot-fab { position: relative; }
.hvh-bot-fab svg.dv-svg { overflow: visible; animation: dv-float 3.6s ease-in-out infinite; }
@keyframes dv-float { 0%, 100% { transform: translateY(1px) rotate(-3deg); } 50% { transform: translateY(-3px) rotate(3deg); } }
.hvh-bot-fab:hover svg.dv-svg { animation-duration: 1.3s; }
.dv-horn, .dv-brow, .dv-eyes, .dv-tongue, .dv-mouth { transform-box: fill-box; }
.dv-horn { animation: dv-horn 4.4s ease-in-out infinite; }
.dv-horn-l { transform-origin: 92% 92%; } .dv-horn-r { transform-origin: 8% 92%; animation-delay: -.7s; }
@keyframes dv-horn { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-9deg); } 92% { transform: rotate(7deg); } 96% { transform: rotate(-3deg); } }
.dv-brow-l { transform-origin: 100% 100%; animation: dv-brow-l 5.6s ease-in-out infinite; }
.dv-brow-r { transform-origin: 0 100%; animation: dv-brow-r 5.6s ease-in-out infinite; }
@keyframes dv-brow-l { 0%, 58%, 100% { transform: translateY(0) rotate(0); } 64%, 76% { transform: translateY(-3.5px) rotate(-16deg); } }
@keyframes dv-brow-r { 0%, 58%, 100% { transform: translateY(0) rotate(0); } 64%, 76% { transform: translateY(-3.5px) rotate(16deg); } }
.dv-eyes { transform-origin: center; animation: dv-blink 4.6s infinite; }
@keyframes dv-blink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.07); } }
.dv-pupil { transition: transform .12s ease-out; }
.dv-tongue { transform-origin: 50% 0; animation: dv-tongue 1.9s ease-in-out infinite; }
@keyframes dv-tongue { 0%, 100% { transform: rotate(-5deg) scaleY(1); } 50% { transform: rotate(6deg) scaleY(1.14); } }
.dv-mouth { transform-origin: 50% 0; }
.hvh-bot-fab.dv-talk .dv-mouth { animation: dv-chat .17s ease-in-out infinite alternate; }
@keyframes dv-chat { from { transform: scaleY(.72); } to { transform: scaleY(1.12); } }
.hvh-bot-fab::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(255, 90, 60, .6); opacity: 0; pointer-events: none; animation: dv-ring 3.8s ease-out infinite; }
@keyframes dv-ring { 0% { opacity: .75; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.32); } }
.hvh-bot-fab.dv-hop { animation: dv-hop .95s cubic-bezier(.3, .7, .4, 1); }
@keyframes dv-hop { 0% { transform: translateY(0) scale(1, 1); } 14% { transform: translateY(0) scale(1.1, .88); } 38% { transform: translateY(-17px) scale(.94, 1.08); } 60% { transform: translateY(0) scale(1.08, .92); } 76% { transform: translateY(-7px); } 100% { transform: translateY(0) scale(1, 1); } }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .hvh-bot-fab svg.dv-svg, .dv-horn, .dv-brow, .dv-eyes, .dv-tongue, .hvh-bot-fab::after, .hvh-bot-fab.dv-hop { animation: none; } }

/* ---------- background effects ported from the main shop ---------- */
#bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#bgfx .fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.smoke-fire-fx { position: absolute; inset: 0; overflow: hidden; }
.ff-flame {
  position: absolute; bottom: -6%; width: 140px; height: 200px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 80%, #fff3b0 0%, #fbbf24 22%, #f97316 45%, #dc2626 68%, rgba(220,38,38,0) 78%);
  filter: blur(6px);
  opacity: 0.85;
  animation: ffFlicker 2.6s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.ff-flame-1 { left: 6%;  width: 160px; height: 230px; animation-duration: 2.2s; }
.ff-flame-2 { left: 32%; width: 120px; height: 190px; animation-duration: 2.8s; animation-delay: -0.6s; }
.ff-flame-3 { left: 60%; width: 150px; height: 210px; animation-duration: 2.4s; animation-delay: -1.2s; }
.ff-flame-4 { left: 84%; width: 130px; height: 195px; animation-duration: 3s;   animation-delay: -1.8s; }
@keyframes ffFlicker {
  0%   { transform: scaleY(1) scaleX(1) translateX(0); opacity: 0.75; }
  30%  { transform: scaleY(1.08) scaleX(0.96) translateX(-3px); opacity: 0.9; }
  60%  { transform: scaleY(0.94) scaleX(1.05) translateX(4px); opacity: 0.8; }
  100% { transform: scaleY(1.05) scaleX(0.98) translateX(-2px); opacity: 0.95; }
}
.ff-smoke {
  position: absolute; bottom: 10%; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,230,235,0.55) 0%, rgba(200,200,210,0.25) 45%, rgba(200,200,210,0) 75%);
  filter: blur(4px);
  animation: ffSmokeRise linear infinite;
  opacity: 0;
}
.ff-smoke-1 { left: 10%; width: 70px;  height: 70px;  animation-duration: 9s;   animation-delay: 0s; }
.ff-smoke-2 { left: 30%; width: 100px; height: 100px; animation-duration: 11s;  animation-delay: -3s; }
.ff-smoke-3 { left: 52%; width: 80px;  height: 80px;  animation-duration: 10s;  animation-delay: -6s; }
.ff-smoke-4 { left: 74%; width: 110px; height: 110px; animation-duration: 12s;  animation-delay: -2s; }
.ff-smoke-5 { left: 90%; width: 75px;  height: 75px;  animation-duration: 9.5s; animation-delay: -5s; }
@keyframes ffSmokeRise {
  0%   { transform: translateY(0) scale(0.8); opacity: 0; }
  15%  { opacity: 0.55; }
  70%  { opacity: 0.3; }
  100% { transform: translateY(-70vh) scale(2.2); opacity: 0; }
}


@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .ff-flame, .ff-smoke { animation: none; opacity: 0; } }

/* ---------- chat: compact list like an IRC log ([date time] nick: message) ---------- */
.chat-box { border-radius: 12px; }
.chat-log { height: min(46vh, 380px); min-height: 220px; padding: 10px 14px; gap: 3px; background: rgba(4, 12, 24, .55); }
.chat-msg, .chat-msg.mine { max-width: 100%; align-self: stretch; flex-direction: row; gap: 0; align-items: baseline; animation: none; }
.chat-msg .chat-av { display: none; }
.chat-msg .chat-bubble, .chat-msg.mine .chat-bubble { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; padding: 1px 0; border: 0; border-radius: 0; background: none; width: 100%; }
.chat-msg .chat-meta { display: contents; }
.chat-msg .chat-time { order: -1; margin: 0; font-size: .8rem; font-weight: 700; color: rgba(190, 205, 225, .55); white-space: nowrap; }
.chat-msg .chat-nick { font-size: .9rem; font-weight: 500; color: #4dc3d1; }
.chat-msg .chat-nick::after { content: ":"; }
.chat-msg .rank-badge-sm { display: none; }
.chat-msg .chat-text { flex: 1 1 200px; min-width: 0; font-size: .92rem; line-height: 1.35; }
.chat-msg .chat-del { order: 5; width: 18px; height: 18px; font-size: .6rem; }
.chat-emojis { margin-bottom: 6px; }
.chat-emoji { padding: 1px 6px; font-size: .95rem; }
.chat-row input[type=text] { padding: 8px 12px; border-radius: 10px; }
.chat-form { padding: 8px 12px 10px; }
@media (max-width: 560px) { .chat-log { height: 46vh; } .chat-msg .chat-time { font-size: .72rem; } }

/* ---------- chat: even smaller ---------- */
.chat-box { border-radius: 10px; }
.chat-log { height: min(32vh, 250px); min-height: 150px; padding: 6px 10px; gap: 1px; }
.chat-msg .chat-bubble, .chat-msg.mine .chat-bubble { gap: 0 7px; padding: 0; }
.chat-msg .chat-time { font-size: .68rem; }
.chat-msg .chat-nick { font-size: .78rem; }
.chat-msg .chat-text { font-size: .8rem; line-height: 1.25; }
.chat-emojis { margin-bottom: 4px; gap: 2px; }
.chat-emoji { padding: 0 5px; font-size: .8rem; border-radius: 7px; }
.chat-form { padding: 6px 10px 8px; }
.chat-row input[type=text] { padding: 6px 10px; font-size: .8rem; border-radius: 8px; }
.chat-row .btn { padding: 6px 12px; font-size: .8rem; }
.chat-count { font-size: .64rem; min-width: 38px; }
@media (max-width: 560px) { .chat-log { height: 36vh; } }

/* ---------- member cards: smaller ---------- */
.member-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.member-card { padding: 8px 8px 8px; gap: 5px; border-radius: 12px; }
.member-link { gap: 2px; }
.member-av { width: 34px; height: 34px; border-width: 2px; }
.member-av.ph { font-size: .95rem; }
.member-nick { font-size: .8rem; }
.member-uid { font-size: .62rem; }
.member-link .rank-badge-sm { font-size: .58rem; padding: 1px 6px; }
.member-follow, .member-follow-form .btn { font-size: .68rem; padding: 3px 8px; min-height: 0; line-height: 1.3; }
.member-card .avatar-frame-devil::before, .member-card .avatar-frame-devil::after { width: 6px; height: 9px; top: -4px; }
.member-legend { margin-top: 10px; gap: 6px; }

a.nav-staff-nav { padding: 2px 10px 2px 3px; gap: 6px; }
a.nav-staff-nav .sn-ic { width: 19px; height: 19px; font-size: .62rem; }
a.nav-staff-nav .sn-ic .staff-dot { width: 6px; height: 6px; }
a.nav-staff-nav .sn-txt small { font-size: .5rem; }
a.nav-staff-nav .sn-txt b { font-size: .74rem; }

.pp-checklist { background: rgba(255,255,255,.03); border: 1px solid var(--border-soft); border-radius: 12px; padding: 10px 12px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.pp-checklist-title { margin: 0 0 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pp-check { display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--border-soft); cursor: pointer; font-size: .84rem; }
.pp-check input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.pp-check:has(input:checked) { border-color: var(--accent); background: rgba(34,211,238,.08); }
.pp-open-disabled { opacity: .45; pointer-events: none; cursor: not-allowed; }

/* explicit: no pill outlines on top-nav items or the staff-online badge */
.nav a, a.staff-nav, a.staff-nav:hover, a.staff-nav.on, a.staff-nav.is-off, a.staff-nav .sn-ic,
.dd-btn, .icon-btn, .user-chip, .btn.ghost, .btn.steam { border: none !important; }
.skins-pay-notice { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; margin-bottom: 18px; border: 2px solid var(--gold); border-radius: var(--radius); background: rgba(34, 211, 238, .1); }
.skins-pay-notice b { color: var(--gold); font-size: 1.02rem; }
.skins-pay-notice p { margin: 0; font-size: .92rem; line-height: 1.45; }.skins-steamid-field { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.skins-steamid-field span { font-size: .82rem; font-weight: 600; color: var(--text); }
.skins-steamid-field input { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-soft); background: rgba(255,255,255,.05); color: var(--text); font-size: .95rem; }
.skins-steamid-field input:focus { outline: none; border-color: var(--gold); }.skins-order-box { display: flex; flex-direction: column; gap: 10px; }
.skins-countdown { font-weight: 700; color: var(--gold); font-size: 1rem; }
.crate-card { text-align: center; }
.crate-reel { margin: 14px auto; padding: 22px 14px; max-width: 420px; border: 2px solid var(--gold); border-radius: var(--radius); background: rgba(34, 211, 238, .08); font: 700 1.5rem "Rajdhani", sans-serif; color: var(--gold); }
.crate-result { min-height: 1.4em; font-weight: 600; }
.crate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.skins-pay-notice[hidden], .skins-order-box[hidden] { display: none !important; }

.hero.has-banner { min-height: 320px; }
@media (max-width: 560px) { .hero.has-banner { min-height: 220px; } }

/* ---------- ticket look for checkout and order pages (v2) ---------- */
.tkw { max-width: 780px; margin: 0 auto; }
.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.tk-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tk-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: #05101a; font-size: 1.15rem; }
.tk-brand small { display: block; font-weight: 400; font-size: .64rem; color: var(--muted); letter-spacing: .08em; }
.tk-steps { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--muted); }
.tk-steps .s { display: flex; align-items: center; gap: 6px; }
.tk-steps .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; border: 1px solid #1a2a42; background: #0c1424; }
.tk-steps .done .dot { background: var(--accent); border-color: var(--accent); color: #05101a; }
.tk-steps .now { color: var(--text); }
.tk-steps .now .dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.tk-steps .bar { width: 26px; height: 1px; background: #1a2a42; }
.tk-steps .done + .bar { background: var(--accent); }
.tk { position: relative; border-radius: 26px; padding: 1px; margin: 0 0 14px; background: linear-gradient(135deg, rgba(34, 211, 238, .7), rgba(139, 92, 246, .55) 55%, rgba(34, 211, 238, .18)); box-shadow: 0 30px 80px -34px rgba(34, 211, 238, .35), 0 20px 60px -34px rgba(139, 92, 246, .4); }
.tk-in { border-radius: 25px; overflow: hidden; background: linear-gradient(180deg, #0e1830, #0a1120); position: relative; }
.tk-stub { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px 30px 26px; }
.tk-lbl { font: 600 .68rem "Poppins", sans-serif; letter-spacing: .14em; color: var(--accent); }
.tk-amount { font: 700 3.3rem/1.05 "Poppins", sans-serif; letter-spacing: -.02em; margin: 6px 0 4px; background: linear-gradient(90deg, #fff, #a5f3fc 55%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid #1a2a42; font-size: .78rem; }
.tk-code { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; }
.tk-ring, .tk-badge { position: relative; width: 120px; height: 120px; }
.tk-ring svg { transform: rotate(-90deg); display: block; }
.tk-ring-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.2; }
.tk-ring-c b { font: 500 1.45rem "JetBrains Mono", ui-monospace, monospace; }
.tk-ring-c small { display: block; font-size: .6rem; letter-spacing: .12em; color: var(--muted); }
.tk-badge { border-radius: 50%; border: 7px solid #14223a; display: grid; place-items: center; text-align: center; font-size: .64rem; letter-spacing: .14em; color: var(--muted); }
.tk-badge b { display: block; font-size: 1.9rem; line-height: 1.1; }
.tk-cut { position: relative; height: 0; border-top: 2px dashed #1f3150; margin: 0 22px; }
.tk-cut::before, .tk-cut::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.tk-cut::before { left: -37px; } .tk-cut::after { right: -37px; }
.tk-body { padding: 26px 30px 22px; margin: 0; }
.tk-h { font-size: .95rem; font-weight: 600; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.tk .methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; padding: 6px; border-radius: 16px; background: #070d1a; border: 1px solid #1a2a42; margin: 0 0 14px; }
.tk .method { position: relative; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; padding: 12px 6px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--muted); transition: color .2s, background .2s, border-color .2s; }
.tk .method input { position: absolute; opacity: 0; pointer-events: none; }
.tk .method:hover { color: var(--text); background: rgba(255, 255, 255, .03); border-color: transparent; }
.tk .method:has(input:checked) { color: var(--text); background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(139, 92, 246, .22)); border-color: rgba(34, 211, 238, .55); }
.tk .tk-ic { display: grid; place-items: center; height: 28px; font-size: 1.4rem; line-height: 1; font-weight: 600; }
.tk .method:has(input:checked) .tk-ic { color: var(--accent); }
.tk .method-name { flex: none; font-size: .8rem; font-weight: 500; }
.tk .method-total { font-size: .72rem; }
.tk .method-sub { display: none; }
.tk-info { min-height: 0; margin: 0 2px 12px; font-size: .8rem; color: var(--muted); text-align: center; }
.tk-box { margin: 14px 0; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .025); border: 1px solid #1a2a42; }
.tk-nh { font-size: .72rem; letter-spacing: .1em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.tk-ol { list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 0; padding: 0; }
.tk-ol li { counter-increment: s; display: flex; gap: 10px; font-size: .84rem; color: #c4cfe0; line-height: 1.5; }
.tk-ol li::before { content: counter(s); flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 600; background: rgba(34, 211, 238, .14); color: var(--accent); }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 30px 22px; border-top: 1px solid #14223a; font-size: .78rem; color: var(--muted); }
.tk-live { display: flex; align-items: center; gap: 8px; }
.tk-live .pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; animation: tkp 1.8s infinite; }
@keyframes tkp { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.tk-foot a { color: var(--accent); text-decoration: none; }
.tk-sec { display: flex; justify-content: center; gap: 18px; margin: 16px 0 6px; font-size: .72rem; color: #5d6d86; flex-wrap: wrap; }
.tk .order-state { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.tk .order-state.s-paid { border: 0; }
.tk .qr-img { padding: 10px; border-radius: 16px; }
.tk .qr-img svg { width: 172px; height: 172px; }
.tk .crypto-box, .tk .pp-box { background: rgba(255, 255, 255, .025); border-color: #1a2a42; border-radius: 18px; }
.tk .pp-box:has(> .qr-box) { display: grid; grid-template-columns: 196px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.tk .pp-box:has(> .qr-box) > * { grid-column: 2; min-width: 0; }
.tk .pp-box:has(> .qr-box) > .pp-top, .tk .pp-box:has(> .qr-box) > .pp-title { grid-column: 1 / -1; }
.tk .pp-box:has(> .qr-box) > .qr-box { grid-column: 1; grid-row: 3 / span 9; margin: 0; }
@media (max-width: 620px) {
  .tk-stub { grid-template-columns: 1fr; text-align: center; padding: 24px 18px; }
  .tk-chips { justify-content: center; }
  .tk-ring, .tk-badge { margin: 0 auto; order: -1; }
  .tk-amount { font-size: 2.6rem; }
  .tk-body { padding: 22px 16px 18px; }
  .tk-foot { padding: 14px 16px 18px; }
  .tk-cut { margin: 0 12px; } .tk-cut::before { left: -29px; } .tk-cut::after { right: -29px; }
  .tk-steps { display: none; }
  .tk .pp-box:has(> .qr-box) { display: block; }
  .tk .pp-box:has(> .qr-box) > .qr-box { margin: 10px auto 16px; }
}
/* ---------- ticket look v3: line icons, split amount, no preselected method ---------- */
.tki { vertical-align: -3px; flex: none; }
.tk-mark .tki { vertical-align: 0; }
.tk-steps .dot .tki { vertical-align: 0; }
.tk-amount small { font-size: 1.3rem; font-weight: 500; margin-left: 8px; color: var(--muted); -webkit-text-fill-color: var(--muted); letter-spacing: 0; }
.tk-chip .tki { color: var(--accent); }
.tk-badge { padding: 7px; border: 0; background: linear-gradient(135deg, #22d3ee, #8b5cf6); }
.tk-badge > div { width: 100%; height: 100%; border-radius: 50%; background: #0b1428; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.tk-badge .tki { color: var(--accent); }
.tk-h .tki { color: var(--accent); }
.tk .tk-ic { height: 30px; font-size: 0; }
.tk .tk-ic .tki { vertical-align: 0; }
.tk-info { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 4px 14px; min-height: 22px; }
.tk-info .tki { color: var(--muted); }
.tk-live + a, .tk-foot a { display: inline-flex; align-items: center; gap: 6px; }
.tk-sec span { display: inline-flex; align-items: center; gap: 6px; }
.tk #gift-box.skins-pay-notice { border: 1px solid #1a2a42; background: rgba(255, 255, 255, .03); border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; }
.tk .method-total small { font-size: .66rem; }
.tk-ring-c b.long { font-size: 1.05rem; }
.tk-ring-c b { white-space: nowrap; }

/* security row under the ticket: easier to read */
.tk-sec { color: #c4cfe0; font-size: .82rem; gap: 22px; margin: 18px 0 8px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.tk-sec span { padding: 6px 12px; border-radius: 999px; background: rgba(8, 14, 26, .72); border: 1px solid rgba(255, 255, 255, .08); }
.tk-sec .tki { color: var(--accent); }

/* the wallet button only works on phones with a wallet app: hide it where a mouse is used */
@media (hover: hover) and (pointer: fine) { .tk-wallet-btn { display: none; } }

/* no extra colored frame around the payment state: the ticket already has one */
.tk .order-state::before, .tk .order-state::after, .tk .card::before, .tk .card::after { display: none !important; }
.tk .order-state { outline: 0; animation: none; }

.acc-gifts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; font-size: .84rem; }
.acc-gifts-h { color: var(--muted); }
.acc-gift { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-soft); }

/* opening the extra benefits of one package makes its card taller; the other cards must not spread their lists out */
.perks { align-content: start; }
.packages { align-items: stretch; margin-top: 16px; }

/* page background: hexagons (replaces the dotted wave, the grid and the glows) */
body {
  background:
    radial-gradient(90% 70% at 15% 10%, rgba(34, 211, 238, .35) 0px, rgba(34, 211, 238, .12) 45%, rgba(0,0,0,0) 85%),
    radial-gradient(90% 70% at 85% 90%, rgba(34, 211, 238, .22) 0px, rgba(34, 211, 238, .08) 45%, rgba(0,0,0,0) 85%),
    #030408;
  background-attachment: fixed, fixed;
}
body::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035;
}

/* big page titles gently float up and down */
@keyframes titleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.block-head h2 { animation: titleFloat 3.6s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) { .block-head h2 { animation: none; } }

.chip.soon { background: rgba(34, 211, 238, .14); border: 1px solid rgba(34, 211, 238, .45); color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.server.is-soon .server-art { opacity: .55; filter: saturate(.7); }

/* live availability dot */
.pdot { position: absolute; right: 2px; bottom: 2px; z-index: 3; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #0a1120; background: #6b7280; transition: background .3s; }
.pdot-online { background: #34d399; animation: pdotPulse 2s infinite; }
.pdot-dnd { background: #ef4444; }
.pdot-offline { background: #6b7280; }
@keyframes pdotPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.member-card .pdot { width: 12px; height: 12px; border-width: 2px; right: 0; bottom: 0; }
.pdot-static { position: static; display: inline-block; width: 10px; height: 10px; border-width: 0; margin-right: 6px; vertical-align: 0; animation: none; }
.pres-legend { margin-top: 8px; }
.pres-legend > span { display: inline-flex; align-items: center; font-size: .78rem; color: var(--muted); margin-right: 12px; }

.server.is-soon .server-art { opacity: 1; filter: none; }

/* admin panel: the whole panel sits at the left edge of the screen, content uses the full width */
.wrap:has(> .admin-shell) { max-width: none; margin: 0; padding-left: 14px; padding-right: 20px; }
.admin-shell { grid-template-columns: 340px minmax(0, 1fr); }
@media (max-width: 860px) { .wrap:has(> .admin-shell) { padding-left: 12px; padding-right: 12px; } .admin-shell { grid-template-columns: 1fr; } }

/* Ranking and ban list tiles: the picture with its own background fills the whole tile */
.t-rank::before, .t-bans::before { right: 0; left: 0; top: 0; bottom: 0; width: auto; height: auto; transform: none; opacity: 1; filter: none; border-radius: 0;
  background-size: cover; background-position: right center; background-repeat: no-repeat; background-color: transparent; -webkit-mask: none; mask: none; }
.t-rank::before { background-image: url('/static/img/tile-rank-blue.webp'); }
.t-bans::before { background-image: url('/static/img/tile-bans-red.webp'); }

/* VIP store tile: the agent is larger, fully visible and fades into the tile (the picture is mirrored, so the fade is mirrored too) */
.t-store::before { top: 0; bottom: 0; right: 0; left: auto; width: 60%; height: auto; opacity: 1; filter: none; border-radius: 0;
  background-size: auto 104%; background-position: 100% 40%; right: -90px; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 28%, #000 100%); mask-image: linear-gradient(270deg, transparent 0, #000 28%, #000 100%); }

/* promo agent mirrored */
.promo-art { transform: scaleX(-1); }

/* optional "cegiełka" on the checkout */
.tip-box { text-align: left; }
.tip-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tip-chip { cursor: pointer; }
.tip-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tip-chip span { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-weight: 600; font-size: .9rem; transition: .15s; }
.tip-chip:hover span { border-color: rgba(34, 211, 238, .5); }
.tip-chip input:checked + span { border-color: #22d3ee; background: rgba(34, 211, 238, .14); color: #22d3ee; }
.tip-chip input:focus-visible + span { outline: 2px solid #22d3ee; outline-offset: 2px; }

.prize.p4 { border-color: rgba(34, 211, 238, .4); }

/* 4th place badge colour (gold / silver / bronze / cyan) */
.rank-badge.r4 { background: #22d3ee; color: #052029; }

/* Mniejsza strona na komputerach (telefony bez zmian). Mniejszy ekran = mocniej zmniejszone. */
@media (min-width: 761px) { html { zoom: .78; } }
@media (min-width: 761px) and (max-width: 1600px) { html { zoom: .72; } }
@media (min-width: 761px) and (max-width: 1280px) { html { zoom: .66; } }

/* ===== Naglowek (wszystkie strony): bez logo, menu + konto razem na srodku okna, troche wiekszy pasek. Kolory menu bez zmian. ===== */
.topbar .brand { display: none !important; }
@media (min-width: 761px) {
  .topbar .topbar-inner { justify-content: center !important; align-items: center !important; max-width: none !important; margin: 0 !important; padding-left: 24px !important; padding-right: 24px !important; height: auto !important; min-height: 60px !important; padding-top: 10px !important; padding-bottom: 10px !important; gap: 12px !important; }
  .topbar .nav-group > .nav { flex: 0 0 auto !important; gap: 4px !important; }
  .topbar .nav-group > .topbar-right { margin-left: 26px !important; gap: 8px !important; }
  .topbar .nav a { font-size: 14.5px !important; padding: 8px 14px !important; letter-spacing: .02em; }
  .topbar .topbar-right > *, .topbar .topbar-right a, .topbar .topbar-right button { font-size: 14px !important; }
  .topbar .topbar-right a, .topbar .topbar-right button { padding: 8px 13px !important; }
  .topbar .topbar-right img { width: 22px !important; height: 22px !important; }
}
@media (min-width: 1651px) {
  /* pierwotny styl centrowal menu na srodku okna (position:absolute) - wylaczone, srodek robi justify-content na pasku */
  .topbar .nav-user-centered .nav-group { position: static !important; transform: none !important; left: auto !important; top: auto !important; max-width: none !important; }
}

/* ===== Live: martwi gracze bez przekreslenia, ranga w jednej linii */
.live-table tr.dead td.nm { text-decoration: none; opacity: .5; }
.live-table tr.dead td.nm::before { content: "\2620"; margin-right: 5px; font-size: .8em; color: #ff4655; opacity: .9; }
.live-table .live-tier, .live-table .live-vip { display: inline-block; white-space: nowrap; vertical-align: 1px; }

/* mobile-bar v1 */
@media (max-width: 900px) {
  .topbar-inner.nav-user-centered { flex-wrap: nowrap !important; align-items: center; gap: 6px; min-height: 52px; padding-top: 6px !important; padding-bottom: 6px !important; }
  .topbar-inner .brand { display: flex !important; align-items: center; flex: 0 0 auto; margin-right: auto; }
  .topbar-inner .brand span { display: none; }
  .topbar-inner .brand-logo { height: 34px; width: auto; }
  .topbar-right { flex-wrap: nowrap !important; width: auto !important; gap: 6px !important; margin: 0 !important; order: 2; justify-content: flex-end !important; }
  .topbar-right .dd:first-child .dd-btn > span { display: none; }
  .topbar-right .dd-btn { padding: 6px 8px !important; }
  .topbar-right .nav-register { display: none !important; }
  .topbar-right .btn.steam { padding: 7px 10px !important; font-size: .78rem !important; white-space: nowrap; }
  .nav-toggle { order: 3; flex: 0 0 auto; }
}
@media (max-width: 420px) {
  .topbar-right .btn.steam { font-size: 0 !important; padding: 7px 9px !important; }
  .topbar-right .btn.steam > * { font-size: 1rem; }
  .topbar-right .btn.steam::after { content: "Steam"; font-size: .76rem; margin-left: 4px; }
}

/* mobile-tables v1 */
@media (max-width: 600px) {
  .table-wrap .table th, .table-wrap .table td { padding: 9px 7px !important; font-size: .8rem; }
  [data-page="rankings"] .table-wrap .table :is(th, td):nth-child(n+6) { display: none; }
  [data-page="rankings"] .table-wrap .table :is(th, td):nth-child(3) { max-width: 120px; }
  [data-page="bans"] .table-wrap .table :is(th, td):nth-child(4), [data-page="bans"] .table-wrap .table :is(th, td):nth-child(5) { display: none; }
  [data-page="bans"] .table-wrap .table td:nth-child(3) { min-width: 110px; }
}

/* mobile-tables v2 */
@media (max-width: 600px) {
  [data-page="rankings"] .table-wrap .table, [data-page="bans"] .table-wrap .table { min-width: 0 !important; width: 100% !important; table-layout: auto; }
  [data-page="rankings"] .table-wrap .table :is(th, td):nth-child(n+5) { display: none !important; }
  [data-page="rankings"] .table-wrap .table td:nth-child(2), [data-page="bans"] .table-wrap .table td { white-space: normal !important; word-break: break-word; }
  [data-page="bans"] .table-wrap .table :is(th, td):nth-child(7) { display: none !important; }
}

/* mobile-tables v3 */
@media (max-width: 600px) {
  [data-page="bans"] .table-wrap .table td:first-child, [data-page="bans"] .table-wrap .table .chip { white-space: nowrap !important; word-break: normal !important; }
  [data-page="rankings"] .table-wrap .table td:nth-child(3) .tier, [data-page="rankings"] .table-wrap .table td:nth-child(3) > * { max-width: 100%; }
  [data-page="rankings"] .table-wrap .table :is(th, td):nth-child(3) { width: 1%; white-space: nowrap; }
  [data-page="rankings"] .table-wrap .table td:nth-child(3) :is(span, b, em):not(:first-child) { display: none; }
}

/* dynie po lewej - prawy rog zajmuje diabelek (czat/bot) */
.hw-pk3 { right: auto; left: 196px; width: 92px; }
.hw-pk4 { right: auto; left: 282px; width: 62px; }
@media (max-width: 640px) { .hw-pk3 { right: auto; left: 138px; width: 64px; } .hw-pk4 { display: none; } }

/* Christmas: a little snow drift along the bottom edge (behind the tree/snowman) */
#xmas-ground { position: fixed; left: 0; right: 0; bottom: 0; height: 30px; z-index: 54; pointer-events: none; }
#xmas-ground::before, #xmas-ground::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background-repeat: repeat-x; }
#xmas-ground::before { height: 30px; background-size: 260px 30px; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='30' viewBox='0 0 260 30'%3E%3Cpath fill='%23b9d4ee' d='M0 30V16Q30 4 65 14T130 12T195 15T260 14V30Z'/%3E%3C/svg%3E"); }
#xmas-ground::after { height: 20px; background-size: 190px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='20' viewBox='0 0 190 20'%3E%3Cpath fill='%23f4f9ff' d='M0 20V11Q25 2 50 9T100 8T150 10T190 9V20Z'/%3E%3C/svg%3E"); filter: drop-shadow(0 -1px 2px rgba(120,170,220,.35)); }
@media (max-width: 640px) { #xmas-ground { height: 22px; } #xmas-ground::before { height: 22px; background-size: 200px 22px; } #xmas-ground::after { height: 15px; background-size: 150px 15px; } }

/* ---------- admin: ulubione + gwiazdki ---------- */
.admin-fav-wrap { margin: 0 0 10px; padding: 10px; border: 1px solid var(--border-soft); border-radius: 12px; background: rgba(34,211,238,.04); }
.admin-fav-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; font-weight: 700; font-size: .85rem; color: var(--text); }
.admin-fav-hint { color: var(--muted); font-weight: 400; font-size: .72rem; }
.admin-fav-empty { color: var(--muted); font-size: .78rem; padding: 6px 2px; }
.admin-fav-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid transparent; margin-bottom: 4px; }
.admin-fav-row:hover { border-color: var(--border); background: rgba(34,211,238,.08); }
.admin-fav-row.dragging { opacity: .4; }
.admin-fav-handle { cursor: grab; color: var(--muted); font-size: .9rem; }
.admin-fav-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(34,211,238,.12); border: 1px solid var(--border); font-size: .95rem; flex: none; }
.admin-fav-label { flex: 1; min-width: 0; color: var(--text); font-size: .85rem; font-weight: 500; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-fav-label:hover { color: var(--accent); }
.admin-nav-row { display: flex; align-items: center; gap: 4px; }
.admin-nav-row a { flex: 1; }
.admin-star-btn { background: none; border: 0; color: var(--muted); font-size: .9rem; cursor: pointer; padding: 4px 6px; flex: none; border-radius: 6px; }
.admin-star-btn:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.admin-star-btn.is-fav { color: var(--gold); }

/* ---------- partnerzy (zaufana siec) ---------- */
.nh-partners { margin-top: 10px; }
.nh-partners-sub { color: var(--muted); margin: 0 0 16px; max-width: 620px; font-size: .9rem; }
.nh-partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .nh-partners-grid { grid-template-columns: 1fr; } }
.nh-partner-card { display: flex; flex-direction: column; padding: 0; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; overflow: hidden; }
.nh-partner-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.nh-partner-logo { display: block; width: calc(100% - 28px); height: 120px; margin: 14px 14px 0; padding: 20px; box-sizing: border-box; object-fit: contain; background: rgba(255,255,255,.025); border: 1px solid var(--border-soft); border-radius: 10px; }
.nh-partner-body { position: relative; padding: 18px 46px 18px 18px; }
.nh-partner-body b { display: block; font: 700 1.2rem "Rajdhani", sans-serif; color: var(--text); }
.nh-partner-cat { display: block; margin-top: 5px; font: 600 .66rem "JetBrains Mono", monospace; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.nh-partner-body p { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: .82rem; line-height: 1.45; }
.nh-partner-arrow { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--accent); font-size: 1rem; flex: none; }

.pkg.hot { padding-top: 46px; }
