*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --bg-0: #050b16;
  --bg-1: #0a1628;
  --bg-2: #0f2138;
  --panel: #0e1f38;
  --panel-2: #122744;
  --line: rgba(120, 160, 220, 0.14);
  --line-2: rgba(140, 180, 235, 0.28);
  --gold: #f6a821;
  --gold-2: #ffc656;
  --gold-d: #b6720a;
  --blue: #2f7bf6;
  --blue-2: #4f97ff;
  --blue-d: #123f86;
  --green: #37c26a;
  --red: #ff5b5b;
  --text: #e7eefc;
  --head: #ffffff;
  --muted: #8aa0c4;
  --muted-2: #5f76a0;
  --dsp: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --topbar-h: 76px;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}
.dr-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      1200px 640px at 50% -6%,
      rgba(47, 110, 190, 0.38),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 90% 8%,
      rgba(23, 74, 120, 0.26),
      transparent 55%
    ),
    radial-gradient(
      760px 640px at 4% 24%,
      rgba(60, 50, 130, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 72%);
}
.dr-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 22px;
}
.dsp {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--head);
  line-height: 1.02;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--dsp);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  color: #fff;
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    filter 0.12s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1a04;
  box-shadow: 0 8px 22px rgba(246, 168, 33, 0.32);
}
.btn-blue {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 8px 22px rgba(47, 123, 246, 0.32);
}
.btn-ghost {
  background: rgba(110, 150, 210, 0.12);
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 12.5px;
}
.btn-lg {
  padding: 15px 34px;
  font-size: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 42, 0.97),
    rgba(7, 16, 32, 0.97)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--blue-d),
      #5a2f9c 50%,
      var(--gold-d)
    )
    1;
}
.topbar__in {
  max-width: 1500px;
  margin: 0 auto;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
}

/* brand + server selector */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}
.brand__logo img {
  height: 80px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.brand__logo canvas {
  display: block;
  height: 54px;
}
.server {
  position: relative;
}
.server__btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: none;
  border: 0;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  min-width: 210px;
}
.server__btn:hover {
  background: rgba(110, 150, 210, 0.09);
}
.server__lbl {
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold-2);
  text-transform: uppercase;
}
.server__name {
  font-family: var(--dsp);
  font-size: 19px;
  font-weight: 600;
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.server__name .fa-angle-down {
  font-size: 13px;
  color: var(--muted);
}
.server__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.on-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  display: inline-block;
}
.server__meta .on {
  color: var(--green);
}
.server__meta .cnt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.server__pop {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 340px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  z-index: 320;
}
.server.open .server__pop,
.server:hover .server__pop {
  display: flex;
}
.server__pop::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.srow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(90, 130, 190, 0.06);
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border 0.15s;
  cursor: pointer;
}
.srow:hover,
.srow.active {
  background: rgba(47, 123, 246, 0.12);
  border-color: var(--line-2);
}
.srow__main {
  flex: 1;
  min-width: 0;
}
.srow__name {
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.srow__sub {
  font-size: 11px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.srow__bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(120, 160, 220, 0.16);
  margin-top: 8px;
  overflow: hidden;
}
.srow__bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), #7be2a3);
}
.srow__cnt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex: none;
}
.srow__cnt-num {
  font-family: var(--dsp);
  color: var(--head);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.srow__cnt-num i {
  font-size: 12px;
  color: var(--muted);
}
.srow__cnt small {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.server__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  margin-top: 2px;
  border-top: 1px solid var(--line);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--muted);
}
.server__total b {
  color: var(--gold-2);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__item,
.nav__drop > button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  height: 60px;
  font-family: var(--dsp);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-size: 12px;
  color: #aebfdd;
  background: none;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav__item i,
.nav__drop > button > i {
  font-size: 21px;
  line-height: 1;
  color: #8fa6cd;
  transition: color 0.15s;
}
.nav__item:hover,
.nav__drop:hover > button {
  color: #fff;
  background: rgba(79, 151, 255, 0.1);
}
.nav__item:hover i,
.nav__drop:hover > button > i {
  color: var(--gold-2);
}
.nav__item.active {
  color: #fff;
}
.nav__item.active i {
  color: var(--blue-2);
}
.nav__item.active::after {
  content: "";
  position: absolute;
}
.nav__drop {
  position: relative;
}
.nav__drop > button .cr {
  font-size: 10px;
  margin-left: 5px;
  opacity: 0.8;
  vertical-align: 1px;
}
.nav__menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  z-index: 320;
}
.nav__drop:hover .nav__menu {
  display: flex;
}
.nav__menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #b7c6e4;
  font-size: 13.5px;
  transition:
    background 0.12s,
    color 0.12s;
}
.nav__menu a i {
  width: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.nav__menu a:hover {
  background: rgba(79, 151, 255, 0.13);
  color: #fff;
}
.nav__menu a:hover i {
  color: var(--gold-2);
}

/* actions */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 150, 210, 0.12);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  transition:
    border 0.15s,
    color 0.15s;
}
.iconbtn:hover {
  border-color: var(--line-2);
  color: #fff;
}
.lang {
  position: relative;
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 7px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  z-index: 320;
}
.lang.open .lang__menu {
  display: flex;
}
.lang__menu a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #b7c6e4;
  font-size: 13px;
}
.lang__menu a:hover {
  background: rgba(79, 151, 255, 0.12);
  color: #fff;
}
.user {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cur {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--dsp);
  font-size: 14px;
  color: var(--head);
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(110, 150, 210, 0.09);
  border: 1px solid var(--line);
}
.cur i {
  color: var(--gold-2);
}
.user .who {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  text-align: right;
}
.user .who b {
  color: var(--head);
  font-family: var(--dsp);
  font-size: 15px;
  letter-spacing: 0.3px;
}
.login {
  position: relative;
}
.login__pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: linear-gradient(
    180deg,
    rgba(20, 40, 74, 0.99),
    rgba(11, 23, 46, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  z-index: 320;
}
.login.open .login__pop {
  display: flex;
}
.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
  font-weight: 500;
}
.inp {
  width: 100%;
  background: rgba(5, 12, 24, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--body);
}
.inp:focus {
  outline: none;
  border-color: var(--gold);
  background: #fbf6dd;
  color: #241d08;
}
.burger {
  display: none;
}

/* ============================================================
   PAGE SHELL / HERO / NEWS / FOOTER
   ============================================================ */
.dr-main {
  min-height: 50vh;
}
.breadcrumb {
  position: relative;
  padding: 70px 0 54px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      rgba(5, 11, 22, 0.9),
      rgba(5, 11, 22, 0.5) 55%,
      rgba(5, 11, 22, 0.85)
    ),
    url(../images/banner_mobile.jpg) center 12% / cover no-repeat;
}
.breadcrumb::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, var(--bg-0));
}
.breadcrumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-d), #5a2f9c 50%, var(--gold-d));
}
.breadcrumb h1 {
  position: relative;
  z-index: 1;
  font-family: var(--dsp);
  font-size: clamp(30px, 5vw, 48px);
  text-transform: uppercase;
  color: var(--head);
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}
.breadcrumb .crumbs {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 22, 42, 0.5);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
}
.breadcrumb .crumbs a {
  color: var(--gold-2);
}
.breadcrumb .crumbs a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(5, 11, 22, 0.97) 0%,
      rgba(5, 11, 22, 0.72) 40%,
      rgba(5, 11, 22, 0.15) 72%,
      rgba(5, 11, 22, 0.45) 100%
    ),
    url(../images/banner_mobile.jpg) right center/cover no-repeat;
}
.hero__in {
  max-width: 660px;
  margin-right: auto;
}
.hero__in {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  padding: 60px 22px;
  width: 100%;
}
.hero__badge {
  display: inline-block;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--red), #a3281f);
  padding: 6px 16px;
  border-radius: 7px;
}
.hero h1 {
  font-family: var(--dsp);
  font-size: clamp(40px, 7vw, 84px);
  text-transform: uppercase;
  color: var(--head);
  margin: 14px 0 6px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.hero h1 span {
  color: var(--gold-2);
}
.hero p {
  color: #c6d5f0;
  max-width: 48ch;
  font-size: 17px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.canvas-band {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg-0),
    var(--bg-1) 55%,
    var(--bg-0)
  );
  border-bottom: 1px solid var(--line);
}
.canvas-band > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.canvas-band__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0 20px;
}
.canvas-band__inner .eyebrow {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-2);
  font-size: 12px;
}
.canvas-band__inner h3 {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--head);
  margin: 0;
}

.section {
  padding: 64px 0;
}
.section__head {
  text-align: center;
  margin-bottom: 36px;
}
.section__eyebrow {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--gold-2);
}
.section__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--head);
  margin: 6px 0 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.ncard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    border 0.15s;
}
.ncard:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.ncard__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a1628;
}
.ncard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ncard__body {
  padding: 18px 20px;
}
.ncard__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.ncard__meta .type {
  color: var(--gold-2);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ncard__title {
  font-family: var(--dsp);
  font-size: 20px;
  color: var(--head);
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.15;
}
.ncard__title a:hover {
  color: var(--gold-2);
}
.ncard__excerpt {
  color: var(--muted);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ncard__more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--blue-2);
}
/* pagination Ã¢â‚¬â€ CMS lib outputs <div id="pagination"><ul><li><a>..<a class="on">(current)..</a></li></ul></div>
   with nav ids #back / #prev / #next / #forward. Styled on #pagination so it works with or without a .pagination wrapper. */
.pagination,
#pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
#pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#pagination li {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  align-items: center;
}
#pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  background: rgba(110, 150, 210, 0.09);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--dsp);
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition:
    background 0.14s,
    border 0.14s,
    color 0.14s;
}
#pagination a:hover {
  background: rgba(79, 151, 255, 0.14);
  border-color: var(--line-2);
  color: #fff;
}
#pagination a.on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241804;
  border-color: transparent;
  cursor: default;
}
#pagination a#back,
#pagination a#prev,
#pagination a#next,
#pagination a#forward {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
#pagination a#back:hover,
#pagination a#prev:hover,
#pagination a#next:hover,
#pagination a#forward:hover {
  color: #fff;
  background: rgba(79, 151, 255, 0.14);
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(8, 17, 32, 0.6),
    rgba(5, 11, 22, 0.9)
  );
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 40px;
}
.footer__brand img {
  height: 46px;
  margin-bottom: 14px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 34ch;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer h4 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  color: var(--head);
  margin: 0 0 16px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul a {
  color: var(--muted);
  font-size: 13.5px;
}
.footer ul a:hover {
  color: var(--gold-2);
}
.footer__bar {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .nav__item,
  .nav__drop > button {
    min-width: 70px;
    padding: 0 8px;
    font-size: 11px;
  }
}
@media (max-width: 991px) {
  .topbar__in {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 18px;
    gap: 12px;
  }
  .brand {
    flex: 1;
  }
  .burger {
    display: inline-flex;
    order: 2;
  }
  .nav {
    order: 5;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 18, 36, 0.6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
  }
  .nav.open {
    display: flex;
  }
  .nav__item,
  .nav__drop > button {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    height: auto;
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
  }
  .nav__menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    background: rgba(79, 151, 255, 0.05);
    margin: 2px 0 6px;
  }
  .nav__drop:hover .nav__menu {
    display: none;
  }
  .nav__drop.open .nav__menu {
    display: flex;
  }
  .nav__drop.open > button .cr {
    transform: rotate(180deg);
  }
  .actions {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin: 0;
  }
  .brand__logo {
    display: none;
  }
  .server__btn {
    min-width: 0;
    padding: 4px 0;
  }
  .server__pop {
    width: min(320px, 90vw);
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* notifications (App.notice -> #notifier-box .message-box) */
#notifier-box {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}
.message-box {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(18, 34, 62, 0.98),
    rgba(10, 20, 40, 0.98)
  );
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  color: var(--text);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  padding: 14px 42px 14px 18px;
  min-width: 270px;
  animation: dr-slide-in 0.3s ease;
}
.message-box:has(.error) {
  border-left-color: var(--red);
}
.message-box:has(.success) {
  border-left-color: var(--green);
}
.message-box:has(.info),
.message-box:has(.notice),
.message-box:has(.warning) {
  border-left-color: var(--gold);
}
.message-box .error,
.message-box .success,
.message-box .info,
.message-box .notice,
.message-box .warning {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 0 0 5px;
  background: none !important;
  border: 0;
}
.message-box .error {
  color: #ff8f8f;
}
.message-box .success {
  color: #83e2a4;
}
.message-box .info,
.message-box .notice,
.message-box .warning {
  color: var(--gold-2);
}
.message-body {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}
.message-close {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  font-family: var(--body);
}
.message-close:hover {
  color: #fff;
}
.message-close::before {
  content: "\00d7";
}
/* transform only Ã¢â‚¬â€ opacity is owned by jQuery fadeIn/fadeOut, so they don't fight */
@keyframes dr-slide-in {
  from {
    transform: translateX(24px);
  }
  to {
    transform: translateX(0);
  }
}

/* ===== about page v2: sidebar + content (configured in views/dream/defines.php) ===== */
.ab2 {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 26px 0 60px;
}

.ab2__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(
    180deg,
    rgba(20, 38, 70, 0.6),
    rgba(11, 22, 44, 0.6)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  position: sticky;
  top: calc(var(--topbar-h) + 14px);
}
.ab2-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.ab2-item:hover {
  background: rgba(110, 150, 210, 0.1);
}
.ab2-item.is-active {
  background: linear-gradient(
    180deg,
    rgba(246, 168, 33, 0.14),
    rgba(246, 168, 33, 0.06)
  );
  border-color: rgba(246, 168, 33, 0.34);
}
.ab2-item__ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid rgba(246, 168, 33, 0.22);
}
.ab2-item.is-active .ab2-item__ico {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2a1a04;
  border-color: transparent;
}
.ab2-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ab2-item__name {
  font-family: var(--dsp);
  font-size: 14.5px;
  letter-spacing: 0.3px;
  color: var(--text);
  line-height: 1.2;
}
.ab2-item.is-active .ab2-item__name {
  color: var(--gold-2);
}
.ab2-item__sub {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-2);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab2-item__chev {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted-2);
  transition: transform 0.18s;
}

.ab2-group.is-open .ab2-item__chev {
  transform: rotate(180deg);
}
.ab2-group__kids {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 6px 48px;
}
.ab2-group.is-open .ab2-group__kids {
  display: flex;
}
.ab2-kid {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  padding: 7px 10px;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.ab2-kid:hover {
  color: var(--text);
}
.ab2-kid.is-active {
  color: var(--gold-2);
  border-left-color: var(--gold);
}
.ab2-kid i {
  font-size: 10px;
  opacity: 0.7;
}

.ab2__main {
  min-width: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 38, 70, 0.6),
    rgba(11, 22, 44, 0.6)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 28px;
}
.ab2-pane {
  display: none;
}
.ab2-pane.is-active {
  display: block;
}
.ab2-pane__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ab2-pane__ico {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 26px rgba(246, 168, 33, 0.28);
}
.ab2-pane__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--head);
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.ab2-text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.ab2-hl {
  color: var(--gold-2);
}
.ab2-hl--red {
  color: var(--red);
}
.ab2-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  background: rgba(246, 168, 33, 0.07);
  border: 1px solid rgba(246, 168, 33, 0.22);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin: 0 0 16px;
}
.ab2-note i {
  color: var(--gold-2);
  margin-top: 2px;
}
.ab2-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ab2-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.ab2-list li i {
  color: var(--gold-2);
  font-size: 11px;
  margin-top: 4px;
}
.ab2-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}
.ab2-spec__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.ab2-spec__k {
  color: var(--muted);
}
.ab2-spec__v {
  color: var(--gold-2);
  text-align: right;
}

/* the table is the widest thing on the page, so it scrolls inside its own box
   rather than pushing the layout sideways */
.ab2-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0 0 16px;
}
.ab2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 640px;
}
.ab2-table th {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11.5px;
  color: var(--text);
  background: rgba(110, 150, 210, 0.12);
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
}
.ab2-table td {
  padding: 10px 14px;
  text-align: center;
  color: var(--text);
  border-top: 1px solid var(--line);
  white-space: nowrap;
}
.ab2-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}
.ab2-table tbody tr:hover {
  background: rgba(246, 168, 33, 0.05);
}
.ab2-table td.is-gold {
  color: var(--gold-2);
}

/* image icons: drop the plate so the artwork stands on its own */
.ab2-item__ico.has-img {
  background: none;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
}
.ab2-item__ico.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ab2-item.is-active .ab2-item__ico.has-img {
  background: none;
  border-color: transparent;
}
.ab2-pane__ico.has-img {
  background: none;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
.ab2-pane__ico.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .ab2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ab2__nav {
    position: static;
  }
  .ab2-item__sub {
    white-space: normal;
  }
  .ab2__main {
    padding: 18px 16px 22px;
  }
  .ab2-pane__ico {
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 13px;
  }
}

/* ===== discord invite popup (configured in views/dream/defines.php) ===== */
/* Inherits .dr-modal's panel gradient and border; only the promo layout and
   accents are defined here, so it tracks the theme tokens like every other
   dream surface. */
.dr-promo-overlay {
  align-items: flex-start;
  padding: 24px 16px;
}
.dr-modal.dr-promo {
  max-width: 470px;
  margin: auto;
  padding: 30px 28px 22px;
  text-align: center;
}
.dr-promo__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 26px rgba(246, 168, 33, 0.32);
}
.dr-promo__badge {
  display: inline-block;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid rgba(246, 168, 33, 0.32);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.dr-promo__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1.15;
  color: var(--head);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}
.dr-promo__title span {
  color: var(--gold-2);
}
.dr-promo__text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.dr-promo__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dr-promo__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
}
.dr-promo__ic {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.12);
  border: 1px solid rgba(246, 168, 33, 0.24);
}
.dr-promo__callout {
  text-align: left;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  background: rgba(246, 168, 33, 0.08);
  border: 1px solid rgba(246, 168, 33, 0.24);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 18px;
}
.dr-promo__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--dsp);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 15px;
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: 0 8px 22px rgba(246, 168, 33, 0.32);
  transition:
    transform 0.12s,
    filter 0.12s;
}
.dr-promo__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #2a1a04;
}
.dr-promo__later,
.dr-promo__snooze {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  cursor: pointer;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12.5px;
  background: rgba(110, 150, 210, 0.12);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 11px;
  transition:
    filter 0.12s,
    color 0.12s;
}
.dr-promo__later:hover,
.dr-promo__snooze:hover {
  color: var(--head);
  filter: brightness(1.15);
}
.dr-promo__snooze {
  border-style: dashed;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.8px;
}
@media (max-width: 520px) {
  .dr-modal.dr-promo {
    padding: 26px 18px 18px;
  }
  .dr-promo__title {
    font-size: 22px;
  }
}

/* ===== home: cards slider (configured in views/dream/defines.php) ===== */
.sld-sec {
  padding-bottom: 0;
}
.sld {
  --sld-gap: 20px;
  position: relative;
  padding: 0 46px;
}
.sld--noarrows,
.sld.is-static {
  padding: 0;
}
.sld.is-static .sld__arrow,
.sld.is-static .sld__dots {
  display: none;
}
/* padding gives the hover lift room inside the clip box; the matching negative
   margin keeps the section's layout unchanged (overflow clips both axes) */
.sld__view {
  overflow: hidden;
  padding: 10px 0;
  margin: -10px 0;
}
.sld__track {
  display: flex;
  gap: var(--sld-gap);
  transition: transform 0.45s cubic-bezier(0.4, 0.05, 0.2, 1);
  will-change: transform;
}
.sld__track.no-anim {
  transition: none;
}
.sld-card {
  flex: 0 0
    calc((100% - (var(--sld-per) - 1) * var(--sld-gap)) / var(--sld-per));
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.sld-card.is-link:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  background: var(--panel-2);
}
.sld-card__media {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-0));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sld-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sld-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 22, 0.55));
}
.sld-card__ghost {
  font-size: 46px;
  color: rgba(246, 168, 33, 0.28);
}
.sld-card__body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 18px;
}
.sld-card__ic {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold-2);
  background: linear-gradient(
    160deg,
    rgba(246, 168, 33, 0.16),
    rgba(246, 168, 33, 0.03)
  );
  border: 1px solid rgba(246, 168, 33, 0.25);
}
.sld-card__txt {
  display: block;
  min-width: 0;
}
.sld-card__title {
  display: block;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  color: var(--gold-2);
  margin-bottom: 4px;
}
.sld-card__desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.sld__arrow {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    opacity 0.15s;
  z-index: 2;
}
.sld__arrow:hover {
  background: rgba(246, 168, 33, 0.12);
  color: var(--gold-2);
}
.sld__arrow[disabled] {
  opacity: 0.25;
  cursor: default;
  background: transparent;
}
.sld__arrow--prev {
  left: 0;
}
.sld__arrow--next {
  right: 0;
}
.sld__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.sld__dot {
  width: 16px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(140, 180, 235, 0.28);
  cursor: pointer;
  transition:
    width 0.2s,
    background 0.2s;
}
.sld__dot:hover {
  background: rgba(140, 180, 235, 0.5);
}
.sld__dot.active {
  width: 30px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}
@media (max-width: 1100px) {
  .sld-card {
    flex-basis: calc(
      (100% - (var(--sld-per-t) - 1) * var(--sld-gap)) / var(--sld-per-t)
    );
  }
}
@media (max-width: 640px) {
  .sld {
    --sld-gap: 14px;
    padding: 0 34px;
  }
  .sld-card {
    flex-basis: calc(
      (100% - (var(--sld-per-m) - 1) * var(--sld-gap)) / var(--sld-per-m)
    );
  }
  .sld__arrow {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* ===== home: features / cta / faq ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  transition:
    transform 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.feat__ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold-2);
  background: linear-gradient(
    160deg,
    rgba(246, 168, 33, 0.16),
    rgba(246, 168, 33, 0.03)
  );
  border: 1px solid rgba(246, 168, 33, 0.25);
}
.feat h4 {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 18px;
  color: var(--head);
  margin: 0 0 7px;
  letter-spacing: 0.5px;
}
.feat p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}
.cta {
  position: relative;
  padding: 88px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 11, 22, 0.8), rgba(5, 11, 22, 0.93)),
    url(../images/cover_page.jpg) center/cover no-repeat;
}
.cta h2 {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 46px);
  color: var(--head);
  margin: 0;
}
.cta h2 span {
  color: var(--gold-2);
}
.cta p {
  color: #c6d5f0;
  max-width: 52ch;
  margin: 14px auto 26px;
  font-size: 16px;
}
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 15px;
  color: var(--head);
  letter-spacing: 0.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary {
  color: var(--gold-2);
}
.faq details[open] summary::after {
  transform: rotate(180deg);
  color: var(--gold-2);
}
.faq__body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
/* ---- logged-in header buttons ---- */
.ubtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
.ubtn--purple {
  background: linear-gradient(160deg, #9b6cf6, #6d28d9);
}
.ubtn--gold {
  background: linear-gradient(160deg, #fbbf24, #d97706);
  color: #3a2606;
}
.ubtn--green {
  background: linear-gradient(160deg, #34d399, #059669);
}
.iconbtn--logout {
  background: linear-gradient(160deg, #ff5b5b, #a32020);
  color: #fff;
  border-color: transparent;
}
.wallet {
  position: relative;
}
.wallet__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  z-index: 320;
}
.wallet:hover .wallet__menu {
  display: flex;
}
.wallet__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.wallet__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(90, 130, 190, 0.06);
  font-size: 13px;
  color: var(--muted);
}
.wallet__row b {
  font-family: var(--dsp);
  color: var(--gold-2);
  font-size: 15px;
}

/* ---- countdown ---- */
.countdown-sec {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(15, 33, 56, 0.5),
    rgba(5, 11, 22, 0.5)
  );
}
.countdown-sec .dr-wrap {
  text-align: center;
}
.countdown-eyebrow {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-2);
  font-size: 14px;
  margin-bottom: 20px;
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cd-block {
  min-width: 98px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.9),
    rgba(9, 19, 38, 0.9)
  );
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 10px;
}
.cd-num {
  font-family: var(--dsp);
  font-size: 44px;
  color: var(--head);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.cd-sep {
  font-family: var(--dsp);
  font-size: 34px;
  color: var(--gold-2);
}
@media (max-width: 560px) {
  .cd-block {
    min-width: 64px;
    padding: 12px 6px;
  }
  .cd-num {
    font-size: 28px;
  }
  .cd-sep {
    display: none;
  }
}

/* Home countdown: overlay in the upper-right of the hero artwork. */
.dr-main {
  position: relative;
}
.dr-main > .countdown-sec {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  width: 42%;
  height: 345px;
  padding: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 11, 22, 0.08),
    rgba(5, 11, 22, 0.34)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-main > .countdown-sec .dr-wrap {
  width: 100%;
  padding: 30px;
}
.dr-main > .countdown-sec .countdown-eyebrow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.dr-main > .countdown-sec .cd-block {
  background: rgba(8, 20, 40, 0.72);
  backdrop-filter: blur(5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.dr-main > .countdown-sec .dr-wrap {
  position: relative;
  max-width: 760px;
  border: 1px solid rgba(246, 168, 33, 0.7);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(246, 168, 33, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(8, 20, 40, 0.9), rgba(5, 11, 22, 0.76));
  box-shadow:
    0 0 0 1px rgba(255, 221, 130, 0.08) inset,
    0 22px 60px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(246, 168, 33, 0.16);
  overflow: hidden;
}
.dr-main > .countdown-sec .dr-wrap:before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffe08a,
    var(--gold),
    #ffe08a,
    transparent
  );
  box-shadow: 0 0 18px var(--gold);
}
.dr-main > .countdown-sec .countdown-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 17px;
  border: 1px solid rgba(246, 168, 33, 0.28);
  border-radius: 999px;
  background: rgba(246, 168, 33, 0.1);
  color: #ffe08a;
  letter-spacing: 2.5px;
}
.dr-main > .countdown-sec .countdown {
  gap: 10px;
}
.dr-main > .countdown-sec .cd-block {
  position: relative;
  min-width: 92px;
  border-color: rgba(246, 168, 33, 0.42);
  background: linear-gradient(
    180deg,
    rgba(22, 42, 76, 0.94),
    rgba(8, 20, 40, 0.94)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.36);
}
.dr-main > .countdown-sec .cd-block:after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
}
.dr-main > .countdown-sec .cd-num {
  color: #fff;
  text-shadow: 0 0 20px rgba(246, 168, 33, 0.28);
}
.dr-main > .countdown-sec .cd-lbl {
  color: #9fb0ce;
}
.dr-main > .countdown-sec .cd-sep {
  color: #ffd05a;
  text-shadow: 0 0 12px rgba(246, 168, 33, 0.65);
}
.rk-cat--plugin {
  text-decoration: none;
}
.rk-cat--plugin .rk-cat__ico {
  color: var(--gold-2);
}
.module-off {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.module-off__icon {
  font-size: 46px;
  color: #ffc044;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 18px rgba(246, 168, 33, 0.2));
}
.module-off h1 {
  font-family: var(--dsp);
  font-size: 36px;
  text-transform: uppercase;
  color: var(--head);
  margin: 0 0 12px;
}
.module-off p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 27px;
}
.module-off .btn {
  min-width: 150px;
}
@media (max-width: 1100px) {
  .dr-main > .countdown-sec {
    width: 48%;
  }
  .dr-main > .countdown-sec .cd-block {
    min-width: 78px;
  }
  .dr-main > .countdown-sec .cd-num {
    font-size: 34px;
  }
}
@media (max-width: 820px) {
  .dr-main > .countdown-sec {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(
      180deg,
      rgba(15, 33, 56, 0.5),
      rgba(5, 11, 22, 0.5)
    );
  }
  .dr-main > .countdown-sec .dr-wrap {
    padding: 0 20px;
  }
}

