:root {
  --gold: #d5a04b;
  --gold-dark: #c5872b;
  --ink: #17191f;
  --text: #525966;
  --muted: #8a8e96;
  --line: #e5e5e5;
  --soft: #fbfafa;
  --white: #fff;
  --discord: #727ced;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  min-width: 320px;
  background: var(--soft);
}

/* Match mode_2.html canvas: 1319px body, 1055px page scaled 1.25x */
body.hm-body {
  width: 1319px;
  height: 1864px;
  margin: 0 auto;
  color: var(--text);
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: var(--soft);
  line-height: normal;
}

button,
a { font: inherit; }

a {
  color: inherit;
  text-decoration: none;
}

.hm-body .page {
  width: 1055px;
  min-height: 1491px;
  margin: 0;
  background: #fff;
  overflow: hidden;
  transform: scale(1.25);
  transform-origin: top left;
}

.hm-body .hero {
  height: 482px;
  padding: 20px 47px;
  background: url("../images/bg-header-full.png") center / cover no-repeat;
}

.hm-body .hero.hero--sub {
  height: 300px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .18)),
    url("../images/bg-header-full.png") center 35% / cover no-repeat;
}

.hm-body .topbar {
  height: 44px;
  display: flex;
  align-items: center;
}

.hm-body .brand {
  width: 214px;
  color: var(--gold);
  font: 41px/32px Georgia, serif;
  letter-spacing: .08em;
}

.hm-body .brand--logo {
  display: block;
  line-height: 0;
}

.hm-body .brand--logo img {
  display: block;
  width: 188px;
  max-height: 47px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hm-body .brand small {
  display: block;
  padding-left: 19px;
  color: #282a30;
  font: 9px/18px Arial, sans-serif;
  letter-spacing: .42em;
}

.hm-body .topbar nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 25px;
  color: #14161b;
  font-size: 10px;
  font-weight: 700;
}

.hm-body .topbar nav a {
  padding: 19px 0 17px;
  white-space: nowrap;
}

.hm-body .topbar nav a.is-active {
  border-bottom: 2px solid var(--gold);
}

