:root {
  --green: #19d853;
  --green-strong: #069b36;
  --green-dark: #057028;
  --green-pale: #e2ffea;
  --green-wash: #f3fff6;
  --line: #a7e8b8;
  --ink: #102416;
  --muted: #4c7658;
  --white: #ffffff;
  --gold: #ffd84d;
  --gold-dark: #c98a00;
  --danger: #b52a2a;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font: 14px Inter, Arial, sans-serif; background-color: var(--green-wash); background-image: linear-gradient(rgba(25,216,83,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(25,216,83,.10) 1px, transparent 1px); background-size: 24px 24px; }
a { color: var(--green-dark); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; flex: 1 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 4px solid var(--green-strong); box-shadow: 0 3px 0 rgba(5,112,40,.12); }
.topbar-in { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-cube { width: 44px; height: 44px; display: grid; place-items: center; background: var(--green); border: 3px solid var(--green-dark); box-shadow: 4px 4px 0 var(--green-dark); }
.logo-txt { display: flex; flex-direction: column; line-height: 1; font-weight: 900; letter-spacing: .06em; }
.logo-txt b { color: var(--green-strong); }
.logo-txt small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.top-actions, .social-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social-links { padding-right: 8px; border-right: 2px solid var(--line); }
.social-link, .btn-ghost, .btn-dark, .btn-promote { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border-radius: 0; font-weight: 900; text-decoration: none; }
.social-link { color: var(--green-dark); background: var(--green-pale); border: 2px solid var(--green-dark); box-shadow: 2px 2px 0 var(--green-dark); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }
.btn-ghost { color: var(--green-dark); background: var(--white); border: 2px solid var(--line); }
.btn-dark, .btn-promote { color: #fff; background: var(--green); border: 2px solid var(--green-dark); box-shadow: 2px 2px 0 var(--green-dark); }
.btn-ghost:hover, .social-link:hover { background: var(--green-pale); border-color: var(--green-strong); }
.btn-dark:hover, .btn-promote:hover { background: var(--green-strong); }
.btn-ghost.gold { color: #765300; background: #fff6c9; border-color: var(--gold-dark); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.fbtn { padding: 9px 13px; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 0; font-weight: 800; text-decoration: none; }
.fbtn:hover, .fbtn.active { color: #fff; background: var(--green); border-color: var(--green-dark); }
.more-filters { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; color: var(--green-dark); background: var(--green-pale); border: 2px solid var(--line); font-weight: 900; cursor: pointer; }
.more-filters.open svg { transform: rotate(180deg); }
.extra-panel { display: none; width: 100%; gap: 10px; padding: 12px; background: #fff; border: 2px solid var(--line); border-top: 0; }
.extra-panel.open { display: flex; flex-wrap: wrap; align-items: center; }
.extra-panel select { width: auto; flex: 1 1 150px; }
.extra-panel .btn { flex: 0 0 auto; }
.extra-panel .btn-ghost { flex: 0 0 auto; }
@media (max-width:520px) { .extra-panel select, .extra-panel .btn, .extra-panel .btn-ghost { width: 100%; flex-basis: 100%; } }
.mhead { display: grid; grid-template-columns: 56px 1fr 92px 110px 96px; margin-top: 12px; color: #fff; background: var(--green-strong); border: 2px solid var(--green-dark); box-shadow: 4px 4px 0 rgba(5,112,40,.22); }
.mhead > div { padding: 12px 10px; text-align: center; font-weight: 900; }.mhead > div:nth-child(2) { padding-left: 18px; text-align: left; }
.mlist { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 24px; }
.mrow { position: relative; display: grid; grid-template-columns: 56px 1fr 92px 110px 96px; min-height: 132px; background: #fff; border: 2px solid var(--line); box-shadow: 3px 3px 0 rgba(5,112,40,.12); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.mrow::before { content: ''; position: absolute; inset: -2px; pointer-events: none; border: 2px solid transparent; transition: border-color .22s ease, box-shadow .22s ease; }
.mrow:hover { z-index: 3; transform: translateY(-5px) scale(1.008); border-color: var(--green-strong); box-shadow: 8px 10px 0 rgba(5,112,40,.16), 0 0 22px rgba(25,216,83,.28); }
.mrow:hover::before { border-color: rgba(25,216,83,.58); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.mrow:hover .rankcell, .mrow:hover .col { background: #f1fff5; }
.mrow:hover .srv-name a { color: var(--green-strong); }
.mrow .banner img { transition: transform .35s ease, filter .35s ease; }
.mrow:hover .banner { box-shadow: inset 0 0 0 3px rgba(255,255,255,.42), 0 0 18px rgba(25,216,83,.38); }
.mrow:hover .banner img { filter: saturate(1.18) contrast(1.05) brightness(1.06); }
.mrow.row-highlighted { background: var(--row-highlight, #effff2); border-color: #62ce7a; box-shadow: 4px 5px 0 rgba(25,216,83,.16), 0 0 14px rgba(25,216,83,.12); }
.mrow.row-highlighted .rankcell, .mrow.row-highlighted .col { background: rgba(255,255,255,.58); }
.mrow:hover .banner .btxt { letter-spacing: .015em; transform: scale(1.04); transition: transform .25s ease, letter-spacing .25s ease; }
.mrow:hover .banner::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.24) 44%, transparent 60%); background-size: 220% 100%; animation: banner-sheen .8s ease-out both; }
@keyframes banner-sheen { from { background-position: 160% 0; } to { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .mrow, .mrow::before, .mrow .banner img { transition: none; } }

.rankcell { display: grid; place-items: center; background: #fbfbfb; border-right: 2px solid var(--line); }
.rank-badge { width: 48px; height: 48px; display: grid; place-items: center; }
.rank-badge svg { display: block; overflow: visible; }
.rank { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; font-weight: 900; line-height: 1; }
.rank-ring { color: #202820; background: #fff; border: 4px solid #f1c84f; box-shadow: inset 0 0 0 2px #fff8d3; }
.rank-plain { width: 47px; height: 47px; display: grid; place-items: center; color: #202820; font-size: 20px; font-weight: 900; line-height: 1; }
.version-range { display: flex; align-items: center; gap: 8px; }.version-range span { color: var(--muted); font-size: 12px; font-weight: 800; }.version-range input { min-width: 0; }
@media (max-width:980px) { .mrow { position: relative; }.rankcell { position: absolute; top: 9px; left: 9px; z-index: 4; width: 38px; height: 38px; border: 0; background: transparent; }.rankcell .rank, .rankcell .rank-badge, .rankcell .rank-plain { width: 36px; height: 36px; }.rankcell .rank-badge svg { width: 36px; height: 36px; }.rankcell .rank { font-size: 15px; }.srv { grid-column: 1 / -1; padding-left: 56px; }.server-hero { grid-template-columns:1fr; }.price-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.promote-hero { grid-template-columns:1fr; }.promote-steps { grid-template-columns:1fr; } }
@media (max-width:520px) { .rankcell { top: 7px; left: 7px; }.srv { padding-left: 49px; }.price-grid { grid-template-columns:1fr; }.highlight-offer { align-items: flex-start; flex-direction: column; }.highlight-price { align-items: flex-start; }.promote-hero h1 { font-size: 29px; }.promo-demo-row { grid-template-columns: 36px 1fr; }.promo-demo-tag { grid-column: 2; justify-self: start; } }
.srv { display: grid; grid-template-columns: minmax(220px,260px) minmax(0,1fr); gap: 16px; align-items: center; min-width: 0; padding: 14px 16px 14px 18px; }.srv-main { min-width: 0; }.flag { width: 18px; height: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }.srv-name { margin: 5px 0; font-size: 15px; font-weight: 900; }.srv-name a { text-decoration: none; }.srv-descr { color: var(--muted); line-height: 1.45; }.srv-ip { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 7px; color: var(--green-dark); background: var(--green-pale); border: 1px dashed var(--green-strong); font-size: 11px; }.srv-ip code { min-width: 0; overflow: visible; text-overflow: clip; white-space: nowrap; font-size: 10px; letter-spacing: -.03em; }.copybtn { min-height: 32px; padding: 3px 8px; color: #fff; background: var(--green); border: 2px solid var(--green-dark); border-radius: 0; font-weight: 900; line-height: 1; white-space: nowrap; cursor: pointer; }
.banner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 82px; overflow: hidden; color: #fff; font: 34px "Russo One", Inter, sans-serif; text-shadow: 2px 2px 0 rgba(0,0,0,.6); }.banner img { width: 100%; height: 100%; display: block; object-fit: cover; }.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.4)); pointer-events: none; }.banner .btxt { position: relative; z-index: 2; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col { display: grid; place-items: center; padding: 10px 6px; text-align: center; background: #f8fff9; border-left: 2px solid var(--green-pale); }.ver { color: var(--green-dark); font-weight: 900; }.players b { color: var(--green-strong); }.players b.offline { color: #719d7b; }.rate { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; }.empty { padding: 28px; text-align: center; background: #fff; border: 2px dashed var(--green-strong); color: var(--muted); }
.card { margin: 18px 0; padding: 22px; background: var(--white); border: 2px solid var(--line); box-shadow: 5px 5px 0 rgba(25,216,83,.18); }.card h2 { margin: 0 0 13px; font-size: 22px; }.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }label { display: block; margin-bottom: 6px; color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
input[type=text], input[type=password], input[type=number], textarea, select, .extra-panel input, .extra-panel select { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: #fbfffc; border: 2px solid var(--line); border-radius: 0; font: inherit; }textarea { min-height: 100px; resize: vertical; }input:focus, textarea:focus, select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green-dark); }.auto-field { color: var(--green-dark); background: var(--green-pale) !important; font-weight: 800; }
.btn { padding: 11px 15px; border: 2px solid var(--green-dark); border-radius: 0; color: #fff; background: var(--green); font: inherit; font-weight: 900; cursor: pointer; box-shadow: 2px 2px 0 var(--green-dark); }.btn-primary, .btn-green { background: var(--green); }.btn-gold { color: #4e3800; background: var(--gold); border-color: var(--gold-dark); box-shadow: 2px 2px 0 var(--gold-dark); }.btn-danger { color: #8e2020; background: #ffeded; border-color: #d98787; }
.file-picker { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: var(--green-dark); background: var(--green-pale); border: 2px dashed var(--green-strong); cursor: pointer; text-transform: none; }.file-picker input { display: none; }.file-picker span { font-weight: 900; }.file-picker small { color: var(--muted); }
.banner-editor { margin-top: 14px; padding: 13px; background: var(--green-wash); border: 2px solid var(--line); }.preview-label { margin-bottom: 8px; color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }.preview-banner { height: 120px; margin: 0; background-repeat: no-repeat; background-size: cover; }.banner-cropper { cursor: grab; touch-action: none; user-select: none; border: 2px solid var(--green-dark); }.banner-cropper.is-dragging { cursor: grabbing; }.cropper-cross { position: absolute; inset: 0; z-index: 3; display: block !important; pointer-events: none; opacity: .55; background: linear-gradient(90deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)); }.banner-help, .muted-text { color: var(--muted); line-height: 1.45; }.banner-help { margin: 10px 0 0; font-size: 12px; }.success-message { padding: 10px; color: var(--green-dark); background: var(--green-pale); border: 2px solid var(--green); }
.table { width: 100%; border-collapse: collapse; }.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }.table th { color: var(--green-dark); background: var(--green-pale); }.badge { display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 900; }.b-gold { color: #715100; background: #fff3bf; border: 1px solid var(--gold-dark); }.b-gray { color: var(--green-dark); background: var(--green-pale); border: 1px solid var(--green-strong); }.linkbtn { padding: 0; color: var(--green-dark); background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }.linkbtn.danger { color: var(--danger); }.linkbtn.top { color: #906600; }
.page-h1 { margin: 18px 0 4px; font-size: 22px; }
.server-hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: 22px; margin: 22px 0 14px; padding: 26px; color: #fff; background: linear-gradient(135deg,#083d1b,#0c6f31 58%,#19b94a); border: 2px solid #06471e; box-shadow: 7px 8px 0 rgba(5,112,40,.24); overflow: hidden; }
.server-hero-copy { min-width: 0; }
.server-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #c4f7cf; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.server-kicker .flag { flex: 0 0 auto; }
.server-top-label { padding: 4px 8px; color: #4a3500; background: #ffe078; border: 1px solid #ffd34b; }
.server-hero h1 { margin: 14px 0 8px; color: #fff; font: 36px "Russo One", Inter, sans-serif; line-height: 1.08; }
.server-lead { max-width: 650px; margin: 0 0 16px; color: #dbffe2; font-size: 15px; line-height: 1.55; }
.server-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: #c8f7d0; font-size: 12px; }
.server-status > span:last-child { color: #a7dbb1; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa89d; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.is-online .status-dot { background: #75ff9a; box-shadow: 0 0 0 4px rgba(117,255,154,.2), 0 0 15px #75ff9a; }
.server-ip-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; color: #112516; background: #f5fff6; border: 2px solid #b4edc0; box-shadow: 4px 4px 0 rgba(0,0,0,.16); }
.server-ip-box > div { min-width: 0; }
.server-ip-label { display: block; margin-bottom: 4px; color: #4d7958; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.server-ip-box code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; }
.server-ip-box .copybtn { flex: 0 0 auto; }
.server-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; }
.server-hero .share-row { margin-top: 15px; }
.server-hero .share-label { color: #b8ebc3; }
.server-hero .share-btn { color: #eaffed; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.52); }
.server-hero .share-btn:hover { color: #0b4820; background: #fff; }
.server-hero-art { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.server-banner { height: 245px; border: 3px solid rgba(255,255,255,.72); box-shadow: 8px 9px 0 rgba(0,0,0,.18); }
.hero-art-caption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px 0; color: #b9f2c5; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.hero-art-caption strong { color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 14px 0 18px; }
.stat-tile { min-height: 126px; padding: 16px; background: #fff; border: 2px solid var(--line); box-shadow: 4px 4px 0 rgba(5,112,40,.1); }
.stat-tile.stat-online { border-color: #80d995; background: #f5fff7; }
.stat-tile.stat-diamond { background: #fffdf1; border-color: #efd171; }
.stat-label { display: block; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.stat-tile strong { display: block; margin: 10px 0 3px; color: var(--green-dark); font-size: 30px; line-height: 1; }
.stat-tile strong em { color: #8ca391; font-size: 15px; font-style: normal; }
.stat-tile small { color: #64806b; font-size: 11px; }
.stat-progress { height: 5px; margin-top: 12px; overflow: hidden; background: #d8f0dd; }
.stat-progress i { display: block; height: 100%; background: var(--green); }
.server-columns { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 14px; margin-bottom: 18px; }
.server-section { padding: 22px; background: #fff; border: 2px solid var(--line); box-shadow: 4px 4px 0 rgba(5,112,40,.1); }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.section-index { color: var(--green); font-size: 13px; font-weight: 900; }
.section-eyebrow { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { margin: 2px 0 0; font-size: 22px; }
.server-description { min-height: 78px; color: #35553d; line-height: 1.7; }
.detail-list { margin-top: 20px; border-top: 1px solid #d4f0da; }
.detail-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #d4f0da; }
.detail-list span { color: var(--muted); }
.detail-list b { text-align: right; }
.server-side-panel { background: #f4fff6; }
.server-side-panel p { color: #52745a; line-height: 1.6; }.support-heading { display: flex; align-items: center; gap: 9px; }.support-heading svg { flex: 0 0 auto; filter: drop-shadow(0 2px 2px rgba(8,125,168,.18)); }
.wide-btn { width: 100%; }
.promote-link { display: block; margin-top: 14px; color: var(--green-dark); font-weight: 900; }
.server-footer-nav { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 26px; color: var(--muted); font-size: 12px; font-weight: 800; }
.server-footer-nav a { color: var(--green-dark); }
.server-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #d4f0da; }
.server-links-title { width: 100%; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.server-links a { padding: 8px 10px; color: var(--green-dark); background: var(--green-pale); border: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.server-links a:hover { color: #fff; background: var(--green-strong); }
.promote-nav, .btn-promote { color: #241200; background: #ff8a00; border: 2px solid #9c4700; box-shadow: 3px 3px 0 #7a3500; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.promote-nav:hover, .btn-promote:hover { color: #241200; background: #ffad24; transform: translateY(-2px); box-shadow: 4px 5px 0 #7a3500; }
.promote-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: 25px; margin: 22px 0; padding: 28px; color: #fff; background: linear-gradient(135deg,#073b1a,#0c7131 58%,#19c44e); border: 2px solid #06471e; box-shadow: 7px 8px 0 rgba(5,112,40,.2); }
.promote-hero h1 { margin: 9px 0 12px; font: 38px "Russo One", Inter, sans-serif; }
.promote-hero p { max-width: 620px; color: #d5ffdc; font-size: 16px; line-height: 1.6; }
.promote-preview { padding: 16px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.28); }
.promote-preview .preview-label { color: #caffd3; }
.promo-demo-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; margin-top: 10px; padding: 13px; color: #14301b; background: #fff; border: 2px solid #f3d06b; }
.promo-demo-row.highlighted { border-color: #42e67b; background: #e9ffed; }
.promo-demo-rank { display: grid; width: 42px; height: 42px; place-items: center; color: #624700; border: 3px solid #f1c84f; border-radius: 50%; font-weight: 900; }.promo-fire-rank { width: 42px; height: 42px; border: 0; border-radius: 0; }.promo-fire-rank svg { display: block; width: 42px; height: 42px; }
.promo-demo-row b, .promo-demo-row small { display: block; }.promo-demo-row small { margin-top: 3px; color: #69806f; font-size: 11px; }.promo-demo-tag { padding: 4px 7px; color: #725100; background: #ffed9a; font-size: 10px; font-weight: 900; }.color-tag { color: #057028; background: #adffc0; }
.promote-section, .promote-steps, .highlight-offer { margin: 16px 0; padding: 24px; background: #fff; border: 2px solid var(--line); box-shadow: 4px 4px 0 rgba(5,112,40,.1); }
.promote-intro { color: var(--muted); line-height: 1.6; }.discounts { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0; }.discounts span { padding: 8px 11px; color: #47634d; background: #effff2; border: 1px solid var(--line); font-weight: 800; }.discounts b { color: var(--green-strong); }
.price-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; }.price-card { padding: 16px; background: #fbfffc; border: 2px solid #bfe9c7; }.price-card:first-child { background: #fff9df; border-color: #e7c550; }.price-place { display: block; color: var(--muted); font-size: 12px; font-weight: 900; }.price-card strong { display: block; margin: 14px 0 3px; color: var(--green-dark); font-size: 25px; }.price-card small { color: #718575; }.price-card p { min-height: 35px; color: #5e7864; font-size: 12px; line-height: 1.4; }.price-card a { color: var(--green-dark); font-size: 12px; font-weight: 900; }
.highlight-offer { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #f1fff4; }.highlight-offer h2 { margin: 5px 0; }.highlight-offer p { color: var(--muted); line-height: 1.5; }.highlight-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }.highlight-price strong { color: var(--green-dark); font-size: 34px; }.highlight-price span { color: var(--muted); }.highlight-price .btn { margin-top: 8px; }.promote-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.promote-steps div { display: flex; align-items: center; gap: 11px; color: #426249; font-weight: 800; }.promote-steps b { color: var(--green); font-size: 21px; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.share-label { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.share-btn { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 12px; border: 2px solid var(--green-dark); background: var(--green-pale); color: var(--green-dark); font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; }
.share-btn:hover { background: var(--green); color: #fff; }
.share-copy { background: #fff; }
.footer { margin-top: auto; padding: 18px 0; color: var(--muted); background: #fff; border-top: 4px solid var(--green-strong); }.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }.foot-links a { font-weight: 800; }
.admin-body { background: #effff3; }.admin-shell { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 22px; }.admin-header { color: #fff; background: var(--green-dark); border-bottom: 5px solid var(--green); }.admin-header-in { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }.admin-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; }.admin-brand b { color: #aaffbe; }.admin-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--green); border: 2px solid #dffff0; box-shadow: 3px 3px 0 #034b1a; }.admin-nav { display: flex; align-items: center; gap: 12px; font-weight: 800; }.admin-nav a { padding: 8px 12px; color: #fff; border: 2px solid #aaffbe; text-decoration: none; }.admin-main { padding-top: 26px; padding-bottom: 34px; }.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 14px; }.admin-title h1 { margin: 3px 0 0; }.eyebrow { color: var(--green-dark); font-weight: 900; text-transform: uppercase; }.admin-count { padding: 7px 10px; color: #073d19; background: var(--green); border: 2px solid var(--green-dark); font-weight: 900; }.admin-message { padding: 10px; color: var(--green-dark); background: var(--green-pale); border: 2px solid var(--green); }.admin-body .table { min-width: 850px; }.admin-body .card { overflow-x: auto; }
@media (max-width:980px) { .topbar-in { padding: 10px 16px; flex-direction: column; align-items: flex-start; }.mhead { display:none; }.mrow { grid-template-columns:48px 1fr; }.rankcell { grid-row:span 2; }.srv { display:flex; flex-direction:column; }.col { grid-column:2; border-left:0; border-top:2px solid var(--green-pale); }.grid2 { grid-template-columns:1fr; }.server-hero { grid-template-columns:1fr; }.server-banner { height:210px; }.stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.server-columns { grid-template-columns:1fr; } }
@media (max-width:520px) { .social-link span { display:none; }.social-link { width:38px; padding:0; }.top-actions { gap:6px; }.btn-ghost,.btn-dark { padding:8px 10px; }.card { padding:15px; }.admin-shell { padding:0 14px; }.server-hero { margin-top:14px; padding:17px; }.server-hero h1 { font-size:28px; }.server-ip-box { align-items:stretch; flex-direction:column; }.server-ip-box .copybtn { width:100%; }.server-banner { height:175px; }.stat-grid { gap:7px; }.stat-tile { min-height:110px; padding:12px; }.stat-tile strong { font-size:25px; }.server-section { padding:16px; }.server-footer-nav { flex-direction:column; } }

/* Compact mobile catalogue: rank floats above content instead of taking a column. */
@media (max-width: 980px) {
  .mrow { display: block; min-height: 0; padding-top: 44px; overflow: hidden; }
  .rankcell { position: absolute; top: 8px; left: 10px; z-index: 5; width: 36px; height: 36px; background: transparent; border: 0; }
  .rankcell .rank-badge, .rankcell .rank, .rankcell .rank-plain { width: 36px; height: 36px; }
  .rankcell .rank-badge svg { width: 36px; height: 36px; }
  .rankcell .rank { font-size: 15px; }
  .srv { display: block; width: 100%; padding: 0 12px 12px; }
  .srv-main { padding: 0; }
  .srv-name { margin: 4px 0 6px; padding-left: 0; font-size: 18px; }
  .srv-descr { font-size: 14px; line-height: 1.5; }
  .srv .banner { height: 150px; margin-top: 12px; }
  .col { display: inline-flex; width: 33.333%; min-height: 52px; align-items: center; justify-content: center; padding: 9px 5px; border-top: 2px solid var(--green-pale); border-left: 0; vertical-align: top; }
  .col.ver { width: 34%; }
  .col.players { width: 33%; }
  .mrow > .col:last-child { width: 33%; }
}
@media (max-width: 520px) {
  .mrow { padding-top: 43px; font-size: 0; }
  .rankcell { top: 8px; left: 9px; }
  .srv { padding: 0 12px 12px; font-size: 14px; }
  .srv-main { position: relative; }
  .srv-main .flag { position: absolute; top: -30px; left: 48px; width: 18px; height: 12px; }
  .srv-name { margin: 0 0 6px; padding-left: 30px; font-size: 17px; line-height: 1.2; }
  .srv .banner { height: 132px; }
  .col { display: inline-flex; width: 33.333% !important; min-height: 50px; font-size: 13px; vertical-align: top; }
  .col .rate { white-space: nowrap; }
}

@media (max-width: 520px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .promote-hero, .promote-section, .highlight-offer, .promote-steps { width: 100%; max-width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; }
  .promote-hero { display: flex; flex-direction: column; gap: 18px; padding: 16px; overflow: hidden; }
  .promote-hero h1 { max-width: 100%; font-size: 30px; line-height: 1.1; overflow-wrap: anywhere; }
  .promote-hero p, .promote-section p, .highlight-offer p { max-width: 100%; overflow-wrap: anywhere; }
  .promote-preview { width: 100%; box-sizing: border-box; padding: 10px; overflow: hidden; }
  .promo-demo-row { grid-template-columns: 42px minmax(0,1fr); width: 100%; box-sizing: border-box; gap: 8px; padding: 10px; }
  .promo-demo-row > div { min-width: 0; }
  .promo-demo-row small { overflow-wrap: anywhere; }
  .promo-demo-tag { grid-column: 2; justify-self: start; }
  .promote-section, .highlight-offer, .promote-steps { padding: 16px; }
  .price-grid { grid-template-columns: 1fr; width: 100%; }
  .price-card { min-width: 0; box-sizing: border-box; }
  .price-card strong { font-size: 30px; }
  .discounts { gap: 7px; }
  .discounts span { flex: 1 1 100%; box-sizing: border-box; }
  .highlight-offer { flex-direction: column; align-items: stretch; }
  .highlight-price { align-items: flex-start; }
  .highlight-price .btn { width: 100%; box-sizing: border-box; text-align: center; }
  .promote-steps { display: flex; flex-direction: column; gap: 14px; width: 100%; box-sizing: border-box; overflow: hidden; }
  .promote-steps div { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; width: 100%; box-sizing: border-box; }
  .promote-steps span { min-width: 0; overflow-wrap: anywhere; }
  .footer, .foot-in { max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .foot-in > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .foot-links { line-height: 1.55; }
}