/* ---- footer logo canvas ---- */
.footer__logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

/* ---- news (redesigned) ---- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.ncard {
  width: 360px;
  max-width: 100%;
  flex: 0 1 360px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.ncard:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.ncard__img {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: #0a1628;
}
.ncard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.ncard:hover .ncard__img img {
  transform: scale(1.06);
}
.ncard__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 40px;
  color: var(--muted-2);
}
.ncard__type {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: #241804;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 4px 12px;
  border-radius: 7px;
}
.ncard__body {
  padding: 18px 20px;
}
.ncard__meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ncard__title {
  font-family: var(--dsp);
  font-size: 21px;
  color: var(--head);
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.2;
}
.ncard__title a {
  color: inherit;
}
.ncard__title a:hover {
  color: var(--gold-2);
}
.ncard__excerpt {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ncard__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--blue-2);
}
.ncard--empty {
  width: 100%;
  max-width: 520px;
  text-align: center;
  padding: 44px 20px;
}
.ncard--empty .ncard__body {
  padding: 0;
}
.ncard--empty i {
  font-size: 40px;
  color: var(--muted-2);
  margin-bottom: 12px;
  display: block;
}
.ncard--empty p {
  color: var(--muted);
  margin: 0;
}

/* ---- currency box (logged in, fixed top-right under header) ---- */
.currwrap.hidden {
  display: none;
}
.currbox {
  position: fixed;
  top: calc(var(--topbar-h) + 12px);
  right: 16px;
  z-index: 280;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.66),
    rgba(9, 19, 38, 0.66)
  );
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 16px 14px 14px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
}
.currbox__hide {
  position: absolute;
  top: 8px;
  right: 11px;
  background: none;
  border: 0;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 13px;
  padding: 2px;
  line-height: 1;
}
.currbox__hide:hover {
  color: #fff;
}
.currbox-show {
  position: fixed;
  top: calc(var(--topbar-h) + 12px);
  right: 0;
  z-index: 279;
  width: 40px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.9),
    rgba(9, 19, 38, 0.9)
  );
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  cursor: pointer;
  display: none;
  font-size: 15px;
}
.currbox-show.show {
  display: grid;
  place-items: center;
}
.currbox__btns {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.currbox__btns a {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(90, 130, 190, 0.1);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.currbox__btns a:hover {
  color: var(--gold-2);
  border-color: var(--line-2);
}
.currbox__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ccur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  background: rgba(90, 130, 190, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ccur__tag {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  padding: 3px 13px;
  border-radius: 999px;
  color: #fff;
  text-align: center;
}
.ccur__tag--blue {
  background: linear-gradient(180deg, #4f97ff, #2f6bf6);
}
.ccur__tag--pink {
  background: linear-gradient(180deg, #f472b6, #db2777);
}
.ccur__tag--green {
  background: linear-gradient(180deg, #34d399, #059669);
}
.ccur__val {
  font-family: var(--dsp);
  font-size: 22px;
  color: var(--head);
  font-variant-numeric: tabular-nums;
}
.currbox .currbox__grid {
  grid-template-columns: 1fr 1fr;
}
.currbox .ccur {
  min-height: 90px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.13),
    rgba(9, 20, 38, 0.72)
  );
  border-color: rgba(91, 137, 205, 0.5);
}
.currbox .ccur--gold {
  background: linear-gradient(
    135deg,
    rgba(246, 168, 33, 0.14),
    rgba(9, 20, 38, 0.72)
  );
  border-color: rgba(246, 168, 33, 0.34);
}
.currbox .ccur__ico {
  width: 38px;
  flex: 0 0 38px;
  text-align: center;
  color: #eef4ff;
  font-size: 20px;
}
.currbox .ccur__body {
  display: block;
  min-width: 0;
  text-align: left;
}
.currbox .ccur__tag {
  display: block;
  padding: 0;
  background: none !important;
  border-radius: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
.currbox .ccur__val {
  display: block;
  margin-top: 5px;
  font-size: 27px;
  line-height: 1;
  color: #fff;
}
.currbox .ccur--gold .ccur__val {
  color: #fff;
}
.currbox__sep {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 10px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
  color: var(--gold-2);
}
.currbox__sep:before,
.currbox__sep:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.currbox__jb {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jbcur {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  background: rgba(90, 130, 190, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.jbcur__ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 14px;
}
.jbcur__name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jbcur__val {
  font-family: var(--dsp);
  font-size: 15px;
  color: var(--head);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 991px) {
  .currwrap {
    padding: 12px 16px 16px;
  }
  .currwrap.hidden {
    display: block;
  }
  .currbox {
    position: static;
    width: auto;
    max-width: none;
    box-shadow: none;
    background: linear-gradient(
      180deg,
      rgba(14, 28, 52, 0.96),
      rgba(9, 19, 38, 0.96)
    );
  }
  .currbox__hide,
  .currbox-show {
    display: none;
  }
}
@media (max-width: 991px) {
  .lang {
    position: static;
  }
  .lang__menu {
    left: 16px;
    right: 16px;
    transform: none;
    min-width: 0;
    top: calc(100% + 6px);
    max-height: 60vh;
    overflow: auto;
  }
}

/* ---- news: list + detail + tabs (Screenshot_21) ---- */
.news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.news-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: rgba(10, 22, 42, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.news-tab {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12.5px;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.15s,
    background 0.15s;
}
.news-tab:hover {
  color: var(--head);
}
.news-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #8b5cf6, #6d28d9);
}
.news-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}
.news-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 640px;
  overflow-y: auto;
  padding-right: 6px;
}
.news-list::-webkit-scrollbar {
  width: 6px;
}
.news-list::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 99px;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s,
    background 0.15s;
  width: 100%;
  font-family: inherit;
}
.news-item:hover {
  border-color: var(--line-2);
}
.news-item.active {
  border-color: var(--gold);
  background: linear-gradient(
    180deg,
    rgba(246, 168, 33, 0.12),
    rgba(15, 30, 56, 0.4)
  );
}
.news-item__thumb {
  width: 78px;
  height: 58px;
  border-radius: 9px;
  overflow: hidden;
  flex: none;
  background: #0a1628;
  display: grid;
  place-items: center;
  color: var(--muted-2);
}
.news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.news-item__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 14px;
  color: var(--head);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item__date {
  font-size: 11.5px;
  color: var(--muted);
}
.news-item__new {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 5px;
}
.news-detail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  min-height: 400px;
}
.news-pane {
  display: none;
}
.news-pane.active {
  display: block;
}
.news-pane__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--head);
  margin: 0 0 8px;
  line-height: 1.15;
}
.news-pane__date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.news-pane__img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}
.news-pane__body {
  color: var(--text);
  line-height: 1.8;
  font-size: 14.5px;
}
.news-pane__body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 12px 0;
}
@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-list {
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
  }
  .news-item {
    min-width: 250px;
  }
}

/* Discord community card below the home news list. */
.discord-widget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(88, 101, 242, 0.55);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 5%, rgba(88, 101, 242, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(25, 39, 70, 0.98), rgba(9, 18, 34, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}
.discord-widget__glow {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.18);
  filter: blur(24px);
}
.discord-widget__header {
  display: flex;
  align-items: center;
  gap: 11px;
}
.discord-widget__logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #7289da, #5865f2);
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
  font-size: 22px;
}
.discord-widget__heading {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.discord-widget__heading small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.discord-widget__heading strong {
  overflow: hidden;
  color: var(--head);
  font-family: var(--dsp);
  font-size: 18px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.discord-widget__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(78, 225, 137, 0.22);
  border-radius: 999px;
  color: #83efad;
  background: rgba(78, 225, 137, 0.08);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.discord-widget__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ee189;
  box-shadow: 0 0 10px #4ee189;
}
.discord-widget__stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 14px;
  align-items: center;
  margin: 20px 0 17px;
  padding: 15px 12px;
  border: 1px solid rgba(117, 139, 185, 0.18);
  border-radius: 13px;
  background: rgba(6, 14, 28, 0.38);
}
.discord-widget__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.discord-widget__stat span {
  color: #fff;
  font-family: var(--dsp);
  font-size: 25px;
  line-height: 1;
}
.discord-widget__stat small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.discord-widget__divider {
  width: 1px;
  height: 32px;
  background: rgba(117, 139, 185, 0.22);
}
.discord-widget__members {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.discord-widget__avatars {
  display: flex;
  flex: 0 0 auto;
  padding-left: 5px;
}
.discord-widget__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  overflow: visible;
  border: 2px solid #111e35;
  border-radius: 50%;
  color: #91a2c4;
  background: #20304e;
}
.discord-widget__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.discord-widget__presence {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid #111e35;
  border-radius: 50%;
  background: #4ee189;
  box-shadow: 0 0 7px rgba(78, 225, 137, 0.7);
  z-index: 2;
}
.discord-widget__avatar--placeholder {
  font-size: 12px;
}
.discord-widget__avatar--guild {
  width: 38px;
  height: 38px;
}
.discord-widget__members p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
}
.discord-widget__join {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 12px 15px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, #5865f2, #7659f5);
  font-family: var(--dsp);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.discord-widget__join:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.3);
  transform: translateY(-2px);
}
.discord-widget--fallback .discord-widget__live {
  opacity: 0.6;
}
.discord-widget--ready {
  border-color: rgba(114, 137, 218, 0.78);
}

@media (max-width: 900px) {
  .discord-widget {
    max-width: 430px;
  }
}
.news-article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 34px;
}
.news-article__type {
  display: inline-block;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: #241804;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 4px 14px;
  border-radius: 7px;
  margin-bottom: 14px;
}
.news-article__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--head);
  margin: 0 0 10px;
  line-height: 1.15;
}
.news-article__date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.news-article__img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
  display: block;
}
.news-article__body {
  color: var(--text);
  line-height: 1.85;
  font-size: 15px;
}
.news-article__body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 14px 0;
}
.news-read-wrap {
  max-width: 1120px !important;
  margin: 0 auto;
}
.news-read-section .news-article {
  width: 100%;
}
.news-read-section .news-article__body {
  max-width: 900px;
  line-height: 1.8;
}
.srow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.srow__players {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.srow__players strong {
  font-family: var(--dsp);
  font-size: 18px;
  color: #fff;
}
.srow__players span {
  font-family: var(--dsp);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}
.server__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 14px 14px 2px;
  border-top: 1px solid var(--line);
  font-family: var(--dsp);
  text-transform: uppercase;
  color: var(--muted);
}
.server__total strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 19px;
}
@media (max-width: 600px) {
  .news-article {
    padding: 22px 18px;
  }
}

/* Twitch live dock. */
.twitch-dock {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  width: min(390px, calc(100vw - 30px));
  max-height: calc(100vh - 100px);
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.twitch-player-card,
.twitch-stream-list {
  pointer-events: auto;
}

.twitch-player-card {
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.82);
  border-radius: 12px;
  background: rgba(8, 11, 20, 0.97);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.62),
    0 0 22px rgba(145, 70, 255, 0.2);
}

.twitch-player-card[hidden] {
  display: none;
}

.twitch-player-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.24);
}

.twitch-player-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.twitch-player-identity img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  object-fit: cover;
}

.twitch-player-identity > span,
.twitch-stream-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.twitch-player-identity strong,
.twitch-stream-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twitch-player-identity small,
.twitch-stream-copy small {
  color: #8795ad;
  font-size: 10px;
}

.twitch-player-identity small i,
.twitch-stream-copy small i {
  color: #a855f7;
}

.twitch-player-actions {
  display: flex;
  gap: 3px;
}

.twitch-player-actions button,
.twitch-player-actions a {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b9c4d6;
  cursor: pointer;
}

.twitch-player-actions button:hover,
.twitch-player-actions a:hover {
  background: rgba(168, 85, 247, 0.14);
  color: #fff;
}

.tiktok-player-status {
  align-items: center;
  background: radial-gradient(circle at 50% 20%, rgba(146, 74, 255, 0.18), transparent 55%), #080d18;
  color: #dce6fb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.tiktok-player-status i {
  color: #ffbd22;
  font-size: 34px;
}

.tiktok-player-status strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.tiktok-player-status span {
  color: #8fa1c4;
  font-size: 13px;
}

.twitch-player-stage {
  width: 100%;
  height: 214px;
  background: #000;
}

.twitch-player-stage iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.tiktok-live-video {
  display: block;
  width: 100% !important;
  min-width: 100%;
  height: 100% !important;
  min-height: 100%;
  background: #000;
  object-fit: cover;
  object-position: center top;
}

.twitch-player-card.tiktok-mode .twitch-player-stage {
  position: relative;
  height: 214px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.twitch-player-card.tiktok-mode .tiktok-live-video {
  position: absolute;
  inset: 0;
}

.tiktok-player-fallback {
  display: flex;
  height: 100%;
  padding: 22px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(37, 244, 238, 0.12), transparent 44%),
    #080d17;
}

.tiktok-player-fallback > i {
  margin-bottom: 8px;
  color: #25f4ee;
  font-size: 31px;
  text-shadow: 2px 2px 0 #fe2c55;
}

.tiktok-player-fallback strong {
  color: #fff;
  font-family: var(--dsp);
  font-size: 17px;
  text-transform: uppercase;
}

.tiktok-player-fallback span {
  max-width: 290px;
  margin: 6px 0 14px;
  color: #8495b4;
  font-size: 11px;
  line-height: 1.45;
}

.tiktok-player-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 9px;
  color: #071019;
  background: linear-gradient(90deg, #25f4ee, #fff);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.twitch-player-card.tiktok-mode .twitch-player-identity small i:first-child {
  color: #25f4ee;
  text-shadow: 1px 1px 0 #fe2c55;
}

.twitch-player-card.minimized .twitch-player-stage {
  display: none;
}

.twitch-player-card.minimized .twitch-player-head {
  border-bottom: 0;
}

.twitch-stream-list {
  display: flex;
  max-height: 210px;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
}

.twitch-stream-item {
  display: grid;
  grid-template-columns: 8px 38px minmax(0, 1fr) auto 18px;
  min-height: 60px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(119, 93, 173, 0.5);
  border-radius: 11px;
  background: rgba(10, 17, 31, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.twitch-stream-item:hover,
.twitch-stream-item.active {
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(145, 70, 255, 0.18);
}
.tiktok-stream-item {
  border-color: rgba(37, 244, 238, 0.38);
}
.tiktok-stream-item:hover {
  border-color: rgba(254, 44, 85, 0.75);
  box-shadow: 0 0 22px rgba(37, 244, 238, 0.12), 0 0 16px rgba(254, 44, 85, 0.1);
}
.tiktok-stream-item .twitch-stream-copy small i:first-child {
  color: #25f4ee;
  text-shadow: 1px 1px 0 #fe2c55;
}

.twitch-stream-item > img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.twitch-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef1749;
  box-shadow: 0 0 10px rgba(239, 23, 73, 0.9);
  animation: twitchLiveBlink 1.8s ease-in-out infinite;
}

@keyframes twitchLiveBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow:
      0 0 0 0 rgba(239, 23, 73, 0.5),
      0 0 9px rgba(239, 23, 73, 0.85);
  }

  50% {
    opacity: 0.72;
    box-shadow:
      0 0 0 6px rgba(239, 23, 73, 0),
      0 0 15px rgba(239, 23, 73, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .twitch-live-dot {
    animation: none;
  }
}

.twitch-live-badge {
  padding: 3px 6px;
  border-radius: 5px;
  background: #e91d48;
  color: #fff;
  font-family: var(--dsp);
  font-size: 9px;
  line-height: 1;
}

.twitch-stream-arrow {
  color: #8493ac;
  font-size: 10px;
  transition: transform 0.2s;
}

.twitch-stream-item.active .twitch-stream-arrow {
  color: #c084fc;
  transform: rotate(180deg);
}

.live-stream-notification {
  position: fixed;
  z-index: 10020;
  top: 96px;
  right: 24px;
  display: grid;
  grid-template-columns: auto 54px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  width: min(420px, calc(100vw - 32px));
  padding: 13px;
  border: 1px solid rgba(168, 85, 247, 0.78);
  border-radius: 15px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(17, 23, 43, 0.98), rgba(8, 14, 29, 0.98));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48), 0 0 24px rgba(145, 70, 255, 0.16);
  opacity: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transform: translateX(calc(100% + 40px));
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.live-stream-notification.visible {
  opacity: 1;
  transform: translateX(0);
}
.live-stream-notification > img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(168, 85, 247, 0.55);
  border-radius: 13px;
  object-fit: cover;
}
.live-stream-notification__signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: start;
  padding: 4px 6px;
  border-radius: 5px;
  color: #fff;
  background: #ec174c;
  font-size: 8px;
  font-weight: 800;
}
.live-stream-notification__signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: twitch-live-blink 1.25s ease-in-out infinite;
}
.live-stream-notification__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.live-stream-notification__copy small {
  color: #b984ff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.1px;
}
.live-stream-notification__copy strong {
  margin: 2px 0;
  color: #fff;
  font-family: var(--dsp);
  font-size: 16px;
}
.live-stream-notification__copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-stream-notification__copy em {
  margin-top: 4px;
  color: #aebbd5;
  font-size: 9.5px;
  font-style: normal;
}
.live-stream-notification__open {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #0a1020;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(246, 168, 33, 0.3);
}

@media (max-width: 620px) {
  .live-stream-notification {
    top: 78px;
    right: 16px;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
  }
  .live-stream-notification__signal {
    position: absolute;
    top: 8px;
    left: 8px;
  }
  .live-stream-notification > img {
    width: 48px;
    height: 48px;
  }
}

/* Keep the page background continuous below the breadcrumb artwork. */
.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb + .dr-cms-main {
  margin-top: 0;
  border-top: 0;
  background: var(--bg-0);
  box-shadow: 0 -2px 0 var(--bg-0);
}

@media (max-width: 600px) {
  .twitch-dock {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .twitch-player-stage {
    height: 190px;
  }
}

/* ---- modals (sign in / captcha) ---- */
.dr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 40px;
  background: rgba(4, 10, 22, 0.72);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}
.dr-modal-overlay.open {
  display: flex;
}
.dr-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(
    180deg,
    rgba(20, 38, 70, 0.99),
    rgba(11, 22, 44, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 28px 30px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  animation: dr-modal-in 0.25s ease;
}
@keyframes dr-modal-in {
  from {
    transform: translateY(-16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.dr-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(110, 150, 210, 0.12);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.dr-modal__close:hover {
  color: #fff;
  border-color: var(--line-2);
}
.dr-modal__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 24px;
  color: var(--head);
  text-align: center;
  margin: 0 0 22px;
  letter-spacing: 0.5px;
}
.dr-modal .field {
  margin-bottom: 14px;
}
.dr-modal__links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  margin: 2px 0 18px;
}
.dr-modal__links a {
  color: var(--gold-2);
}
.dr-modal__links a:hover {
  color: var(--gold);
}
.dr-modal__foot {
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.dr-modal__foot a {
  color: var(--gold-2);
}
.dr-captcha-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3100;
  background: rgba(4, 10, 22, 0.75);
  backdrop-filter: blur(5px);
}
.dr-captcha-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background: linear-gradient(
    180deg,
    rgba(20, 38, 70, 0.99),
    rgba(11, 22, 44, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.dr-captcha-box #captchaFrame {
  width: 100%;
  min-height: 90px;
  border: 0;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .brand {
    gap: 10px;
  }
}

/* ============================================================
   ACCOUNT PANEL
   ============================================================ */
.acct {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* profile header */
.acct-hero {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  position: relative;
  overflow: hidden;
}
.acct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px 200px at 100% -20%,
    rgba(47, 123, 246, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.acct-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 3;
}
.acct-hero__id {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.acct-avatar {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: var(--dsp);
  font-size: 34px;
  font-weight: 600;
  color: #2a1a04;
  background: linear-gradient(150deg, var(--gold-2), var(--gold-d));
  box-shadow: 0 10px 26px rgba(246, 168, 33, 0.35);
}
.acct-hero__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 30px;
  color: var(--head);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1;
}
.vip-badge {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.acct-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.acct-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  line-height: 1;
}
.acct-switch__btn i {
  font-size: 16px;
  color: var(--gold-2);
  transition: transform 0.18s;
}
.acct-switch.open .acct-switch__btn i {
  transform: rotate(180deg);
}
.acct-switch__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  z-index: 60;
}
.acct-switch.open .acct-switch__menu {
  display: flex;
}
.acct-switch__head {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
  color: var(--muted);
  padding: 6px 12px 9px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.acct-switch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.2;
}
.acct-switch__item i {
  color: var(--muted);
  font-size: 13px;
  width: 16px;
  text-align: center;
}
.acct-switch__item:hover {
  background: rgba(47, 123, 246, 0.12);
  color: #fff;
}
.acct-switch__item:hover i {
  color: var(--gold-2);
}
.acct-switch__item.is-current {
  color: var(--gold-2);
}
.acct-switch__item.is-current i {
  color: var(--gold-2);
}
span.acct-switch__item.is-current {
  cursor: default;
}
.acct-switch__cur {
  margin-left: auto;
  font-family: var(--body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-2);
}
.cart {
  position: relative;
  display: inline-flex;
}
.cart__toggle {
  position: relative;
}
.cart__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a04;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  display: none;
}
.cart__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  background: linear-gradient(
    180deg,
    rgba(16, 32, 60, 0.99),
    rgba(9, 19, 38, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 6px;
  display: none;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  z-index: 320;
  max-height: 72vh;
  overflow-y: auto;
}
.cart.open .cart__menu {
  display: block;
}
.cart__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart__menu .dropdown-item {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.cart__menu .cart-dropdown-item {
  border-bottom: 1px solid var(--line);
}
.cart__menu .dropdown-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 4px 0;
}
.cart__menu .d-flex {
  display: flex;
}
.cart__menu .align-items-center {
  align-items: center;
}
.cart__menu .justify-content-between {
  justify-content: space-between;
}
.cart__menu .justify-content-center {
  justify-content: center;
}
.cart__menu .flex-wrap {
  flex-wrap: wrap;
}
.cart__menu .flex-grow-1 {
  flex: 1;
  min-width: 0;
}
.cart__menu .flex-shrink-0 {
  flex-shrink: 0;
}
.cart__menu .gap-1 {
  gap: 4px;
}
.cart__menu .gap-2 {
  gap: 8px;
}
.cart__menu .d-grid {
  display: grid;
}
.cart__menu .px-3 {
  padding-left: 12px;
  padding-right: 12px;
}
.cart__menu .py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}
.cart__menu .pt-2 {
  padding-top: 8px;
}
.cart__menu .pb-1 {
  padding-bottom: 4px;
}
.cart__menu .p-3 {
  padding: 12px;
}
.cart__menu .mb-2 {
  margin-bottom: 8px;
}
.cart__menu .mb-3 {
  margin-bottom: 12px;
}
.cart__menu .mt-2 {
  margin-top: 8px;
}
.cart__menu .ms-1 {
  margin-left: 4px;
}
.cart__menu .me-1 {
  margin-right: 4px;
}
.cart__menu .text-center {
  text-align: center;
}
.cart__menu .rounded {
  border-radius: 8px;
}
.cart__menu .text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart__menu .small {
  font-size: 12px;
}
.cart__menu .fw-semibold {
  font-weight: 600;
}
.cart__menu strong {
  color: var(--head);
}
.cart__menu .badge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 600;
}
.cart__menu .badge.bg-warning {
  background: rgba(246, 168, 33, 0.2);
  color: var(--gold-2);
}
.cart__menu .badge.bg-success {
  background: rgba(99, 214, 174, 0.18);
  color: #63d6ae;
}
.cart__menu .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 12px;
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  border: 0;
  margin-top: 2px;
}
.cart__menu .btn-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241a04;
}
.cart__menu .btn-outline-light {
  background: rgba(110, 150, 210, 0.12);
  border: 1px solid var(--line-2);
  color: var(--text);
}
@media (max-width: 991px) {
  .cart {
    position: static;
  }
  .cart__menu {
    left: 16px;
    right: 16px;
    width: auto;
    top: calc(100% + 6px);
  }
}
.acct-hero__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.acct-hero__sub i {
  color: var(--gold-2);
  margin-right: 4px;
}
.acct-hero__wallet {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.wallet {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 190px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wallet::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 120px;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06));
  transform: rotate(18deg);
  pointer-events: none;
}
.wallet--blue {
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.2),
    rgba(9, 20, 38, 0.6)
  );
}
.wallet--gold {
  background: linear-gradient(
    135deg,
    rgba(246, 168, 33, 0.2),
    rgba(9, 20, 38, 0.6)
  );
}
.wallet__ico {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.wallet--blue .wallet__ico {
  color: #0a1c38;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 8px 20px rgba(47, 123, 246, 0.35);
}
.wallet--gold .wallet__ico {
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 20px rgba(246, 168, 33, 0.35);
}
.wallet__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.wallet__lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 2px;
}
.wallet__val {
  display: block;
  font-family: var(--dsp);
  font-size: 26px;
  color: var(--head);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wallet--gold .wallet__val {
  color: var(--gold-2);
}

/* info row inside the profile card */
.acct-hero__info {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.ainfo {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.ainfo__ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(79, 151, 255, 0.1);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 16px;
}
.ainfo__lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 3px;
}
.ainfo__val {
  display: block;
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
  letter-spacing: 0.3px;
  word-break: break-word;
}
.ainfo__link {
  font-family: var(--body);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--blue-2);
  margin-left: 6px;
  white-space: nowrap;
}
.ainfo__link:hover {
  color: var(--gold-2);
}