.hm-body .topbar .account {
  margin-left: auto;
  width: 152px;
  height: 40px;
  border-radius: 5px;
  background: linear-gradient(#e1ad5a, #ce9135);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 12px rgba(175, 125, 44, .18);
  font-size: 11px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.hm-body .button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.hm-body .account .button-icon {
  width: 16px;
  height: 16px;
}

.hm-body .hero-copy {
  margin: 94px 0 0 5px;
  width: 520px;
}

.hm-body .hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hm-body .hero-main .hm-opening-countdown {
  margin: 94px 5px 0 0;
  width: 320px;
  flex-shrink: 0;
}

.hm-body .hm-opening-countdown.panel {
  height: auto;
  min-height: 160px;
  padding-bottom: 16px;
}

.hm-body .hm-opening-countdown__msg {
  margin: 0 13px 12px;
  color: #59616d;
  font-size: 11px;
  line-height: 1.45;
}

.hm-body .hm-opening-countdown__grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin: 4px 8px 0;
  padding: 12px 8px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fafafa;
}

.hm-body .hm-opening-countdown__unit {
  min-width: 52px;
  text-align: center;
}

.hm-body .hm-opening-countdown__num {
  display: block;
  color: var(--gold-dark);
  font: 700 28px/1 Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.hm-body .hm-opening-countdown__label {
  display: block;
  margin-top: 5px;
  color: #69717d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hm-body .hm-opening-countdown__sep {
  color: #b8bcc4;
  font: 700 24px/1 Georgia, serif;
  padding-bottom: 14px;
}

.hm-body .hero-title {
  margin: 100px 0 0 5px;
  color: var(--ink);
  font: 36px/1.15 Georgia, serif;
  letter-spacing: .04em;
}

.hm-body .hero-title span {
  display: block;
  margin-top: 12px;
  color: var(--gold-dark);
  font: 11px "Trebuchet MS", sans-serif;
  letter-spacing: .14em;
}

.hm-body .eyebrow {
  margin: 0 0 11px;
  color: #636a75;
  font-size: 11px;
  letter-spacing: .14em;
}

.hm-body .lead {
  margin: 18px 0 0;
  color: #59616d;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .015em;
}

.hm-body .actions {
  display: flex;
  gap: 15px;
  margin-top: 29px;
}

.hm-body .button {
  width: 180px;
  height: 50px;
  border: 1px solid #e1e2e5;
  border-radius: 5px;
  background: rgba(255, 255, 255, .89);
  color: #232630;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 7px 17px rgba(40, 43, 50, .06);
  cursor: pointer;
}

.hm-body .button.primary {
  border-color: #d79b3d;
  background: linear-gradient(#e5b25f, #d2973d);
  color: #fff;
}

.hm-body .button .button-icon {
  width: 20px;
  height: 20px;
}

.hm-body .client-note {
  margin: 15px 0 0 97px;
  color: #69717d;
  font-size: 10px;
}

.hm-body .client-note::before {
  content: "◷";
  margin-right: 8px;
  color: #3e4653;
  font-size: 16px;
  vertical-align: -2px;
}

/* Exact mockup content card — no negative margin (avoids white crescent) */
.hm-body .content,
.hm-body #main-content {
  position: relative;
  z-index: 2;
  width: 961px;
  min-height: 933px;
  margin: 0 auto;
  padding: 29px 20px 14px;
  border-radius: 15px 15px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 0 35px rgba(31, 35, 43, .08);
}

.hm-body .content.content--inner {
  min-height: 565px;
  margin-top: -18px;
  padding: 34px 28px 40px;
  border-radius: 14px;
}

.hm-body .content h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font: 19px Georgia, serif;
  letter-spacing: .06em;
}

.hm-body .content .intro {
  max-width: 720px;
  margin: -11px 0 28px;
  font-size: 12px;
  line-height: 1.65;
}

.hm-body .ornament-title {
  margin: 0 0 28px;
  color: #222126;
  text-align: center;
  font: 14px Georgia, serif;
  font-weight: 700;
  letter-spacing: .11em;
}

.hm-body .ornament-title::before,
.hm-body .ornament-title::after {
  content: "◆";
  color: var(--gold);
  font-size: 7px;
  vertical-align: 2px;
}

.hm-body .ornament-title::before { margin-right: 13px; }
.hm-body .ornament-title::after { margin-left: 13px; }

.hm-body .steps {
  height: 113px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px;
  padding: 0 67px;
}

.hm-body .step-card {
  position: relative;
  display: grid;
  grid-template-columns: 79px 1fr;
  align-items: center;
  column-gap: 14px;
}

.hm-body .step-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -25px;
  color: #adb1b7;
  font: 42px/1 Georgia, serif;
}

.hm-body .step-icon {
  width: 79px;
  height: 79px;
  display: block;
  object-fit: contain;
}

.hm-body .step-text h3 {
  margin: 0 0 10px;
  color: #191b20;
  font: 12px Georgia, serif;
  letter-spacing: .04em;
}

.hm-body .step-text h3 b {
  margin-right: 8px;
  color: var(--gold);
  font: 31px Georgia, serif;
  font-weight: 400;
  vertical-align: -5px;
}

