/* Presentation only. Existing routes, form contracts and JavaScript hooks are retained. */
.rd-theme {
  --bg: #070b0e;
  --panel: #101820;
  --panel2: #15212b;
  --gold: #dfb47b;
  --goldBright: #f3d39d;
  --text: #eee8df;
  --muted: #a7afb6;
  --line: #a9855155;
  background: #070b0e;
  color: var(--text);
  font-family: Inter, "Noto Sans Georgian", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}
.rd-theme .container {
  width: min(1240px, calc(100% - 64px));
}
.rd-theme .site-header {
  height: 64px;
  background: linear-gradient(#10171c, #060b0f);
  border-bottom: 1px solid #92734a80;
  box-shadow: none;
}
.rd-theme .nav-wrap {
  gap: 18px;
}
.rd-theme .site-header .brand {
  min-width: 165px;
  gap: 7px;
}
.rd-theme .brand-icon {
  width: 65px;
  height: 40px;
  filter: none;
}
.rd-theme .brand-icon svg {
  width: 29px;
  height: 36px;
}
.rd-theme .brand-main {
  font: 700 22px/1 Cinzel, Georgia, serif;
  letter-spacing: -1px;
  color: #f2d5a0;
  text-shadow: 0 2px 4px #000;
}
.rd-brand-domain {
  font-size: 0.72em;
}
.rd-theme .brand-sub {
  font-size: 7px;
  letter-spacing: 0.15em;
  line-height: 1.8;
  color: #b6a18a;
}
.rd-theme .site-header .desktop-nav {
  gap: 0;
  align-self: stretch;
}
.rd-theme .desktop-nav a {
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.rd-theme .desktop-nav a:hover,
.rd-theme .desktop-nav a.active {
  color: #eac18f;
  background: linear-gradient(0deg, #6f161b66, transparent);
  border-color: #b33c2f;
}
.rd-theme .header-actions {
  flex: none;
  gap: 10px;
}
.rd-theme .login-link {
  font-size: 10px;
  letter-spacing: 0;
  white-space: nowrap;
}
.rd-theme .header-actions .btn {
  min-height: 33px;
  padding: 0 11px;
  font-size: 9px;
  letter-spacing: 0;
}
.rd-theme .btn {
  border-radius: 3px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  min-height: 44px;
  box-shadow: inset 0 0 0 3px #0003, inset 0 1px #fff4, 0 3px 7px #0007;
  transition: transform 0.16s, border-color 0.16s;
}
.rd-theme .btn-gold {
  color: #fff3db;
  background: linear-gradient(#c39353, #6c431e);
  border-color: #e4bb7c;
}
.rd-theme .btn-red {
  color: #fff1e6;
  background: linear-gradient(#a72720, #580904);
  border-color: #d57545;
}
.rd-theme .btn-outline {
  color: #eee7dc;
  background: linear-gradient(#14202a, #080d11);
  border-color: #ae8b58;
}
.rd-theme .btn:disabled,
.rd-theme .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.rd-theme .panel {
  border: 1px solid #95764b;
  border-radius: 4px;
  background: linear-gradient(135deg, #101920, #050b0f);
  box-shadow: inset 0 0 0 3px #0004, 0 3px 8px #0006;
}
.rd-theme .section-kicker {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #bca17b;
}
.rd-theme .section-title {
  color: #eed0a0;
}
.rd-theme .rd-hero {
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  min-height: 660px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 32px;
  padding: 0;
  background: #171414 url("/assets/design/castle-siege.webp") center 43% / cover
    no-repeat;
  isolation: isolate;
}
.rd-theme .rd-hero:before {
  z-index: 0;
  background: linear-gradient(
      0deg,
      #070b0e 0%,
      #070b0ee8 12%,
      #070b0e75 38%,
      transparent 72%
    ),
    linear-gradient(
      90deg,
      #070b0e25,
      transparent 30%,
      transparent 70%,
      #070b0e25
    );
}
.rd-theme .rd-hero:after {
  inset: auto 8% 0;
  height: 1px;
  z-index: 6;
  box-shadow: none;
  background: linear-gradient(90deg, transparent, #b68b4c80, transparent);
}
.rd-theme .rd-hero .hero-content {
  max-width: 900px;
  flex: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.rd-theme .rd-hero .eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  margin: 0 0 8px;
  color: #efd3a0;
  text-shadow: 0 2px 5px #000;
}
.rd-theme .rd-hero .eyebrow:before {
  content: none;
}
.rd-theme .rd-hero h1.rd-hero-logo {
  margin: 0;
  font: 700 86px/1.1 Cinzel, Georgia, serif;
  letter-spacing: -4px;
  color: #f5ddaf;
  background: linear-gradient(#fff6df 20%, #b28248 48%, #f8ddae 60%, #a2723f);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 1px #1c0802) drop-shadow(0 0 10px #000);
  text-shadow: none;
}
.rd-theme .rd-hero-logo span {
  display: inline;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  margin: 0;
  text-shadow: none;
}
.rd-theme .rd-hero-logo em {
  font-size: 0.65em;
  font-style: normal;
}
.rd-ornament {
  color: #dcae77;
  font-size: 12px;
  margin: 4px 0 11px;
}
.rd-theme .rd-hero h2 {
  font-family: "Noto Sans Georgian", Inter, sans-serif;
  font-size: 23px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #f1ebe2;
  text-shadow: 0 2px 7px #000;
}
.rd-theme .rd-hero .hero-desc {
  font-size: 11px;
  line-height: 1.8;
  max-width: 650px;
  color: #d5cec5;
  margin: 0 auto 20px;
  text-shadow: 0 2px 4px #000;
}
.rd-theme .hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}
.rd-theme .rd-hero .hero-buttons .btn {
  min-height: 45px;
  min-width: 180px;
  font-family: "Noto Sans Georgian", Inter, sans-serif;
  font-size: 12px;
}
.rd-theme .rd-stats {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 13px 4px;
  margin: 0 auto 36px;
  min-height: 118px;
  border-color: #cba26b;
  background: linear-gradient(135deg, #101920ee, #050b0ff7);
}
.rd-stat {
  min-height: 90px;
  text-align: center;
  border-right: 1px solid #a38a6250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 8px;
}
.rd-stat > span {
  font-size: 30px;
  line-height: 1.15;
  color: #e9b86d;
  text-shadow: 0 0 12px #c77c3a55;
}
.rd-stat small {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #ddd8d0;
  margin-top: 4px;
}
.rd-stat b {
  font-size: 16px;
  color: #e6bb7b;
  font-weight: 500;
}
.rd-stat em {
  font-size: 9px;
  color: #b8b5ad;
  font-style: normal;
  font-family: "Noto Sans Georgian", Inter, sans-serif;
}
.rd-live {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 2px 8px;
}
.rd-theme .rd-live .status-item {
  display: block;
}
.rd-theme .rd-live .status-icon {
  width: auto;
  height: auto;
  border: 0;
  font-size: 23px;
  line-height: 1.1;
  color: #e9b86d;
}
.rd-theme .rd-live .status-label {
  font-size: 8px;
  font-weight: 400;
  color: #ddd8d0;
  letter-spacing: 0.5px;
}
.rd-theme .rd-live .status-value {
  font-size: 14px;
  color: #d9c69e;
  font-weight: 500;
  margin: 0;
}
.rd-theme .rd-live .online-dot {
  box-shadow: none;
  margin-right: 4px;
}
.rd-theme .rd-live .status-item + .status-item {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 1px;
}
.rd-theme .rd-live .status-item + .status-item .status-icon {
  display: none;
}
.rd-theme .rd-live .status-item + .status-item .status-value {
  font-size: 10px;
  color: #b8b5ad;
}
.rd-theme .rd-live .status-item + .status-item .status-label {
  font-size: 8px;
  letter-spacing: 0;
}
.rd-main {
  font-family: "Noto Sans Georgian", Inter, sans-serif;
  background: #070b0e;
  padding: 0 0 0;
}
.rd-section {
  padding-top: 30px;
}
.rd-main > .rd-section:first-child {
  padding-top: 40px;
}
.rd-main .section-heading {
  text-align: center;
  margin-bottom: 20px;
}
.rd-main .section-heading .section-kicker,
.rd-main .separator {
  display: none;
}
.rd-main .section-heading h2 {
  font-size: 24px;
  font-weight: 600;
  color: #f1d5a3;
  margin: 0 0 2px;
}
.rd-main .section-heading strong {
  font-weight: 600;
}
.rd-main .section-heading p {
  font-size: 12px;
  color: #c7c6c1;
  margin: 0;
}
.rd-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.rd-theme .rd-feature {
  min-height: 185px;
  padding: 22px 10px 14px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(0deg, #060c10 14%, #080c10c9 55%, #080c1044),
    url("/assets/design/hero-castle.webp") center top/auto 150px no-repeat;
  transition: border-color 0.15s, transform 0.15s;
}
.rd-feature:hover {
  transform: translateY(-3px);
  border-color: #d5b17a;
}
.rd-feature-icon {
  display: block;
  color: #edbd76;
  font-size: 43px;
  line-height: 1.35;
  text-shadow: 0 0 15px #d09b4644;
}
.rd-feature-icon.crimson {
  color: #d9544d;
}
.rd-feature-icon.blue {
  color: #7facdb;
}
.rd-feature h3 {
  font-size: 12px;
  margin: 12px 0 7px;
  color: #f4eee2;
}
.rd-feature p {
  font-size: 10px;
  line-height: 1.7;
  color: #b9c1c6;
  max-width: 155px;
  margin: auto;
}
.rd-rate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.rd-rate {
  min-height: 128px;
  padding: 15px 10px 12px;
  display: grid;
  grid-template-columns: 45px 1fr;
  grid-template-rows: 20px 30px auto;
  gap: 0;
  align-items: center;
  text-align: left;
}
.rd-rate > span {
  grid-row: 1/3;
  font-size: 36px;
  color: #edbd76;
  justify-self: center;
}
.rd-rate small {
  font-size: 9px;
  color: #d1ccc2;
}
.rd-rate b {
  font-size: 24px;
  line-height: 1.3;
  color: #edc387;
  font-weight: 500;
}
.rd-rate p {
  grid-column: 1/-1;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  margin: 9px 0 0;
  color: #c3c6c8;
}
.rd-class-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.rd-class-card {
  text-align: center;
  overflow: hidden;
}
.rd-class-art {
  height: 160px;
  background-image: linear-gradient(0deg, #060b10, transparent 32%),
    var(--class-image);
  background-size: 100% auto;
  background-position: center bottom;
}
.rd-class-art2 {
  height: 160px;
  background-image: linear-gradient(0deg, #060b10, transparent 32%),
    var(--class-image);
  background-size: 100% auto;
  background-position: center bottom;
}
.rd-class-card h3 {
  font: 700 13px Cinzel, Georgia, serif;
  margin: 0 3px 3px;
  color: #eedcbd;
}
.rd-class-card p {
  font-size: 10px;
  margin: 0 4px 10px;
  color: #aeb9bf;
}
.rd-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
}
.rd-data > section {
  min-width: 0;
}
.rd-data #rankings {
  order: -1;
}
.rd-data .section-head {
  margin: 0;
  padding: 14px 16px 10px;
  background: #101920;
  border: 1px solid #95764b;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  align-items: center;
}
.rd-data .section-kicker {
  display: none;
}
.rd-data .section-title {
  font: 600 22px "Noto Sans Georgian", Inter, sans-serif;
  margin: 0;
}
.rd-data .view-all {
  font: 400 10px "Noto Sans Georgian", Inter, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.rd-data .panel {
  border-top: 0;
  border-radius: 0 0 4px 4px;
  padding: 0 15px 10px;
  min-height: 290px;
}
.rd-data .rank-tabs {
  gap: 5px;
  border: 0;
  margin-bottom: 4px;
}
.rd-data .rank-tab {
  font-size: 10px;
  letter-spacing: 0;
  border: 1px solid #5b574c;
  border-radius: 3px;
  padding: 7px;
  color: #bfc4c8;
}
.rd-data .rank-tab.selected {
  color: #fff;
  background: linear-gradient(#631515, #2e0909);
  border-color: #c34b31;
  box-shadow: inset 0 0 0 2px #0006;
}
.rd-data .rank-row {
  padding: 8px 6px;
  gap: 7px;
  min-height: 45px;
  font-size: 11px;
  border-color: #9b896326;
}
.rd-data .rank-class {
  font-size: 9px;
  margin-top: 1px;
}
.rd-data .rank-score {
  font-size: 11px;
}
.rd-data .mu-rank-updated {
  font-size: 9px;
  margin: 9px 0 0;
  color: #a79a8e;
}
.rd-data .news-item {
  grid-template-columns: 105px 1fr;
  gap: 13px;
  padding: 9px 0;
  border: 0;
}
.rd-data .news-art {
  min-height: 70px;
  border: 1px solid #95764b;
  border-radius: 3px;
  background: linear-gradient(#11182077, #04080dcc),
    url("/assets/design/hero-castle.webp") center/cover;
  font-size: 27px;
}
.rd-data .news-item:nth-child(2) .news-art {
  background: linear-gradient(#15223966, #02070acc),
    url("/assets/design/hero-mobile.webp") right center/cover;
}
.rd-data .news-item h3 {
  font-size: 12px;
  margin: 4px 0;
}
.rd-data .news-item p {
  font-size: 10px;
  line-height: 1.6;
  color: #aeb6bc;
}
.rd-data .news-meta {
  font-size: 8px;
  gap: 7px;
}
.rd-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 25px;
}
.rd-theme .rd-step {
  position: relative;
  min-height: 82px;
  padding: 10px 10px 10px 85px;
  border: 0;
  border-top: 1px solid #a58a5760;
  border-bottom: 1px solid #a58a5760;
  border-radius: 0;
  background: linear-gradient(90deg, #050b0f90, #050b0f30);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rd-step-number {
  position: absolute;
  left: -8px;
  top: -9px;
  width: 28px;
  height: 28px;
  background: linear-gradient(#af2c27, #600d0a);
  border: 1px solid #e06948;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 12px Inter, sans-serif;
}
.rd-step-icon {
  position: absolute;
  left: 24px;
  top: 13px;
  width: 49px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid #b28b58;
  border-radius: 4px;
  font-size: 30px;
  color: #edc387;
  background: #050b0e;
}
.rd-step h3 {
  font-size: 13px;
  margin: 0 0 3px;
}
.rd-step p {
  font-size: 10px;
  color: #b6bec4;
  margin: 0;
}
.rd-download,
.rd-vip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 22px 28px;
}
.rd-main .rd-download h2,
.rd-main .rd-vip h2 {
  font-size: 23px;
  color: #f1d5a3;
  margin: 0 0 6px;
}
.rd-download p,
.rd-vip p {
  font-size: 12px;
  color: #b9c1c7;
  margin: 0;
}
.rd-download .btn,
.rd-vip .btn {
  flex: none;
}
.rd-community {
  margin-top: 30px;
  padding: 25px 0 30px;
  text-align: center;
  background: linear-gradient(#070b0e55, #070b0e77),
    url("/assets/design/georgia-castle.webp") center/cover;
  border-top: 1px solid #94724980;
  border-bottom: 1px solid #94724980;
}
.rd-community h2 {
  font-size: 24px;
  color: #f2d09c;
  margin: 0 0 3px;
  text-shadow: 0 2px 4px #000;
}
.rd-community p {
  font-size: 12px;
  margin: 0 0 17px;
}
.rd-community .btn {
  min-width: 180px;
}
/* Shared skin for existing functional pages; no inputs or visibility contracts changed. */
.rd-theme .main,
.rd-theme .mu-register,
.rd-theme .wiki-page,
.rd-theme .vip-page {
  background: #070b0e;
}
.rd-theme .main {
  padding: 45px 0 65px;
}
.rd-theme .mu-register {
  padding: 55px 0 70px;
}
.rd-theme .register-shell {
  border: 1px solid #95764b;
  border-radius: 5px;
  background: linear-gradient(135deg, #131e27, #060c11);
  box-shadow: inset 0 0 0 3px #0004, 0 12px 40px #0005;
}
.rd-theme .register-shell h1,
.rd-theme .mu-dashboard-title {
  color: #f1d5a3;
}
.rd-theme .field input,
.rd-theme .calculator input,
.rd-theme .calculator select,
.rd-theme .wiki-search {
  background: #070d13;
  color: #eee8de;
  border-color: #796b55;
}
.rd-theme .field input:focus {
  outline: 1px solid #dfb47b;
  outline-offset: 1px;
}
.rd-theme .register-sub,
.rd-theme .register-notice {
  color: #b6bec5;
}
.rd-theme .mu-account-stat {
  border-color: #937c5140;
  color: #b8c0c8;
}
.rd-theme .mu-account-stat strong {
  color: #eccb97;
}
.rd-theme .mu-account-stat button {
  color: #edc78e;
  background: #101c25;
  border: 1px solid #9e804e;
  border-radius: 3px;
  padding: 5px 10px;
}
.rd-theme .wiki-card,
.rd-theme .wiki-side,
.rd-theme .wiki-article,
.rd-theme .rules-panel,
.rd-theme .calculator,
.rd-theme .milestone {
  background: linear-gradient(135deg, #131e27, #060c11);
  border-color: #95764b77;
  border-radius: 4px;
}
.rd-theme .vip-card {
  background: linear-gradient(150deg, #17232c, #080e13);
  border-radius: 4px;
}
.rd-theme .vip-card.gold {
  background: linear-gradient(150deg, #30261a, #080e13);
}
.rd-theme .vip-card.royal {
  background: linear-gradient(150deg, #242035, #080e13);
}
.rd-theme .vip-hero {
  background: linear-gradient(#070b0e66, #070b0ee0),
    url("/assets/design/castle-siege.webp") center/cover;
}
.rd-theme .vip-cta {
  background: linear-gradient(135deg, #17252e, #080e13);
}
.rd-theme .footer {
  background: #060a0e;
  border-top: 1px solid #9a6e4380;
  padding: 0 0 16px;
  color: #9da6ad;
}
.rd-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 30px 0 24px;
}
.rd-footer-grid > div + div {
  border-left: 1px solid #a18b5e30;
  padding-left: 22px;
}
.rd-theme .rd-footer-grid a {
  display: block;
  margin: 5px 0;
  font-size: 11px;
}
.rd-theme .rd-footer-brand {
  font: 700 24px Cinzel, Georgia, serif !important;
  color: #f2d5a0;
}
.rd-footer-grid h3 {
  color: #e7bc85;
  font-size: 12px;
  margin: 0 0 9px;
}
.rd-footer-grid p {
  font-size: 11px;
  line-height: 1.9;
}
.rd-theme .footer-inner {
  border-top: 1px solid #9a6e4333;
  padding-top: 13px;
  font-size: 9px;
  align-items: center;
}
.rd-theme .footer-inner a {
  font-size: 10px;
}
.rd-theme a:focus-visible,
.rd-theme button:focus-visible {
  outline: 2px solid #f0c77f;
  outline-offset: 3px;
}
@media (min-width: 1600px) {
  .rd-theme .rd-hero .hero-content {
    margin-bottom: 15px;
  }
}
@media (max-width: 1200px) {
  .rd-theme .container {
    width: calc(100% - 40px);
  }
  .rd-theme .site-header .desktop-nav a {
    padding: 0 6px;
    font-size: 9px;
  }
  .rd-theme .site-header .brand {
    min-width: 145px;
  }
  .rd-theme .brand-main {
    font-size: 20px;
  }
  .rd-theme .brand-sub {
    font-size: 6px;
  }
  .rd-theme .nav-wrap {
    gap: 10px;
  }
  .rd-theme .header-actions .btn {
    font-size: 8px;
    padding: 0 8px;
  }
  .rd-theme .header-actions {
    gap: 8px;
  }
}
@media (max-width: 1050px) {
  .rd-theme .desktop-nav {
    display: none;
  }
  .rd-theme .menu-toggle {
    display: block;
  }
  .rd-theme .header-actions {
    margin-left: auto;
  }
  .rd-theme .mobile-nav {
    top: 64px;
    background: #0b1219;
    border-bottom: 1px solid #977145;
    padding: 18px 25px;
  }
  .rd-theme .mobile-nav.open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .rd-theme .mobile-nav a {
    font-size: 11px;
    letter-spacing: 0;
  }
  .rd-theme .brand-main {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  .rd-theme .container {
    width: calc(100% - 28px);
  }
  .rd-theme .site-header {
    height: 60px;
  }
  .rd-theme .mobile-nav {
    top: 60px;
  }
  .rd-theme .mobile-nav.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rd-theme .rd-hero {
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
    min-height: 780px;
    gap: 28px;
    background-image: url("/assets/design/hero-mobile.webp");
    background-position: center;
    background-size: cover;
  }
  .rd-theme .rd-hero .hero-content {
    padding: 0;
  }
  .rd-theme .rd-hero h1.rd-hero-logo {
    font-size: 66px;
  }
  .rd-theme .rd-hero h2 {
    font-size: 20px;
    line-height: 1.6;
  }
  .rd-theme .rd-hero .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .rd-theme .rd-hero .hero-desc {
    font-size: 10px;
    max-width: 350px;
  }
  .rd-theme .rd-hero .hero-buttons {
    gap: 9px;
  }
  .rd-theme .rd-hero .hero-buttons .btn {
    min-width: 125px;
    padding: 0 12px;
    font-size: 11px;
  }
  .rd-theme .rd-hero .hero-buttons .btn-gold {
    min-width: 165px;
  }
  .rd-theme .rd-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 7px;
    margin-bottom: 28px;
  }
  .rd-stat {
    min-height: 100px;
  }
  .rd-stat:nth-child(3) {
    border: 0;
  }
  .rd-stat:nth-child(-n + 3) {
    border-bottom: 1px solid #a38a6250;
  }
  .rd-stat b {
    font-size: 14px;
  }
  .rd-stat small {
    font-size: 8px;
  }
  .rd-stat em {
    font-size: 8px;
  }
  .rd-theme .rd-live .status-value {
    font-size: 12px;
  }
  .rd-theme .rd-live .status-item + .status-item {
    display: block;
  }
  .rd-theme .rd-live .status-label {
    font-size: 7px;
  }
  .rd-main > .rd-section:first-child {
    padding-top: 30px;
  }
  .rd-section {
    padding-top: 27px;
  }
  .rd-main .section-heading h2 {
    font-size: 21px;
  }
  .rd-main .section-heading p {
    font-size: 10px;
  }
  .rd-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .rd-theme .rd-feature {
    min-height: 170px;
    padding: 18px 6px 12px;
  }
  .rd-feature-icon {
    font-size: 35px;
  }
  .rd-feature h3 {
    font-size: 10px;
  }
  .rd-feature p {
    font-size: 9px;
  }
  .rd-rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .rd-rate:last-child {
    grid-column: 1/-1;
  }
  .rd-rate {
    min-height: 112px;
  }
  .rd-rate b {
    font-size: 21px;
  }
  .rd-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .rd-class-card:last-child {
    grid-column: 1/-1;
    width: calc(50% - 5px);
    justify-self: center;
  }
  .rd-class-art {
    height: 155px;
  }
  .rd-data {
    grid-template-columns: 1fr;
  }
  .rd-data .panel {
    min-height: 0;
  }
  .rd-data .section-title {
    font-size: 20px;
  }
  .rd-steps {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 14px;
  }
  .rd-theme .rd-step {
    min-height: 80px;
  }
  .rd-download,
  .rd-vip {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }
  .rd-community h2 {
    font-size: 20px;
  }
  .rd-community p {
    font-size: 10px;
  }
  .rd-community .btn {
    min-width: 145px;
  }
  .rd-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .rd-footer-grid > div + div {
    border: 0;
    padding-left: 0;
  }
  .rd-theme .footer-inner {
    align-items: flex-start;
    line-height: 1.8;
  }
  .rd-theme .mu-register {
    padding: 35px 0 45px;
  }
}
.rd-theme .rank-row:has(> .mu-gmark),
.rd-theme .rank-row:has(> .mu-gmark-empty) {
  grid-template-columns: 28px 40px minmax(0, 1fr) auto;
}
.rd-theme .rank-name,
.rd-theme .rank-class {
  overflow-wrap: anywhere;
}
.rd-theme .itemfinder-page,
.rd-theme .monsters-page,
.rd-theme .q-page {
  background: #070b0e;
  padding-top: 45px;
}
.rd-theme .if-panel,
.rd-theme .monster-panel,
.rd-theme .q-panel {
  background: linear-gradient(135deg, #131e27, #060c11);
  border: 1px solid #95764b77;
  border-radius: 4px;
  box-shadow: inset 0 0 0 3px #0003;
}
.rd-theme .if-search,
.rd-theme .q-search input,
.rd-theme .q-search select {
  background: #070d13;
  border-color: #796b55;
  border-radius: 3px;
  color: #eee8de;
}
.rd-theme .if-source,
.rd-theme .q-stat,
.rd-theme .q-objective,
.rd-theme .q-coord,
.rd-theme .q-note {
  background: #101920;
  border-color: #937c5140;
}
.rd-theme .if-tag,
.rd-theme .q-hero-meta span {
  background: #101920;
  border-color: #937c5160;
}
.rd-theme .if-item:hover,
.rd-theme .if-item[aria-selected="true"] {
  background: #1b2933;
}
.rd-theme .q-reward {
  background: linear-gradient(135deg, #25241b, #0b141c);
  border-color: #b18b54;
}
/* Account and navigation refresh */
.rd-theme .site-header {
  height: 76px;
}
.rd-theme .nav-wrap {
  gap: 25px;
}
.rd-theme .site-header .desktop-nav {
  align-items: stretch;
  gap: 3px;
}
.rd-theme .desktop-nav a {
  padding: 0 13px;
  font-size: 12px;
  letter-spacing: 0;
  border-bottom: 2px solid transparent;
}
.rd-theme .desktop-nav a.active {
  background: linear-gradient(180deg, #521315, #8c211b);
  color: #ffe4c9;
  border-bottom-color: #ef9b57;
  box-shadow: inset 1px 0 #d4853e33, inset -1px 0 #d4853e33;
}
.rd-theme .desktop-nav a:hover {
  background: linear-gradient(180deg, #281315, #54181a);
}
.rd-theme .header-actions .btn {
  font-size: 11px;
  min-height: 39px;
  padding: 0 14px;
}
.rd-theme .login-link {
  font-size: 12px;
}
.rd-theme .brand-main {
  font-size: 25px;
}
.rd-theme .site-header .brand {
  min-width: 180px;
}
.rd-theme .brand-sub {
  font-size: 7px;
}
.rd-theme .rd-hero {
  height: calc(100vh - 76px);
  height: calc(100svh - 76px);
}
.rd-user-avatar {
  width: 43px;
  height: 43px;
  flex: none;
  border: 1px solid #d2a667;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #644526, #1a2024);
  color: #ffe5b6;
  font: 700 14px Inter, sans-serif;
  letter-spacing: 1px;
  box-shadow: inset 0 0 0 3px #070b0e80, 0 2px 9px #0007;
}
.rd-user-avatar:hover {
  border-color: #ffe2a1;
  background: linear-gradient(145deg, #865a2e, #1a2024);
}
.rd-theme .rd-account-shell {
  max-width: 1040px;
  padding: 34px 38px;
  background: linear-gradient(135deg, #131e27, #080f15 70%);
  position: relative;
  border-radius: 6px;
  border-color: #907047;
}
.rd-theme .rd-account-shell h1 {
  font-size: 36px;
  line-height: 1.25;
  margin: 8px 0 8px;
}
.rd-account-heading {
  padding-right: 280px;
}
.rd-page-caption {
  font-size: 12px;
  color: #a6b1bb;
  line-height: 1.7;
  margin: 0 0 20px;
}
.rd-theme .rd-create-account {
  position: absolute;
  right: 38px;
  top: 42px;
  min-height: 47px;
  padding: 0 19px;
  font-size: 12px;
  border-color: #efc98c;
  gap: 9px;
}
.rd-create-account > span {
  font-size: 20px;
}
.rd-theme .rd-account-shell > .register-sub {
  font-size: 13px;
  margin: 0 0 24px;
  color: #c9d0d5;
}
.rd-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.rd-theme .rd-account-summary > .mu-account-stat {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid #95764b55;
  border-radius: 4px;
  padding: 17px 19px;
  background: #060d12;
}
.rd-account-summary > .mu-account-stat > span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e9ba7;
}
.rd-theme .rd-account-summary > .mu-account-stat > strong {
  font-size: 18px;
  text-align: left;
}
.rd-account-summary > .register-notice,
.rd-account-summary > form {
  grid-column: 1/-1;
  margin: 0;
}
.rd-account-summary > .register-notice {
  padding: 12px 15px;
  border-left: 2px solid #bd955c;
  background: #392a1644;
}
.rd-account-shortcuts {
  border-top: 1px solid #96754733;
  border-bottom: 1px solid #96754733;
  padding: 9px 0;
  margin-bottom: 26px;
}
.rd-theme .rd-account-shortcuts .register-notice {
  margin: 0;
}
.rd-account-shortcuts a {
  display: inline-block;
  padding: 8px 12px;
  background: #15212a;
  border: 1px solid #95764b44;
  border-radius: 3px;
  text-decoration: none !important;
  font-size: 11px;
}
.rd-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 14px;
}
.rd-theme .rd-list-heading .mu-dashboard-title {
  margin: 0;
  font-size: 23px;
}
.rd-list-heading > span {
  font-size: 10px;
  color: #8d9ba6;
}
.rd-theme .rd-game-account {
  border: 1px solid #95764b66;
  border-left: 3px solid #bb965d;
  background: linear-gradient(110deg, #182530, #0a1118);
  border-radius: 4px;
  padding: 20px;
  margin: 12px 0;
  gap: 20px;
}
.rd-game-id {
  font: 700 22px Cinzel, serif;
  color: #f0d4a3;
  overflow-wrap: anywhere;
}
.rd-theme .rd-game-account strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
}
.rd-theme .rd-characters-link {
  padding: 10px 15px;
  color: #fff0d0;
  border: 1px solid #b3955b;
  border-radius: 3px;
  background: linear-gradient(#74552e, #392719);
  font-size: 12px;
  font-weight: 600;
}
.rd-theme .rd-password-link {
  padding: 10px;
  border: 1px solid #475461;
  border-radius: 3px;
  font-size: 11px;
  color: #bcc9d2;
}
.rd-account-help {
  padding: 14px 0;
}
.rd-theme .rd-account-shell > .mu-logout-form {
  padding-top: 20px;
  border-top: 1px solid #96754733;
}
.rd-theme .rd-account-shell > .mu-logout-form .btn {
  width: auto;
  min-height: 36px;
  font-size: 11px;
  background: #17212a;
  border-color: #625847;
  color: #c2c9cf;
  box-shadow: none;
}
.rd-back-link {
  display: inline-block;
  color: #bdac8f;
  font-size: 11px;
  margin: 0 0 20px;
}
.rd-theme .rd-characters .rd-account-shell {
  max-width: 1100px;
}
.rd-theme .rd-character-card {
  position: relative;
  border: 1px solid #92764c88;
  border-left: 3px solid #c09b64;
  background: linear-gradient(120deg, #182631, #091119);
  border-radius: 5px;
  padding: 25px !important;
  margin: 22px 0 !important;
  overflow: hidden;
}
.rd-theme .rd-character-card:before {
  content: "✦";
  position: absolute;
  right: 23px;
  top: 17px;
  font-size: 42px;
  line-height: 1;
  color: #bb965a44;
  pointer-events: none;
}
.rd-theme .rd-character-card .rd-character-name {
  font: 700 26px Cinzel, serif;
  color: #efd3a0;
  padding-right: 50px;
}
.rd-character-meta {
  font-size: 13px;
  color: #d3bb93;
}
.rd-character-attributes {
  padding: 15px 18px;
  border: 1px solid #a68b5733;
  background: #060d13;
  border-radius: 4px;
  word-spacing: 8px;
  font-size: 12px;
  line-height: 2;
  color: #d5dce1;
}
.rd-character-resources {
  font-size: 12px;
  line-height: 2;
  color: #9eacb7;
}
.rd-theme .rd-character-card > .register-notice {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #9a82553f;
  background: #a8883b14;
  color: #e0c48d;
  font-size: 11px;
  border-radius: 3px;
  margin: 6px 0 18px;
}
.rd-theme .rd-character-card .btn {
  font-size: 11px;
  min-height: 40px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.5;
}
.rd-theme .rd-character-card form + .register-notice {
  margin-top: 5px;
}
.rd-character-history {
  padding-top: 14px;
  margin-top: 30px;
  border-top: 1px solid #95764b55;
}
.rd-character-history h2 {
  font: 700 24px Cinzel, serif;
  color: #efd3a0;
}
.rd-character-history > p {
  color: #8f9eaa;
  font-size: 11px;
}
.rd-character-history table {
  font-size: 11px;
  min-width: 580px;
}
.rd-character-history th {
  background: #15222c;
  color: #ccb38a;
  text-align: left;
  padding: 12px;
}
.rd-character-history td {
  padding: 13px 12px;
  border-bottom: 1px solid #95764b33;
  color: #b7c3cd;
}
.rd-character-history tbody tr:nth-child(even) {
  background: #15212b55;
}
.rd-theme .site-header .desktop-nav {
  margin: 0 auto;
  height: 100%;
}
@media (max-width: 1200px) {
  .rd-theme .site-header .desktop-nav a {
    padding: 0 9px;
    font-size: 11px;
  }
  .rd-theme .site-header .brand {
    min-width: 165px;
  }
  .rd-theme .nav-wrap {
    gap: 15px;
  }
}
@media (max-width: 1050px) {
  .rd-theme .mobile-nav {
    top: 76px;
  }
  .rd-theme .header-actions .login-link {
    display: inline-block;
  }
  .rd-theme .site-header .header-actions .btn {
    display: inline-flex;
  }
  .rd-theme .rd-user-avatar {
    margin-right: 3px;
  }
}
@media (max-width: 760px) {
  .rd-theme .site-header {
    height: 66px;
  }
  .rd-theme .brand-main {
    font-size: 22px;
  }
  .rd-theme .site-header .brand {
    min-width: 0;
  }
  .rd-theme .header-actions {
    gap: 10px;
  }
  .rd-theme .header-actions .login-link {
    display: none;
  }
  .rd-theme .site-header .header-actions .btn {
    min-height: 34px;
    font-size: 10px;
    padding: 0 10px;
  }
  .rd-theme .mobile-nav {
    top: 66px;
  }
  .rd-theme .rd-hero {
    height: calc(100vh - 66px);
    height: calc(100svh - 66px);
  }
  .rd-user-avatar {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }
  .rd-theme .rd-account-shell {
    padding: 24px 19px;
  }
  .rd-account-heading {
    padding-right: 0;
  }
  .rd-theme .rd-account-shell h1 {
    font-size: 29px;
  }
  .rd-theme .rd-create-account {
    position: static;
    width: 100%;
    margin: 0 0 20px;
    min-height: 47px;
  }
  .rd-account-summary {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 18px 0;
  }
  .rd-theme .rd-account-summary > .mu-account-stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 15px;
  }
  .rd-theme .rd-account-summary > .mu-account-stat > strong {
    font-size: 15px;
  }
  .rd-list-heading {
    display: block;
  }
  .rd-list-heading > span {
    display: block;
    margin-top: 5px;
  }
  .rd-theme .rd-game-account {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
  }
  .rd-theme .rd-game-account strong {
    text-align: left;
    gap: 8px;
  }
  .rd-theme .rd-character-card {
    padding: 20px 15px !important;
  }
  .rd-character-attributes {
    word-spacing: 3px;
    padding: 11px;
    font-size: 11px;
  }
  .rd-character-meta,
  .rd-character-resources {
    font-size: 11px;
  }
  .rd-auth-dialog {
    max-height: calc(100svh - 20px);
  }
  .rd-auth-frame {
    height: min(630px, calc(100svh - 175px));
  }
  .rd-auth-embedded .rd-theme .register-shell {
    padding: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rd-theme * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

.rd-class-card summary {
  cursor: pointer;
  list-style: none;
}
.rd-class-card summary::-webkit-details-marker {
  display: none;
}
.rd-class-card summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.rd-class-hint {
  display: block;
  color: var(--gold);
  padding: 0 8px 12px;
  font-size: 11px;
}
.rd-class-card .rd-class-description {
  font-size: 12px;
  line-height: 1.8;
  padding: 12px;
  text-align: left;
  border-top: 1px solid var(--line);
}
.rd-news-expand summary {
  cursor: pointer;
  list-style: none;
}
.rd-news-expand summary::-webkit-details-marker {
  display: none;
}
.rd-news-more,
.rd-news-less {
  display: block;
  color: var(--gold);
  padding: 7px 0;
}
.rd-news-less {
  display: none;
}
.rd-news-expand[open] .rd-news-preview,
.rd-news-expand[open] .rd-news-more {
  display: none;
}
.rd-news-expand[open] .rd-news-less {
  display: block;
}
.rd-news-preview {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rd-news-body {
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.rd-news-body a {
  text-decoration: underline;
}
.rd-news-body ul,
.rd-news-body ol {
  padding-left: 24px;
}
.rd-news-body p {
  white-space: normal;
}
.news-item > div {
  min-width: 0;
}
.rd-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}
.rd-editor-toolbar button {
  cursor: pointer;
  border: 1px solid #95764b;
  background: #15212b;
  color: #eee8df;
  padding: 7px 10px;
  border-radius: 3px;
}
.rd-news-editor {
  min-height: 280px;
  border: 1px solid #95764b;
  padding: 16px;
  background: #080e14;
  color: #eee8df;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.rd-news-editor ul,
.rd-news-editor ol {
  padding-left: 24px;
}
.rd-news-editor:focus {
  outline: 2px solid #dfb47b;
}

/* Redesigned header and dedicated account pages. */
.rd-theme .site-header {
  height: 80px;
  background: #0b1219;
  border-bottom: 1px solid #d1a46a40;
  box-shadow: 0 6px 24px #0004;
}
.rd-theme .nav-wrap {
  gap: 18px;
}
.rd-theme .desktop-nav a {
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
}
.rd-theme .desktop-nav a.active {
  background: transparent;
  box-shadow: none;
  border-color: #d6ab70;
  color: #f3d39d;
}
.rd-theme .desktop-nav a:hover {
  background: #ffffff06;
}
.rd-theme .header-actions {
  gap: 9px;
}
.rd-theme .header-actions .rd-login-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid #a9855155;
  border-radius: 6px;
  font-size: 11px;
  text-transform: none;
}
.rd-theme .header-actions .btn {
  border-radius: 6px;
  box-shadow: none;
  font-size: 11px;
}
.rd-theme .rd-user-avatar {
  width: 44px;
  height: 44px;
  border: 2px solid #d4ac73;
  box-shadow: 0 0 0 4px #d4ac7310;
  background: #18212a;
}
.rd-user-avatar:focus-visible,
.rd-account-tabs a:focus-visible {
  outline: 2px solid #ffe2a1;
  outline-offset: 4px;
}
.rd-mobile-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rd-auth-page .mu-register {
  min-height: calc(100svh - 80px);
  padding: 54px 0 70px;
  background: radial-gradient(ellipse at top, #27323e88, transparent 70%),
    #080e14;
}
.rd-auth-page .mu-register > .container {
  max-width: 550px;
}
.rd-auth-page .register-shell {
  max-width: none;
  padding: 32px;
  background: #101922;
  border: 1px solid #d4ac7340;
  border-radius: 16px;
  box-shadow: 0 24px 70px #0005;
}
.rd-auth-brandmark {
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #d4ac7355;
  color: #e7c28e;
  background: #d4ac730b;
  font-size: 30px;
}
.rd-account-tabs {
  display: flex;
  background: #080f16;
  padding: 5px;
  border: 1px solid #ffffff0c;
  border-radius: 9px;
  gap: 5px;
  margin-bottom: 28px;
}
.rd-account-tabs a {
  flex: 1;
  padding: 11px 5px;
  text-align: center;
  border-radius: 6px;
  color: #aab6c2;
  font-weight: 600;
}
.rd-account-tabs a[aria-current="page"] {
  background: #26313d;
  color: #f2d5a0;
  box-shadow: 0 2px 6px #0003;
}
.rd-auth-page .register-shell h1 {
  font-family: Inter, "Noto Sans Georgian", sans-serif;
  font-size: 29px;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.rd-auth-page .section-kicker {
  font-size: 9px;
  letter-spacing: 2px;
  color: #bfa57c;
}
.rd-auth-page .register-sub {
  font-size: 13px;
  color: #aab6c2;
  line-height: 1.8;
}
.rd-auth-page .register-form .field input {
  border-radius: 7px;
  min-height: 46px;
  background: #0b131c;
  border-color: #ffffff20;
}
.rd-auth-page .register-form .btn {
  width: 100%;
  border-radius: 7px;
  box-shadow: none;
  min-height: 47px;
}
.rd-auth-page .register-notice {
  font-size: 12px;
  line-height: 1.7;
}
.rd-auth-page .security-widget {
  margin: 18px 0;
  max-width: 100%;
  overflow: auto;
}
@media (max-width: 1200px) {
  .rd-theme .desktop-nav a {
    padding: 0 7px;
    font-size: 10px;
  }
  .rd-theme .site-header .brand {
    min-width: 150px;
  }
}
@media (max-width: 1050px) {
  .rd-theme .mobile-nav {
    top: 80px;
  }
  .rd-theme .desktop-nav {
    display: none;
  }
}
@media (max-width: 760px) {
  .rd-theme .site-header {
    height: 68px;
  }
  .rd-theme .mobile-nav {
    top: 68px;
  }
  .rd-theme .site-header .brand {
    min-width: 0;
  }
  .rd-theme .brand-main {
    font-size: 21px;
  }
  .rd-theme .header-actions {
    gap: 6px;
  }
  .rd-theme .header-actions .rd-login-action {
    display: inline-flex;
    padding: 0 9px;
    font-size: 10px;
    min-height: 35px;
  }
  .rd-theme .site-header .header-actions .btn {
    padding: 0 9px;
    font-size: 10px;
    min-height: 35px;
  }
  .rd-theme .rd-user-avatar {
    width: 39px;
    height: 39px;
  }
  .rd-auth-page .mu-register {
    padding: 26px 0 40px;
    min-height: calc(100svh - 68px);
  }
  .rd-auth-page .register-shell {
    padding: 24px 20px;
  }
  .rd-theme .rd-hero {
    height: calc(100svh - 68px);
  }
}

@media (max-width: 390px) {
  .rd-theme .site-header .brand-icon {
    display: none;
  }
  .rd-theme .site-header .brand-main {
    font-size: 19px;
  }
  .rd-theme .nav-wrap {
    gap: 8px;
  }
  .rd-theme .header-actions .rd-login-action {
    padding: 0 7px;
  }
}