/* section heads inside panel */
.acct-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.acct-sec-head h2 {
  font-size: 22px;
  margin: 0;
}
.acct-sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* characters */
.chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.charcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition:
    transform 0.15s,
    border 0.15s;
}
.charcard:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.charcard__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.charcard__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #132540, #0a1526);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.charcard__thumb i {
  display: none;
  color: var(--muted-2);
  font-size: 22px;
}
.charcard__thumb.noimg i {
  display: block;
}
.charcard__thumb img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.charcard__name {
  font-family: var(--dsp);
  font-size: 19px;
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.charcard__cls {
  font-size: 12px;
  color: var(--gold-2);
  margin: 2px 0 6px;
}
.charcard__status {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.charcard__status.is-ok {
  color: var(--green);
  background: rgba(55, 194, 106, 0.12);
}
.charcard__status.is-blocked {
  color: var(--red);
  background: rgba(255, 91, 91, 0.12);
}
.charcard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 14px;
  text-align: center;
}
.charcard__stats b {
  display: block;
  font-family: var(--dsp);
  font-size: 22px;
  color: var(--head);
  line-height: 1;
}
.charcard__stats small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 4px;
}
.charcard__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 12.5px;
  color: var(--text);
}
.charcard__foot i {
  color: var(--muted);
  margin-right: 4px;
}
.acct-empty {
  text-align: center;
  padding: 50px 20px;
  background: var(--panel);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
}
.acct-empty i {
  font-size: 34px;
  color: var(--muted-2);
  display: block;
  margin-bottom: 12px;
}

/* account options grid */
.opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}
.optcard {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition:
    transform 0.14s,
    border 0.14s,
    background 0.14s;
}
.optcard:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  background: var(--panel-2);
}
.optcard__ico {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid var(--line);
  transition:
    color 0.14s,
    background 0.14s;
}
.optcard:hover .optcard__ico {
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.optcard__body {
  flex: 1;
  min-width: 0;
}
.optcard__title {
  display: block;
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.optcard__desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}
.optcard__arrow {
  color: var(--muted-2);
  font-size: 14px;
  transition:
    transform 0.14s,
    color 0.14s;
}
.optcard:hover .optcard__arrow {
  color: var(--gold-2);
  transform: translateX(3px);
}
.optcard--plugin .optcard__ico {
  color: var(--blue-2);
  background: rgba(47, 123, 246, 0.12);
}

@media (max-width: 600px) {
  .acct-hero {
    padding: 20px;
  }
  .acct-hero__wallet {
    width: 100%;
  }
  .wallet {
    flex: 1;
    min-width: 0;
  }
  .acct-hero__name {
    font-size: 24px;
  }
  .acct-avatar {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
}

/* ---- account login page ---- */
.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 54px 0 80px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 34px 34px 30px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.auth-card__head {
  text-align: center;
  margin-bottom: 24px;
}
.auth-card__ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  font-size: 24px;
  color: #2a1a04;
  background: linear-gradient(150deg, var(--gold-2), var(--gold-d));
  box-shadow: 0 10px 24px rgba(246, 168, 33, 0.32);
  margin-bottom: 14px;
}
.auth-card__head h2 {
  font-size: 26px;
  margin: 0;
}
.auth-card__head p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}
.auth-card .field {
  margin-bottom: 15px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  margin: 4px 0 20px;
}
.auth-links a {
  color: var(--gold-2);
}
.auth-links a:hover {
  color: var(--gold);
}
.auth-foot {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.auth-foot a {
  color: var(--gold-2);
}
.auth-foot a:hover {
  color: var(--gold);
}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.dl {
  padding: 52px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dl__lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 12px auto 0;
}
.dl-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dl-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition:
    transform 0.14s,
    border 0.14s;
}
.dl-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.dl-card__ico {
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid var(--line);
}
.dl-card__main {
  flex: 1;
  min-width: 0;
}
.dl-card__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 20px;
  color: var(--head);
  letter-spacing: 0.4px;
  line-height: 1.1;
}
.dl-card__desc {
  color: var(--muted);
  font-size: 13.5px;
  margin: 5px 0 10px;
  line-height: 1.5;
}
.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text);
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
.dl-tag i {
  color: var(--blue-2);
  font-size: 11px;
}
.dl-tag--num {
  color: var(--gold-2);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dl-card__btn {
  flex: none;
}

.sysreq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sysreq__col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sysreq__col--rec {
  border-color: rgba(246, 168, 33, 0.35);
}
.sysreq__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  color: var(--head);
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(79, 151, 255, 0.06);
}
.sysreq__head i {
  color: var(--blue-2);
  font-size: 17px;
}
.sysreq__col--rec .sysreq__head {
  background: linear-gradient(90deg, rgba(246, 168, 33, 0.14), transparent);
}
.sysreq__col--rec .sysreq__head i {
  color: var(--gold-2);
}
.sysreq__list {
  list-style: none;
  margin: 0;
  padding: 8px 22px 16px;
}
.sysreq__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sysreq__list li:last-child {
  border-bottom: 0;
}
.sysreq__lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.sysreq__val {
  font-family: var(--dsp);
  font-size: 15px;
  color: var(--head);
  text-align: right;
}

@media (max-width: 760px) {
  .dl-card {
    flex-wrap: wrap;
  }
  .dl-card__btn {
    width: 100%;
  }
  .sysreq {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RANKINGS
   ============================================================ */
.rk {
  padding: 52px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* category cards */
.rk-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.rk-cat {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  transition:
    transform 0.14s,
    border 0.14s,
    box-shadow 0.14s;
}
.rk-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px 120px at 120% -30%,
    rgba(47, 123, 246, 0.22),
    transparent 70%
  );
  pointer-events: none;
}
.rk-cat:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.rk-cat__ico {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--muted);
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transition:
    color 0.14s,
    background 0.14s;
}
.rk-cat__label {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 19px;
  color: #aebfdd;
  position: relative;
  z-index: 1;
  transition: color 0.14s;
}
.rk-cat.active {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(246, 168, 33, 0.16);
}
.rk-cat.active .rk-cat__ico {
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 6px 16px rgba(246, 168, 33, 0.4);
}
.rk-cat.active .rk-cat__label {
  color: #fff;
}

/* controls: class avatars + rank ranges */
.rk-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.rk-classes {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rk-class {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    border 0.14s,
    transform 0.12s;
  position: relative;
}
.rk-class:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.rk-class.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(246, 168, 33, 0.35);
}
.rk-class__all {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.rk-class.active .rk-class__all {
  color: var(--gold-2);
}
.rk-class__ava {
  width: 100%;
  height: 100%;
  background: #0a1526 center/cover no-repeat;
}
.rk-ranges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rk-range {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12.5px;
  color: #aebfdd;
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.14s,
    background 0.14s,
    border 0.14s;
}
.rk-range i {
  font-size: 10px;
  color: var(--muted);
}
.rk-range:hover {
  color: #fff;
  border-color: var(--line-2);
}
.rk-range.active {
  color: #2a1a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
}
.rk-range.active i {
  color: #2a1a04;
}
.rk-content {
  min-height: 200px;
}
.rk-loading,
.rk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rk-loading i,
.rk-empty i {
  font-size: 30px;
  color: var(--muted-2);
}
.rk-empty p {
  margin: 0;
}

.rk-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.rk-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(79, 151, 255, 0.05);
}
.rk-panel__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 19px;
  color: var(--head);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rk-panel__title i {
  color: var(--gold-2);
}
.rk-select {
  background: rgba(5, 12, 24, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 13px;
  color: var(--text);
  font-size: 13.5px;
  font-family: var(--body);
  min-width: 180px;
  cursor: pointer;
}
.rk-select:focus {
  outline: none;
  border-color: var(--gold);
}

.rk-tablewrap {
  overflow-x: auto;
}
.rk-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.rk-table thead th {
  text-align: left;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.rk-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
}
.rk-table tbody tr:last-child td {
  border-bottom: 0;
}
.rk-table tbody tr:hover td {
  background: rgba(79, 151, 255, 0.05);
}
.rk-c-pos {
  width: 56px;
}
.rk-c-num {
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rk-table thead .rk-c-num {
  text-align: center;
}
.rk-c-num b {
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
}
.rk-table td.rk-c-gold {
  color: var(--gold-2);
  font-family: var(--dsp);
  font-size: 16px;
}
.rk-table th.rk-c-gold {
  color: var(--gold-d);
}
.rk-c-loc {
  color: var(--muted);
  font-size: 13px;
}
.rk-pos {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-family: var(--dsp);
  font-size: 14px;
  color: var(--muted);
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
}
.rk-pos--1 {
  color: #2a1a04;
  background: linear-gradient(180deg, #ffe08a, var(--gold));
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(246, 168, 33, 0.4);
}
.rk-pos--2 {
  color: #1a1f27;
  background: linear-gradient(180deg, #eef2f7, #b9c4d4);
  border-color: transparent;
}
.rk-pos--3 {
  color: #2a1608;
  background: linear-gradient(180deg, #e5a86b, #b3702f);
  border-color: transparent;
}
.rk-c-name {
  min-width: 200px;
}
.rk-cls-ico {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #0a1526 center/cover no-repeat;
  border: 1px solid var(--line-2);
  vertical-align: middle;
  margin-right: 10px;
}
.rk-name {
  font-family: var(--dsp);
  font-size: 15px;
  color: var(--head);
  letter-spacing: 0.3px;
  vertical-align: middle;
}
.rk-name:hover {
  color: var(--gold-2);
}
.rk-vip {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  color: #2a1a04;
}
.rk-vip--1 {
  background: #cd8a52;
  color: #fff;
}
.rk-vip--2 {
  background: #c0c0c0;
}
.rk-vip--3 {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}
.rk-vip--4 {
  background: #e5e4e2;
}
.rk-vip--5 {
  background: #bfe6f4;
}
.rk-c-guild {
  white-space: nowrap;
}
.rk-gmark {
  display: inline-block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
  background: #0a1526;
  border: 1px solid var(--line-2);
  vertical-align: middle;
  margin-right: 9px;
}
.rk-gmark--lg {
  width: 32px;
  height: 32px;
}
.rk-c-guild a {
  color: var(--text);
  vertical-align: middle;
}
.rk-c-guild a:hover {
  color: var(--gold-2);
}
.rk-c-class {
  color: var(--muted);
  font-size: 13px;
}
.rk-dim {
  color: var(--muted-2);
}
.rk-cache {
  padding: 12px 22px;
  text-align: right;
  font-size: 12px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}
.rk-cache i {
  margin-right: 5px;
}

/* gens family balance bar */
.gens-war {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.gens-war__bar {
  position: relative;
  display: flex;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-0);
}
.gens-war__fill {
  height: 100%;
}
.gens-war__fill--d {
  background: linear-gradient(
    90deg,
    rgba(246, 168, 33, 0.96),
    rgba(246, 168, 33, 0.9) 45%,
    rgba(246, 168, 33, 0.06)
  );
}
.gens-war__fill--v {
  background: linear-gradient(
    90deg,
    rgba(29, 158, 117, 0.06),
    rgba(29, 158, 117, 0.9) 55%,
    rgba(29, 158, 117, 0.96)
  );
}
.gens-war__label {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}
.gens-war__label--d {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(246, 168, 33, 0.95),
    rgba(246, 168, 33, 0.9) calc(100% - 13px),
    rgba(246, 168, 33, 0)
  );
}
.gens-war__label--v {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(29, 158, 117, 0.95),
    rgba(29, 158, 117, 0.9) calc(100% - 13px),
    rgba(29, 158, 117, 0)
  );
}
.gens-war__count {
  font-family: var(--dsp);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.gens-war__label--d .gens-war__count {
  color: #1b1103;
}
.gens-war__label--v .gens-war__count {
  color: #03201a;
}
.gens-war__perc {
  font-family: var(--dsp);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}
.gens-war__label--d .gens-war__perc {
  color: #41300c;
}
.gens-war__label--v .gens-war__perc {
  color: #0b3a2d;
}
.gens-war__badge {
  position: relative;
  width: 24px;
  height: 28px;
  flex: none;
}
.gens-war__badge::before,
.gens-war__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 20%, 100% 62%, 50% 100%, 0 62%, 0 20%);
}
.gens-war__badge--d::before {
  background: var(--gold-2);
}
.gens-war__badge--v::before {
  background: #5dcaa5;
}
.gens-war__badge::after {
  inset: 2px;
  background: #0a1526;
}
.gens-war__badge b {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dsp);
  font-weight: 700;
  font-size: 13px;
}
.gens-war__badge--d b {
  color: var(--gold-2);
}
.gens-war__badge--v b {
  color: #63d6ae;
}
.gens-fam {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 999px;
}
.gens-fam--duprian {
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.14);
  border: 1px solid rgba(246, 168, 33, 0.4);
}
.gens-fam--vanert {
  color: #63d6ae;
  background: rgba(29, 158, 117, 0.16);
  border: 1px solid rgba(29, 158, 117, 0.4);
}

@media (max-width: 600px) {
  .rk-panel__head {
    flex-direction: column;
    align-items: stretch;
  }
  .rk-select {
    width: 100%;
  }
}

/* ============================================================
   ITEM INFO (iteminfo lib output Ã¢â‚¬â€ tooltips, item pages).
   Class names + colours are the lib's contract (MU item text colours).
   ============================================================ */
.item_size_12 {
  font-size: 12px;
}
.item_size_10 {
  font-size: 11px;
}
.item_size_14 {
  font-size: 14px;
}
.item_font_family {
  font-family: "Inter", system-ui, sans-serif;
}
.item_white {
  color: #ffffff;
}
.item_light_green {
  color: #5dff5d;
}
.item_light_blue {
  color: #9cc3ff;
}
.item_light_blue_2 {
  color: #6a97ff;
}
.item_blue {
  color: #4f97ff;
}
.item_pink {
  color: #ff5fae;
}
.item_yellow {
  color: #fadf3a;
}
.item_yellow_2 {
  color: #ffd24d;
}
.item_red {
  color: #ff6b6b;
}
.item_dark_red {
  color: #c24b4b;
}
.item_dark_red_background {
  display: inline-block;
  width: auto;
  max-width: 100%;
  background-color: rgba(128, 0, 0, 0.5);
  border-radius: 4px;
  padding: 1px 6px;
}
.item_purple {
  color: #c48fff;
}
.item_socket {
  color: #c48fff;
}
.item_grey {
  color: #9aa8c2;
}
.item_yellow_title {
  color: #ffd24d;
}
.item_client_orange {
  color: #ff9a23;
}
.item_luck {
  color: #9cc3ff;
}
.item_exe_title {
  color: #5dff9e;
}
.item_socket_title {
  color: #c48fff;
}
.item_socket_exe_title {
  color: #b98cff;
}
.item_ancient_title {
  color: #5dff5d;
}
.item_ancient_background {
  background-color: rgba(47, 123, 246, 0.28);
  border-radius: 4px;
  padding: 0 3px;
}

/* item info tooltip (jquery.tooltip -> #tooltip on body) Ã¢â‚¬â€ global (used on market/history/buy) */
#tooltip {
  position: absolute;
  z-index: 5000;
  width: max-content;
  min-width: 0;
  max-width: min(340px, calc(100vw - 16px));
  background: linear-gradient(
    180deg,
    rgba(18, 34, 62, 0.99),
    rgba(10, 20, 40, 0.99)
  );
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.62);
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
  pointer-events: none;
  box-sizing: border-box;
  overflow-x: hidden;
}
#tooltip h3,
#tooltip .url {
  display: none;
}
#tooltip,
#tooltip .body,
#tooltip .body * {
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}
#tooltip .body {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
#tooltip .body > div,
#tooltip .item_font_family {
  white-space: normal;
}
#tooltip img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 8px;
}
.item-rank-section {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 7px;
  margin: 7px 0 5px;
  color: #ffffff;
  line-height: 16px;
}
.item-rank-section::before,
.item-rank-section::after {
  content: "";
  min-width: 0;
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 24, 0.82));
}
.item-rank-section::after {
  background: linear-gradient(90deg, rgba(255, 190, 24, 0.82), transparent);
}
.item-rank-section span {
  flex: 0 1 auto;
  max-width: calc(100% - 28px);
  padding: 2px 7px;
  border: 1px solid rgba(255, 190, 24, 0.38);
  border-radius: 5px;
  background: rgba(255, 190, 24, 0.1);
  color: #ffd35c;
  line-height: 16px;
  white-space: normal;
}
.item-rank-section--mastery::before {
  background: linear-gradient(90deg, transparent, rgba(185, 140, 255, 0.88));
}
.item-rank-section--mastery::after {
  background: linear-gradient(90deg, rgba(185, 140, 255, 0.88), transparent);
}
.item-rank-section--mastery span {
  border-color: rgba(185, 140, 255, 0.48);
  background: rgba(135, 76, 220, 0.16);
  color: #cba7ff;
}

@media (max-width: 600px) {
  #tooltip {
    left: 8px !important;
    right: auto !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(100dvw - 16px) !important;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    overflow-x: hidden !important;
  }

  #tooltip .body,
  #tooltip .body * {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  #tooltip .item_size_12 {
    font-size: 11px;
  }
}

/* ---------- inline page alerts ---------- */
.dr-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid;
  font-size: 14px;
  line-height: 1.5;
}
.dr-alert:not(:last-child) {
  margin-bottom: 18px;
}
.acct .dr-alert,
.cm-page .dr-alert,
.mm-page .dr-alert,
.wk-page .dr-alert {
  margin-bottom: 0;
}
.dr-alert i {
  font-size: 18px;
  flex: none;
}
.dr-alert a {
  color: inherit;
  text-decoration: underline;
}
.dr-alert--success {
  background: rgba(55, 194, 106, 0.12);
  border-color: rgba(55, 194, 106, 0.4);
  color: #83e2a4;
}
.dr-alert .btn {
  color: inherit;
}
.dr-alert .btn-gold {
  color: #2a1a04;
}
.dr-alert .btn-ghost {
  color: var(--head);
}
.dr-alert--error {
  background: rgba(255, 91, 91, 0.12);
  border-color: rgba(255, 91, 91, 0.4);
  color: #ff8f8f;
}
.dr-alert--warning {
  background: rgba(246, 168, 33, 0.12);
  border-color: rgba(246, 168, 33, 0.4);
  color: var(--gold-2);
}
.dr-alert--info {
  background: rgba(79, 151, 255, 0.1);
  border-color: rgba(79, 151, 255, 0.38);
  color: #9cc4ff;
}