.hm-body .step-text p {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.hm-body .home-news {
  margin-top: 0;
  padding: 0 10px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.hm-body .home-news .ornament-title {
  width: 280px;
  margin: -9px auto 16px;
  background: #fff;
}

.hm-body .home-news-list {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
}

.hm-body .home-news-row {
  height: 36px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  transition: background .15s ease;
}

.hm-body .home-news-row:last-child { border-bottom: 0; }
.hm-body .home-news-row:hover { background: #faf9f7; }

.hm-body .home-news-date {
  color: #8a8e96;
  font-size: 9px;
  white-space: nowrap;
}

.hm-body .home-news-title {
  color: #373c46;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hm-body .home-news-cat {
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff3dd;
  color: var(--gold-dark);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.hm-body .home-news-more {
  height: 31px;
  margin-top: 0;
  border: 1px solid #e5e5e5;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  display: grid;
  place-items: center;
  color: #606773;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.hm-body .home-news-more:hover { color: var(--gold-dark); }

.hm-body .home-news-empty {
  margin: 0;
  padding: 20px 13px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  color: #8a8e96;
  font-size: 11px;
  text-align: center;
}

.hm-body .middle {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: start;
  gap: 15px;
  margin-top: 23px;
}

.hm-body .middle .home-news-row {
  height: 32px;
  grid-template-columns: 65px minmax(0, 1fr) auto;
  padding: 0 10px;
  gap: 8px;
}

.hm-body .panel {
  height: 249px;
  border: 1px solid #e2e2e2;
  border-radius: 9px;
  padding: 15px 9px 10px;
  background: #fff;
}

.hm-body .panel-head {
  height: 27px;
  padding: 0 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #18191e;
  font: 13px Georgia, serif;
  font-weight: 700;
  letter-spacing: .05em;
}

.hm-body .online {
  color: #49b65a;
  font: 10px Arial, sans-serif;
}

.hm-body .online::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  background: #4aba5a;
  vertical-align: -1px;
}

.hm-body .status-list {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
}

.hm-body .status-row {
  height: 32px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  font-size: 11px;
}

.hm-body .status-row:last-child { border-bottom: 0; }
.hm-body .status-row i { color: var(--gold); font-style: normal; font-size: 16px; }
.hm-body .status-row b { color: #373c46; }
.hm-body .status-row strong { color: #232731; font-size: 11px; }

.hm-body .status-more {
  height: 31px;
  margin-top: 0;
  border: 1px solid #e5e5e5;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  display: grid;
  place-items: center;
  color: #606773;
  font-size: 9px;
  font-weight: 700;
}

.hm-body .rank-link {
  color: var(--gold-dark);
  font: 9px Arial, sans-serif;
  font-weight: 400;
}

.hm-body .ranking-list { margin-top: -1px; }

.hm-body .rank-row {
  height: 40px;
  display: grid;
  grid-template-columns: 28px 28px 1.1fr 1fr 50px;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  color: #4e5561;
  font-size: 9px;
}

.hm-body .rank-row:last-child { border-bottom: 0; }

.hm-body .rank-row .place {
  color: #424854;
  font: 16px Georgia, serif;
  text-align: center;
}

.hm-body .rank-row:nth-child(-n+3) .place { color: var(--gold-dark); }

.hm-body .avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #15191e, #b47a32);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 8px;
  overflow: hidden;
}

.hm-body .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.hm-body .rank-row .avatar .es-ranking-class-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-body .rank-row b { color: #343942; }
.hm-body .rank-row b a { color: inherit; }
.hm-body .level { text-align: right; }
.hm-body .rank-empty {
  padding: 24px 12px;
  text-align: center;
  color: #8a8e96;
  font-size: 10px;
}
.hm-body .rank-row--skeleton { opacity: .35; }

.hm-body .bottom {
  display: grid;
  grid-template-columns: .96fr 1.05fr 1.09fr;
  gap: 16px;
  margin-top: 18px;
}

.hm-body .small-panel {
  position: relative;
  min-height: 220px;
  padding: 17px 17px 13px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
}

.hm-body .small-panel h3 {
  margin: 0 0 10px;
  color: #1b1c21;
  font: 12px Georgia, serif;
  letter-spacing: .05em;
}

.hm-body .benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-body .benefits li { margin: 0 0 8px; font-size: 10px; }

.hm-body .benefits li::before {
  content: "✓";
  margin-right: 14px;
  color: var(--gold);
  font-weight: 700;
}

.hm-body .wide-link {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 13px;
  height: 31px;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 9px;
}

.hm-body .questions {
  margin-bottom: 40px;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  overflow: hidden;
}

.hm-body .question {
  width: 100%;
  height: 26px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  color: #4e5561;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 9px;
  cursor: pointer;
}

.hm-body .question:hover,
.hm-body .question[aria-expanded="true"] {
  background: #fbfaf8;
  color: #252932;
}

.hm-body .question span {
  color: #59606b;
  font-size: 11px;
  transition: transform .18s ease;
}

.hm-body .question[aria-expanded="true"] span { transform: rotate(45deg); }

.hm-body .answer {
  display: none;
  margin: 0;
  padding: 8px 14px 10px;
  border-bottom: 1px solid #e8e8e8;
  background: #fbfaf8;
  color: #686e78;
  font-size: 9px;
  line-height: 1.5;
}

.hm-body .answer.is-open { display: block; }

.hm-body .discord-panel::after {
  content: "♙";
  position: absolute;
  right: -8px;
  bottom: -24px;
  color: #f0eee9;
  font: 171px Georgia, serif;
  transform: rotate(8deg);
}

.hm-body .discord-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
}

.hm-body .discord-logo {
  width: 49px;
  height: 49px;
  object-fit: contain;
}

.hm-body .discord-copy {
  font-size: 10px;
  line-height: 1.55;
}

.hm-body .discord-button {
  position: relative;
  z-index: 1;
  height: 38px;
  margin-top: 16px;
  border-radius: 5px;
  background: linear-gradient(100deg, #737ced, #8b91f3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.hm-body .discord-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hm-body .members {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  text-align: center;
  font-size: 10px;
}

.hm-body .footer {
  height: 76px;
  display: grid;
  grid-template-columns: 205px 1fr 110px;
  align-items: center;
  padding: 0 74px;
  background: #fbfafa;
}

.hm-body .footer .brand {
  width: auto;
  font-size: 29px;
  line-height: 23px;
}

.hm-body .footer .brand small {
  padding-left: 14px;
  font-size: 6px;
  line-height: 11px;
}

.hm-body .footer-center {
  align-self: center;
  text-align: center;
}

.hm-body .footer nav {
  display: flex;
  justify-content: center;
  gap: 0;
  color: #515660;
  font-size: 8px;
}

.hm-body .footer nav a {
  padding: 0 15px;
  border-right: 1px solid #d7d7d7;
}

.hm-body .footer nav a:last-child { border: 0; }

.hm-body .copyright {
  margin-top: 13px;
  color: #9a9ca2;
  font-size: 8px;
}

.hm-body .socials {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #59606c;
  font-size: 18px;
  font-weight: 700;
}

.hm-body .socials a {
  display: flex;
  align-items: center;
}

/* --- Inner page helpers (CMS) --- */
.hm-grid { display: grid; gap: 16px; }
.hm-steps-grid { grid-template-columns: repeat(3, 1fr); }
.hm-card { border: 1px solid var(--line); border-radius: 9px; padding: 20px; background: #fff; }
.hm-card h3 { margin: 0 0 10px; color: var(--ink); font: 14px Georgia, serif; }
.hm-card p,
.hm-card li { font-size: 11px; line-height: 1.6; }
.hm-number {
  width: 35px;
  height: 35px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  font: 18px Georgia, serif;
}
.hm-download-box {
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid #ead8ba;
  border-radius: 8px;
  background: #fffaf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hm-btn-inline {
  height: 39px;
  padding: 0 22px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(#e1ad5a, #ce9135);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.hm-toolbar { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.hm-filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #555d68;
  font-size: 10px;
  cursor: pointer;
}
.hm-filter.is-active,
.hm-filter.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}
.hm-info-grid { grid-template-columns: repeat(3, 1fr); }
.hm-value { display: block; margin: 8px 0; color: var(--gold-dark); font: 24px Georgia, serif; }
.hm-rules { margin-top: 20px; grid-template-columns: 1fr 1fr; }
.hm-rules ul { margin: 0; padding-left: 18px; }

/* --- Roadmap (informations page) --- */
.hm-specs-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.hm-spec-pill {
  padding: 14px 10px;
  border: 1px solid #ead8ba;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf2 0%, #fff 100%);
  text-align: center;
}

.hm-spec-label {
  display: block;
  margin-bottom: 6px;
  color: #8a8e96;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hm-spec-value {
  display: block;
  color: var(--gold-dark);
  font: 600 16px "Cinzel", Georgia, serif;
  letter-spacing: .04em;
}

.hm-spec-value--version {
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.hm-roadmap {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: 24px;
  padding-left: 4px;
}

.hm-roadmap::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, #ead8ba 55%, #e5e5e5 100%);
}

.hm-roadmap-phase {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 18px;
}

.hm-roadmap-phase:last-child { padding-bottom: 0; }

.hm-roadmap-marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.hm-roadmap-num {
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--gold-dark);
  font: 600 14px "Cinzel", Georgia, serif;
  box-shadow: 0 0 0 4px #fff;
}

.hm-roadmap-phase--completed .hm-roadmap-num {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.hm-roadmap-phase--active .hm-roadmap-num {
  border-color: var(--gold-dark);
  background: #fff7ea;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(213, 160, 75, .25);
}

.hm-roadmap-body { margin: 0; }

.hm-roadmap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hm-roadmap-head h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font: 600 14px "Cinzel", Georgia, serif;
  letter-spacing: .04em;
}

.hm-roadmap-date {
  flex-shrink: 0;
  color: #8a8e96;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hm-roadmap-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hm-roadmap-badge--completed {
  background: #edf7ed;
  color: #2d6a3e;
}

.hm-roadmap-badge--active {
  background: #fff7ea;
  color: var(--gold-dark);
  border: 1px solid #ead8ba;
}

.hm-roadmap-badge--upcoming {
  background: #eef3fb;
  color: #3d5a8a;
}

.hm-roadmap-badge--planned {
  background: #f3f3f3;
  color: #7a7f88;
}

.hm-roadmap-list {
  margin: 0;
  padding-left: 18px;
}

.hm-roadmap-list li {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.55;
}

.hm-roadmap-list li:last-child { margin-bottom: 0; }

.hm-roadmap-phase--active .hm-roadmap-body {
  border-color: #ead8ba;
  box-shadow: 0 4px 18px rgba(213, 160, 75, .12);
}

.hm-roadmap-extras { margin-top: 8px; }
.hm-prose { font-size: 12px; line-height: 1.7; color: var(--text); }
.hm-prose h2,
.hm-prose h3 { color: var(--ink); font-family: Georgia, serif; }
.hm-prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 11px; }
.hm-prose th,
.hm-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.hm-prose th { background: #fbfaf8; color: var(--ink); font-family: Georgia, serif; }
.hm-guide-list { display: grid; gap: 10px; }
.hm-guide-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
.hm-guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7ea;
  color: var(--gold-dark);
  font: 600 14px Georgia, serif;
}
.hm-guide-meta { margin-top: 4px; color: #8a8e96; font-size: 9px; }
.hm-news-list { display: grid; gap: 10px; }
.hm-news-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.hm-news-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff3dd;
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}
.hm-news-title { margin: 0 0 6px; color: var(--ink); font: 600 13px Georgia, serif; }
.hm-news-excerpt { margin: 0 0 8px; color: var(--text); font-size: 11px; line-height: 1.55; }
.hm-news-meta { color: #8a8e96; font-size: 9px; }
.hm-toolbar--news { margin-bottom: 16px; }
.hm-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hm-legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hm-legal-tabs a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #555d68;
}
.hm-legal-tabs a.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

/* Legacy levelmu/tailwind utilities inside .content */
.hm-body .content .bg-theme-panel,
.hm-body .content .es-prose,
.hm-body .content .space-y-4,
.hm-body .content .space-y-5 { color: var(--text); }
.hm-body .content .bg-theme-panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff !important;
  overflow: hidden;
}
.hm-body .content .text-white,
.hm-body .content .text-gray-300,
.hm-body .content .text-gray-400,
.hm-body .content .text-gray-500,
.hm-body .content .text-gray-600 { color: var(--text) !important; }
.hm-body .content .border-white\/5,
.hm-body .content .divide-white\/5 > * + * { border-color: var(--line) !important; }
.hm-body .content .bg-black\/20,
.hm-body .content .bg-black\/30,
.hm-body .content .bg-black\/10,
.hm-body .content .bg-white\/5 { background: #fbfaf8 !important; }
.hm-body .content .text-theme-accent,
.hm-body .content .text-theme-gold { color: var(--gold-dark) !important; }
.hm-body .content .bg-theme-accent,
.hm-body .content a.bg-theme-accent {
  background: linear-gradient(#e1ad5a, #ce9135) !important;
  color: #fff !important;
  border: 0;
  border-radius: 5px;
}
.hm-body .content a.inline-flex,
.hm-body .content a.rounded,
.hm-body .content button.rounded {
  border-radius: 5px !important;
  text-decoration: none;
}
.hm-body .content .prose,
.hm-body .content .prose-invert {
  color: var(--text) !important;
  max-width: none;
}
.hm-body .content .prose :where(h1, h2, h3, h4):not(:where([class~="not-prose"] *)) {
  color: var(--ink) !important;
}

/* Ranking tables — Hard MU light theme */
.hm-body .hm-ranking-host,
.hm-body .es-ranking-panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}

.hm-body .es-ranking-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf8;
}

.hm-body .es-ranking-toolbar-title {
  margin: 0;
  color: var(--ink);
  font: 700 13px Georgia, serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hm-body .es-ranking-toolbar-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #696f78;
  font-size: 11px;
}

.hm-body .es-ranking-toolbar-filter select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #343943;
  font-size: 11px;
}

.hm-body .es-ranking-table,
.hm-body .hm-ranking-table,
.hm-body .hm-ranking-host .es-ranking-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 11px;
  color: var(--text);
}

.hm-body .es-ranking-table th,
.hm-body .es-ranking-table td,
.hm-body .hm-ranking-host .es-ranking-table th,
.hm-body .hm-ranking-host .es-ranking-table td {
  height: auto;
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.hm-body .es-ranking-table th,
.hm-body .hm-ranking-host .es-ranking-table th {
  background: #fbfaf8;
  color: var(--ink);
  font: 700 11px Georgia, serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hm-body .es-ranking-table tbody tr:hover {
  background: #fffaf2;
}

.hm-body .es-ranking-col-rank {
  width: 52px;
  text-align: center;
}

.hm-body .es-ranking-num,
.hm-body .rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: var(--gold-dark);
  font: 18px Georgia, serif;
}

.hm-body .rank-pos img,
.hm-body .es-ranking-badge {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hm-body .es-ranking-char {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hm-body .es-ranking-class-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.hm-body .es-ranking-char-name,
.hm-body .es-ranking-guild-name {
  color: var(--ink);
  font-weight: 700;
}

.hm-body .es-ranking-char-name:hover,
.hm-body .es-ranking-table a:hover {
  color: var(--gold-dark);
}

.hm-body .es-ranking-vip {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hm-body .es-ranking-vip--free { color: #8a8e96; }
.hm-body .es-ranking-vip--gold { color: var(--gold-dark); }
.hm-body .es-ranking-vip--platinum { color: #7a8799; }
.hm-body .es-ranking-vip--diamond { color: #5b8fd9; }
.hm-body .es-ranking-vip--vip { color: #c5872b; }

.hm-body .es-ranking-guild-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-body .es-ranking-guild-mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hm-body .es-ranking-guild-owner,
.hm-body .es-ranking-guild,
.hm-body .es-ranking-loc,
.hm-body .es-ranking-muted {
  color: #696f78;
}

.hm-body .es-ranking-col-stat {
  text-align: center;
  white-space: nowrap;
}

.hm-body .es-ranking-empty {
  text-align: center;
  padding: 28px 16px !important;
  color: #8a8e96;
}

.hm-body .es-ranking-exec-time {
  margin: 0;
  padding: 10px 14px 12px;
  text-align: center;
  font-size: 10px;
  color: #9a9ca2;
}

.hm-body .es-ranking-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
}

.hm-body .es-ranking-page-btn,
.hm-body .es-ranking-page-num {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #555d68;
  font-size: 11px;
  cursor: pointer;
}

.hm-body .es-ranking-page-num.is-active,
.hm-body .es-ranking-page-btn:hover:not(:disabled),
.hm-body .es-ranking-page-num:hover:not(:disabled) {
  border-color: var(--gold);
  background: #fff7ea;
  color: var(--gold-dark);
}

/* Downloads — Hard MU gold/light theme for shared partial */
.hm-body .download-page {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hm-body .download-page > section {
  border: 1px solid var(--line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
}

.hm-body .download-page > section > header {
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fbfaf8 !important;
}

.hm-body .download-page > section > header h1,
.hm-body .download-page > section > header h2,
.hm-body .download-page .text-white {
  color: var(--ink) !important;
  font: 700 14px Georgia, serif !important;
  letter-spacing: .04em;
}

.hm-body .download-page .text-gray-400,
.hm-body .download-page .text-gray-500,
.hm-body .download-page .text-sm,
.hm-body .download-page .text-xs {
  color: #696f78 !important;
}

.hm-body .download-page .text-theme-gold,
.hm-body .download-page i.text-theme-gold {
  color: var(--gold-dark) !important;
}

.hm-body .download-page .border-white\/5,
.hm-body .download-page .border-b {
  border-color: var(--line) !important;
}

.hm-body .download-page .bg-black\/20,
.hm-body .download-page .bg-black\/10 {
  background: #fbfaf8 !important;
}

.hm-body .download-page .download-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 0;
}

.hm-body .download-page .download-meta-item {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.hm-body .download-page .download-meta-item + .download-meta-item {
  border-left: 1px solid var(--line);
}

.hm-body .download-page .download-table-head,
.hm-body .download-page .download-table-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 148px;
  column-gap: 1rem;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hm-body .download-page .download-table-head {
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  background: #fff7ea;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hm-body .download-page .download-table-head span:last-child {
  text-align: right;
}

.hm-body .download-page .download-table-row {
  position: relative;
  min-height: 72px;
  padding-top: .75rem;
  padding-bottom: .75rem;
  background: #fff;
}

.hm-body .download-page .download-table-row + .download-table-row,
.hm-body .download-page .download-row-group + .download-row-group {
  border-top: 1px solid var(--line);
}

.hm-body .download-page .download-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ead8ba;
  border-radius: 7px;
  background: #fffaf2;
  color: var(--gold-dark);
  font-size: 1.125rem;
}

.hm-body .download-page .download-icon i {
  color: inherit !important;
}

.hm-body .download-page .download-name h3,
.hm-body .download-page .download-name .text-sm {
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.hm-body .download-page .download-action {
  display: flex;
  justify-content: flex-end;
}

.hm-body .download-page .dl-btn {
  display: inline-flex;
  width: 132px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: 5px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
}

.hm-body .download-page .dl-btn--primary {
  background: linear-gradient(#e5b25f, #d2973d) !important;
  border: 1px solid #d79b3d !important;
  box-shadow: 0 6px 14px rgba(175, 125, 44, .18);
}

.hm-body .download-page .dl-btn--primary:hover {
  filter: brightness(1.03);
}

.hm-body .download-page .dl-btn--muted {
  background: #fff !important;
  border: 1px solid #ead8ba !important;
  color: var(--gold-dark) !important;
}

.hm-body .download-page .dl-btn--muted:hover {
  background: #fff7ea !important;
}

.hm-body .download-page .download-mirrors-panel {
  border-top: 1px solid var(--line);
  background: #fbfaf8;
}

.hm-body .download-page .download-mirror-link {
  color: #343943 !important;
}

.hm-body .download-page .download-mirror-link:hover {
  background: #fff7ea !important;
  color: var(--gold-dark) !important;
}

.hm-body .download-page .divide-white\/5 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--line) !important;
}

@media (max-width: 900px) {
  .hm-body .download-page .download-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-body .download-page .download-meta-item + .download-meta-item {
    border-left: 0;
  }

  .hm-body .download-page .download-meta-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .hm-body .download-page .download-table-head {
    display: none;
  }

  .hm-body .download-page .download-table-row {
    grid-template-columns: 52px minmax(0, 1fr);
    row-gap: .625rem;
  }

  .hm-body .download-page .download-action {
    grid-column: 1 / -1;
  }

  .hm-body .download-page .dl-btn {
    width: 100%;
  }
}

/* Tailwind preflight — restore mockup look inside theme */
.hm-body .page h1,
.hm-body .page h2,
.hm-body .page h3,
.hm-body .page h4,
.hm-body .page h5,
.hm-body .page h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Re-assert hero typography after preflight reset */
.hm-body .hero-copy h1 {
  margin: 0;
  color: #111318;
  font-family: Cinzel, Georgia, serif;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: .02em;
}

.hm-body .hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--gold-dark);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hm-body .hero .hero-title {
  margin: 100px 0 0 5px;
  color: var(--ink);
  font: 36px/1.15 Georgia, serif;
  letter-spacing: .04em;
}

.hm-body .hero .hero-title span {
  display: block;
  margin-top: 12px;
  color: var(--gold-dark);
  font: 11px "Trebuchet MS", sans-serif;
  letter-spacing: .14em;
}

.hm-body .page img,
.hm-body .page svg {
  display: inline-block;
  vertical-align: middle;
  max-width: none;
}

.hm-body .page button {
  appearance: none;
}

.hm-body .topbar .account,
.hm-body .login-trigger,
.hm-body .button,
.hm-body .hm-btn-inline,
.hm-body .login-submit,
.hm-body .discord-button {
  appearance: none;
}

/* Logged-in: single PANEL button still right-aligned */
.hm-body .topbar > .account:last-child:not(.login-trigger + .account) {
  margin-left: auto;
}

.hm-body .login-trigger + .account {
  margin-left: 9px;
}

@media (max-width: 1319px) {
  body.hm-body {
    width: 100vw;
    height: calc(1491px * (100vw / 1055));
    overflow-x: hidden;
  }

  .hm-body .page {
    transform: scale(calc(100vw / 1055));
  }
}
