:root {
  --bg: #05080b;
  --panel: rgba(13, 17, 22, .92);
  --panel-soft: rgba(15, 20, 26, .82);
  --line: rgba(255, 255, 255, .11);
  --primary: #8b1c13;
  --primary-light: #e53935;
  --primary-dark: #4a0f0a;
  --red: #8b1c13;
  --red-soft: rgba(136, 28, 19, .34);
  --text: #f4f4f4;
  --muted: #b9b9b9;
  --green: #35e963;
  --container: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(151, 32, 17, .28), transparent 30%),
    radial-gradient(circle at 25% 24%, rgba(229, 57, 53, .12), transparent 28%),
    linear-gradient(180deg, #080b0f 0%, #05080b 54%, #030507 100%);
}
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.topbar {
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  background: rgba(3, 5, 8, .94);
  border-bottom: 1px solid rgba(231, 169, 45, .15);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand img { width: 188px; height: auto; }
.nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(18px, 2vw, 38px); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; color: #e7e7e7; }
.nav a { position: relative; opacity: .92; transition: color .2s ease, opacity .2s ease; }
.nav a:hover, .nav a.active { color: var(--primary-light); opacity: 1; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 2px; background: var(--primary); box-shadow: 0 0 14px var(--primary); }
.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: auto;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, var(--primary-light), #a31818 52%, var(--primary-dark));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2);
}
.top-cta span {
  font-size: 13px;
  line-height: 1;
}
.top-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* Navbar server selector — replaces Play Now CTA when there are multiple servers */
.exmu-v2-nav-server {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.exmu-v2-nav-server select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 212px;
  padding: 14px 38px 14px 18px;
  border: 1px solid rgba(229, 57, 53, .55);
  border-radius: 5px;
  background-color: rgba(229, 57, 53, .12);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary-light) 50%),
    linear-gradient(135deg, var(--primary-light) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 12px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  color: #f4f4f4;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
}
.exmu-v2-nav-server select:hover,
.exmu-v2-nav-server select:focus {
  outline: none;
  border-color: var(--primary-light);
  background-color: rgba(229, 57, 53, .2);
  transform: translateY(-1px);
}
.exmu-v2-nav-server select option { background: #0b1015; color: #f4f4f4; }

/* Toolbar: social icons + menu + CTA */
.exmu-v2-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.exmu-v2-nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.exmu-v2-nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(229, 57, 53, .35);
  background: rgba(229, 57, 53, .08);
  color: #e7e7e7;
  font-size: 1.05rem;
  line-height: 1;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}
.exmu-v2-nav-social-link:hover {
  color: var(--primary-light);
  border-color: rgba(229, 57, 53, .55);
  background: rgba(229, 57, 53, .14);
  transform: translateY(-1px);
}

.exmu-v2-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(229,57,53,.38);
  border-radius: 6px;
  background: rgba(229,57,53,.07);
  color: var(--primary-light);
  cursor: pointer;
}
.exmu-v2-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.exmu-v2-nav-overlay.is-open { display: block; }
.exmu-v2-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(360px, 92vw);
  height: 100vh;
  padding: 12px 20px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 8, 12, .96);
  border-left: 1px solid rgba(231, 169, 45, .2);
  box-shadow: -12px 0 40px rgba(0,0,0,.5);
  transform: translateX(100%);
  transition: transform .22s ease;
}
.exmu-v2-mobile-nav.is-open {
  transform: translateX(0);
}
.exmu-v2-mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin: -12px -20px 12px -20px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.exmu-v2-mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(229, 57, 53, .45);
  background: rgba(229, 57, 53, .14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.exmu-v2-mobile-nav-close:hover,
.exmu-v2-mobile-nav-close:focus-visible {
  outline: none;
  background: rgba(229, 57, 53, .26);
  border-color: rgba(229, 57, 53, .65);
  color: var(--primary-light);
}
.exmu-v2-mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #e7e7e7;
}
.exmu-v2-mobile-nav a:hover { color: var(--primary-light); }