/* ---------- market secondary pages (buy / history / messages) ---------- */
.mkpage {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mkpage__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.buycard {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.buycard__item {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.buycard__item img {
  display: inline-block;
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}
.buycard__name {
  font-size: 16px;
}
.buycard__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
.buycard__table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}
.buycard__table td:first-child {
  color: var(--muted);
  width: 38%;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.buycard__table td:last-child {
  color: var(--head);
  font-family: var(--dsp);
  font-size: 15px;
}
.buycard__table td:last-child b {
  color: var(--gold-2);
}
.buycard__table td:last-child img {
  display: inline-block;
  height: 22px;
  width: auto;
  vertical-align: middle;
}
.buycard__table tr:last-child td {
  border-bottom: 0;
}
.buycard__table a {
  color: var(--blue-2);
}
.buycard__buy {
  text-align: center;
}
.mk-msg {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mk-msg__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.mk-price {
  color: var(--gold-2);
  font-family: var(--dsp);
  white-space: nowrap;
}
.mk-price img {
  display: inline-block;
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-right: 3px;
}
.mk-status {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}
.mk-status--sold {
  color: var(--green);
}
.mk-status--removed {
  color: var(--muted-2);
}
.mk-remove {
  color: var(--red);
}
.mk-remove:hover {
  color: #ff8f8f;
}

/* ---------- compact market history ---------- */
.mkhist { padding: 30px 0 55px; display: flex; flex-direction: column; gap: 14px; }
.mkhist__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(135deg, rgba(19,39,72,.92), rgba(7,17,34,.96)); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.mkhist__title { min-width: 0; display: flex; align-items: center; gap: 11px; }
.mkhist__title-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid rgba(246,168,33,.35); border-radius: 11px; color: var(--gold-2); background: rgba(246,168,33,.09); font-size: 17px; }
.mkhist__eyebrow, .mkhist__label { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.3; text-transform: uppercase; }
.mkhist__title h2 { margin: 2px 0 0; color: var(--head); font-size: 20px; line-height: 1.1; }
.mkhist__count { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); background: rgba(4,11,23,.5); font-size: 10px; white-space: nowrap; }
.mkhist__servers { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(8,18,34,.66); }
.mkhist__servers > span { margin-right: 3px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.mkhist__servers > span i { margin-right: 6px; color: var(--blue-2); }
.mkhist__servers a { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--head); background: rgba(26,52,86,.45); font-size: 10px; }
.mkhist__servers a:hover { border-color: rgba(246,168,33,.4); color: var(--gold-2); }
.mkhist__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.mkhist__item { min-width: 0; display: grid; grid-template-columns: 28px 44px minmax(120px,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(110deg, rgba(18,35,62,.84), rgba(7,16,30,.9)); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.mkhist__item:hover { border-color: rgba(246,168,33,.35); background: linear-gradient(110deg, rgba(23,43,74,.92), rgba(8,19,36,.96)); transform: translateY(-1px); }
.mkhist__position { color: var(--muted-2); font-family: var(--dsp); font-size: 10px; text-align: center; }
.mkhist__image { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(246,168,33,.22); border-radius: 9px; background: radial-gradient(circle, rgba(246,168,33,.1), rgba(4,11,23,.72)); }
.mkhist__image img { display: block; max-width: 40px; max-height: 40px; object-fit: contain; }
.mkhist__item-main { min-width: 0; }
.mkhist__tooltip { min-width: 0; display: flex; align-items: center; gap: 6px; margin-top: 3px; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mkhist__tooltip > i { flex: 0 0 auto; color: var(--muted-2); font-size: 10px; }
.mkhist__price { min-width: 105px; padding-left: 10px; border-left: 1px solid var(--line); }
.mkhist__price strong { display: block; margin-top: 3px; color: var(--gold-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
.mkhist__price img { display: inline-block; max-height: 17px; width: auto; vertical-align: middle; }
.mkhist__state { min-width: 72px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.mkhist__badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid transparent; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.mkhist__badge--active { border-color: rgba(79,151,255,.28); color: #91bfff; background: rgba(79,151,255,.09); }
.mkhist__badge--sold { border-color: rgba(60,201,124,.3); color: #72dda4; background: rgba(60,201,124,.09); }
.mkhist__badge--removed { border-color: rgba(127,143,166,.26); color: var(--muted); background: rgba(127,143,166,.08); }
.mkhist__remove { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid rgba(255,91,91,.3); border-radius: 7px; color: #ff8585; background: rgba(255,91,91,.08); }
.mkhist__remove:hover { border-color: rgba(255,91,91,.55); color: #ffaaaa; background: rgba(255,91,91,.14); }
.mkhist__remove span { display: none; }
.mkhist__pagination { display: flex; justify-content: center; margin-top: 5px; }
.mkhist__empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 28px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); text-align: center; background: rgba(7,16,30,.5); }
.mkhist__empty > i { margin-bottom: 5px; color: var(--gold-2); font-size: 29px; }
.mkhist__empty strong { color: var(--head); font-size: 14px; }
.mkhist__empty span { font-size: 11px; }
.mkhist__result { max-width: 680px; width: 100%; margin: 0 auto; }
@media (max-width: 1199px) { .mkhist__list { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .mkhist { padding-top: 20px; }
  .mkhist__head { align-items: flex-start; flex-direction: column; }
  .mkhist__head .webwh__nav { width: 100%; justify-content: flex-start; }
  .mkhist__item { grid-template-columns: 26px 44px minmax(0,1fr) auto; }
  .mkhist__price { grid-column: 3; padding: 7px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .mkhist__state { grid-column: 4; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; }
}

/* registration form extras (reuses .auth-wrap/.auth-card/.field/.inp) */
.auth-card--wide {
  max-width: 520px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field select.inp {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  cursor: pointer;
  line-height: 1.5;
}
.auth-check a {
  color: var(--gold-2);
}
/* custom checkbox */
.dr-cb,
.auth-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(5, 12, 24, 0.7);
  cursor: pointer;
  position: relative;
  transition:
    background 0.14s,
    border 0.14s;
}
.dr-cb:hover,
.auth-check input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.dr-cb:checked,
.auth-check input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: transparent;
}
.dr-cb:checked::after,
.auth-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #2a1a04;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dr-cb:focus-visible,
.auth-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.auth-captcha {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}
@media (max-width: 520px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   VALIDATION ENGINE prompts (jquery.validationEngine .formError bubbles).
   Structure/geometry from the plugin; colours restyled for dream.
   ============================================================ */
.formError {
  position: absolute;
  top: 300px;
  left: 300px;
  display: block;
  cursor: pointer;
  text-align: left;
  z-index: 99999 !important;
}
.formError.inline {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
}
.formError .formErrorContent {
  z-index: 991;
  width: 100%;
  position: relative;
  min-width: 150px;
  background: linear-gradient(180deg, #e5484d, #c0392b);
  color: #fff;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  border: 1px solid rgba(255, 120, 120, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  padding: 7px 12px;
  border-radius: 9px;
}
.greenPopup .formErrorContent {
  background: linear-gradient(180deg, #3fcf6a, #2a9e50);
  border-color: rgba(120, 235, 160, 0.5);
}
.blackPopup .formErrorContent {
  background: linear-gradient(180deg, #1a2c4a, #0d1a30);
  color: #fff;
  border-color: var(--line-2);
}
.formError .formErrorArrow {
  width: 15px;
  margin: -2px 0 0 13px;
  position: relative;
  z-index: 996;
}
.formError .formErrorArrowBottom {
  box-shadow: none;
  margin: 0 0 0 12px;
  top: 2px;
}
.formError .formErrorArrow div {
  background: #e5484d;
  border-left: 1px solid rgba(255, 120, 120, 0.5);
  border-right: 1px solid rgba(255, 120, 120, 0.5);
  font-size: 0;
  height: 1px;
  margin: 0 auto;
  line-height: 0;
  display: block;
}
.greenPopup .formErrorArrow div {
  background: #3fcf6a;
}
.blackPopup .formErrorArrow div {
  background: #1a2c4a;
}
.formError .formErrorArrow .line10 {
  width: 13px;
  border: none;
}
.formError .formErrorArrow .line9 {
  width: 11px;
  border: none;
}
.formError .formErrorArrow .line8 {
  width: 11px;
}
.formError .formErrorArrow .line7 {
  width: 9px;
}
.formError .formErrorArrow .line6 {
  width: 7px;
}
.formError .formErrorArrow .line5 {
  width: 5px;
}
.formError .formErrorArrow .line4 {
  width: 3px;
}
.formError .formErrorArrow .line3 {
  width: 1px;
}
.formError .formErrorArrow .line2 {
  width: 3px;
  border: none;
  background: rgba(255, 120, 120, 0.5);
}
.formError .formErrorArrow .line1 {
  width: 1px;
  border: none;
  background: rgba(255, 120, 120, 0.5);
}

/* ============================================================
   CHARACTER / GUILD INFO PAGES
   ============================================================ */
.charp {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.charp-top {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  align-items: start;
}
.charp-hero {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.charp-portrait {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.charp-portrait img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.charp-hero__name {
  font-family: var(--dsp);
  font-size: 26px;
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  word-break: break-word;
}
.charp-hero__cls {
  font-size: 13px;
  color: var(--gold-2);
}
.charp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
}
.charp-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.charp-status.is-online {
  color: var(--green);
  background: rgba(55, 194, 106, 0.12);
}
.charp-status.is-online .dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.charp-status.is-offline {
  color: var(--muted-2);
  background: rgba(95, 118, 160, 0.14);
}
.charp-status.is-offline .dot {
  background: var(--muted-2);
}
.charp-status.is-hidden {
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.12);
  cursor: help;
}
.charp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.charp-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.charp-stat__ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(79, 151, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 16px;
}
.charp-stat__lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 3px;
}
.charp-stat__val {
  display: block;
  font-family: var(--dsp);
  font-size: 17px;
  color: var(--head);
  letter-spacing: 0.3px;
}
.charp-stat__val small {
  font-size: 12px;
  color: var(--gold-2);
}
.charp-stat__val a {
  color: var(--text);
}
.charp-stat__val a:hover {
  color: var(--gold-2);
}
.charp-gmark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
  margin-right: 2px;
}
.charp-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.charp-sec-head h2 {
  font-size: 22px;
  margin: 0;
}
.charp-sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* canvas equipment paper-doll (5-col grid, uniform sizes, full-width canvas) */
.dr-inventory {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  padding: 24px;
}
.inv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.inv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 118px 64px 118px 64px 118px;
  grid-template-rows: repeat(4, 118px);
  gap: 12px;
  justify-content: center;
  place-items: center;
}
.inv-slot {
  position: relative;
  width: 118px;
  height: 118px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(5, 12, 24, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border 0.15s,
    box-shadow 0.15s,
    transform 0.12s;
}
.inv-slot--sm {
  width: 64px;
  height: 64px;
  border-radius: 11px;
}
.inv-slot--sm .inv-slot__ph {
  font-size: 16px;
}
.inv-slot--sm .inv-slot__label {
  font-size: 7px;
  bottom: 3px;
}
.inv-slot.is-filled {
  border-color: rgba(246, 168, 33, 0.5);
  background: rgba(10, 22, 42, 0.5);
  box-shadow: inset 0 0 20px rgba(246, 168, 33, 0.12);
}
.inv-slot.is-filled:hover {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 22px rgba(246, 168, 33, 0.2),
    0 0 14px rgba(246, 168, 33, 0.15);
}
.inv-slot__ph {
  font-size: 24px;
  color: rgba(138, 160, 196, 0.22);
}
.inv-slot__label {
  position: absolute;
  bottom: 4px;
  left: 2px;
  right: 2px;
  text-align: center;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--muted-2);
  pointer-events: none;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inv-item {
  width: 80%;
  height: 80%;
  background: center/contain no-repeat;
  cursor: pointer;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.55));
}

/* guild hero */
.guildp-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.guildp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 200px at 100% -20%,
    rgba(246, 168, 33, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
.guildp-hero__mark {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 16px;
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.guildp-hero__mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.guildp-hero__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.guildp-hero__name {
  font-family: var(--dsp);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--head);
  text-transform: uppercase;
  margin: 0 0 10px;
  word-break: break-word;
}
.guildp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 13.5px;
}
.guildp-hero__meta i {
  color: var(--gold-2);
  margin-right: 5px;
}
.guildp-hero__meta b {
  color: var(--head);
}
.guildp-hero__meta a {
  color: var(--gold-2);
}

@media (max-width: 840px) {
  .charp-top {
    grid-template-columns: 1fr;
  }
  .charp-hero {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    justify-content: flex-start;
  }
  .charp-portrait {
    height: 120px;
  }
  .charp-portrait img {
    max-height: 120px;
  }
}
@media (max-width: 600px) {
  .inv-grid {
    grid-template-columns: 86px 48px 86px 48px 86px;
    grid-template-rows: repeat(4, 86px);
    gap: 8px;
  }
  .inv-slot {
    width: 86px;
    height: 86px;
  }
  .inv-slot--sm {
    width: 48px;
    height: 48px;
  }
  .inv-slot__label {
    display: none;
  }
}
@media (max-width: 420px) {
  .inv-grid {
    grid-template-columns: 66px 40px 66px 40px 66px;
    grid-template-rows: repeat(4, 66px);
    gap: 6px;
  }
  .inv-slot {
    width: 66px;
    height: 66px;
  }
  .inv-slot--sm {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   ABOUT PAGE + STATS
   ============================================================ */
.about {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 18px;
}
.about-sec .section__title {
  font-size: 22px;
  letter-spacing: 0.5px;
  margin: 0;
}
.about-intro {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
  max-width: 64ch;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-card--commands {
  grid-column: 1/-1;
}
@media (max-width: 760px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
}
/* spec sheet (label -> value) */
.spec-list {
  padding: 8px 20px 16px;
}
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(120, 160, 220, 0.08);
}
.spec-row:first-child {
  border-top: 0;
}
.spec-row__k {
  color: var(--muted);
  font-size: 13.5px;
}
.spec-row__v {
  font-family: var(--dsp);
  font-size: 15px;
  color: var(--head);
  text-align: right;
}
/* feature pills */
.feat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 20px 18px;
}
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  background: rgba(5, 12, 24, 0.4);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  padding: 8px 14px;
  transition:
    border 0.14s,
    color 0.14s,
    background 0.14s;
}
.feat-pill i {
  color: var(--gold-2);
  font-size: 12px;
}
.feat-pill.is-link:hover {
  border-color: var(--gold);
  color: #fff;
  background: rgba(246, 168, 33, 0.1);
}
/* command console */
.cmd-console {
  margin: 14px 20px 18px;
  background: #060c16;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
}
.cmd-console__bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.cmd-console__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #33415c;
}
.cmd-console__body {
  padding: 14px 16px;
  font-family: ui-monospace, "Courier New", monospace;
  font-size: 13px;
  line-height: 2;
}
.cmd-line {
  white-space: nowrap;
  overflow-x: auto;
}
.cmd-line__p {
  color: var(--gold-2);
}
.cmd-line code {
  color: var(--head);
  background: none;
  font-family: inherit;
}
.cmd-line__d {
  color: var(--muted);
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.14s,
    border 0.14s;
}
.about-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.about-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(79, 151, 255, 0.05);
}
.about-card__ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid var(--line);
}
.about-card__head h3 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 17px;
  color: var(--head);
  margin: 0;
}
.about-card__list {
  list-style: none;
  margin: 0;
  padding: 10px 20px 16px;
}
.about-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(120, 160, 220, 0.08);
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.about-card__list li:last-child {
  border-bottom: 0;
}
.about-card__mk {
  flex: none;
  font-size: 10px;
  margin-top: 5px;
  color: var(--gold-2);
}
.about-card__list li.is-link .about-card__mk {
  color: var(--blue-2);
}
.about-card__list li.is-link a {
  color: var(--blue-2);
}
.about-card__list li.is-link:hover .about-card__mk,
.about-card__list li.is-link a:hover {
  color: var(--gold-2);
}

.stats-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 760px) {
  .stats-two {
    grid-template-columns: 1fr;
  }
}

/* ---- account action pages (settings, resets, stats, wallet, etc.) ---- */
.acct-sub {
  margin: -14px 0 2px;
  color: var(--muted);
  font-size: 14px;
  max-width: 74ch;
  line-height: 1.55;
}
.acard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.acard--form {
  max-width: none;
}
.acard--wide {
  max-width: 900px;
}
.acard__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: -2px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.acard__head i {
  color: var(--gold-2);
  font-size: 17px;
}
.acard__head h3 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 17px;
  color: var(--head);
  margin: 0;
}
.acard .field {
  margin-bottom: 16px;
}
.acard .field:last-child {
  margin-bottom: 0;
}
.acard__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ac-checks {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 4px 0;
}
.ac-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}
.ac-hint {
  color: var(--muted);
  font-size: 12.5px;
  margin: 6px 0 0;
}
.rk-table td .btn-sm {
  white-space: nowrap;
}
.rk-table td.rk-c-act,
.rk-table th.rk-c-act {
  text-align: right;
}
/* rankings sub-pages (online / gm / ban / search) */
.rk-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rk-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 24, 0.25);
}
.rk-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rk-search .inp {
  flex: 1;
  min-width: 220px;
  margin: 0;
}
.rk-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 760px) {
  .rk-two {
    grid-template-columns: 1fr;
  }
}
.rk-flag {
  margin-right: 7px;
  vertical-align: middle;
}

/* ---- ban list ---- */
.ban-page{padding:34px 0 64px;display:flex;flex-direction:column;gap:18px;color:var(--text)}
.ban-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;border:1px solid var(--line-2);border-radius:18px;background:linear-gradient(135deg,rgba(25,43,78,.98),rgba(12,23,45,.98));box-shadow:0 18px 46px rgba(0,0,0,.24)}
.ban-hero:after{content:"";position:absolute;right:-90px;top:-130px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,190,47,.14),transparent 67%);pointer-events:none}
.ban-hero__copy{position:relative;z-index:1}.ban-hero__eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:var(--gold-2);font-size:11px;font-weight:800;letter-spacing:1.35px;text-transform:uppercase}
.ban-hero h1{margin:0;color:var(--head);font:38px/1 var(--dsp);letter-spacing:.5px;text-transform:uppercase}.ban-hero p{margin:12px 0 0;color:var(--muted);font-size:14px}
.ban-hero__summary{position:relative;z-index:1;min-width:138px;padding:15px 20px;text-align:center;border:1px solid rgba(255,190,47,.3);border-radius:14px;background:rgba(4,10,22,.42)}
.ban-hero__summary span,.ban-hero__summary small{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.ban-hero__summary strong{display:block;margin:4px 0;color:var(--head);font:30px/1 var(--dsp)}
.ban-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}
.ban-switch,.ban-servers{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ban-switch__item,.ban-servers a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border:1px solid transparent;border-radius:10px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;transition:.16s ease}
.ban-switch__item:hover,.ban-servers a:hover{color:var(--head);border-color:var(--line-2);background:rgba(79,151,255,.06)}.ban-switch__item.is-active{color:#101827;background:linear-gradient(180deg,#ffd34e,#f5a900);box-shadow:0 7px 17px rgba(245,169,0,.2)}
.ban-servers{justify-content:flex-end}.ban-servers a{min-height:34px;padding:0 13px;border-color:var(--line);border-radius:99px}.ban-servers a.is-active{color:var(--head);border-color:rgba(255,190,47,.55);background:rgba(255,190,47,.09)}
.ban-card{overflow:hidden;border:1px solid var(--line-2);border-radius:17px;background:var(--panel);box-shadow:0 16px 40px rgba(0,0,0,.18)}
.ban-card__head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--line);background:rgba(79,151,255,.045)}.ban-card__head div{display:flex;align-items:center;gap:10px;color:var(--head);font:16px var(--dsp);letter-spacing:.45px;text-transform:uppercase}.ban-card__head i{color:var(--gold-2)}.ban-card__head small{color:var(--muted);font-size:11px}
.ban-table-wrap{overflow-x:auto}.ban-table{width:100%;border-collapse:collapse}.ban-table th{padding:13px 20px;text-align:left;color:#8192b2;background:rgba(4,10,22,.32);font-size:10px;font-weight:800;letter-spacing:1.05px;text-transform:uppercase}.ban-table th:first-child{width:68px;text-align:center}
.ban-table td{padding:17px 20px;border-top:1px solid rgba(113,144,198,.11);color:var(--text);font-size:13px;vertical-align:middle}.ban-table tbody tr{transition:background .15s}.ban-table tbody tr:hover{background:rgba(79,151,255,.045)}.ban-table td:first-child{text-align:center}
.ban-index{display:inline-grid;width:29px;height:29px;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#0c172b;font-size:11px;font-weight:800}.ban-name{display:inline-flex;align-items:center;gap:10px;color:var(--head);font-weight:800}.ban-name i{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(255,190,47,.2);border-radius:8px;color:var(--gold-2);background:rgba(255,190,47,.07)}
.ban-duration{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid;border-radius:99px;font-size:10px;font-weight:800;text-transform:uppercase;white-space:nowrap}.ban-duration.is-permanent{color:#ff6a78;border-color:rgba(255,78,96,.28);background:rgba(255,78,96,.09)}.ban-duration.is-temporary{color:#ffc74c;border-color:rgba(255,190,47,.25);background:rgba(255,190,47,.08)}.ban-duration.is-expired{color:#6bd9aa;border-color:rgba(67,210,151,.24);background:rgba(67,210,151,.08)}.ban-reason{color:#aebbd3;line-height:1.45}
.ban-message,.ban-empty{border:1px solid var(--line-2);border-radius:17px;background:var(--panel)}.ban-message{display:flex;align-items:center;gap:11px;padding:18px 20px}.ban-message--error{color:#ff8590;border-color:rgba(255,78,96,.3)}
.ban-empty{padding:54px 24px;text-align:center}.ban-empty__icon{display:grid;width:64px;height:64px;margin:0 auto 16px;place-items:center;border:1px solid rgba(67,210,151,.24);border-radius:18px;color:#6bd9aa;background:rgba(67,210,151,.08);font-size:23px}.ban-empty h2{margin:0;color:var(--head);font:22px var(--dsp);text-transform:uppercase}.ban-empty p{margin:9px 0 0;color:var(--muted);font-size:13px}
@media(max-width:760px){.ban-page{padding-top:22px}.ban-hero{align-items:flex-start;padding:24px 20px}.ban-hero h1{font-size:31px}.ban-hero__summary{min-width:92px;padding:12px}.ban-toolbar{align-items:stretch;flex-direction:column}.ban-switch{display:grid;grid-template-columns:1fr 1fr}.ban-switch__item{padding:0 9px;font-size:10px}.ban-servers{justify-content:flex-start}.ban-card__head small{display:none}.ban-table thead{display:none}.ban-table,.ban-table tbody,.ban-table tr,.ban-table td{display:block;width:100%}.ban-table tr{padding:12px 15px;border-top:1px solid var(--line)}.ban-table tr:first-child{border-top:0}.ban-table td,.ban-table td:first-child{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 0;border:0;text-align:right}.ban-table td:before{content:attr(data-label);color:#7385a7;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.ban-table td:first-child{display:none}.ban-reason{max-width:65%;text-align:right}}

/* ---- generic content page + rich text prose (rules, guides) ---- */
.page {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.dr-prose {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
.dr-prose h1,
.dr-prose h2,
.dr-prose h3,
.dr-prose h4,
.dr-prose h5 {
  font-family: var(--dsp);
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1.4em 0 0.5em;
  line-height: 1.22;
}
.dr-prose h1 {
  font-size: 24px;
}
.dr-prose h2 {
  font-size: 20px;
}
.dr-prose h3 {
  font-size: 17px;
}
.dr-prose h4,
.dr-prose h5 {
  font-size: 15px;
}
.dr-prose > :first-child {
  margin-top: 0;
}
.dr-prose p {
  margin: 0 0 1em;
}
.dr-prose a {
  color: var(--blue-2);
}
.dr-prose a:hover {
  color: var(--gold-2);
}
.dr-prose ul,
.dr-prose ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}
.dr-prose li {
  margin: 0.35em 0;
}
.dr-prose strong,
.dr-prose b {
  color: var(--head);
}
.dr-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.dr-prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6em 0;
}
.dr-prose blockquote {
  margin: 1em 0;
  padding: 10px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(246, 168, 33, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}
.dr-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
  display: block;
  overflow-x: auto;
}
.dr-prose table th,
.dr-prose table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.dr-prose table th {
  font-family: var(--dsp);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: rgba(79, 151, 255, 0.05);
}

/* ---- guides two-column ---- */
.guide {
  padding: 44px 0 70px;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .guide {
    grid-template-columns: 1fr;
  }
}
.guide-side {
  position: sticky;
  top: 90px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
@media (max-width: 900px) {
  .guide-side {
    position: static;
  }
}
.guide-side__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 14px;
  color: var(--head);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.guide-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guide-cat > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.guide-cat > a:hover {
  background: rgba(79, 151, 255, 0.09);
  color: #fff;
}
.guide-cat > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.15s;
}
.guide-sublist {
  display: none;
  flex-direction: column;
  gap: 1px;
  margin: 2px 0 6px;
  padding-left: 8px;
}
.guide-sublist a {
  display: block;
  padding: 7px 12px;
  border-left: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13.5px;
}
.guide-sublist a:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}
.guide-main {
  min-height: 400px;
}

/* ---- guides index (category tiles + searchable card grid) ---- */
.guides {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.guides-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 15px 20px;
}
.guides-search i {
  color: var(--gold-2);
  font-size: 18px;
}
.guides-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 15px;
  font-family: var(--body);
}
.guides-search input::placeholder {
  color: var(--muted);
}
.guides-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.ghub {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.14s,
    border 0.14s,
    box-shadow 0.14s;
}
.ghub:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.ghub.is-active {
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(246, 168, 33, 0.14);
}
.ghub__ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--blue-2);
  background: rgba(79, 151, 255, 0.12);
  border: 1px solid rgba(79, 151, 255, 0.22);
}
.ghub.is-active .ghub__ico {
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.12);
  border-color: rgba(246, 168, 33, 0.28);
}
.ghub__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ghub__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 14px;
  color: var(--head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ghub__count {
  font-size: 12px;
  color: var(--muted);
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 14px;
}
.gcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition:
    transform 0.14s,
    border 0.14s,
    box-shadow 0.14s;
}
.gcard:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(246, 168, 33, 0.14);
}
.gcard__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid rgba(246, 168, 33, 0.22);
  border-radius: 99px;
  padding: 4px 10px;
}
.gcard__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 16px;
  color: var(--head);
  margin: 12px 0 14px;
  line-height: 1.3;
  flex: 1;
}
.gcard:hover .gcard__title {
  color: #fff;
}
.gcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.gcard__meta i {
  color: var(--gold-2);
  margin-right: 5px;
}
.gcard__read {
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 11.5px;
}
.gcard:hover .gcard__read {
  color: var(--gold);
}
.gcard:hover .gcard__read i {
  transform: translateX(3px);
  transition: transform 0.14s;
}
.guides-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.guides-empty i {
  font-size: 32px;
  color: var(--muted-2);
  display: block;
  margin-bottom: 12px;
}
.guides-empty p {
  margin: 0;
}
/* single guide reading page */
.gread__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  align-self: flex-start;
}
.gread__back:hover {
  color: var(--gold-2);
}
.gread__back i {
  font-size: 12px;
}
.gread__article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 40px;
}
.gread__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
a.gcard__tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gread__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 30px;
  line-height: 1.18;
  color: var(--head);
  margin: 0;
}
.gread__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
.gread__meta i {
  color: var(--gold-2);
  margin-right: 5px;
}
.gread__body {
  max-width: 900px;
}
.gread__related {
  margin: 16px 0 0;
}
.gread__related-title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 19px;
  color: var(--head);
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.gread__related-title i {
  color: var(--gold-2);
  font-size: 16px;
}
@media (max-width: 600px) {
  .gread__title {
    font-size: 23px;
  }
  .gread__article {
    padding: 24px 22px;
  }
}

/* ---- support tickets ---- */
textarea.inp {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
  font-family: var(--body);
}
.sup-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .sup-layout {
    grid-template-columns: 1fr;
  }
}
.sup-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sup-msg {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sup-msg__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(79, 151, 255, 0.05);
}
.sup-msg__who {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--head);
  font-size: 13.5px;
}
.sup-msg__who i {
  color: var(--gold-2);
  margin-right: 6px;
}
.sup-msg__time {
  color: var(--muted);
  font-size: 12.5px;
}
.sup-msg__body {
  padding: 16px 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}
.sup-msg--me .sup-msg__head {
  background: rgba(246, 168, 33, 0.08);
}
.sup-meta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sup-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.sup-meta__row:last-child {
  border-bottom: 0;
}
.sup-meta__row > span:first-child {
  color: var(--muted);
}
.sup-meta__row > span:last-child {
  color: var(--text);
  text-align: right;
}
.sup-meta__foot {
  padding: 14px 16px;
  text-align: center;
}
.sup-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}
.sup-files a {
  font-size: 12.5px;
  color: var(--blue-2);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.sup-files a:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}
#fileList ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#fileList li {
  font-size: 12.5px;
  color: var(--muted);
}
.file-inp {
  display: block;
  width: 100%;
  font-size: 13px;
  color: var(--muted);
  padding: 9px 0;
}

