/* MMTop 50 - light theme, colors derived from img/logo.png (navy text, orange accent) */
:root {
  --bg: #eef1f9;
  --bg-2: #f6f8fd;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --panel-3: #e9eefb;
  --border: #dde4f2;
  --border-2: #c3cfe6;
  --accent: #ff8a1f;
  --accent-2: #ffa94f;
  --accent-ink: #c85f00;
  --accent-dark: #fff1e2;
  --text: #16214a;
  --muted: #616e93;
  --muted-2: #3d4a74;
  --danger: #d93a4f;
  --success: #12946a;
  --warning: #b57400;
  --gold: #ffb824;
  --gold-ink: #9a6a00;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(20, 30, 70, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: #a95000; }
img { max-width: 100%; border: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.wrapper { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ---------- nav ---------- */
nav { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-bottom: 1px solid var(--border); border-radius: var(--radius); }
.nav-container { display: flex; align-items: center; gap: 18px; min-height: 68px; flex-wrap: wrap; padding: 20px 55px; }
.logo-container img { display: block; height: 60px; width: auto; }
.nav-block { position: relative; }
.nav-block.has-submenu { margin-left: auto; }
.main-navigation { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-navigation a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 6px;
  color: var(--muted-2); font-weight: 600; font-size: 14px; transition: .15s;
}
.main-navigation a:hover { background: var(--panel-3); color: var(--text); }
.main-navigation a.highlight { background: var(--accent-dark); color: var(--accent-ink); border: 1px solid rgba(255,138,31,.5); }
.main-navigation a.highlight:hover { background: var(--accent); color: #3a1d00; }
.main-navigation .ico { font-size: 13px; opacity: .8; }
.submenu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--panel-2); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); max-height: 420px; overflow-y: auto; width: 260px;
  display: none; grid-template-columns: 1fr 1fr; padding: 8px; z-index: 50; }
.nav-block.has-submenu:hover > .submenu, .nav-block.has-submenu.open > .submenu { display: grid; }
.submenu li a { display: block; padding: 7px 9px; font-size: 13px; border-radius: 5px; color: var(--muted-2); }
.trigger { background: var(--panel-3); border: 1px solid var(--border-2); color: var(--text); border-radius: 6px;
  padding: 9px 14px; font-weight: 600; cursor: pointer; font-size: 14px; }
.mobile-trigger { display: none; }

/* ---------- announcement ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin: 14px 0; border: 1px solid; }
.alert.info { background: rgba(255,138,31,.10); border-color: rgba(255,138,31,.45); color: var(--accent-ink); }
.alert.danger { background: rgba(255,107,123,.08); border-color: rgba(255,107,123,.4); color: var(--danger); }
.alert.success { background: rgba(75,213,154,.08); border-color: rgba(75,213,154,.4); color: var(--success); }
.alert.warning { background: rgba(255,200,87,.08); border-color: rgba(255,200,87,.4); color: var(--warning); }

/* ---------- layout ---------- */
#container { display: grid; grid-template-columns: 232px 1fr; gap: 20px; padding: 18px 0 40px; align-items: start; }
#container.no-sidebar { grid-template-columns: 1fr; }
#left-sidebar { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; position: sticky; top: 14px; }
.sidebar-title { text-align: center; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: 12px; }
.filter-games { position: relative; margin-bottom: 10px; }
.filter-games input { width: 100%; padding: 9px 30px 9px 11px; background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 6px; color: var(--text); font-size: 13px; outline: none; }
.filter-games input:focus { border-color: var(--accent); }
.filter-games .clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: var(--muted); font-size: 16px; cursor: pointer; }
.game-categories { list-style: none; margin: 0; padding: 0; max-height: 62vh; overflow-y: auto; }
.game-categories li a { display: block; padding: 7px 9px; border-radius: 5px; font-size: 13.5px; color: var(--muted-2); border-left: 2px solid transparent; }
.game-categories li a:hover, .game-categories li a.active { background: var(--panel-3); color: var(--accent-ink); border-left-color: var(--accent); }
.game-categories li.hidden { display: none; }

/* ---------- ads ---------- */
.ad-slot { text-align: center; margin: 14px 0; }
.ad-footer { margin-bottom: 60px; }
.ad-slot a { display: block; }
.ad-slot a + a { margin-top: 12px; }
.ad-slot img { display: inline-block; width: 1020px; max-width: 100%; height: auto;
  border-radius: 6px; border: 1px solid var(--border); }

/* ---------- servers list ---------- */
.servers-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(255,138,31,.14), transparent); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px; }
.servers-header .label { font-weight: 700; color: var(--accent-ink); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }

#sites { margin-top: 6px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 14px; flex-wrap: wrap; }
.sort-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.sort-tabs a { padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.sort-tabs a:hover { border-color: var(--accent); color: var(--accent-ink); }
.sort-tabs a.current { background: var(--accent-dark); border-color: var(--accent); color: var(--accent-ink); }

.server-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.server-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 56px 1fr auto; transition: border-color .15s, transform .15s; }
.server-card:hover { border-color: var(--border-2); }
.server-card.vip { border-color: rgba(255,184,36,.6); box-shadow: 0 0 0 1px rgba(255,184,36,.25); background: linear-gradient(180deg, rgba(255,206,84,.22), transparent 140px), var(--panel); }
.server-card .rank-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--bg-2); border-right: 1px solid var(--border); padding: 12px 4px; }
.rank { font-size: 19px; font-weight: 800; color: var(--muted-2); }
.server-card.vip .rank { color: var(--gold-ink); }
.rank-col .votes-mini { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; }
.server-body { padding: 13px 16px; min-width: 0; }
.server-card .vip-col { display: flex; align-items: center; justify-content: center; padding: 0 18px;
  background: linear-gradient(180deg, rgba(255,206,84,.22), rgba(255,184,36,.06));
  border-left: 1px solid rgba(255,184,36,.4); }
.vip-badge { display: block; width: 80px; height: 80px;
  filter: drop-shadow(0 0 8px rgba(255,184,36,.75));
  animation: vip-glow 2.4s ease-in-out infinite; }
@keyframes vip-glow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.92); opacity: .72; } }
.server-banner { margin-bottom: 10px; }
.server-banner img { width: 468px; max-width: 100%; height: auto; aspect-ratio: 468 / 60; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); display: block; }
.server-title-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.server-title { font-size: 17px; font-weight: 700; margin: 0; }
.server-title a { color: var(--text); }
.server-title a:hover { color: var(--accent-ink); }
.country { font-size: 15px; }
.country img.flag { display: inline-block; width: 20px; height: 15px; object-fit: cover;
  border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag { display: inline-block; }
.tag a { display: inline-block; background: var(--panel-3); border: 1px solid var(--border-2); color: var(--muted-2);
  font-size: 11.5px; font-weight: 600; padding: 2.5px 8px; border-radius: 20px; }
.tag.category a { background: rgba(255,138,31,.14); border-color: rgba(255,138,31,.45); color: var(--accent-ink); }
.tag a:hover { border-color: var(--accent); color: var(--accent-ink); }
.server-desc { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin: 6px 0 8px; white-space: pre-line; }
.server-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.server-meta b { color: var(--text); font-weight: 700; }
.details-link { font-size: 13px; font-weight: 600; }
.vote-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-left: 1px solid var(--border); min-width: 168px; background: var(--bg-2); }
.vote-count { text-align: center; }
.vote-count .num { font-size: 21px; font-weight: 800; color: var(--accent-ink); line-height: 1; }
.vote-count .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.premium-badge { position: relative; }
.premium-badge::after { content: "VIP"; position: absolute; top: -8px; right: -18px; background: var(--gold); color: #241a00;
  font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 4px; letter-spacing: .05em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 6px;
  padding: 10px 18px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: .15s; text-align: center; }