/* Mobile drawer: Facebook + Discord */
.exmu-v2-mobile-nav-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.exmu-v2-mobile-nav-social-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(229, 57, 53, .42) !important;
  border-bottom: 1px solid rgba(229, 57, 53, .42) !important;
  background: rgba(229, 57, 53, .1) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #e7e7e7 !important;
}
.exmu-v2-mobile-nav-social-btn i {
  font-size: 1.35rem;
  color: var(--primary-light);
}
.exmu-v2-mobile-nav-social-btn:hover {
  color: var(--primary-light) !important;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background-image:
  url('../images/hero-bg-2.png');
  background-position: center top;
  border-bottom: 1px solid rgba(231, 169, 45, .14);
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4,7,10,.28) 70%, #05080b 100%);
  pointer-events: none;
}
.hero-fog {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(5,8,11,.9));
  z-index: 2;
}
.hero-inner { min-height: 720px; position: relative; }
.hero-copy { position: relative; z-index: 4; width: min(790px, 60vw); padding-top: 160px; }
.eyebrow { display: inline-block; margin-bottom: 24px; color: var(--primary-light); font-size: 15px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; text-shadow: 0 0 18px rgba(229, 57, 53, .16); }
h1 { font-size: clamp(42px, 4.4vw, 62px); line-height: 1.04; text-transform: uppercase; letter-spacing: -.035em; font-weight: 500; }
h1 strong { display: block; font-weight: 700; }
.gold-text {
  font-family: inherit;
  font-weight: bold;
  font-size: inherit;
  background: linear-gradient(to bottom, #cfc09f 0%, #ffecb3 50%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
}
.hero-copy p { margin-top: 20px; color: #e0e0e0; font-size: 18px; line-height: 1.45; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  border-radius: 5px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
/* Avoid filter brightness: it boosts outer glow unevenly around gold shadows */
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, var(--primary-light), #b71c1c 54%, var(--primary-dark));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 6px rgba(0, 0, 0, .32), 0 0 0 1px rgba(0, 0, 0, .2);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 4px 12px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(229, 57, 53, .22);
}
.btn-outline:hover {
  border-color: rgba(229, 57, 53, .55);
  background: rgba(10, 14, 20, .78);
}
.btn-outline {
  color: #f3f3f3;
  border: 1px solid rgba(229, 57, 53, .68);
  background: rgba(8, 12, 17, .7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.hero-warrior {
  position: absolute;
  z-index: 3;
  right: 72px;
  bottom: -18px;
  width: min(560px, 45vw);
  filter: drop-shadow(0 0 44px rgba(189, 47, 22, .34));
}

.feature-strip {
  position: relative;
  z-index: 8;
  margin-top: -36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(13, 17, 22, .88);
  box-shadow: 0 18px 46px rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
}
.feature-card { min-height: 96px; display: flex; align-items: center; gap: 14px; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.09); }
.feature-card:last-child { border-right: 0; }
.feature-icon {
  display: block;
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex: 0 0 48px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}
.feature-icon img,
.feature-icon svg { display: none !important; }
.feature-card strong { display: block; margin-bottom: 6px; font-size: 13px; text-transform: uppercase; font-weight: 700; }
.feature-card span { display: block; color: #c9c9c9; font-size: 13px; line-height: 1.25; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; padding: 18px 0 30px; }
#main-content img { max-width: 100%; height: auto; }
.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);
}
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; border-bottom: 1px solid rgba(229, 57, 53, .22); }
.panel h2, .panel-header h2 { font-size: 15px; font-weight: 700; text-transform: uppercase; }
.panel-header a { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 14px; }
.news-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: #0b1015; transition: transform .18s ease, border-color .18s ease; }
.news-card:hover { transform: translateY(-2px); border-color: rgba(229,57,53,.35); }
.news-card figure { height: 128px; position: relative; background-size: cover; background-position: center; }
.news-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.54)); }
.news-card figure span { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 11px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; background: linear-gradient(180deg, #dca735, #9f6b12); box-shadow: 0 6px 18px rgba(0,0,0,.32); }
.news-body { padding: 15px 16px 14px; }
.news-body h3 { min-height: 44px; font-size: 18px; line-height: 1.18; letter-spacing: -.01em; }
.news-body p { min-height: 54px; margin-top: 10px; color: #c9c9c9; font-size: 14px; line-height: 1.35; }
.news-body footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); color: #a7a7a7; font-size: 12px; }
.news-body footer a { color: var(--primary); font-weight: 600; white-space: nowrap; }

/* Home slider (above news) — MUREZIST-style carousel */
.exmu-home-hero {
  position: relative;
  height: 340px;
  margin: 14px 14px 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1015;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.exmu-home-hero__track { position: absolute; inset: 0; }
.exmu-home-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.exmu-home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.exmu-home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,14,.82) 0%, rgba(8,10,14,.4) 42%, rgba(8,10,14,0) 68%),
    linear-gradient(0deg, rgba(8,10,14,.62) 0%, rgba(8,10,14,0) 48%);
  pointer-events: none;
}
.exmu-home-hero__content {
  position: absolute;
  left: 40px;
  bottom: 42px;
  right: 88px;
  z-index: 2;
  max-width: 440px;
}
.exmu-home-hero__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, #c62828, #9c1c1c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.exmu-home-hero__title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}
.exmu-home-hero__title span { color: #e53935; }
.exmu-home-hero__sub {
  margin: 0 0 18px;
  color: #d4d8de;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.85);
}
.exmu-home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(180deg, #c62828, #9c1c1c);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.exmu-home-hero__cta:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #d32f2f, #a71f1f);
  text-decoration: none;
}
.exmu-home-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(8,10,14,.55);
  cursor: pointer;
  transform: translateY(-50%);
}
.exmu-home-hero__arrow:hover {
  border-color: rgba(229,57,53,.55);
  background: rgba(198,40,40,.35);
}
.exmu-home-hero__prev { left: 12px; }
.exmu-home-hero__next { right: 12px; }
.exmu-home-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.exmu-home-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(8,12,17,.7);
  cursor: pointer;
}
.exmu-home-hero__dot.is-active {
  background: #c62828;
  border-color: rgba(229,57,53,.7);
}
@media (max-width: 900px) {
  .exmu-home-hero { height: 240px; }
  .exmu-home-hero__title { font-size: 22px; }
  .exmu-home-hero__content { left: 16px; bottom: 28px; right: 16px; }
}