/* ---- warehouse (game vault + web warehouse) ---- */
.d-none {
  display: none !important;
}
#loading {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1000;
  white-space: nowrap;
  padding: 8px 15px 8px 12px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(20, 40, 72, 0.94),
    rgba(9, 19, 38, 0.94)
  );
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.dr-loader__ring {
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(246, 168, 33, 0) 8%,
    rgba(246, 168, 33, 0.22) 45%,
    var(--gold) 82%,
    var(--gold-2) 100%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    #000 calc(100% - 2.5px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    #000 calc(100% - 2.5px)
  );
  filter: drop-shadow(0 0 4px rgba(246, 168, 33, 0.55));
  animation: dr-spin 0.8s linear infinite;
}
.dr-loader__txt {
  display: inline-block;
  vertical-align: middle;
  margin-left: 9px;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10.5px;
  color: var(--gold-2);
  animation: dr-loader-pulse 1.4s ease-in-out infinite;
}
@keyframes dr-spin {
  to {
    transform: rotate(1turn);
  }
}
@keyframes dr-loader-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
.wh {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wh-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.wh-head h2 {
  margin: 0;
  font-size: 24px;
}
.wh-head h2 i {
  color: var(--gold-2);
  margin-right: 10px;
}
.wh-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wh-inner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 880px) {
  .wh-inner {
    width: 100%;
  }
}
.wh-layout {
  display: grid;
  grid-template-columns: auto 360px;
  gap: 26px;
  align-items: start;
  width: fit-content;
  max-width: 100%;
}
@media (max-width: 880px) {
  .wh-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
.wh-vaults {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.wh-vaultframe {
  width: 322px;
  max-width: 100%;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--bg-1));
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.wh-vaultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 24, 0.4);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 13px;
  color: var(--head);
}
.wh-vaultbar i {
  color: var(--gold-2);
}
.wh-vaultbar__t i {
  margin-right: 7px;
}
.wh-vaultbar__i {
  color: var(--muted-2);
  font-size: 14px;
  cursor: help;
}
.wh-vault {
  position: relative;
  width: 320px;
  height: 600px;
  flex: none;
  background-color: #060c16;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
}
.item-slot {
  position: absolute;
  border: 1px solid rgba(246, 168, 33, 0.22);
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.5);
}
.item-slot:hover {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(246, 168, 33, 0.55);
  z-index: 3;
}
.item-slot.is-selected {
  border-color: var(--gold-2);
  background-color: rgba(246, 168, 33, 0.14);
  box-shadow:
    0 0 0 2px var(--gold-2),
    0 0 18px rgba(246, 168, 33, 0.6);
  z-index: 4;
}
.wh-side {
  position: sticky;
  top: 90px;
}
@media (max-width: 880px) {
  .wh-side {
    position: static;
  }
}
.wh-insp {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.wh-insp__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 16px;
  color: var(--head);
}
.wh-insp__head i {
  color: var(--gold-2);
  font-size: 16px;
}
.wh-insp__empty {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 26px 10px 10px;
}
.wh-insp__empty i {
  display: block;
  font-size: 30px;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.wh-insp__empty p {
  margin: 0;
  line-height: 1.5;
}
.wh-insp__empty-note {
  margin-top: 8px !important;
  font-size: 12px;
  color: var(--muted-2);
}
.wh-insp__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wh-insp__ico {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background-color: rgba(5, 12, 24, 0.55);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.wh-insp__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.wh-insp__name {
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
  line-height: 1.25;
  word-break: break-word;
}
.wh-insp__sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-2);
}
.wh-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.wh-actions .btn {
  width: 100%;
}
.wh-sellform {
  margin-top: 16px;
}
.wh-sellform .acard__head {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.wh-sellform .field {
  margin-bottom: 14px;
}
.wh-sellform .acard__actions {
  margin-top: 18px;
  justify-content: stretch;
}
.wh-sellform .acard__actions .btn {
  width: 100%;
}

/* ---- compact web warehouse ---- */
.webwh { padding: 30px 0 55px; display: flex; flex-direction: column; gap: 14px; }
.webwh__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(135deg, rgba(19,39,72,.92), rgba(7,17,34,.96)); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.webwh__title, .webwh__nav, .webwh__tooltip, .webwh__notice { display: flex; align-items: center; }
.webwh__title { min-width: 0; gap: 11px; }
.webwh__title-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid rgba(246,168,33,.35); border-radius: 11px; color: var(--gold-2); background: rgba(246,168,33,.09); font-size: 17px; }
.webwh__eyebrow, .webwh__label { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.3; text-transform: uppercase; }
.webwh__title h2 { margin: 2px 0 0; color: var(--head); font-size: 20px; line-height: 1.1; }
.webwh__count { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); background: rgba(4,11,23,.5); font-size: 10px; white-space: nowrap; }
.webwh__nav { gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.webwh__nav-btn, .webwh__nav-btn:visited, .webwh__nav-btn:hover, .webwh__nav-btn:focus, .webwh__nav-btn:active { min-height: 34px; padding: 9px 13px !important; color: #111722 !important; font-size: 10px; line-height: 1; }
.webwh__nav-btn i { margin-right: 6px; color: #111722 !important; }
.webwh__notice { gap: 11px; padding: 10px 14px; border: 1px solid rgba(79,151,255,.22); border-radius: 10px; color: #91b7e9; background: rgba(22,56,99,.2); }
.webwh__notice > i { color: var(--blue-2); font-size: 16px; }
.webwh__notice strong, .webwh__notice span { display: block; }
.webwh__notice strong { color: var(--head); font-size: 11px; line-height: 1.25; }
.webwh__notice span { margin-top: 2px; font-size: 11px; line-height: 1.35; }
.webwh__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.webwh__item { min-width: 0; display: grid; grid-template-columns: 28px 38px minmax(120px,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(110deg, rgba(18,35,62,.84), rgba(7,16,30,.9)); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.webwh__item:hover { border-color: rgba(246,168,33,.35); background: linear-gradient(110deg, rgba(23,43,74,.92), rgba(8,19,36,.96)); transform: translateY(-1px); }
.webwh__position { color: var(--muted-2); font-family: var(--dsp); font-size: 10px; text-align: center; }
.webwh__item-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(246,168,33,.25); border-radius: 9px; color: var(--gold-2); background: rgba(246,168,33,.07); font-size: 14px; }
.webwh__item-main { min-width: 0; }
.webwh__tooltip { min-width: 0; gap: 6px; margin-top: 3px; }
.webwh__tooltip a { min-width: 0; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.webwh__tooltip > i { flex: 0 0 auto; color: var(--muted-2); font-size: 10px; }
.webwh__expiry { min-width: 116px; padding-left: 10px; border-left: 1px solid var(--line); }
.webwh__expiry strong { display: block; margin-top: 3px; color: var(--head); font-size: 10px; font-weight: 600; white-space: nowrap; }
.webwh__move { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(246,168,33,.35); border-radius: 8px; color: #111722 !important; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 5px 14px rgba(246,168,33,.16); }
.webwh__move:hover { color: #111722 !important; filter: brightness(1.08); }
.webwh__move span { display: none; }
.webwh__empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 28px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); text-align: center; background: rgba(7,16,30,.5); }
.webwh__empty > i { margin-bottom: 5px; color: var(--gold-2); font-size: 29px; }
.webwh__empty strong { color: var(--head); font-size: 14px; }
.webwh__empty span { font-size: 11px; }
.webwh__pagination { margin-top: 5px; }
@media (max-width: 1199px) { .webwh__list { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .webwh { padding-top: 20px; }
  .webwh__head { align-items: flex-start; flex-direction: column; }
  .webwh__nav { width: 100%; justify-content: flex-start; }
  .webwh__item { grid-template-columns: 26px 38px minmax(0,1fr) 34px; }
  .webwh__expiry { grid-column: 3 / 5; padding: 7px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .webwh__move { grid-column: 4; grid-row: 1; }
}

/* ---- donate ---- */
.donate {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.pay-method {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  text-align: center;
  transition:
    transform 0.14s,
    border 0.14s,
    box-shadow 0.14s;
}
.pay-method:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(246, 168, 33, 0.14);
}
.pay-method:hover .pay-method__ico {
  color: #241a04;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
}
.pay-method__ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--gold-2);
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  transition:
    color 0.14s,
    background 0.14s,
    border 0.14s;
}
.pay-method__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 16px;
  color: var(--head);
}
.pay-method__tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b1018;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 700;
}
.dnt-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 38px 24px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(
      120% 150% at 50% -20%,
      rgba(246, 168, 33, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.dnt-hero__ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 27px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.12);
  border: 1px solid rgba(246, 168, 33, 0.35);
  box-shadow: 0 0 26px rgba(246, 168, 33, 0.2);
}
.dnt-hero__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 30px;
  color: var(--head);
  margin: 0;
  line-height: 1.05;
}
.dnt-hero__title b {
  color: var(--gold-2);
  font-weight: inherit;
}
.dnt-hero__sub {
  max-width: 470px;
  margin: 11px auto 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.dnt-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.dnt-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(110, 150, 210, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}
.dnt-trust__chip i {
  color: #63d6ae;
  font-size: 14px;
}
.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pkg {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border 0.14s;
}
.pkg:hover {
  border-color: var(--line-2);
}
.pkg__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  color: var(--head);
  min-width: 110px;
}
.pkg__reward {
  flex: 1;
  min-width: 180px;
  font-size: 15px;
  color: var(--text);
}
.pkg__reward b {
  font-family: var(--dsp);
  font-size: 20px;
  color: var(--gold-2);
}
.pkg__price {
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}
.pkg .btn {
  margin-left: auto;
}
.donate-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.donate-panel h3 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--head);
  margin: 0 0 16px;
  font-size: 19px;
}
.donate-panel form table {
  margin: 0 auto;
  text-align: left;
}
.donate-panel form table td {
  padding: 7px 10px;
}
.donate-panel form table td:first-child {
  color: var(--muted);
  font-size: 14px;
}

/* ---- shop: VIP benefit tiles + server-bonus panel (shared by the showcase) ---- */
.vip-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(5, 12, 24, 0.35);
  border: 1px solid var(--line);
}
.vip-benefit__ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.1);
  border: 1px solid rgba(246, 168, 33, 0.22);
}
.vip-benefit__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vip-benefit__lbl {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.3;
}
.vip-benefit__val {
  font-family: var(--dsp);
  font-size: 16px;
  color: var(--head);
}
.vip-buy__server {
  margin: 0 24px 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(79, 151, 255, 0.06);
  border: 1px solid var(--line-2);
}
.vip-buy__server-head {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  color: var(--gold-2);
  margin-bottom: 8px;
}

/* VIP premium showcase (used for both the packages list and the single package page) */
.vipshow-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vipshow {
  display: flex;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.vipshow__id {
  width: 262px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  background: linear-gradient(
    180deg,
    rgba(246, 168, 33, 0.15),
    rgba(246, 168, 33, 0.02)
  );
  border-right: 1px solid var(--line);
}
.vipshow__crown {
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241804;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(246, 168, 33, 0.4);
}
.vipshow__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  color: var(--head);
}
.vipshow__price {
  font-family: var(--dsp);
  font-size: 38px;
  color: var(--gold-2);
  line-height: 1.05;
  margin-top: 6px;
}
.vipshow__price small {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--body);
  letter-spacing: 0;
}
.vipshow__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 12, 24, 0.4);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 12.5px;
}
.vipshow__time i {
  color: var(--gold-2);
}
.vipshow__cta {
  width: 100%;
  margin-top: auto;
}
.vipshow__grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  padding: 22px;
  align-content: start;
}
.vipshow__empty {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 14px;
  align-self: center;
  text-align: center;
  padding: 20px;
}
@media (max-width: 720px) {
  .vipshow {
    flex-direction: column;
  }
  .vipshow__id {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .vipshow__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .vipshow__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- shop: item grid + cart + buy dialog ---- */
.shop {
  padding: 44px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}
.shop-main {
  min-height: 300px;
}
.shop-grid {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition:
    transform 0.14s,
    border 0.14s,
    box-shadow 0.14s;
}
.shop-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(246, 168, 33, 0.14);
}
.shop-card__thumb {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card__thumb img {
  max-height: 80px;
  max-width: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}
.shop-card__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 14px;
  color: var(--head);
  margin: 0;
  cursor: pointer;
}
.shop-card__price {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
.shop-card__price b {
  color: var(--gold-2);
  font-family: var(--dsp);
  font-size: 15px;
}
.shop-card__buy {
  margin-top: auto;
}
.cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.cart-foot > span {
  color: var(--muted);
  font-size: 14px;
}
.cart-foot b {
  font-family: var(--dsp);
  font-size: 20px;
  color: var(--gold-2);
}

/* buy-item modal (custom dream modal) */
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 40px;
  background: rgba(4, 10, 22, 0.78);
  overflow-y: auto;
}
.shop-modal.open {
  display: flex;
}
.shop-modal__box {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 22px 26px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: dr-modal-in 0.22s ease;
}
.shop-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(110, 150, 210, 0.12);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.shop-modal__close:hover {
  color: var(--red);
  border-color: var(--line-2);
}
.shop-modal__title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--head);
  font-size: 18px;
  margin: 0 34px 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
/* inline currency picker Ã¢â‚¬â€ hidden until Buy Now / Add To Cart is clicked */
#buy_windows,
#add_to_card_windows {
  display: none;
  margin: 18px auto 0;
  max-width: 420px;
  width: 100%;
  background: rgba(5, 12, 24, 0.55);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}
#buy_windows .modal-header,
#add_to_card_windows .modal-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
#buy_windows h2,
#add_to_card_windows h2 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 15px;
  color: var(--head);
  margin: 0;
}
#buy_windows .close,
#add_to_card_windows .close {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(110, 150, 210, 0.12);
  position: relative;
}
#buy_windows .close::before,
#add_to_card_windows .close::before {
  content: "\f00d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.payment-method-button {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 10px);
  margin: 5px 4px;
}
.payment-method-button label {
  display: block;
  cursor: pointer;
  margin: 0;
}
.payment-method-button span {
  display: block;
  width: 100%;
  padding: 13px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(5, 12, 24, 0.5);
  color: var(--text);
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 13px;
  text-align: center;
  transition:
    border 0.14s,
    background 0.14s,
    color 0.14s;
}
.payment-method-button span:hover {
  border-color: var(--gold);
  color: #fff;
}
.payment-method-button span.span_red {
  border-color: var(--gold-2);
  background: rgba(246, 168, 33, 0.14);
  color: var(--gold-2);
}
.btn-fld {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}
#item_buy {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
}
@media (max-width: 640px) {
  #item_buy {
    grid-template-columns: 1fr;
  }
}
#item_buy_left {
  text-align: center;
}
#item_image_bg {
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#item_image_bg img {
  max-width: 100%;
}
.item_info {
  margin: 6px 0;
  font-size: 13px;
  color: var(--muted);
}
.item_info .btimes {
  color: var(--gold-2);
  font-family: var(--dsp);
}
.normalcr,
.goldcr {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.goldcr {
  color: var(--gold-2);
}
.normalcr {
  color: var(--blue-2);
}
#item_buy_right {
  display: flex;
  flex-direction: column;
}
.opt_title {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 5px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text);
}
.opt select,
.opt input[type="text"] {
  background: rgba(5, 12, 24, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  font-size: 13px;
  min-width: 120px;
}
.opt select:focus,
.opt input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
}
.opt input[type="checkbox"],
.opt input[type="radio"] {
  accent-color: var(--gold-2);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex: none;
}
.opt label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.opt span[id^="credits_"] {
  color: var(--gold-2);
  font-family: var(--dsp);
  font-size: 13px;
  margin-left: auto;
}
/* checkbox option merged inline: "[x] Label" on one readable line */
.opt_title.opt-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  font-family: var(--body);
  cursor: pointer;
}
.opt_title.opt-check input[type="checkbox"] {
  accent-color: var(--gold-2);
  width: 17px;
  height: 17px;
  flex: none;
  margin: 0;
  cursor: pointer;
}
#buy_buttons,
#buy_windows,
#add_to_card_windows {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}
.buy_button,
.buttonn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241804;
}
.buy_button:hover,
.buttonn:hover {
  filter: brightness(1.08);
}
.span_red {
  color: var(--red) !important;
}
.e_note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
/* stat calculator (add stats) */
.statrow {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.statrow:last-of-type {
  border-bottom: 0;
}
.statrow__lbl {
  font-size: 14px;
  color: var(--text);
}
.statrow__lbl b {
  color: var(--head);
}
.statrow__now {
  display: inline-flex;
  min-width: 26px;
  justify-content: center;
  padding: 1px 8px;
  margin-left: 6px;
  border-radius: 6px;
  background: rgba(79, 151, 255, 0.12);
  color: var(--blue-2);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.statrow .inp {
  margin: 0;
  text-align: center;
}
.stat-avail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(79, 151, 255, 0.08);
  border: 1px solid var(--line-2);
}
.stat-avail span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-avail b {
  font-family: var(--dsp);
  font-size: 24px;
  color: var(--gold-2);
}
/* reset required-items sub-table */
/* referral system */
.reflink {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.reflink .inp {
  flex: 1;
  min-width: 220px;
  margin: 0;
}
.refcard {
  padding: 0;
  overflow: visible;
}
.refcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(79, 151, 255, 0.05);
}
.refcard__name {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--head);
  font-size: 15px;
}
.refcard__name i {
  color: var(--gold-2);
  margin-right: 6px;
}
.refcard__date {
  color: var(--muted);
  font-size: 12.5px;
}
.refcard .ac-hint {
  padding: 16px 20px;
}
.ref-reward-dropdown {
  position: relative;
  display: inline-block;
}
.ref-reward-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 170px;
  background: var(--panel-2, #0b1526);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.ref-reward-dropdown:hover .ref-reward-dropdown-content {
  display: block;
}
.ref-reward-dropdown-content a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
}
.ref-reward-dropdown-content a:hover {
  background: rgba(79, 151, 255, 0.12);
  color: #fff;
}
/* settings stack + 2fa */
.acard-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tfa-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tfa-steps h5 {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  color: var(--head);
  margin: 6px 0 0;
}
.tfa-steps p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.tfa-backup {
  text-align: center;
  font-family: var(--dsp);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--gold-2);
  background: rgba(246, 168, 33, 0.09);
  border: 1px dashed rgba(246, 168, 33, 0.4);
  border-radius: 12px;
  padding: 14px;
}
.tfa-qr {
  display: flex;
  justify-content: center;
  padding: 8px;
}
.tfa-qr img {
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
/* vote reward */
.vr-page{display:flex;flex-direction:column;gap:16px;padding-bottom:40px}.vr-hero{position:relative;display:flex;align-items:center;gap:20px;min-height:145px;padding:25px 27px;overflow:hidden;border:1px solid var(--line-2);border-radius:17px;background:radial-gradient(circle at 90% 10%,rgba(79,151,255,.2),transparent 35%),radial-gradient(circle at 10% 120%,rgba(246,168,33,.14),transparent 35%),linear-gradient(135deg,#192d4b,#0d1a30);box-shadow:0 16px 38px rgba(0,0,0,.2)}
.vr-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 48%,rgba(255,255,255,.035) 49%,transparent 61%)}.vr-hero__icon{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 68px;height:68px;border:1px solid rgba(246,168,33,.38);border-radius:17px;background:linear-gradient(145deg,rgba(246,168,33,.18),rgba(246,168,33,.04));color:var(--gold-2);font-size:27px;box-shadow:inset 0 0 24px rgba(246,168,33,.06),0 10px 25px rgba(0,0,0,.25)}
.vr-hero__copy{position:relative;z-index:1;flex:1;min-width:0}.vr-eyebrow{display:block;margin-bottom:6px;color:var(--gold-2);font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}.vr-hero h1,.vr-panel h2{margin:0;color:var(--head);font-family:var(--dsp);text-transform:uppercase}.vr-hero h1{font-size:29px;line-height:1.1}.vr-hero p{max-width:530px;margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.vr-hero__available{position:relative;z-index:1;min-width:110px;padding-left:22px;text-align:center;border-left:1px solid var(--line)}.vr-hero__available strong{display:block;color:var(--gold-2);font:700 35px/1 var(--dsp)}.vr-hero__available span{display:block;margin-top:6px;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.vr-panel{padding:21px;border:1px solid var(--line-2);border-radius:15px;background:var(--panel);box-shadow:0 14px 34px rgba(0,0,0,.18)}.vr-panel__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px;padding-bottom:15px;border-bottom:1px solid var(--line)}.vr-panel h2{font-size:18px}.vr-panel__head p{display:flex;align-items:center;gap:7px;max-width:280px;margin:0;color:var(--muted);font-size:10px;line-height:1.5}.vr-panel__head p i{color:var(--gold-2)}
.vote-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.votecard{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;min-height:177px;padding:17px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,rgba(22,40,68,.9),rgba(10,22,42,.94));transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.votecard:hover{transform:translateY(-2px);border-color:rgba(246,168,33,.42);box-shadow:0 13px 28px rgba(0,0,0,.24)}.votecard__shine{position:absolute;top:0;left:16px;right:16px;height:2px;background:linear-gradient(90deg,transparent,var(--gold-2),transparent);opacity:.8}.votecard--cooldown .votecard__shine{background:linear-gradient(90deg,transparent,#61728f,transparent)}
.votecard__logo{display:grid;place-items:center;width:58px;height:58px;padding:7px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(4,10,22,.55)}.votecard__logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}.votecard__meta{min-width:0}.votecard__state{display:flex;align-items:center;gap:6px;margin-bottom:5px;color:#62dca8;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}.votecard--cooldown .votecard__state{color:#7e8ba3}.votecard__state span{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.votecard__name{overflow:hidden;color:var(--head);font:15px var(--dsp);letter-spacing:.4px;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.votecard__reward{display:flex;align-items:center;gap:6px;margin-top:10px;color:var(--gold-2);font:14px var(--dsp);white-space:nowrap}.votecard__reward span{overflow:hidden;color:var(--muted);font:10px var(--body);letter-spacing:.5px;text-overflow:ellipsis;text-transform:uppercase}.votecard__sms{margin-top:7px;color:#9aabc8;font-size:10px}.votecard__sms i{margin-right:5px;color:var(--blue-2)}
.votecard__action{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:auto;padding-top:12px;border-top:1px solid rgba(113,144,198,.11)}.votecard__action .btn{flex:none;min-width:112px}.votecard__counter{min-width:38px;margin:0;padding:6px 9px;border:1px solid rgba(246,168,33,.3);border-radius:8px;background:rgba(246,168,33,.1);color:var(--gold-2);font:14px var(--dsp);text-align:center}.votecard__next{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;white-space:nowrap}
.votecard__reward--item{white-space:normal}.votecard__item{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:3px;border:1px solid rgba(246,168,33,.3);border-radius:9px;background:rgba(4,10,22,.7);cursor:help}.votecard__item img{display:block;max-width:100%;max-height:100%;object-fit:contain}.votecard__reward--item strong{overflow:hidden;color:var(--head);font-size:12px;text-overflow:ellipsis}.votecard__personal{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid rgba(255,93,107,.35);border-radius:99px;background:rgba(255,78,96,.08);color:#ff7885!important;font-size:8px!important;font-weight:800;letter-spacing:.4px!important}
@media(max-width:1100px){.vote-list{grid-template-columns:1fr}}@media(max-width:767px){.vr-hero{align-items:flex-start;padding:21px 18px}.vr-hero__available{display:none}.vr-panel{padding:16px}.vr-panel__head{align-items:flex-start;flex-direction:column}.votecard{grid-template-columns:52px minmax(0,1fr);padding:15px}.votecard__logo{width:52px;height:52px}.votecard__action .btn{flex:1}}

/* EleonNew2 full legacy-module bridge */
.dr-cms-main {
  position: relative;
  isolation: isolate;
}
.dr-cms-main * {
  box-sizing: border-box;
}
.dr-cms-main h1,
.dr-cms-main h2,
.dr-cms-main h3,
.dr-cms-main h4,
.dr-cms-main h5 {
  font-family: var(--dsp);
  color: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.dr-cms-main a {
  color: var(--gold-2);
}
.dr-cms-main a:hover {
  color: #fff;
}
.dr-cms-main .container,
.dr-cms-main .container-fluid {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
.dr-cms-main .card,
.dr-cms-main .panel,
.dr-cms-main .widget,
.dr-cms-main .well,
.dr-cms-main .box,
.dr-cms-main .content-box,
.dr-cms-main .vs-blog,
.dr-cms-main .vs-sidebox {
  background: linear-gradient(
    180deg,
    rgba(20, 38, 70, 0.82),
    rgba(11, 22, 44, 0.9)
  ) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.dr-cms-main .card-header,
.dr-cms-main .panel-heading,
.dr-cms-main .widget-title,
.dr-cms-main .blog-meta,
.dr-cms-main .sidebox-title {
  background: rgba(110, 150, 210, 0.07) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 15px 18px !important;
  color: var(--head) !important;
}
.dr-cms-main .card-body,
.dr-cms-main .panel-body,
.dr-cms-main .widget-content,
.dr-cms-main .blog-content {
  background: transparent !important;
  padding: 20px !important;
  color: var(--text) !important;
}
.dr-cms-main .table-responsive {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
}
.dr-cms-main table {
  background: transparent !important;
}
.dr-cms-main thead th {
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  background: rgba(110, 150, 210, 0.12) !important;
  color: var(--head) !important;
  border-color: var(--line) !important;
}
.dr-cms-main tbody td {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.dr-cms-main tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.018) !important;
}
.dr-cms-main tbody tr:hover {
  background: rgba(246, 168, 33, 0.05) !important;
}
.dr-cms-main label {
  display: block;
  color: #b9c8e2;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  margin: 0 0 6px;
}
.dr-cms-main .form-group {
  position: relative;
  margin-bottom: 15px;
}
.dr-cms-main .form-control,
.dr-cms-main input[type="text"],
.dr-cms-main input[type="password"],
.dr-cms-main input[type="email"],
.dr-cms-main input[type="number"],
.dr-cms-main select,
.dr-cms-main textarea {
  width: 100%;
  min-height: 43px;
  background: rgba(5, 12, 24, 0.72) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  padding: 10px 13px !important;
  box-shadow: none !important;
}
.dr-cms-main textarea {
  min-height: 120px;
}
.dr-cms-main input:focus,
.dr-cms-main select:focus,
.dr-cms-main textarea:focus {
  outline: 0;
  border-color: var(--gold) !important;
  background: #fbf6dd !important;
  color: #241d08 !important;
}
.dr-cms-main .btn,
.dr-cms-main .vs-btn,
.dr-cms-main .vs-btn2,
.dr-cms-main button[type="submit"],
.dr-cms-main input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)) !important;
  color: #2a1a04 !important;
  font-family: var(--dsp);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  box-shadow: 0 8px 22px rgba(246, 168, 33, 0.23);
}
.dr-cms-main .btn-secondary,
.dr-cms-main .btn-dark,
.dr-cms-main .outline3 {
  background: rgba(110, 150, 210, 0.12) !important;
  color: var(--text) !important;
  border: 1px solid var(--line-2) !important;
  box-shadow: none;
}
.dr-cms-main .alert,
.dr-cms-main .notice,
.dr-cms-main .error,
.dr-cms-main .success {
  border-radius: 11px !important;
  padding: 13px 15px !important;
  border: 1px solid var(--line-2) !important;
  background: rgba(110, 150, 210, 0.1) !important;
  color: var(--text) !important;
}
.dr-cms-main .alert-danger,
.dr-cms-main .error {
  border-color: rgba(232, 81, 70, 0.4) !important;
  background: rgba(232, 81, 70, 0.09) !important;
}
.dr-cms-main .alert-success,
.dr-cms-main .success {
  border-color: rgba(54, 201, 124, 0.4) !important;
  background: rgba(54, 201, 124, 0.09) !important;
}
.dr-cms-main .pagination,
.dr-cms-main #pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 22px 0;
}
.dr-cms-main .pagination a,
.dr-cms-main .pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(110, 150, 210, 0.08);
  color: var(--text);
}
.dr-cms-main .nav-tabs {
  display: flex;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 18px;
  padding: 0;
}
.dr-cms-main .nav-tabs li {
  list-style: none;
}
.dr-cms-main .nav-tabs a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px 9px 0 0;
  color: var(--muted);
}
.dr-cms-main .nav-tabs .active a {
  background: rgba(246, 168, 33, 0.12);
  color: var(--gold-2);
  border-bottom: 2px solid var(--gold);
}
.dr-cms-main .vs-cat-list1 li {
  list-style: none;
}
.dr-cms-main .vs-cat-list1 a {
  position: relative;
  padding: 11px 13px 11px 38px !important;
}
.dr-cms-main .vs-cat-list1 a:before {
  content: "\f105";
  position: absolute;
  left: 15px;
  top: 12px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold);
}
.page-rankings .dr-cms-main > .dr-wrap > .row,
.page-info .dr-cms-main > .dr-wrap > .row {
  align-items: flex-start;
}
.page-rankings #rankings_content,
.page-info #rankings_content {
  min-height: 360px;
}
.page-rankings #rankings_content table td:first-child {
  color: var(--gold-2);
  font-family: var(--dsp);
  font-weight: 600;
}
.page-rankings #rankings_content img {
  max-width: 52px;
}
.page-info .loading-name {
  font-family: var(--dsp) !important;
  font-size: 28px !important;
  color: var(--gold-2) !important;
  background: none !important;
}
.page-info #rankings_content .form-control {
  display: flex;
  align-items: center;
}
.page-info #inventoryc {
  max-width: 100%;
}
.page-account-panel .dr-cms-main .col-lg-3,
.page-shop .dr-cms-main .col-lg-3,
.page-market .dr-cms-main .col-lg-3 {
  position: sticky;
  top: 94px;
}
.page-donate .payment-method,
.page-shop .shop_item,
.page-market .market_item {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  border-radius: 13px !important;
  padding: 16px !important;
}
.page-downloads .dr-cms-main .vs-blog,
.page-registration .dr-cms-main .vs-blog,
.page-lost-password .dr-cms-main .vs-blog,
.page-auth .dr-cms-main .vs-blog {
  max-width: 900px;
  margin: 0 auto;
}
.page-support .dr-cms-main .vs-blog {
  max-width: 1050px;
  margin: 0 auto;
}
.dr-cms-main img {
  max-width: 100%;
  height: auto;
}
.dr-cms-main hr {
  border: 0;
  border-top: 1px solid var(--line);
}
.dr-cms-main .text-white {
  color: var(--head) !important;
}
.dr-cms-main .text-muted,
.dr-cms-main .text-white-50 {
  color: var(--muted) !important;
}
.dr-cms-main .bg-dark,
.dr-cms-main .bg-light-dark,
.dr-cms-main .bg-major-black {
  background: var(--panel) !important;
}
@media (max-width: 991px) {
  .page-account-panel .dr-cms-main .col-lg-3,
  .page-shop .dr-cms-main .col-lg-3,
  .page-market .dr-cms-main .col-lg-3 {
    position: static;
  }
  .dr-cms-main .table-responsive {
    width: 100%;
  }
}