.btn-small { padding: 7px 13px; font-size: 13px; }
.btn-primary { background: var(--accent); color: #3a1d00; }
.btn-primary:hover { background: var(--accent-2); color: #3a1d00; }
.btn-success { background: var(--success); color: #05271c; }
.btn-success:hover { filter: brightness(1.1); color: #05271c; }
.btn-warning { background: var(--gold); color: #241a00; }
.btn-warning:hover { filter: brightness(1.08); }
.btn-danger { background: rgba(255,107,123,.15); border-color: rgba(255,107,123,.5); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #ffffff; }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--muted-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .65; cursor: not-allowed; pointer-events: none; }

.vote-btn { min-width: 148px; }
.vote-btn.ready { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #3a1d00; box-shadow: 0 4px 14px rgba(255,138,31,.4); animation: pulse 2s infinite; }
.vote-btn.waiting { background: var(--panel-3); border-color: var(--border-2); color: var(--muted-2); }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 14px rgba(255,138,31,.35); } 50% { box-shadow: 0 4px 22px rgba(255,138,31,.6); } }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 22px 0 6px; flex-wrap: wrap; }
.page-link { min-width: 36px; text-align: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--panel); color: var(--muted-2); font-weight: 600; font-size: 14px; }
.page-link:hover { border-color: var(--accent); color: var(--accent-ink); }
.page-link.current { background: var(--accent); border-color: var(--accent); color: #3a1d00; }
.page-link.ellipsis { border: 0; background: transparent; pointer-events: none; }

/* ---------- cards / forms ---------- */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted-2); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 6px;
  color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.help { font-size: 12px; color: var(--muted); margin-top: 5px; }
.auth-card { max-width: 440px; margin: 24px auto; }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); }
.checkbox-line input { width: auto; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.list th, table.list td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
table.list th { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
table.list tr:hover td { background: rgba(16,32,80,.04); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge.active { background: rgba(75,213,154,.15); color: var(--success); border: 1px solid rgba(75,213,154,.4); }
.badge.pending { background: rgba(255,200,87,.15); color: var(--warning); border: 1px solid rgba(255,200,87,.4); }
.badge.banned, .badge.rejected { background: rgba(255,107,123,.15); color: var(--danger); border: 1px solid rgba(255,107,123,.4); }
.badge.hidden { background: rgba(137,157,178,.15); color: var(--muted-2); border: 1px solid var(--border-2); }
.badge.vip { background: rgba(255,184,36,.16); color: var(--gold-ink); border: 1px solid rgba(255,184,36,.55); }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat .value { font-size: 26px; font-weight: 800; color: var(--accent-ink); line-height: 1.1; }
.stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ---------- detail page ---------- */
.detail-head { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
.detail-banner img { width: 468px; max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.detail-actions { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.share-row .k { color: var(--muted); }
.share-row a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.share-row a:hover { color: #a95000; }
.content-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; white-space: pre-line; margin-bottom: 20px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255,138,31,.3); }
.price-card .plan { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 700; }
.price-card .price { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.price-card .price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 18px; font-size: 14px; color: var(--muted-2); }
.price-card ul li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px dashed var(--border); }
.price-card ul li::before { content: "âœ“"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.ribbon { position: absolute; top: -11px; right: 14px; background: var(--accent); color: #3a1d00; font-size: 11px;
  font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .05em; }

/* ---------- admin ---------- */
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-tabs a { padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.admin-tabs a.current { background: var(--accent-dark); border-color: var(--accent); color: var(--accent-ink); }
.msg-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.msg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.msg-subject { font-weight: 700; font-size: 15px; margin: 0; word-break: break-word; min-width: 0; }
.msg-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.msg-date { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.msg-from { font-size: 13px; color: var(--muted-2); margin-top: 3px; word-break: break-all; }
.msg-body { margin: 0; white-space: pre-wrap; word-break: break-word; line-height: 1.45; }
.msg-card > .msg-field { margin-top: 10px; }
.msg-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 3px; }
.msg-label { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 6px; }
.msg-label-row { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 10px; }
.inline-form { display: inline; }
.actions .vote-input { width: 78px; padding: 6px 7px; font-size: 13px; }

/* ---------- footer ---------- */
#footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--panel), var(--bg)); padding: 26px 0 18px; margin-top: 30px; border-radius: var(--radius); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; padding: 0 55px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.footer-grid li a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 24px; padding: 30px 55px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- misc ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; background: var(--panel-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; color: var(--muted-2); display: flex; gap: 14px;
  align-items: center; justify-content: center; flex-wrap: wrap; box-shadow: var(--shadow); z-index: 100; }
.cookie-bar[hidden] { display: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.hero { background: radial-gradient(1000px 240px at 20% -20%, rgba(255,138,31,.14), transparent), var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.hero h1 { margin-bottom: 6px; }
.hero p { color: var(--muted); margin: 0 0 16px; max-width: 720px; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted-2); }
.dots { display: inline-flex; gap: 4px; align-items: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: blink 1.4s infinite both; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.toast { position: fixed; top: 18px; right: 18px; background: var(--panel-2); border: 1px solid var(--accent); color: var(--text);
  padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 200; font-size: 14px; }
.toast.error { border-color: var(--danger); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 14px; flex-wrap: wrap; }
hr.sep { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  #container { grid-template-columns: 1fr; }
  #left-sidebar { position: static; }
  .game-categories { max-height: 220px; }
  .detail-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mobile-trigger { display: inline-block; }
  .main-navigation { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .main-navigation.open { display: flex; }
  .submenu { position: static; display: none; width: 100%; grid-template-columns: 1fr 1fr; box-shadow: none; }
  .submenu.open { display: grid; }
  .nav-container { padding: 10px 0; gap: 10px; }
  .logo-container img { padding-left: 15px; }
  .footer-grid { padding: 0; }
  .footer-bottom { padding: 30px 0; }
  .nav-block.has-submenu { margin-left: 0; }
  .nav-block.has-submenu { display: none; }
  .server-card { grid-template-columns: 1fr; }
  .server-card .rank-col { display: none; }
  .server-card .vip-col { grid-column: 1; padding: 5px; border-left: 0; border-top: 1px solid rgba(255,184,36,.4); }
  .server-card.vip .rank-col { grid-row: 1 / 3; }
  .vote-col { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; border-left: 0; border-top: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 23px; }
  .vip-badge { width: 40px; height: 40px; }
  .server-desc { display: block; overflow: visible; }
  .server-title { font-size: 15px; width: 100%; }
  .ad-footer { margin-left: 20px; margin-right: 20px; }
  .footer-grid { margin-left: 20px; margin-right: 20px; }
  .footer-bottom { margin-left: 20px; margin-right: 20px; }
}

/* ---------- rich text editor (TinyMCE) + rendered full description ---------- */
textarea[data-rich] { min-height: 220px; }
.rich { white-space: normal; }
.rich p { margin: 0 0 10px; }
.rich p:last-child { margin-bottom: 0; }
.rich img { max-width: 100%; height: auto; border-radius: 6px; vertical-align: middle; margin: 4px 0; }
.rich-video {
  display: block; position: relative; width: 100%; max-width: 560px;
  height: 0; padding-bottom: 56.25%; margin: 10px 0;
}
.rich-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; background: #000; }

/* Google reCAPTCHA widget */
.recaptcha-wrap { text-align: center; margin: 12px 0; }