.sidebar { display: grid; align-content: start; gap: 12px; }

/* Server Status — calm hierarchy, compact pill badge, refined metrics */
.status-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background-color: rgba(11, 14, 18, .98);
  background-image:
    linear-gradient(155deg, rgba(22, 28, 36, .94) 0%, rgba(8, 11, 15, .97) 52%, rgba(10, 13, 17, 1) 100%),
    url('../images/emblem.png');
  background-position: 0 0, calc(100% + 8px) 52%;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, 88px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 12px 32px rgba(0, 0, 0, .2);
}

.status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.status-card__head h2.status-card__title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(235, 237, 242, .82);
}

.status-card .online-dot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 11px 5px 9px;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9edab0;
  border-radius: 999px;
  border: 1px solid rgba(74, 214, 132, .22);
  background: linear-gradient(180deg, rgba(55, 182, 109, .12), rgba(25, 82, 52, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.status-card .online-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4ad684;
  box-shadow: 0 0 10px rgba(74, 214, 132, .48);
}

.status-card .online-dot.offline-state {
  color: #e8b4b4;
  border-color: rgba(232, 93, 93, .28);
  background: linear-gradient(180deg, rgba(232, 93, 93, .12), rgba(90, 30, 30, .08));
}

.status-card .online-dot.offline-state::before {
  background: #e06868;
  box-shadow: 0 0 10px rgba(224, 104, 104, .5);
}

.status-card__stats {
  margin-bottom: 11px;
}

.status-card__label {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .015em;
  color: #8f95a0;
}

.status-card__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.status-card__value .playerCount {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(240, 248, 243, .96);
}

.status-card__sep {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, .16);
  margin: 0 1px;
}

.status-card__cap,
.status-card__value .maxPlayers {
  font-size: 14px;
  font-weight: 500;
  color: #6e7682;
}

.status-progress {
  position: relative;
  width: 100%;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .052);
  overflow: hidden;
}

.status-progress .progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #8a6a1a 0%,
    #c9a227 38%,
    #e8c35a 72%,
    #f5e0a8 100%
  );
  transition: width .5s ease, background .35s ease, box-shadow .35s ease;
  box-shadow: 0 0 12px rgba(232, 195, 90, .28);
}
.btn-full { width: 100%; }

/* Server Status card: stacked CTAs — login moved from navbar; compact / softer than global .btn */
.status-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.status-card-actions .btn {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  gap: 6px;
  border-radius: 8px;
}
.status-card-login {
  cursor: pointer;
  font-family: inherit;
}

/* Grand opening countdown (mount: #server-opening-panel-body; players panel is separate). */
.server-status-panel__body {
  min-height: 0;
}

.server-status-countdown {
  text-align: center;
  padding: 2px 0 4px;
}