/* Wide rankings and horizontal fallback navigation for legacy/plugin views. */
.page-rankings .dr-cms-main > .dr-wrap {
  max-width: 1840px;
  width: calc(100% - 48px);
}
.page-rankings .dr-cms-main > .dr-wrap > .row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px;
}
.page-rankings .dr-cms-main > .dr-wrap > .row > .col-lg-3,
.page-rankings .dr-cms-main > .dr-wrap > .row > .col-lg-9 {
  width: 100% !important;
}
.page-rankings .sidebar-area {
  position: static !important;
}
.page-rankings .vs-sidebox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px !important;
  overflow-x: auto !important;
}
.page-rankings .vs-sidebox .sidebox-title {
  flex: none;
  border: 0 !important;
  padding: 10px 16px !important;
}
.page-rankings .vs-sidebox > div {
  flex: 1;
}
.page-rankings .vs-cat-list1 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  white-space: nowrap;
}
.page-rankings .vs-cat-list1 li {
  flex: none;
}
.page-rankings .vs-cat-list1 a {
  padding: 10px 14px 10px 30px !important;
}
.page-rankings .rk {
  width: 100%;
  padding-top: 26px;
}
.page-rankings .rk-cats {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.wallet-card {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 190px;
  border: 1px solid var(--line-2);
  background: linear-gradient(
    135deg,
    rgba(47, 123, 246, 0.2),
    rgba(9, 20, 38, 0.6)
  );
}
.wallet-card--gold {
  background: linear-gradient(
    135deg,
    rgba(246, 168, 33, 0.2),
    rgba(9, 20, 38, 0.6)
  );
}
.wallet-card small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.wallet-card b {
  display: block;
  font-family: var(--dsp);
  font-size: 26px;
  color: var(--head);
}
.optgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-news-section {
  padding-top: 76px;
}
.home-section-title-left {
  margin: 2px 0 0;
  text-align: left;
}
.news-read-more {
  margin-top: 20px;
}
.home-features-section {
  padding-top: 38px;
}
.home-cta-actions {
  justify-content: center;
}
.optcard--partner {
  border-color: rgba(246, 168, 33, 0.32);
  background:
    radial-gradient(circle at 12% 20%, rgba(246, 168, 33, 0.12), transparent 38%),
    var(--panel);
}
.optcard--partner .optcard__ico {
  border-color: rgba(246, 168, 33, 0.3);
  background: rgba(246, 168, 33, 0.12);
  color: var(--gold-2);
}
.srow__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.srow__players {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 7px;
  color: #93a7c8;
}
.srow__players i {
  font-size: 13px;
}
.srow__players strong {
  color: #eef4ff;
  font-family: var(--dsp);
  font-size: 19px;
}
.srow__players small {
  grid-column: 1 / -1;
  color: #7184a3;
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 1px;
  text-align: right;
  text-transform: uppercase;
}
@media (max-width: 1180px) {
  .optgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .optgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .optgrid {
    grid-template-columns: 1fr;
  }
}
.page-donate .dr-cms-main > .dr-wrap,
.page-binance .dr-cms-main > .dr-wrap,
.page-coinbase .dr-cms-main > .dr-wrap {
  max-width: 1500px;
}
.page-donate .journey blockquote,
.page-donate [class*="package"],
.page-binance [class*="package"],
.page-coinbase [class*="package"] {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.page-donate select,
.page-binance select,
.page-coinbase select {
  width: 100%;
  background: rgba(5, 12, 24, 0.72);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 13px;
}
@media (max-width: 760px) {
  .page-rankings .dr-cms-main > .dr-wrap {
    width: calc(100% - 24px);
  }
  .page-rankings .vs-sidebox {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-rankings .vs-cat-list1 {
    width: 100%;
    overflow-x: auto;
  }
}
.crypto-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 0 60px;
}
.crypto-title {
  font-family: var(--dsp);
  text-transform: uppercase;
  color: var(--head);
  font-size: 24px;
  margin: 0 0 22px;
}
.crypto-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
}
.crypto-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 9px;
}
.crypto-packages {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
}
.crypto-package {
  position: relative;
  min-height: 82px;
  padding: 13px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
}
.crypto-package:hover,
.crypto-package.active {
  border-color: var(--gold);
  background: rgba(246, 168, 33, 0.08);
}
.crypto-package strong,
.crypto-package span,
.crypto-package small {
  display: block;
}
.crypto-package strong {
  font-size: 15px;
}
.crypto-package span {
  font-size: 17px;
  font-weight: 700;
  margin-top: 7px;
  color: #fff;
}
.crypto-package small {
  margin-top: 5px;
  color: var(--gold-2);
  font-size: 10px;
}
.crypto-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.crypto-select {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: #08152b;
  padding: 0 14px;
  margin-bottom: 16px;
}
.crypto-select .fa-chevron-down {
  margin-left: auto;
}
.crypto-orders-title {
  margin-top: 34px;
}
.crypto-orders {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 0.8fr 1fr;
  padding: 15px 14px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--dsp);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .crypto-packages {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .crypto-packages {
    grid-template-columns: repeat(2, 1fr);
  }
  .crypto-panel {
    padding: 16px;
  }
  .crypto-orders {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    overflow: auto;
  }
}
@media (min-width: 700px) {
  .currbox {
    width: 440px;
  }
}
/* Account character portraits and restored compact sidebar currency cards. */
.charcard__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
@media (min-width: 700px) {
  .currbox {
    width: 300px;
  }
}
.currbox .currbox__grid {
  grid-template-columns: 1fr 1fr;
}
.currbox .ccur {
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  background: rgba(90, 130, 190, 0.06);
  border-color: var(--line);
}
.currbox .ccur__tag {
  display: block;
  padding: 3px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  white-space: normal;
}
.currbox .ccur__tag--blue {
  background: linear-gradient(180deg, #4f97ff, #2f6bf6) !important;
}
.currbox .ccur__tag--pink {
  background: linear-gradient(180deg, #f472b6, #db2777) !important;
}
.currbox .ccur__val {
  display: block;
  margin-top: 0;
  font-size: 22px;
  line-height: normal;
  color: var(--head);
}
/* Keep the authenticated wallet below the hero countdown on the homepage. */
body:has(.dr-main > .hero) .currbox {
  top: 410px;
}
body:has(.dr-main > .hero) .currbox-show {
  top: 410px;
}
@media (max-width: 820px) {
  body:has(.dr-main > .hero) .currbox {
    top: calc(var(--topbar-h) + 12px);
  }
  body:has(.dr-main > .hero) .currbox-show {
    top: calc(var(--topbar-h) + 12px);
  }
}
/* Sliding wallet handle: panel exits right, compact coin tab remains available. */
@media (min-width: 992px) {
  .currwrap.hidden {
    display: block;
  }
  .currbox {
    transition:
      transform 0.28s ease,
      opacity 0.22s ease;
  }
  .currwrap.hidden .currbox {
    transform: translateX(calc(100% + 32px));
    opacity: 0;
    pointer-events: none;
  }
  .currbox__hide {
    top: -13px;
    right: 13px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: linear-gradient(180deg, #182e50, #0b1930);
    color: #b9c9e5;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition:
      color 0.15s,
      border-color 0.15s,
      transform 0.15s;
  }
  .currbox__hide:hover {
    color: var(--gold-2);
    border-color: rgba(246, 168, 33, 0.55);
    transform: translateX(2px);
  }
  .currbox-show {
    width: 48px;
    height: 54px;
    color: var(--gold-2);
    border-color: rgba(246, 168, 33, 0.48);
    background: linear-gradient(145deg, #152b4c, #071426);
    box-shadow:
      -8px 8px 24px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 17px;
  }
  .currbox-show:hover {
    color: #ffe18d;
    background: linear-gradient(145deg, #1b3963, #091a32);
  }
}
@media (min-width: 992px) {
  .currbox__hide {
    top: 9px;
    right: 6px;
  }
  .currbox__btns {
    margin-top: 34px;
  }
}
.monster-rk-class {
  display: inline-flex;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(90, 130, 190, 0.07);
  color: var(--muted);
  font-size: 12px;
}
.monster-rk-panel .rk-c-gold b {
  color: var(--gold-2);
  font-size: 17px;
}
.monster-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.monster-filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0a1830;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--dsp);
  font-size: 12px;
  text-transform: uppercase;
}
.monster-filter:hover,
.monster-filter.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #241804;
}
.monster-rank-page {
  width: 100%;
}
/* Rich "About Eleon" news article --------------------------------------- */
.news-article__body .eleon-news-about,
.eleon-news-about {
  --ena-gold: #f6a821;
  --ena-line: rgba(115, 157, 218, 0.24);
  color: #cbd7ea;
  font-size: 15px;
  line-height: 1.75;
}
.eleon-news-about > p:first-of-type {
  margin: 20px 0 8px;
  color: #9fb0ca;
  font-family: var(--dsp);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}
.eleon-news-about > h2 {
  margin: 0 0 22px;
  font-family: var(--dsp);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.3px;
}
.eleon-news-about > h2 em {
  color: var(--ena-gold);
  font-style: normal;
  text-shadow: 0 0 28px rgba(246, 168, 33, 0.18);
}
.eleon-news-about > h2 + p {
  max-width: 820px;
  margin: 0 0 28px;
  color: #aebed7;
  font-size: 16px;
}
.ena-badges {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(89, 232, 138, 0.24);
  border-radius: 999px;
  background: rgba(42, 190, 105, 0.09);
  color: #59e88a;
  font-family: var(--dsp);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ena-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 50px;
}
.ena-stats > div {
  position: relative;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--ena-line);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(25, 49, 84, 0.8),
    rgba(9, 21, 41, 0.88)
  );
  color: #8295b4;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  overflow: hidden;
}
.ena-stats > div:after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ena-gold), transparent);
  opacity: 0.5;
}
.ena-stats strong {
  display: block;
  margin-top: 9px;
  font-family: var(--dsp);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.ena-section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 48px 0 20px;
  color: rgba(246, 168, 33, 0.32);
  font-family: var(--dsp);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.ena-section-title:after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--ena-line), transparent);
}
.ena-section-title > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: max-content;
}
.ena-section-title small {
  color: var(--ena-gold);
  font-size: 10px;
  letter-spacing: 2px;
}
.ena-section-title h3 {
  margin: 0;
  color: #fff;
  font-size: 23px;
  text-transform: uppercase;
}
.ena-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--ena-line);
  border-radius: 15px;
  background: rgba(17, 36, 67, 0.62);
}
.ena-grid > p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(5, 14, 28, 0.35);
  color: #fff;
  font-family: var(--dsp);
  font-size: 17px;
}
.ena-grid > ul {
  grid-row: span 3;
  margin: 0;
  padding: 2px 0;
  list-style: none;
}
.ena-grid li,
.ena-party-grid li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(115, 157, 218, 0.12);
  color: #9fb0ca;
}
.ena-grid li:last-child,
.ena-party-grid li:last-child {
  border-bottom: 0;
}
.ena-grid li strong,
.ena-party-grid li strong {
  color: var(--ena-gold);
  font-family: var(--dsp);
}
.ena-tags {
  grid-column: 1;
  padding: 9px 13px;
  border-radius: 9px;
  background: rgba(246, 168, 33, 0.09);
  color: #ffd36d;
  font-family: var(--dsp);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-align: center;
}
.ena-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--ena-line);
  border-radius: 15px;
  background: rgba(17, 36, 67, 0.58);
  font-size: 0;
}
.ena-features {
  word-spacing: 0;
}
.ena-features::first-line {
  font-size: 0;
}
.ena-quest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ena-quest-grid p {
  margin: 0;
  padding: 20px 15px;
  border: 1px solid var(--ena-line);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(25, 49, 84, 0.76),
    rgba(9, 21, 41, 0.82)
  );
  color: #91a4c2;
  text-align: center;
}
.ena-quest-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ena-gold);
  font-family: var(--dsp);
  font-size: 22px;
}
.ena-party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  padding: 22px;
  border: 1px solid var(--ena-line);
  border-radius: 15px;
  background: rgba(17, 36, 67, 0.6);
}
.ena-party-grid > small {
  color: var(--ena-gold);
  font-family: var(--dsp);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.ena-party-grid > p {
  margin: 5px 0 8px;
  color: #fff;
  font-family: var(--dsp);
  font-size: 19px;
}
.ena-party-grid > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.eleon-news-about > .ena-party-grid ~ small {
  display: block;
  margin-top: 48px;
  color: var(--ena-gold);
  font-family: var(--dsp);
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
}
.eleon-news-about > .ena-party-grid ~ h3 {
  margin: 8px 0 10px;
  color: #fff;
  font-family: var(--dsp);
  font-size: clamp(26px, 4vw, 40px);
  text-transform: uppercase;
  text-align: center;
}
.eleon-news-about > .ena-party-grid ~ p {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #9fb0ca;
  text-align: center;
}
.eleon-news-about > strong:last-child {
  display: block;
  padding: 18px;
  border: 1px solid rgba(246, 168, 33, 0.35);
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(246, 168, 33, 0.04),
    rgba(246, 168, 33, 0.14),
    rgba(246, 168, 33, 0.04)
  );
  color: #ffd36d;
  font-family: var(--dsp);
  font-size: 16px;
  letter-spacing: 0.7px;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .ena-stats {
    grid-template-columns: 1fr 1fr;
  }
  .ena-grid {
    grid-template-columns: 1fr;
  }
  .ena-grid > ul {
    grid-row: auto;
  }
  .ena-tags {
    grid-column: auto;
  }
  .ena-quest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ena-party-grid {
    grid-template-columns: 1fr;
  }
  .ena-party-grid > small:nth-of-type(2) {
    margin-top: 24px;
  }
  .ena-section-title {
    font-size: 32px;
    gap: 12px;
  }
  .ena-section-title h3 {
    font-size: 19px;
  }
}
@media (max-width: 430px) {
  .ena-stats,
  .ena-quest-grid {
    grid-template-columns: 1fr;
  }
  .ena-section-title {
    align-items: flex-start;
  }
  .ena-section-title:after {
    display: none;
  }
  .ena-grid,
  .ena-party-grid {
    padding: 15px;
  }
}
.ena-features {
  display: block;
  font-size: 14px !important;
  line-height: 2.5;
  word-spacing: 12px;
  color: #d7e2f4;
  font-family: var(--dsp);
  text-transform: uppercase;
}
.ena-features::first-line {
  font-size: 14px;
}
.news-article:has(.eleon-news-about) {
  padding: 0;
  overflow: hidden;
  border-color: rgba(246, 168, 33, 0.22);
  background:
    radial-gradient(circle at 80% 0, rgba(77, 113, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #101f3a, #09162b);
}
.news-article:has(.eleon-news-about) > .news-article__type,
.news-article:has(.eleon-news-about) > .news-article__title,
.news-article:has(.eleon-news-about) > .news-article__date {
  margin-left: 42px;
  margin-right: 42px;
}
.news-article:has(.eleon-news-about) > .news-article__type {
  margin-top: 36px;
}
.news-article:has(.eleon-news-about) > .news-article__body {
  max-width: none;
}
.eleon-news-about {
  position: relative;
  padding: 44px 42px 50px;
  background-image:
    linear-gradient(180deg, rgba(7, 16, 32, 0.05), rgba(7, 16, 32, 0.35)),
    radial-gradient(
      circle at 85px 90px,
      rgba(246, 168, 33, 0.12),
      transparent 230px
    );
}
.eleon-news-about:before {
  content: "MU";
  position: absolute;
  right: 28px;
  top: -35px;
  font-family: var(--dsp);
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
}
.eleon-news-about > .ena-badges {
  border: 0;
  background: rgba(64, 218, 130, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(64, 218, 130, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.18);
}
.eleon-news-about > h2 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 70px);
  margin-top: 18px;
}
.eleon-news-about > h2 + p {
  font-size: 17px;
  line-height: 1.85;
}
.eleon-news-about .ena-stats {
  gap: 1px;
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(79, 151, 255, 0.38),
    rgba(246, 168, 33, 0.38)
  );
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}
.eleon-news-about .ena-stats > div {
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #142746, #0d1d36);
  min-height: 112px;
  padding: 22px;
}
.eleon-news-about .ena-stats > div:after {
  left: 22px;
  right: auto;
  width: 34px;
  background: var(--ena-gold);
}
.eleon-news-about .ena-stats strong {
  font-size: 29px;
}
.eleon-news-about .ena-section-title {
  position: relative;
  margin-top: 62px;
  gap: 15px;
  font-size: 0;
  color: transparent;
}
.eleon-news-about .ena-section-title:before {
  content: attr(data-section);
  display: none;
}
.eleon-news-about .ena-section-title > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "small small" "title line";
  align-items: center;
  column-gap: 18px;
  width: 100%;
}
.eleon-news-about .ena-section-title small {
  grid-area: small;
}
.eleon-news-about .ena-section-title h3 {
  grid-area: title;
  font-size: 27px;
}
.eleon-news-about .ena-section-title > div:after {
  content: "";
  grid-area: line;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 168, 33, 0.42), transparent);
}
.eleon-news-about .ena-section-title::first-letter {
  font-size: 0;
}
.eleon-news-about .ena-section-title {
  counter-increment: ena;
}
.eleon-news-about {
  counter-reset: ena;
}
.eleon-news-about .ena-section-title:after {
  content: "0" counter(ena);
  order: -1;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 168, 33, 0.36);
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(246, 168, 33, 0.18),
    rgba(246, 168, 33, 0.03)
  );
  color: var(--ena-gold);
  font-size: 21px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.eleon-news-about .ena-grid {
  grid-template-columns: 1.05fr 1.25fr;
  padding: 0;
  gap: 14px;
  border: 0;
  background: none;
}
.eleon-news-about .ena-grid > p,
.eleon-news-about .ena-grid > ul,
.eleon-news-about .ena-tags {
  border: 1px solid var(--ena-line);
  background: linear-gradient(
    145deg,
    rgba(22, 43, 76, 0.9),
    rgba(10, 23, 44, 0.9)
  );
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}
.eleon-news-about .ena-grid > p {
  padding: 18px;
}
.eleon-news-about .ena-grid > ul {
  padding: 14px 20px;
  border-radius: 14px;
}
.eleon-news-about .ena-tags {
  padding: 12px;
  border-radius: 10px;
}
.eleon-news-about .ena-features {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px !important;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px !important;
  line-height: normal;
  word-spacing: normal;
  text-transform: none;
}
.ena-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--ena-line);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(22, 43, 76, 0.86),
    rgba(10, 23, 44, 0.9)
  );
  color: #c9d6e9;
  font-size: 13px;
}
.ena-feature i {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(246, 168, 33, 0.1);
  color: var(--ena-gold);
}
.eleon-news-about .ena-quest-grid {
  gap: 10px;
}
.eleon-news-about .ena-quest-grid p {
  position: relative;
  overflow: hidden;
  padding: 24px 15px;
  background: linear-gradient(160deg, #182d50, #0b1b34);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.15);
}
.eleon-news-about .ena-quest-grid p:after {
  content: "";
  position: absolute;
  inset: auto 20% 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ena-gold), transparent);
}
.eleon-news-about .ena-quest-grid strong {
  font-size: 27px;
}
.eleon-news-about .ena-party-grid {
  position: relative;
  gap: 0 12px;
  padding: 12px;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(79, 151, 255, 0.26),
    rgba(246, 168, 33, 0.26)
  );
  border-radius: 17px;
  overflow: hidden;
}
.eleon-news-about .ena-party-grid > * {
  padding-left: 14px;
  padding-right: 14px;
}
.eleon-news-about .ena-party-grid > small {
  padding-top: 15px;
}
.eleon-news-about .ena-party-grid > ul {
  padding-bottom: 15px;
}
.eleon-news-about > .ena-party-grid ~ h3 {
  font-size: clamp(34px, 5vw, 54px);
  margin-top: 12px;
}
.eleon-news-about > strong:last-child {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 21px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(246, 168, 33, 0.1);
}
@media (max-width: 860px) {
  .eleon-news-about .ena-features {
    grid-template-columns: 1fr 1fr;
  }
  .news-article:has(.eleon-news-about) > .news-article__type,
  .news-article:has(.eleon-news-about) > .news-article__title,
  .news-article:has(.eleon-news-about) > .news-article__date {
    margin-left: 24px;
    margin-right: 24px;
  }
  .eleon-news-about {
    padding: 32px 24px 40px;
  }
}
@media (max-width: 560px) {
  .eleon-news-about .ena-features {
    grid-template-columns: 1fr;
  }
  .eleon-news-about .ena-section-title:after {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
  .eleon-news-about .ena-section-title h3 {
    font-size: 21px;
  }
  .eleon-news-about .ena-party-grid {
    grid-template-columns: 1fr;
  }
  .eleon-news-about .ena-stats {
    grid-template-columns: 1fr 1fr;
  }
}
.lang__menu a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.lang__menu a small {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 1px;
}
.lang__menu .flag {
  flex: 0 0 auto;
}
.ena-enhanced {
  padding: 0 !important;
  background: none !important;
}
.ena-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  min-height: 390px;
  padding: 50px 54px 92px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 40%,
      rgba(75, 116, 255, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 10%,
      rgba(246, 168, 33, 0.14),
      transparent 32%
    ),
    linear-gradient(135deg, #101f3a, #071326);
}
.ena-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(119, 154, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 154, 210, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent);
}
.ena-hero__copy {
  position: relative;
  z-index: 1;
}
.ena-hero__copy > p:first-of-type {
  margin: 22px 0 5px;
  color: #8297b8;
  font-family: var(--dsp);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ena-hero__copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--dsp);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  text-transform: uppercase;
}
.ena-hero__copy h2 em {
  color: var(--ena-gold);
  font-style: normal;
}
.ena-hero__copy h2 + p {
  max-width: 670px;
  margin: 22px 0 0;
  color: #aebed7;
  font-size: 16px;
  line-height: 1.8;
}
.ena-hero__sigil {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 168px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 168, 33, 0.45);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(246, 168, 33, 0.18),
    rgba(8, 20, 39, 0.78) 68%
  );
  box-shadow:
    0 0 0 12px rgba(246, 168, 33, 0.025),
    0 0 70px rgba(246, 168, 33, 0.12);
}
.ena-hero__sigil:before,
.ena-hero__sigil:after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(246, 168, 33, 0.18);
  transform: rotate(45deg);
}
.ena-hero__sigil span {
  font-family: var(--dsp);
  font-size: 72px;
  font-weight: 700;
  color: var(--ena-gold);
  line-height: 1;
}
.ena-hero__sigil small {
  position: absolute;
  bottom: 34px;
  color: #899bb7;
  font-family: var(--dsp);
  font-size: 8px;
  letter-spacing: 3px;
}
.ena-enhanced > .ena-stats {
  position: relative;
  z-index: 3;
  margin: -54px 0px 54px !important;
  padding: 7px !important;
  gap: 7px !important;
  border: 1px solid rgba(115, 157, 218, 0.26);
  border-radius: 18px !important;
  background: rgba(7, 17, 34, 0.88) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34) !important;
}
.ena-enhanced > .ena-stats > div {
  border-radius: 12px !important;
  background: linear-gradient(
    145deg,
    rgba(27, 50, 85, 0.95),
    rgba(12, 27, 51, 0.95)
  ) !important;
}
.ena-chapter {
  width: 100%;
  margin: 0 0 22px;
  border: 1px solid rgba(115, 157, 218, 0.2);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(18, 37, 68, 0.78),
    rgba(8, 20, 39, 0.72)
  );
  overflow: hidden;
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.13);
}
.ena-chapter > .ena-section-title {
  margin: 0 !important;
  padding: 22px 25px;
  border-bottom: 1px solid rgba(115, 157, 218, 0.16);
  background: linear-gradient(90deg, rgba(246, 168, 33, 0.08), transparent 40%);
}
.ena-chapter > .ena-section-title:after {
  width: 48px !important;
  height: 48px !important;
  flex-basis: 48px !important;
  border-radius: 12px !important;
}
.ena-chapter > .ena-section-title h3 {
  font-size: 23px !important;
}
.ena-chapter__body {
  padding: 24px;
}
.ena-chapter__body > .ena-grid,
.ena-chapter__body > .ena-features,
.ena-chapter__body > .ena-quest-grid,
.ena-chapter__body > .ena-party-grid {
  margin: 0;
}
.ena-chapter__body > .ena-grid {
  grid-template-columns: 1fr 1.1fr;
}
.ena-chapter__body > .ena-grid > p,
.ena-chapter__body > .ena-grid > ul,
.ena-chapter__body > .ena-tags {
  box-shadow: none;
}
.ena-chapter__body > .ena-features {
  grid-template-columns: repeat(3, 1fr) !important;
}
.ena-chapter__body .ena-feature {
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.ena-final {
  position: relative;
  width: 100%;
  margin: 50px 0 40px;
  padding: 58px 30px 38px;
  border: 1px solid rgba(246, 168, 33, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(246, 168, 33, 0.16), transparent 42%),
    linear-gradient(145deg, #142744, #09182e);
  text-align: center;
  overflow: hidden;
}
.ena-final__icon {
  position: absolute;
  top: -29px;
  left: calc(50% - 29px);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 168, 33, 0.5);
  border-radius: 50%;
  background: #132642;
  color: var(--ena-gold);
  font-size: 21px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.ena-final small {
  color: var(--ena-gold);
  font-family: var(--dsp);
  font-size: 10px;
  letter-spacing: 2px;
}
.ena-final h3 {
  margin: 9px 0;
  color: #fff;
  font-family: var(--dsp);
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
}
.ena-final p {
  max-width: 650px;
  margin: 0 auto 20px;
  color: #9fb0ca;
}
.ena-final > strong {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 13px 24px !important;
  border: 1px solid rgba(246, 168, 33, 0.3) !important;
  border-radius: 999px !important;
  background: rgba(246, 168, 33, 0.08) !important;
  color: #ffd36d !important;
  font-size: 13px !important;
}
.ena-system-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(246, 168, 33, 0.24);
  border-radius: 15px;
  background:
    radial-gradient(circle at 0 50%, rgba(246, 168, 33, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(24, 47, 82, 0.86), rgba(10, 23, 44, 0.92));
}
.ena-system-card--account {
  border-color: rgba(79, 151, 255, 0.3);
  background:
    radial-gradient(circle at 0 50%, rgba(79, 151, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(24, 47, 82, 0.86), rgba(10, 23, 44, 0.92));
}
.ena-system-card__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 168, 33, 0.34);
  border-radius: 20px;
  background: rgba(246, 168, 33, 0.1);
  color: var(--ena-gold);
  font-size: 30px;
}
.ena-system-card--account .ena-system-card__icon {
  border-color: rgba(79, 151, 255, 0.4);
  background: rgba(79, 151, 255, 0.12);
  color: var(--blue-2);
}
.ena-system-card__copy h4 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--dsp);
  font-size: 22px;
  text-transform: uppercase;
}
.ena-system-card__copy > p {
  max-width: 820px;
  margin: 0;
  color: #9fb0ca;
}
.ena-system-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.ena-system-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(115, 157, 218, 0.2);
  border-radius: 999px;
  background: rgba(5, 14, 28, 0.3);
  color: #c5d2e6;
  font-size: 12px;
}
.ena-system-points i {
  color: var(--ena-gold);
}
@media (max-width: 800px) {
  .ena-hero {
    grid-template-columns: 1fr;
    padding: 40px 25px 90px;
  }
  .ena-hero__sigil {
    display: none;
  }
  .ena-enhanced > .ena-stats,
  .ena-chapter,
  .ena-final {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .ena-chapter__body > .ena-features {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 520px) {
  .ena-enhanced > .ena-stats {
    grid-template-columns: 1fr 1fr !important;
  }
  .ena-chapter__body {
    padding: 15px;
  }
  .ena-chapter__body > .ena-grid {
    grid-template-columns: 1fr;
  }
  .ena-chapter__body > .ena-features {
    grid-template-columns: 1fr !important;
  }
  .ena-hero__copy h2 {
    font-size: 39px;
  }
  .ena-final {
    padding-left: 18px;
    padding-right: 18px;
  }
  .ena-system-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .ena-system-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    font-size: 23px;
  }
  .ena-system-points {
    align-items: stretch;
    flex-direction: column;
  }
}
/* Premium character roster cards. */
.chars {
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 16px;
}
.charcard {
  position: relative;
  min-height: 235px;
  padding: 20px;
  border-color: rgba(91, 137, 205, 0.32);
  background:
    radial-gradient(
      circle at 18% 5%,
      rgba(79, 151, 255, 0.15),
      transparent 34%
    ),
    linear-gradient(145deg, #142744, #0c1c35);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.charcard:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 55%,
    rgba(255, 255, 255, 0.035)
  );
  pointer-events: none;
}
.charcard:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.charcard:hover {
  transform: translateY(-5px);
  border-color: rgba(246, 168, 33, 0.48);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 25px rgba(246, 168, 33, 0.06);
}
.charcard:hover:after {
  opacity: 1;
}
.charcard__top {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(115, 157, 218, 0.14);
}
.charcard__thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 16px;
  border: 1px solid rgba(246, 168, 33, 0.35);
  background: #0a1830;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(79, 151, 255, 0.1);
  overflow: hidden;
}
.charcard__thumb img {
  object-fit: cover;
  transform: scale(1.08);
}
.charcard__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}
.charcard__name {
  font-size: 20px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.charcard__class {
  color: var(--gold-2);
  font-family: var(--dsp);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.charcard__details {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.charcard__details > span {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(115, 157, 218, 0.15);
  border-radius: 10px;
  background: rgba(5, 14, 28, 0.26);
}
.charcard__details small {
  display: block;
  margin-bottom: 3px;
  color: #7489aa;
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.charcard__details b {
  display: block;
  color: #eaf1ff;
  font-family: var(--dsp);
  font-size: 16px;
}
.charcard__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.charcard__stats > span {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(5, 14, 28, 0.2);
  color: #8295b4 !important;
  font-family: var(--dsp);
  font-size: 10px !important;
  text-transform: uppercase;
}
.charcard__stats b {
  color: var(--gold-2) !important;
  font-size: 15px !important;
}
.charcard__go {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(115, 157, 218, 0.2);
  border-radius: 50%;
  background: rgba(7, 18, 35, 0.45);
  color: #7288aa;
  font-size: 11px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    color 0.2s;
}
.charcard:hover .charcard__go {
  opacity: 1;
  transform: none;
  color: var(--gold-2);
}
@media (max-width: 600px) {
  .chars {
    grid-template-columns: 1fr;
  }
  .charcard {
    min-height: 220px;
  }
}
.ena-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e88a;
  box-shadow: 0 0 12px #59e88a;
  margin-right: 10px;
}
.ena-stats > div > i {
  float: left;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(246, 168, 33, 0.1);
  color: var(--ena-gold);
  font-size: 14px;
}
.ena-stats > div > span {
  display: block;
}
.ena-overview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
.ena-panel {
  padding: 22px;
  border: 1px solid var(--ena-line);
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(24, 47, 82, 0.86),
    rgba(10, 23, 44, 0.9)
  );
}
.ena-panel--gold {
  border-color: rgba(246, 168, 33, 0.32);
  background: linear-gradient(
    145deg,
    rgba(59, 48, 31, 0.62),
    rgba(14, 25, 43, 0.92)
  );
}
.ena-panel--blue {
  border-color: rgba(79, 151, 255, 0.34);
  background: linear-gradient(
    145deg,
    rgba(25, 55, 100, 0.78),
    rgba(10, 23, 44, 0.92)
  );
}
.ena-panel__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.ena-panel__head i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(246, 168, 33, 0.1);
  color: var(--ena-gold);
}
.ena-panel__head h4 {
  margin: 0;
  color: #fff;
  font-family: var(--dsp);
  font-size: 18px;
  text-transform: uppercase;
}
.ena-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ena-value-list li,
.ena-party-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(115, 157, 218, 0.13);
}
.ena-value-list li:last-child,
.ena-party-card li:last-child {
  border: 0;
}
.ena-value-list span,
.ena-party-card li span {
  color: #94a7c5;
}
.ena-value-list strong,
.ena-party-card strong {
  color: var(--ena-gold);
  font-family: var(--dsp);
}
.ena-panel--characters > p {
  color: #aebed7;
  line-height: 1.8;
}
.ena-class-unlocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 21px;
}
.ena-class-unlocks > span {
  padding: 13px 8px;
  border: 1px solid rgba(246, 168, 33, 0.2);
  border-radius: 11px;
  background: rgba(246, 168, 33, 0.06);
  text-align: center;
}
.ena-class-unlocks b,
.ena-class-unlocks small {
  display: block;
}
.ena-class-unlocks b {
  color: #fff;
  font-family: var(--dsp);
  font-size: 18px;
}
.ena-class-unlocks small {
  color: #8fa2c0;
  font-size: 10px;
}
.ena-quest-grid p > i {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 12px;
  background: rgba(246, 168, 33, 0.1);
  color: var(--ena-gold);
}
.ena-quest-grid p > span {
  display: block;
  color: #91a4c2;
}
.ena-party-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ena-party-card {
  padding: 22px;
  border: 1px solid var(--ena-line);
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(24, 47, 82, 0.86),
    rgba(10, 23, 44, 0.9)
  );
}
.ena-party-card--bonus {
  border-color: rgba(246, 168, 33, 0.32);
  background: linear-gradient(
    145deg,
    rgba(59, 48, 31, 0.62),
    rgba(14, 25, 43, 0.92)
  );
}
.ena-party-card > small {
  color: #8296b6;
  font-family: var(--dsp);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.ena-party-card > h4 {
  margin: 5px 0 13px;
  color: #fff;
  font-family: var(--dsp);
  font-size: 22px;
}
.ena-party-card > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 700px) {
  .ena-overview,
  .ena-party-cards {
    grid-template-columns: 1fr;
  }
}
/* Top Monster Killers filters Ã¢â‚¬â€ same visual system as Top Players. */
.mk-filter-panel {
  margin-bottom: 20px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.mk-filter-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-filter,
.mk-sub {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  outline: 0;
  font-family: var(--dsp);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.16s,
    border-color 0.16s,
    background 0.16s,
    transform 0.16s;
}

.mk-filter {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 10px;
  background: #09172d;
  color: #9fb0cc;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.mk-filter i {
  margin-left: 9px;
  color: #7287a8;
  font-size: 9px;
  transition: transform 0.16s;
}

.mk-filter:hover {
  border-color: rgba(246, 168, 33, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.mk-filter.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #251704;
  box-shadow: 0 7px 20px rgba(246, 168, 33, 0.2);
}

.mk-filter.active i {
  color: #251704;
  transform: rotate(180deg);
}

.mk-filter-sub {
  display: none !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(120, 160, 220, 0.12);
}

.mk-filter-sub.show {
  display: flex !important;
  animation: mkFilterReveal 0.18s ease both;
}

.mk-sub {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  background: rgba(7, 18, 35, 0.56);
  color: #a8b9d3;
}

.mk-sub i {
  margin-right: 7px;
  color: var(--gold-2);
  font-size: 10px;
}

.mk-sub:hover,
.mk-sub.active {
  border-color: rgba(246, 168, 33, 0.55);
  background: rgba(246, 168, 33, 0.1);
  color: #fff;
}

.mk-ranking-render.loading .mk-filter-panel {
  pointer-events: none;
  opacity: 0.65;
}

@keyframes mkFilterReveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .mk-filter-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mk-filter {
    width: 100%;
  }
}

/* Warehouse */
#sell_item {
    display: none;
}

.dmn-vault-grid-modern {
    position: relative;
    flex: 0 0 auto;
    width: 322px;
    height: 602px;
    min-height: 602px;
    overflow: hidden;
    border: 1px solid rgba(255, 186, 24, 0.38);
    border-radius: 12px;
    background-color: #080e19;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 50% 0, rgba(39, 70, 123, 0.3), transparent 68%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.5), 0 16px 35px rgba(0, 0, 0, 0.22);
}

.dmn-grid-item-modern {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 186, 24, 0.3);
    border-radius: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dmn-grid-item-modern:hover,
.dmn-grid-item-modern.selected {
    z-index: 2;
    border-color: #ffb814;
    box-shadow: inset 0 0 14px rgba(255, 184, 20, 0.18), 0 0 14px rgba(255, 184, 20, 0.28);
}

.wh_items {
    margin: 14px auto 24px;
}

#option_buttons {
    justify-content: center;
}

#sell_item {
    max-width: 760px;
    margin: 18px auto !important;
    padding: 22px;
    border: 1px solid rgba(98, 137, 196, 0.28);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(28, 48, 82, 0.96), rgba(15, 29, 52, 0.96));
}

@media (max-width: 480px) {
    .dmn-vault-grid-modern {
        transform-origin: top center;
        transform: scale(0.88);
        margin-bottom: -60px;
    }
}

/* Strict mobile viewport containment */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y pinch-zoom;
  }

  .topbar,
  .topbar__in,
  .dr-main,
  .dr-cms-main,
  .dr-wrap,
  .news-sec,
  .news-layout,
  .news-side,
  .news-list,
  .news-detail,
  .discord-widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .topbar__in {
    padding-right: 14px;
    padding-left: 14px;
  }

  .dr-wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: none;
    padding: 0;
    overflow: hidden;
  }

  .news-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
  }

  .news-item__thumb {
    width: 72px;
    height: 54px;
  }

  .news-detail {
    padding: 20px 16px;
    overflow: hidden;
  }

  .news-pane,
  .news-pane__body,
  .news-pane__body * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .discord-widget {
    margin-right: 0;
    margin-left: 0;
    padding: 16px;
  }

  .discord-widget__header,
  .discord-widget__members {
    min-width: 0;
  }

  .discord-widget__join {
    width: 100%;
    max-width: 100%;
  }
}

.downloads-faq {
  width: 100%;
  max-width: none;
  margin-bottom: 14px;
}