.server-status-countdown__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.server-status-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.server-status-countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.server-status-countdown__value {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f2f5fb;
  line-height: 1;
}

.server-status-countdown__unit {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8f95a0;
}

.server-status-countdown__tz {
  margin: 0;
  font-size: 11px;
  color: #7a828f;
}

.server-switch-card { padding: 16px 18px; }
.server-switch-card select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px;
  background: rgba(8,12,17,.7);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.server-switch-card select:hover,
.server-switch-card select:focus { border-color: rgba(229,57,53,.55); background: rgba(13,17,22,.85); outline: none; }
.server-switch-current { margin-top: 10px; color: #b9b9b9; font-size: 13px; }
.server-switch-current strong { margin-left: 6px; color: var(--primary-light); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ranking-card { padding: 14px; }
.ranking-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ranking-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ranking-tabs button { cursor: pointer; border: 1px solid rgba(229,57,53,.34); border-radius: 4px; background: rgba(229,57,53,.07); color: #e53935; padding: 8px 9px; font-size: 11px; font-weight: 700; text-transform: uppercase; box-shadow: none; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease; }
.ranking-tabs button:hover:not(.active) {
  background: rgba(229,57,53,.13);
  border-color: rgba(229,57,53,.42);
}
.ranking-tabs button.active { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); background: linear-gradient(180deg, var(--primary-light), #7f1d1d); box-shadow: none; }
body[data-theme="exmuonline-v2"] .sidebar .ranking-tabs button:focus-visible {
  outline: 2px solid rgba(229,57,53,.42);
  outline-offset: 2px;
}
.rank-list { display: none; gap: 7px; }
.rank-list.active { display: grid; }
.rank-list-mount { display: contents; min-height: 0; }

.rank-list article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.rank-list b { color: var(--primary); font-size: 14px; }
.rank-list strong { display: block; font-size: 13px; }
.rank-list small { display: block; margin-top: 3px; color: #a8a8a8; font-size: 12px; }
/* Master level / master reset superscripts — stronger than base level & RR */
.rank-list small sup.exmu-v2-rank-sup-ml,
.rank-list small sup.exmu-v2-rank-sup-mr {
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 0;
  vertical-align: super;
}
.exmu-v2-rank-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border: 1px solid rgba(239, 68, 68, .4);
  border-radius: 4px;
  background: rgba(239, 68, 68, .15);
  color: #fca5a5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.4;
  vertical-align: super;
  white-space: nowrap;
}

.rank-list small sup.exmu-v2-rank-sup-ml {
  color: var(--primary-light);
  text-shadow: 0 0 10px rgba(229, 57, 53, 0.35);
}
.rank-list small sup.exmu-v2-rank-sup-mr {
  color: #f2c85b;
  text-shadow: 0 0 8px rgba(242, 200, 91, 0.22);
}
.rank-list em { color: #d8d8d8; font-style: normal; font-size: 12px; font-weight: 650; text-align: right; }

/* Guild sidebar: score emphasized on the right; members as icon + count on sub-line */
.exmu-guild-members-inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 2px;
	vertical-align: middle;
}
.exmu-guild-members-inline i {
	font-size: 11px;
	color: rgba(229, 57, 53, .88);
}
.rank-list article em.exmu-guild-score-pill {
	font-size: 15px;
	font-weight: 700;
	color: var(--primary-light);
	letter-spacing: 0.02em;
	min-width: 2.75rem;
	text-align: right;
}

.exmu-v2-inner-pad { padding: 14px 16px 20px; }

/* Main column: reset cms.min.css .panel / .\!panel padding (1.5rem stacks with .exmu-v2-inner-pad) */
body[data-theme="exmuonline-v2"] .\!panel,
body[data-theme="exmuonline-v2"] #main-content-section.panel {
  padding: 0 !important;
}
.quick-links { padding: 14px; }
.quick-links h2 { margin-bottom: 12px; }
.quick-links a { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)); color: #cfcfcf; font-size: 13px; }
.quick-links a:first-of-type { border-radius: 5px 5px 0 0; }
.quick-links a:last-child { border-bottom: 0; border-radius: 0 0 5px 5px; }
.quick-links span { color: #a8a8a8; }

.footer { border-top: 1px solid rgba(229,57,53,.12); background: rgba(4,7,10,.88); padding: 28px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { width: 170px; margin-bottom: 8px; }
.exmu-v2-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
}
.exmu-v2-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #a7a7a7;
  line-height: 1;
  transition: color 0.2s ease, transform 0.15s ease;
}
.exmu-v2-footer-social a:hover {
  color: var(--primary-light);
  transform: translateY(-1px);
}
.footer h3 { margin-bottom: 12px; font-size: 14px; text-transform: uppercase; }
.footer p, .footer a { display: block; color: #a7a7a7; font-size: 13px; line-height: 1.75; }
.footer .exmu-v2-footer-social a {
  display: inline-flex !important;
  font-size: 1.35rem;
  line-height: 1;
}
.socials { display: flex; gap: 16px; color: var(--primary); font-size: 22px; font-weight: 600; }
.copyright { margin-top: 22px; text-align: center; color: #787f87; font-size: 12px; }
.language-switch {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(8, 12, 17, .9);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.language-switch img { cursor: pointer; opacity: .88; transition: opacity .15s ease; border-radius: 4px; }
.language-switch img:hover { opacity: 1; }

/* Login modal (EXMU Online v2) */
.exmu-v2-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  padding: 16px;
}
.exmu-v2-login-overlay.is-open { display: flex; }
.exmu-v2-login-modal {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  border: 1px solid rgba(229,57,53,.35);
  background: rgba(10, 14, 20, .97);
  box-shadow: 0 28px 64px rgba(0,0,0,.55);
}
.exmu-v2-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.exmu-v2-login-head h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; }
.exmu-v2-login-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.exmu-v2-login-body { padding: 22px 20px 26px; }
.exmu-v2-login-body label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 8px; color: #cfcfcf; text-transform: uppercase; }
.exmu-v2-login-body input[type="text"],
.exmu-v2-login-body input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(4, 7, 10, .88);
  color: var(--text);
  font-size: 14px;
}
.exmu-v2-login-body .mwTForm button[type="submit"],
.exmu-v2-login-body button[type="submit"] {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
  border: 0;
}
.exmu-v2-login-meta { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.exmu-v2-login-meta a { color: var(--primary-light); font-weight: 600; display: inline; }

@media (max-width: 1240px) {
  .nav { display: none; }
  .exmu-v2-menu-btn { display: inline-flex; }
  .exmu-v2-mobile-nav { display: block; }
  .hero-warrior { right: -20px; opacity: .72; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2n) { border-right: 0; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .container { width: min(100% - 28px, var(--container)); }
  .top-cta { padding: 8px 12px; font-size: 11px; }
  .brand img { width: 156px; }
  .hero { min-height: 560px; }
  .hero-copy { width: 100%; padding-top: 58px; }
  .hero-warrior { width: 78vw; right: -22vw; bottom: -8px; opacity: .45; }
  .news-grid, .sidebar, .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(2n) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .feature-card:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .topbar { height: 76px; }
  .top-cta { display: none; }
  /* Keep header compact: tighter social icons */
  .exmu-v2-nav-social-link {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .exmu-v2-toolbar {
    gap: 8px;
  }
  h1 { font-size: 36px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .language-switch { right: 12px; bottom: 12px; }
}

/* --- Sub-pages: unified visual identity (purple strip, panels, typography) --- */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-page-root {
  --exmu-purple-deep: #1a1a2e;
  --exmu-purple-mid: #4b2c91;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-page-root > .exmu-v2-panel,
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-page-root .exmu-v2-panel.max-w-6xl {
  overflow: visible;
}

/* Panel surfaces inside sub-pages (theme card chrome; keep .slider excluded for shared widgets) */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-panel:not(.slider) {
  background: rgba(15, 19, 24, .94) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-panel-hover {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-panel-hover:hover {
  border-color: rgba(229, 57, 53, 0.38) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

/* Banner strips (titles) */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip {
  border-bottom: 1px solid rgba(229, 57, 53, .22);
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip--default {
  background: linear-gradient(90deg, rgba(40, 18, 10, .96) 0%, rgba(13, 17, 22, .92) 100%);
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip--red {
  background: linear-gradient(180deg, rgba(229, 57, 53, .35), rgba(40, 18, 10, .96));
  border-bottom-color: rgba(229, 57, 53, .3);
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip--subtle {
  background: linear-gradient(90deg, rgba(40, 18, 10, .45) 0%, rgba(13, 17, 22, .85) 100%);
  border-bottom-color: rgba(255, 255, 255, .1);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip-sub {
  color: #c9c9c9;
  opacity: .95;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip h2 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
}

/* Icon tile in strip headers */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: linear-gradient(145deg, rgba(229, 57, 53, .12), rgba(139, 28, 19, .22));
  border: 1px solid rgba(229, 57, 53, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip-ico--red {
  background: linear-gradient(145deg, rgba(229, 57, 53, .5), rgba(139, 74, 14, .9));
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-strip-ico--sm {
  width: 2rem;
  height: 2rem;
  font-size: 0.875rem;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-accent {
  color: var(--primary-light) !important;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-li-glyph {
  display: inline-flex;
  margin-right: 0.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-li-glyph i {
  font-size: 0.85rem;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-link-accent {
  color: rgba(229, 57, 53, .95) !important;
  font-weight: 650;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-link-accent:hover {
  color: #fff !important;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-num-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  font-weight: 600;
  color: #1a1108;
  background: linear-gradient(180deg, var(--primary-light), #7f1d1d);
  box-shadow: 0 6px 16px rgba(229, 57, 53, .25);
}

/* Info panels: theme red/gold instead of generic blue/teal Bootstrap-style blocks */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout {
  padding: 1.375rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(229, 57, 53, .32);
  background: linear-gradient(145deg, rgba(229, 57, 53, .1) 0%, rgba(13, 17, 22, .55) 55%, rgba(139, 28, 19, .08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: #f2c85b;
  letter-spacing: 0.02em;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout__icon {
  color: var(--primary-light);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout--security {
  border-color: rgba(242, 200, 91, .35);
  background: linear-gradient(145deg, rgba(242, 200, 91, .1) 0%, rgba(13, 17, 22, .55) 50%, rgba(139, 74, 14, .12) 100%);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout--security .exmu-v2-callout__title {
  color: #fde68a;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-callout--security .exmu-v2-callout__icon {
  color: #f2c85b;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-chip-level {
  display: inline-flex;
  background: linear-gradient(180deg, var(--primary-light), var(--primary-dark));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-dl-host-ico {
  background: rgba(229, 57, 53, .1);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* Downloads mirror row — solid border color (avoid relying on Tailwind border-white/X in cms bundle) */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-download-row {
  background: rgba(24, 24, 27, .92);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .2s ease;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-download-row:hover {
  border-color: rgba(229, 57, 53, .38);
}

/* DaisyUI/CMS: .btn.btn-primary overrides single-class theme .btn-primary (site-wide for this theme) */
body[data-theme="exmuonline-v2"] a.btn.btn-primary,
body[data-theme="exmuonline-v2"] button.btn.btn-primary {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  background-image: linear-gradient(180deg, var(--primary-light), #b71c1c 54%, var(--primary-dark)) !important;
  background-color: transparent !important;
  border-color: rgba(0, 0, 0, .22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 2px 6px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(0, 0, 0, .2) !important;
}
body[data-theme="exmuonline-v2"] a.btn.btn-primary:hover,
body[data-theme="exmuonline-v2"] button.btn.btn-primary:hover {
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    0 4px 12px rgba(0, 0, 0, .38),
    0 0 0 1px rgba(229, 57, 53, .22) !important;
  filter: none !important;
}

body[data-theme="exmuonline-v2"] .status-card-actions a.btn.btn-primary,
body[data-theme="exmuonline-v2"] .status-card-actions button.btn.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 1px 4px rgba(0, 0, 0, .22) !important;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, transparent 42%),
    linear-gradient(180deg, var(--primary-light), #a31818 52%, var(--primary-dark)) !important;
}
body[data-theme="exmuonline-v2"] .status-card-actions a.btn.btn-primary:hover,
body[data-theme="exmuonline-v2"] .status-card-actions button.btn.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 2px 8px rgba(0, 0, 0, .28) !important;
}
body[data-theme="exmuonline-v2"] .status-card-actions button.btn-outline {
  min-height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Ranking category buttons — glass base, lift + symmetric shadow on hover, sweep shine */
body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button,
body[data-theme="exmuonline-v2"] #main-content .ranking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: fit-content;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(5, 8, 11, 0.35) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 10px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.25, 0.64, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button:hover:not(.active),
body[data-theme="exmuonline-v2"] #main-content .ranking-button:hover:not(.active) {
  transform: translateY(-3px);
  border-color: rgba(229, 57, 53, 0.42);
  background: linear-gradient(
    165deg,
    rgba(229, 57, 53, 0.16) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(10, 14, 20, 0.72) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(229, 57, 53, 0.12);
}

body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button:active:not(.active),
body[data-theme="exmuonline-v2"] #main-content .ranking-button:active:not(.active) {
  transform: translateY(-1px);
  transition-duration: 0.12s;
}

body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button:not(.active) span,
body[data-theme="exmuonline-v2"] #main-content .ranking-button:not(.active) span {
  transition: color 0.2s ease;
}

body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button:hover:not(.active) span,
body[data-theme="exmuonline-v2"] #main-content .ranking-button:hover:not(.active) span {
  color: var(--primary-light) !important;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-ranking-btn-shine,
body[data-theme="exmuonline-v2"] #rankingButtons .exmu-v2-ranking-btn-shine {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 230, 160, 0.22) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 50%;
}

body[data-theme="exmuonline-v2"] #main-content .ranking-button:hover:not(.active) .exmu-v2-ranking-btn-shine,
body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button:hover:not(.active) .exmu-v2-ranking-btn-shine {
  opacity: 1;
  background-position: -30% 50%;
  transition:
    opacity 0.26s ease,
    background-position 0.72s cubic-bezier(0.25, 1, 0.5, 1);
}

body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button.active .exmu-v2-ranking-btn-shine,
body[data-theme="exmuonline-v2"] #main-content .ranking-button.active .exmu-v2-ranking-btn-shine {
  opacity: 0;
}

/* mwPageBody fallback pages (guides, oauth, legacy) */
body[data-theme="exmuonline-v2"] #main-content .mwPageBody {
  background: rgba(15, 19, 24, .96);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
  padding: clamp(18px, 2vw, 28px);
}

/* Ranking tables inside main panel */
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}
/* Table header: keep translucency close to tbody so background/grain stays continuous */
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable thead th {
  background: rgba(8, 12, 17, .58);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(229, 57, 53, .28);
  text-align: left;
  vertical-align: middle;
}
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable thead th .flex {
  justify-content: flex-start;
}
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable thead tr > th:first-child,
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable thead tr > th:nth-child(2) {
  text-align: center;
}
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable tbody td {
  background: rgba(8, 12, 17, .5);
  color: #e4e4e4;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  text-align: left;
  vertical-align: middle;
}
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable tbody td.exmu-v2-rank-num,
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable tbody td.exmu-v2-rank-class {
  text-align: center;
}
body[data-theme="exmuonline-v2"] #main-content .mwRankingTable tbody td.exmu-v2-rank-status {
  text-align: center;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-rank-player-cell {
  text-align: left;
  vertical-align: top;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-rank-player-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 100%;
}

/* Ranking type buttons — active state (replaces orange glow injected via inline script) */
body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button.active,
body[data-theme="exmuonline-v2"] #main-content .ranking-button.active {
  transform: translateY(-1px);
  border-color: rgba(229, 57, 53, .52) !important;
  background: linear-gradient(180deg, rgba(229, 57, 53, .2), rgba(229, 57, 53, .08)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(229, 57, 53, .22) !important;
}
body[data-theme="exmuonline-v2"] #rankingButtons .ranking-button.active span,
body[data-theme="exmuonline-v2"] #main-content .ranking-button.active span {
  color: var(--primary-light) !important;
  text-shadow: none !important;
}

body[data-theme="exmuonline-v2"] #main-content select.modern-input,
body[data-theme="exmuonline-v2"] #main-content .modern-input {
  background: rgba(8, 12, 17, .95) !important;
  border: 1px solid rgba(229, 57, 53, .25) !important;
  border-radius: 8px !important;
  color: #f4f4f4 !important;
}

/* Guides / auth custom partials */
.exmu-v2-guides-list a.exmu-v2-guide-row {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(12, 16, 22, .75);
  margin-bottom: 0.65rem;
  transition: border-color .2s ease, transform .15s ease;
}
.exmu-v2-guides-list a.exmu-v2-guide-row:hover {
  border-color: rgba(229, 57, 53, .4);
  transform: translateX(4px);
}
.exmu-v2-guide-row__letter {
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1a1108;
  background: linear-gradient(180deg, var(--primary-light), #7f1d1d);
}
.exmu-v2-news-article .exmu-v2-strip-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body {
  color: #c8cdd6;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body a {
  color: rgba(229, 57, 53, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body a:hover {
  color: #fff;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body p + p {
  margin-top: 1rem;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body h1,
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body h2,
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body h3 {
  color: #eef1f8;
  font-weight: 600;
  margin-top: 1.35rem;
  margin-bottom: 0.65rem;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-top: 0.5rem;
}
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Panel /login & OAuth (minimal_site_chrome): layout + branded auth card --- */
body[data-theme="exmuonline-v2"].exmu-v2-route-auth main.exmu-v2-auth-main.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 28rem;
  width: 100%;
  margin-inline: auto;
  align-content: start;
  padding-block: clamp(20px, 4vw, 48px);
  min-height: min(72vh, 820px);
}

body[data-theme="exmuonline-v2"].exmu-v2-route-auth .exmu-v2-main-column {
  grid-column: 1 / -1;
  min-width: 0;
}

body[data-theme="exmuonline-v2"].exmu-v2-route-auth #main-content-section.panel {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

body[data-theme="exmuonline-v2"].exmu-v2-route-auth #main-content.exmu-v2-inner-pad {
  padding: 0;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-shell,
body[data-theme="exmuonline-v2"] .exmu-v2-route-auth #main-content .exmu-v2-auth-shell {
  width: 100%;
  margin-inline: 0;
  max-width: none;
}

.exmu-v2-auth-shell {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 19, 24, 0.96);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(229, 57, 53, 0.12);
  overflow: hidden;
}

.exmu-v2-auth-shell .exmu-v2-strip {
  border-radius: 0;
}

/* Strip title typography inside auth shell (same as sub-pages when inside #main-content) */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-shell .exmu-v2-strip h2 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-shell .exmu-v2-strip-ico:not(.exmu-v2-strip-ico--red) {
  background: linear-gradient(145deg, rgba(229, 57, 53, .12), rgba(139, 28, 19, .22));
}

.exmu-v2-auth-inner {
  padding: 1.375rem 1.5rem 1.625rem;
}

.exmu-v2-auth-back {
  margin: 0 0 1.25rem;
}

.exmu-v2-auth-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(229, 57, 53, 0.95);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-input.modern-input,
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-input.modern-input:focus {
  background: rgba(6, 9, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-input.modern-input:hover {
  border-color: rgba(229, 57, 53, 0.28);
}

body[data-theme="exmuonline-v2"] #main-content .exmu-v2-auth-input.modern-input:focus {
  outline: none;
  border-color: rgba(229, 57, 53, 0.55);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}

.exmu-v2-auth-checkbox {
  accent-color: var(--primary-dark);
}

.exmu-v2-auth-checkbox:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.exmu-v2-auth-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.exmu-v2-auth-oauth-btn:hover {
  transform: translateY(-1px);
}

.exmu-v2-auth-oauth-google {
  color: #f2f6ff;
  background: rgba(8, 12, 17, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.exmu-v2-auth-oauth-google:hover {
  border-color: rgba(242, 200, 91, 0.45);
  background: rgba(12, 16, 22, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.exmu-v2-auth-oauth-google i {
  font-size: 1.125rem;
  opacity: 0.92;
}

.exmu-v2-auth-oauth-discord {
  color: #fff;
  background: rgba(58, 65, 148, 0.38);
  border-color: rgba(88, 101, 242, 0.5);
}

.exmu-v2-auth-oauth-discord:hover {
  background: rgba(76, 82, 173, 0.52);
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 6px 20px rgba(67, 78, 216, 0.25);
}

.exmu-v2-auth-oauth-discord i {
  font-size: 1.2rem;
}

.exmu-v2-auth-log-panel {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.exmu-v2-auth-log-row--error:hover {
  background: rgba(220, 70, 70, 0.08);
}

.exmu-v2-auth-log-row--ok:hover {
  background: rgba(72, 161, 107, 0.08);
}

@media (max-width: 520px) {
  body[data-theme="exmuonline-v2"].exmu-v2-route-auth main.exmu-v2-auth-main.content-grid {
    padding-inline: clamp(8px, 3vw, 14px);
  }
}

/* Numbered rule section circles (inherits flex row in section titles) */
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-page-root section.flex > h2 > span[class*="rounded-lg"][class*="w-8"][class*="h-8"]:first-child,
body[data-theme="exmuonline-v2"] #main-content .exmu-v2-page-root section.flex > h2 > span[class*="rounded-lg"][class*="w-10"]:first-child {
  background: linear-gradient(145deg, rgba(139, 28, 19, .6), rgba(229, 57, 53, .45)) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}