/* Character rankings: aligned VIP column and visible connection status. */
.rk-table .rk-c-vip {
  width: 64px;
  min-width: 64px;
  text-align: center;
  vertical-align: middle;
}
.rk-vip-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}
.rk-table .rk-name { color: #fff; }
.rk-table a.rk-name:hover,
.rk-table a.rk-name:focus-visible { color: var(--gold-2); }
.rk-pos--online {
  color: #62e69b;
}
.rk-pos--offline {
  color: #ff8d8d;
}
/* Keep VIP beside the character; share remaining width across ranking stats. */
.rk-table--players {
  table-layout: fixed;
  min-width: 860px;
}
.rk-table--players .rk-col-position { width: 64px; }
.rk-table--players .rk-col-character { width: 244px; }
.rk-table--players .rk-vip-icon { margin-left: 8px; }
.rk-table--players .rk-c-name {
  min-width: 0;
  white-space: nowrap;
}
.rk-table--players .rk-c-guild,
.rk-table--players .rk-c-loc { overflow-wrap: anywhere; }
/* Dark status digits stay readable on the three bright medal backgrounds. */
.rk-table--players .rk-pos--1.rk-pos--online,
.rk-table--players .rk-pos--2.rk-pos--online,
.rk-table--players .rk-pos--3.rk-pos--online { color: #006b24; text-shadow: 0 0 1px #fff, 0 1px 1px rgba(255,255,255,.65); }
.rk-table--players .rk-pos--1.rk-pos--offline,
.rk-table--players .rk-pos--2.rk-pos--offline,
.rk-table--players .rk-pos--3.rk-pos--offline { color: #b00020; text-shadow: 0 0 1px #fff, 0 1px 1px rgba(255,255,255,.65); }
/* VIP membership guide beneath the character filters. */
.rk-vip-guide {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(246,168,33,.24);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: radial-gradient(ellipse at top left,rgba(246,168,33,.1),transparent 65%),#0b1629;
}
.rk-vip-guide__icon,
.rk-vip-guide__iconset {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 64px;
  border: 1px solid rgba(246,168,33,.35);
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(246,168,33,.16),rgba(246,168,33,.03));
  box-shadow: inset 0 1px 0 rgba(255,224,138,.12);
}
.rk-vip-guide__icon img { width: 44px; height: 44px; object-fit: contain; }
.rk-vip-guide__iconset img { width: 44px; height: 44px; object-fit: contain; }
.rk-vip-guide__body { flex: 1; min-width: 0; }
.rk-vip-guide__eyebrow { color: var(--gold-2); font-size: 10px; letter-spacing: 1.5px; }
.rk-vip-guide__body h3 { margin: 5px 0 6px; color: #fff; font-family: var(--dsp); font-size: 20px; line-height: 1.3; }
.rk-vip-guide__body p { margin: 0; color: #b8c4d8; font-size: 13px; line-height: 1.6; }
.rk-vip-guide__badge { flex-shrink: 0; padding: 7px 11px; border: 1px solid rgba(246,168,33,.25); border-radius: 6px; color: var(--gold-2); background: rgba(246,168,33,.06); font-size: 10px; letter-spacing: 1px; }
@media(max-width:600px) {
  .rk-vip-guide { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .rk-vip-guide__icon,
  .rk-vip-guide__iconset { flex-basis: 52px; height: 52px; }
  .rk-vip-guide__body { flex-basis: calc(100% - 66px); }
  .rk-vip-guide__badge { margin-left: 64px; }
}
/* Ornamental VIP banner with the theme's fortress backdrop. */
.rk-vip-guide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 116px;
  padding: 18px 22px;
  gap: 18px;
  border-color: rgba(225,173,63,.42);
  background:
    radial-gradient(ellipse at 5% 55%,rgba(218,151,27,.2),transparent 45%),
    linear-gradient(100deg,rgba(13,19,31,.95) 25%,rgba(13,19,31,.68) 64%,rgba(13,19,31,.28)),
    url('../images/cover_page.jpg') center 65% / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,225,146,.1),inset 0 -1px 0 rgba(255,225,146,.06),0 8px 24px rgba(0,0,0,.18);
}
.rk-vip-guide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 24%,rgba(255,212,114,.6) 0 1px,transparent 2px),
    radial-gradient(circle at 83% 76%,rgba(255,212,114,.4) 0 1px,transparent 2px),
    radial-gradient(circle at 95% 32%,rgba(255,212,114,.5) 0 1px,transparent 2px),
    repeating-linear-gradient(125deg,transparent 0 48px,rgba(232,189,90,.035) 49px 50px,transparent 51px 96px);
}
.rk-vip-guide::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: 35px;
  top: -42px;
  border: 1px solid rgba(239,193,96,.13);
  outline: 1px solid rgba(239,193,96,.06);
  outline-offset: 12px;
  transform: rotate(45deg);
  z-index: -1;
  pointer-events: none;
}
.rk-vip-guide__icon,
.rk-vip-guide__iconset {
  position: relative;
  flex-basis: 96px;
  width: 96px;
  height: 82px;
  border-radius: 20px;
  background: radial-gradient(circle,rgba(231,166,38,.22),rgba(18,21,28,.9) 75%);
  box-shadow: 0 0 28px rgba(231,166,38,.13),inset 0 0 16px rgba(231,166,38,.08);
}
.rk-vip-guide__icon::after,
.rk-vip-guide__iconset::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(238,192,89,.2);
  border-radius: 25px;
  pointer-events: none;
}
.rk-vip-guide__icon img { filter: drop-shadow(0 3px 7px rgba(255,183,43,.3)); }
.rk-vip-guide__iconset {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  grid-template-rows: repeat(2, 34px);
  align-items: center;
  justify-content: center;
  gap: 0 2px;
}
.rk-vip-guide__iconset img {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(255,183,43,.32));
}
.rk-vip-guide__iconset img:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; justify-self: start; }
.rk-vip-guide__iconset img:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
.rk-vip-guide__iconset img:nth-child(3) { grid-column: 1 / span 2; grid-row: 1 / span 2; justify-self: center; align-self: end; }
.rk-vip-guide__body h3 { color: #fff1cd; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.rk-vip-guide__body p { max-width: 620px; color: #c2cbd8; }
.rk-vip-guide__badge {
  padding: 10px 14px;
  background: linear-gradient(135deg,rgba(179,127,28,.22),rgba(14,20,32,.9));
  box-shadow: inset 0 1px 0 rgba(255,221,143,.12);
}
@media(max-width:600px) {
  .rk-vip-guide { padding: 16px; gap: 14px; }
  .rk-vip-guide__icon { flex-basis: 52px; height: 52px; border-radius: 14px; }
  .rk-vip-guide__iconset { flex-basis: 82px; width: 82px; height: 70px; border-radius: 14px; }
  .rk-vip-guide__icon::after,
  .rk-vip-guide__iconset::after { border-radius: 19px; }
  .rk-vip-guide__iconset img { width: 42px; height: 42px; }
  .rk-vip-guide__body { flex-basis: calc(100% - 98px); }
  .rk-vip-guide__badge { margin-left: 98px; }
}
.rk-controls > .rk-vip-guide { margin-top: 0; margin-bottom: 20px; }
.rk-vip-guide a.rk-vip-guide__badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: background .2s, border-color .2s; }
.rk-vip-guide a.rk-vip-guide__badge:hover { color: #fff1cd; border-color: var(--gold); background: rgba(179,127,28,.32); }
.rk-vip-guide a.rk-vip-guide__badge:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* Account rank and membership expiry. */
.acct .acct-rank-vip {
  display: inline-block;
  padding: 3px 10px;
  margin: 2px 5px 2px 0;
  border: 1px solid rgba(246,168,33,.45);
  border-radius: 6px;
  background: linear-gradient(135deg,rgba(246,168,33,.22),rgba(246,168,33,.06));
  color: #ffda7a;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 1px;
  vertical-align: middle;
}
.acct .acct-rank-expiry {
  display: inline-block;
  color: #aebdd3;
  font-family: Arial,sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  vertical-align: middle;
}
.acct .acct-rank-standard { color: #aebdd3; }
/* Account overview: identity, progression and balances. */
.acct-hero--overview { position: relative; overflow: hidden; background: radial-gradient(ellipse at top left,rgba(246,168,33,.09),transparent 45%),linear-gradient(120deg,#192b49,#0f1b30); border-color: rgba(136,169,213,.22); box-shadow: 0 14px 35px rgba(0,0,0,.16); }
.acct-hero--overview .acct-hero__top { flex-wrap: wrap; gap: 26px; }
.acct-hero--overview .acct-hero__wallet { display: grid; grid-template-columns: repeat(4,minmax(150px,1fr)); gap: 12px; flex: 1 1 700px; }
.acct-hero--overview .wallet-card { min-width: 0; padding: 18px; border-radius: 14px; gap: 14px; }
.acct-hero--overview a.wallet-card { text-decoration: none; transition: border-color .2s, background .2s; }
.acct-hero--overview a.wallet-card:hover { border-color: #c7b584; background-color: rgba(255,255,255,.04); }
.acct-hero--overview a.wallet-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.acct-hero--overview .wallet-card--progress { background: linear-gradient(135deg,rgba(66,181,180,.17),rgba(9,24,39,.7)); border: 1px solid rgba(83,190,184,.3); }
.acct-hero--overview .wallet-card--battle { background: linear-gradient(135deg,rgba(151,116,225,.2),rgba(20,20,43,.7)); border: 1px solid rgba(173,142,234,.3); }
.wallet-card--progress .wallet__ico { color: #7fdcd4; }
.wallet-card--battle .wallet__ico { color: #c1a3f5; }
.acct-progress-note { display: block; color: #aabbd2; font: 11px/1.5 Arial,sans-serif; margin-top: 4px; }
.acct-hero--overview .acct-hero__info { gap: 20px; }
@media(max-width:800px) { .acct-hero--overview .acct-hero__wallet { grid-template-columns: repeat(2,minmax(0,1fr)); flex-basis: 100%; } }
@media(max-width:420px) { .acct-hero--overview .wallet-card { padding: 12px; gap: 9px; } }
.rk-player-search { display:flex; align-items:center; gap:10px; flex:0 1 320px; margin:0 0 0 auto; padding:6px 7px 6px 14px; border:1px solid var(--line-2); border-radius:12px; background:#0a1527; color:var(--gold); }
.rk-player-search:focus-within { border-color:var(--gold); box-shadow:0 0 0 2px rgba(246,168,33,.1); }
.rk-player-search input { width:100%; min-width:0; height:30px; padding:0; border:0; outline:none; box-shadow:none; background:transparent; color:#fff; font:13px Arial,sans-serif; }
.rk-player-search input::placeholder { color:#96a8c2; }
.rk-player-search button { flex:0 0 32px; height:32px; padding:0; border:1px solid rgba(246,168,33,.3); border-radius:8px; background:rgba(246,168,33,.12); color:var(--gold); cursor:pointer; }
.rk-player-search button:hover { background:var(--gold); color:#172035; }
@media(max-width:700px) { .rk-player-search { flex-basis:100%; } }

/* Rebuilt overview: full-width identity above a separate four-card dashboard. */
.acct-hero--overview { padding:30px; background:radial-gradient(ellipse at 0 0,rgba(230,169,54,.13),transparent 48%),linear-gradient(115deg,rgba(15,27,46,.96),rgba(15,27,46,.82)),url('../images/cover_page.jpg') center/cover; }
.acct-hero--overview .acct-hero__top { display:grid; grid-template-columns:1fr; gap:26px; }
.acct-hero--overview .acct-hero__id { padding:4px 0 22px; border-bottom:1px solid rgba(164,187,218,.14); }
.acct-hero--overview .acct-avatar { border-radius:22px; border:1px solid #ffe296; box-shadow:0 0 0 6px rgba(246,168,33,.06),0 8px 22px rgba(0,0,0,.22); }
.acct-hero--overview .acct-hero__name { letter-spacing:1px; }
.acct-hero--overview .acct-hero__wallet { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); }
.acct-hero--overview .wallet-card { min-height:112px; position:relative; overflow:hidden; }
.acct-hero--overview .wallet-card::after { content:''; position:absolute; right:-20px; top:-35px; width:110px; height:110px; border:1px solid rgba(255,255,255,.06); border-radius:50%; pointer-events:none; }
.acct-hero--overview .acct-hero__info { display:grid; grid-template-columns:1fr 1fr 1.25fr; border-top:0; padding-top:20px; margin-top:0; }
.acct-hero--overview .ainfo { padding:15px; border:1px solid rgba(164,187,218,.1); border-radius:12px; background:rgba(7,16,30,.34); }
@media(max-width:800px) { .acct-hero--overview .acct-hero__wallet { grid-template-columns:repeat(2,minmax(0,1fr)); } .acct-hero--overview .acct-hero__info { grid-template-columns:1fr; gap:10px; } }
@media(max-width:480px) { .acct-hero--overview { padding:18px; } .acct-hero--overview .wallet-card { padding:12px; } }
/* Unified search controls; override legacy theme input/button decoration. */
.rk-controls .rk-player-search { flex-basis:300px; height:46px; padding:0 5px 0 14px; gap:12px; border:1px solid #354663; border-radius:10px; background:linear-gradient(110deg,#0c1729,#15233a); box-shadow:inset 0 1px 0 rgba(255,255,255,.03); }
.rk-controls .rk-player-search input[type="search"] { height:42px!important; padding:0!important; margin:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; outline:none; color:#edf2fa!important; font:13px Arial,sans-serif; }
.rk-controls .rk-player-search button { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; min-height:0; padding:0!important; margin:0; border:0!important; border-radius:7px; background:rgba(246,168,33,.12)!important; color:#ffd471!important; box-shadow:none!important; }
.rk-controls .rk-player-search button:hover { background:rgba(246,168,33,.25)!important; }
.rk-controls .rk-player-search:focus-within { border-color:#d6ad54; box-shadow:0 0 0 3px rgba(214,173,84,.08); }
.eleon-search { margin-bottom:32px; color:#edf2fa; }
.eleon-search__hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:30px; border:1px solid #2c3d59; border-radius:16px; background:radial-gradient(ellipse at 0 0,rgba(211,161,49,.12),transparent 65%),linear-gradient(100deg,#14213a,rgba(13,23,40,.8)),url('../images/cover_page.jpg') center/cover; }
.eleon-search__eyebrow { color:#e6bc62; font-size:10px; letter-spacing:2px; }
.eleon-search__hero h1 { margin:10px 0; color:#fff; font-family:var(--dsp); font-size:32px; line-height:1.2; }
.eleon-search__hero p { margin:0; color:#a7b6cc; font-size:14px; }
.eleon-search__back { display:flex; gap:10px; align-items:center; padding:10px 14px; border:1px solid #3c4b62; border-radius:8px; color:#dbe4f1; font-size:12px; white-space:nowrap; }
.eleon-search__form { max-width:720px; margin:26px 0; }
.eleon-search__form label { display:block; margin-bottom:9px; font-size:12px; color:#cfdaea; }
.eleon-search__field { display:flex; align-items:center; gap:14px; padding:6px 6px 6px 17px; background:#0c1729; border:1px solid #3a4c68; border-radius:12px; color:#e6bc62; }
.eleon-search__field:focus-within { border-color:#e6bc62; }
.eleon-search .eleon-search__field input { flex:1; min-width:0; height:40px; padding:0!important; margin:0; border:0!important; background:transparent!important; box-shadow:none!important; outline:none; color:#fff; font:14px Arial,sans-serif; }
.eleon-search .eleon-search__field button { display:flex; align-items:center; gap:14px; height:40px; padding:0 18px; border:1px solid #e0b75b; border-radius:8px; background:#ebc16b; color:#182034; box-shadow:none; font-weight:700; }
.eleon-search__form>small { display:block; margin-top:9px; color:#8c9eb8; font-size:11px; }
.eleon-search__results { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.eleon-search__card { overflow:hidden; border:1px solid #2c3d59; border-radius:14px; background:#111e34; }
.eleon-search__card>header { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid #2b3c56; }
.eleon-search__card h2 { display:flex; gap:12px; align-items:center; margin:0; color:#edf2fa; font-family:var(--dsp); font-size:19px; }
.eleon-search__card h2 i { color:#e6bc62; font-size:15px; }
.eleon-search__card>header>span { padding:4px 8px; border-radius:6px; background:#1e304b; color:#afc1da; font-size:11px; }
.eleon-search__list { list-style:none; padding:0; margin:0; }
.eleon-search__list li+li { border-top:1px solid #24344e; }
.eleon-search__list a { display:flex; gap:15px; align-items:center; padding:15px 20px; color:#fff; text-decoration:none; }
.eleon-search__list a:hover { background:#192b45; color:#ffd471; }
.eleon-search__number { display:grid; place-items:center; width:30px; height:30px; border:1px solid #32425d; border-radius:8px; color:#9daec8; font-size:12px; }
.eleon-search__identity { flex:1; min-width:0; }
.eleon-search__identity strong { display:block; overflow-wrap:anywhere; font-size:14px; }
.eleon-search__identity small { display:block; margin-top:3px; font-size:11px; color:#8c9eb8; }
.eleon-search__list a>i { color:#889dbb; font-size:12px; }
.eleon-search__empty { padding:38px 20px; text-align:center; color:#91a5c2; }
.eleon-search__empty>i { font-size:26px; opacity:.5; }
.eleon-search__empty h3 { margin:14px 0 7px; font-size:17px; color:#cbd7e8; }
.eleon-search__empty p { margin:0; font-size:12px; }
.eleon-search__error { padding:12px 16px; border:1px solid #81464e; border-radius:8px; color:#ffc5cb; background:#392331; }
@media(max-width:700px) { .rk-controls .rk-player-search { flex-basis:100%; } .eleon-search__results { grid-template-columns:1fr; } .eleon-search__hero { padding:22px; align-items:flex-start; flex-direction:column; } }
/* Keep search text legible despite global input styles. */
.eleon-search .eleon-search__field input[type="search"],
.eleon-search .eleon-search__field input[type="search"]:focus {
  color: #f4f7fc !important;
  -webkit-text-fill-color: #f4f7fc !important;
  caret-color: #ffd471;
  opacity: 1;
}
.eleon-search .eleon-search__field input[type="search"]::placeholder {
  color: #aebdd2 !important;
  -webkit-text-fill-color: #aebdd2 !important;
  opacity: 1;
}
.eleon-search__identity .eleon-search__stats { display:flex; flex-wrap:wrap; gap:6px 12px; margin-top:6px; }
.eleon-search__stats span+span { padding-left:12px; border-left:1px solid #354761; }
.eleon-search__stats b { color:#dfe8f5; font-weight:600; }

/* Avoid mobile focus zoom without restricting the user's pinch zoom. */
@media (max-width: 1024px), (pointer: coarse) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
  html body select,
  html body textarea {
    font-size: 16px !important;
  }
}

/* Native registration rules modal, independent of jQuery UI. */
dialog.eleon-rules-dialog { width:min(900px,calc(100vw - 32px)); max-width:900px; max-height:calc(100dvh - 40px); padding:0; margin:auto; border:1px solid #53607a; border-top:2px solid #e7ba5f; border-radius:16px; background:#0d192c; color:#e7eef8; box-shadow:0 24px 90px rgba(0,0,0,.6); }
dialog.eleon-rules-dialog[open] { display:flex; flex-direction:column; }
.eleon-rules-dialog::backdrop { background:rgba(3,8,17,.82); backdrop-filter:blur(6px); }
.eleon-rules-dialog__head { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-shrink:0; padding:20px 24px; border-bottom:1px solid #2d3e59; background:linear-gradient(120deg,#1d2c43,#111d30); }
.eleon-rules-dialog__head small { color:#edc673; font:10px Arial,sans-serif; letter-spacing:2px; }
.eleon-rules-dialog__head h2 { margin:7px 0 0; color:#fff; font:24px var(--dsp,Arial,sans-serif); }
.eleon-rules-dialog .eleon-rules-dialog__close { display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid #4c5b73; border-radius:9px; background:#1c2c44; color:#fff; font:27px Arial,sans-serif; cursor:pointer; }
.eleon-rules-dialog__content { overflow:auto; overscroll-behavior:contain; min-height:0; padding:24px; }
.eleon-rules-dialog__foot { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0; padding:15px 24px; border-top:1px solid #2d3e59; }
.eleon-rules-dialog__foot span { color:#a7b8d0; font:12px Arial,sans-serif; }
.eleon-rules-dialog__foot button { padding:10px 17px; border:1px solid #e4b75b; border-radius:8px; background:#eac16e; color:#172138; font-weight:700; cursor:pointer; }
.eleon-rules-dialog button:focus-visible { outline:2px solid #ffe2a0; outline-offset:3px; }
@media(max-width:600px) { .eleon-rules-dialog__head,.eleon-rules-dialog__content,.eleon-rules-dialog__foot { padding:16px; } .eleon-rules-dialog__foot span { max-width:160px; } }
.refund-consent { display:flex; gap:20px; margin-bottom:24px; padding:24px; border:1px solid #806632; border-radius:14px; background:linear-gradient(120deg,#252839,#101d32); color:#c6d3e6; }
.refund-consent__icon { color:#f1c569; font-size:28px; }
.refund-consent h2 { margin:0 0 8px; color:#fff0cf; font-size:21px; }
.refund-consent p { margin:0 0 12px; font-size:13px; }
.refund-consent a { color:#ffd471; text-decoration:underline; }
.refund-consent form { display:flex; flex-wrap:wrap; gap:14px 24px; align-items:center; }
.refund-consent label { display:flex; gap:10px; align-items:center; font-size:13px; }
.refund-consent input[type=checkbox] { width:17px; height:17px; accent-color:#efbe5c; }
.refund-consent button { padding:10px 16px; border:0; border-radius:8px; background:#efc36b; color:#14213a; font-weight:700; }
.refund-consent__accepted { color:#8ae1b4; }
.pay-method[aria-disabled=true] { opacity:.4; cursor:not-allowed; }
.refund-policy-body { padding:24px; }
.refund-policy-body h2 { margin:24px 0 12px; color:#ffd471; font-size:22px; }
.refund-policy-body p { line-height:1.8; }
/* Shared scrollbar for Game Rules and Refund Policy. */
.eleon-rules-dialog__content {
  scrollbar-width: thin;
  scrollbar-color: #b9934e #0a1424;
  scrollbar-gutter: stable;
}
.eleon-rules-dialog__content::-webkit-scrollbar { width: 8px; height: 8px; }
.eleon-rules-dialog__content::-webkit-scrollbar-track { background: #0a1424; border-radius: 8px; }
.eleon-rules-dialog__content::-webkit-scrollbar-thumb { background: #b9934e; border: 2px solid #0a1424; border-radius: 8px; }
.eleon-rules-dialog__content::-webkit-scrollbar-thumb:hover { background: #e9c373; }
.checkout-refund { margin:18px 0; padding:14px; border:1px solid #35445e; border-radius:9px; background:rgba(7,16,29,.4); }
.checkout-refund label { display:flex; align-items:flex-start; gap:10px; color:#c8d4e7; font:12px/1.7 Arial,sans-serif; }
.checkout-refund input[type=checkbox] { flex:0 0 16px; width:16px; height:16px; margin-top:3px; accent-color:#efc16b; }
.checkout-refund a { color:#ffd471; text-decoration:underline; }
.checkout-refund small { color:#ffaaaa; }

/* Registration rules: clear green accepted state. */
input#rules[type="checkbox"] { accent-color: #24b879; }
input#rules[type="checkbox"]:checked { background-color: #24b879 !important; border-color: #24b879 !important; }
input#rules[type="checkbox"]:checked ~ a#rules_dialog,
.form-group:has(> input#rules:checked) #rules_dialog { color: #55dc9c !important; }
/* Refund consent: green accepted state, matching registration. */
.checkout-refund input[type="checkbox"] { accent-color: #24b879; }
.checkout-refund input[type="checkbox"]:checked { background-color: #24b879 !important; border-color: #24b879 !important; }
.checkout-refund input[type="checkbox"]:checked + span a { color: #55dc9c !important; }
/* Accepted consent: hide the checkbox square and highlight the full sentence. */
.form-group:has(> input#rules:checked),
.form-group:has(> input#rules:checked) a,
.form-group:has(> input#rules:checked) b,
.checkout-refund label:has(> input:checked),
.checkout-refund input:checked + span,
.checkout-refund input:checked + span a {
  color: #55dc9c !important;
}
input#rules[type="checkbox"]:checked,
.checkout-refund input[type="checkbox"]:checked {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}
.form-group:has(> input#rules:checked:focus-visible),
.checkout-refund label:has(> input:checked:focus-visible) {
  outline: 2px solid #55dc9c;
  outline-offset: 4px;
  border-radius: 4px;
}
/* Site-wide scrollbars, including nested scrollable panels. */
html, body, body * {
  scrollbar-width: thin;
  scrollbar-color: #b9934e #091322;
}
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #091322; }
::-webkit-scrollbar-thumb {
  background: #b9934e;
  border: 2px solid #091322;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #e9c373; }
::-webkit-scrollbar-thumb:active { background: #f5d58f; }
::-webkit-scrollbar-corner { background: #091322; }
@media (forced-colors: active) {
  html, body, body * { scrollbar-color: auto; }
}
/* Wallet shortcuts use the same icon colors on every page. */
body .currbox .currbox__btns a,
body .currbox .currbox__btns a i {
  color: #fff !important;
  transition: color .2s ease;
}
body .currbox .currbox__btns a:hover,
body .currbox .currbox__btns a:hover i,
body .currbox .currbox__btns a:focus-visible,
body .currbox .currbox__btns a:focus-visible i {
  color: var(--gold, #ffc656) !important;
}
/* Uniform tooltip spacing between stats, class requirements and options. */
#tooltip .item-tooltip-section { margin:12px 0; padding:0; }
#tooltip .item-tooltip-section > br:first-child,
#tooltip .item-tooltip-section > br:last-child { display:none; }
#tooltip .item-tooltip-section + br { display:none; }
#tooltip .item-tooltip-classes .item_canbe { margin-top:0; margin-bottom:0; }
#tooltip .item-tooltip-section .item_size_12 { line-height:1.5; }
#tooltip .body br + .item-tooltip-section { margin-top:0; }
/* One consistent gap instead of stacked blank lines in item tooltips. */
#tooltip .item-tooltip-compact .item-tooltip-gap { height:12px; margin:0; padding:0; line-height:0; }
#tooltip .item-tooltip-compact .item-rank-section { margin:12px 0 5px; }
#tooltip .item-tooltip-compact .item-tooltip-gap + .item-rank-section { margin-top:0; }
#tooltip .item-tooltip-compact .item_canbe { margin-top:0; margin-bottom:0; }
/* Keep the class requirement close to the preceding item stats. */
#tooltip .item-tooltip-compact .item-tooltip-gap:has(+ .item_canbe) { height:8px; }

/* Explicit class group avoids inline baseline gaps and preserves stat newlines. */
#tooltip .item-tooltip-compact .item_light_blue br { display:revert; }
#tooltip .item-class-requirements { display:flex; flex-direction:column; align-items:center; gap:2px; margin:8px 0; padding:0; line-height:1.5; }
#tooltip .item-class-requirements .item_canbe { display:block; margin:0; }
#tooltip .item-tooltip-gap:has(+ .item-class-requirements) { display:none; }
#tooltip .item-class-requirements + .item-rank-section { margin-top:12px; }

/* Rules fill the available page content width. */
.rules-page { width:100%; max-width:none; }
.rules-page .genesis-rules { width:100%; max-width:none; margin:0; }

/* Public policy pages and centered footer navigation. */
.footer__bar { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.footer__bar>span:last-child { text-align:right; }
.footer-policy-links { display:flex; align-items:center; justify-content:center; gap:20px; }
.footer-policy-links a { color:#acbad0; font-size:12px; white-space:nowrap; }
.footer-policy-links a:hover,.footer-policy-links a:focus-visible { color:#f0c772; }
.site-policy { width:100%; color:#c3cfe0; font:14px/1.8 Inter,Arial,sans-serif; }
.site-policy__hero { padding:32px; border:1px solid #354861; border-top:3px solid #e9bb5f; border-radius:12px; background:radial-gradient(ellipse at top right,rgba(200,159,68,.12),transparent 65%),linear-gradient(130deg,#182c49,#0e1b2e); margin-bottom:20px; }
.site-policy__hero>span { color:#e9c985; font-size:10px; letter-spacing:2px; }
.site-policy h1 { color:#fff; font:36px/1.2 var(--dsp,Arial); margin:12px 0; }
.site-policy p { margin:10px 0; }
.site-policy>section { margin:14px 0; padding:22px 26px; border:1px solid #2c405c; border-radius:10px; background:linear-gradient(120deg,#14243b,#0e1b2e); }
.site-policy h2 { color:#efcd87; font:21px/1.4 var(--dsp,Arial); margin:0 0 12px; }
.site-policy ul { padding-left:22px; margin:10px 0; }
.site-policy li { padding:3px 0; }
.site-policy li::marker { color:#d2ad61; }
.policy-page .genesis-rules { max-width:none; }
@media(max-width:850px) { .footer__bar { grid-template-columns:1fr; text-align:center; } .footer__bar>span:last-child { text-align:center; } .footer-policy-links { flex-wrap:wrap; gap:12px 20px; } }
@media(max-width:600px) { .site-policy__hero,.site-policy>section { padding:20px; } }

/* Account transaction logs */
.acct-log-layout{padding-top:15px}.acct-logs{display:flex;flex-direction:column;gap:16px;padding:0 0 60px}
.acct-logs__hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 27px;border:1px solid var(--line-2);border-radius:17px;background:linear-gradient(135deg,#192d4b,#0d1a30);box-shadow:0 16px 38px rgba(0,0,0,.2)}
.acct-logs__eyebrow{display:block;margin-bottom:7px;color:var(--gold-2);font-size:10px;font-weight:800;letter-spacing:1.25px;text-transform:uppercase}.acct-logs__eyebrow i{margin-right:7px}.acct-logs h1{margin:0;color:var(--head);font:29px/1.1 var(--dsp);text-transform:uppercase}.acct-logs__hero p{margin:9px 0 0;color:var(--muted);font-size:13px}.acct-logs__server{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid rgba(255,190,47,.3);border-radius:99px;color:var(--head);background:rgba(255,190,47,.07);font-size:11px;font-weight:800;text-transform:uppercase;white-space:nowrap}.acct-logs__server i{color:var(--gold-2)}
.acct-log-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.acct-log-stats>div{display:grid;grid-template-columns:39px 1fr;grid-template-rows:auto auto;column-gap:11px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.acct-log-stats>div>span{grid-row:1/3;display:grid;width:39px;height:39px;place-items:center;border-radius:10px;background:rgba(79,151,255,.09);color:var(--blue-2)}.acct-log-stats>div>span.is-positive{color:#62dca8;background:rgba(67,210,151,.09)}.acct-log-stats>div>span.is-negative{color:#ff7180;background:rgba(255,78,96,.09)}.acct-log-stats small{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.acct-log-stats strong{color:var(--head);font-size:17px}
.acct-log-card{overflow:hidden;border:1px solid var(--line-2);border-radius:15px;background:var(--panel)}.acct-log-card__head{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-bottom:1px solid var(--line);background:rgba(79,151,255,.04)}.acct-log-card__head div{display:flex;align-items:center;gap:9px;color:var(--head);font:15px var(--dsp);text-transform:uppercase}.acct-log-card__head i{color:var(--gold-2)}.acct-log-card__head small{color:var(--muted);font-size:10px}.acct-log-table-wrap{overflow-x:auto}.acct-log-table{width:100%;border-collapse:collapse}.acct-log-table th{padding:12px 15px;text-align:left;background:rgba(4,10,22,.28);color:#7f91b2;font-size:9px;letter-spacing:.9px;text-transform:uppercase}.acct-log-table th:first-child,.acct-log-table td:first-child{text-align:center;width:54px}.acct-log-table td{padding:14px 15px;border-top:1px solid rgba(113,144,198,.1);font-size:12px}.acct-log-table tbody tr:hover{background:rgba(79,151,255,.04)}.acct-log-index{color:var(--muted);font-weight:800}.acct-log-action,.acct-log-date{display:inline-flex;align-items:center;gap:8px;color:var(--text)}.acct-log-action i{color:var(--gold-2);font-size:9px}.acct-log-date{color:#97a8c6;white-space:nowrap}.acct-log-amount{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;font-weight:800}.acct-log-amount.is-positive{color:#67dfad;background:rgba(67,210,151,.08)}.acct-log-amount.is-negative{color:#ff7885;background:rgba(255,78,96,.08)}.acct-log-ip{padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:#091428;color:#91a5c9;font-size:10px}.acct-log-pagination{display:flex;justify-content:center}.acct-log-empty{padding:48px 20px;text-align:center;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.acct-log-empty>span{display:grid;width:54px;height:54px;margin:0 auto 13px;place-items:center;border-radius:14px;color:var(--gold-2);background:rgba(255,190,47,.08)}.acct-log-empty h2{margin:0;color:var(--head);font:19px var(--dsp);text-transform:uppercase}.acct-log-empty p{margin:8px 0 0;color:var(--muted);font-size:12px}
@media(max-width:767px){.acct-logs__hero{align-items:flex-start;padding:21px 18px}.acct-logs__server{display:none}.acct-log-stats{grid-template-columns:1fr}.acct-log-card__head small{display:none}.acct-log-table thead{display:none}.acct-log-table,.acct-log-table tbody,.acct-log-table tr,.acct-log-table td{display:block;width:100%}.acct-log-table tr{padding:10px 14px;border-top:1px solid var(--line)}.acct-log-table td,.acct-log-table td:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px;width:auto;padding:7px 0;border:0;text-align:right}.acct-log-table td:before{content:attr(data-label);color:#7587a8;font-size:9px;font-weight:800;text-transform:uppercase}.acct-log-table td:first-child{display:none}.acct-log-action{max-width:68%;text-align:right}}
