:root {
  --t-bg: #050914;
  --t-bg-2: #091426;
  --t-bg-3: #101a2d;
  --t-panel: rgba(9, 17, 31, 0.9);
  --t-panel-solid: #101827;
  --t-panel-soft: rgba(255, 255, 255, 0.05);
  --t-border: rgba(92, 217, 239, 0.2);
  --t-border-strong: rgba(216, 176, 98, 0.42);
  --t-text: #f6f2e8;
  --t-muted: #a9bcc6;
  --t-dim: #72818f;
  --t-teal: #29d8ef;
  --t-teal-2: #1987b8;
  --t-gold: #d8b062;
  --t-gold-2: #9a7336;
  --t-red: #7d2749;
  --t-violet: #674bc0;
  --t-ash: #1a2430;
  --t-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --t-radius: 8px;
  --t-font-body: "Alegreya Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --t-font-title: "Cinzel", Georgia, serif;
}

/* Full theme pass: separated homepage bands, rugged mascot v2, and shared module page shells. */
.t-mascot-stage-hero .t-mascot-pointing {
  width: min(350px, 92%);
}

.t-page-head-mascot,
.t-access-gate-mascot,
.t-realm-peek,
.t-warboard-section .t-warboard-console::before {
  content: "";
}

.t-warboard-section .t-warboard-console::before {
  background-image: url('../images/tanados/mascot/tanados-drake-peek.webp');
}

.t-realm-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(34, 218, 244, 0.08);
  background:
    radial-gradient(circle at 14% 0%, rgba(34, 218, 244, 0.1), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(118, 64, 211, 0.12), transparent 32rem),
    linear-gradient(180deg, #060913, #07111a);
}

.t-realm-band + .t-realm-band {
  border-top-color: rgba(216, 176, 98, 0.1);
}

.t-realm-band h2,
.t-database-lab h2,
.t-armory-band-grid h2 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.98;
}

.t-realm-band p,
.t-database-lab p,
.t-armory-band-grid p {
  max-width: 720px;
  color: #b9c8d1;
  font-size: 1.04rem;
}

.t-realm-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: 36px;
  align-items: center;
}

.t-realm-band-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.t-realm-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.t-realm-band-art {
  position: relative;
  display: grid;
  min-height: 470px;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.22);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  color: #fff7e4;
  padding: 34px;
  isolation: isolate;
}

.t-realm-band-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 7, 15, 0.04), rgba(3, 7, 15, 0.9)),
    linear-gradient(90deg, rgba(3, 7, 15, 0.86), rgba(3, 7, 15, 0.08));
}

.t-realm-band-art span {
  color: #d8b062;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-realm-band-art strong {
  display: block;
  max-width: 560px;
  margin-top: 8px;
  font-family: var(--t-font-title);
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 1;
}

.t-realm-band-database {
  background:
    radial-gradient(circle at 0% 50%, rgba(118, 64, 211, 0.14), transparent 34rem),
    radial-gradient(circle at 100% 0%, rgba(34, 218, 244, 0.1), transparent 32rem),
    linear-gradient(180deg, #070b17, #050912);
}

.t-database-lab {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.t-database-lab-art {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 98, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(34, 218, 244, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(15, 27, 39, 0.94), rgba(4, 8, 16, 0.94)),
    url('../images/graphics/features/reward_points_system.jpg') center / cover;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.36);
}

.t-database-lab-art .t-mascot-sign {
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: min(450px, 92%);
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.6));
  transform: translateX(-50%);
  animation: tMascotBoard 6.2s ease-in-out infinite;
}

.t-database-lab .t-mascot-sign-copy {
  bottom: 272px;
}

.t-database-lab-copy {
  display: grid;
  gap: 18px;
}

.t-database-actions {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.t-lab-link,
.t-strip-link {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 34, 48, 0.9), rgba(7, 12, 23, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(118, 64, 211, 0.14), transparent 14rem);
  color: #eefcff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.t-lab-link {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  min-height: 116px;
  padding: 18px;
}

.t-lab-link i,
.t-strip-link i {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(216, 176, 98, 0.3);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.52);
  color: #27ddf7;
  box-shadow: inset 0 0 18px rgba(34, 218, 244, 0.08);
}

.t-lab-link i {
  width: 62px;
  font-size: 1.45rem;
}

.t-lab-link span {
  display: grid;
  gap: 5px;
}

.t-lab-link strong,
.t-strip-link span {
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.15rem;
  line-height: 1.05;
}

.t-lab-link small {
  color: #a9bcc8;
  font-size: 0.9rem;
  line-height: 1.35;
}

.t-lab-link:hover,
.t-strip-link:hover {
  border-color: rgba(216, 176, 98, 0.46);
  color: #ffffff;
  transform: translateY(-2px);
}

.t-realm-band-armory {
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.96), rgba(6, 9, 18, 0.98)),
    url('../images/tanados/tanados-war-room.webp') center / cover;
}

.t-armory-band-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 30px;
  align-items: center;
}

.t-armory-tool-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.t-strip-link {
  min-height: 168px;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.t-strip-link i {
  width: 54px;
  font-size: 1.3rem;
}

.t-realm-band-armory .t-realm-peek {
  right: clamp(12px, 5vw, 88px);
  bottom: -104px;
  width: min(250px, 19vw);
  opacity: 0.76;
}

.t-module-shell {
  min-height: 70vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 218, 244, 0.1), transparent 34rem),
    radial-gradient(circle at 88% 16%, rgba(118, 64, 211, 0.12), transparent 34rem),
    linear-gradient(180deg, #050811, #08111b 48%, #050711);
}

.t-module-shell-content {
  padding: clamp(44px, 6vw, 86px) 0;
}

.t-module-shell .container,
.t-module-shell .container-fluid {
  max-width: 1220px;
}

.t-module-shell .card,
.t-module-shell .box,
.t-module-shell .panel,
.t-module-shell .well,
.t-module-shell .section-padding,
.t-module-shell .texture,
.t-module-shell .banner {
  border: 1px solid rgba(34, 218, 244, 0.17) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(12, 23, 34, 0.88), rgba(5, 10, 18, 0.9)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32) !important;
  color: #d7e3e9 !important;
}

.t-module-shell .card-body,
.t-module-shell .box-body,
.t-module-shell .panel-body {
  color: #d7e3e9;
}

.t-module-shell h1,
.t-module-shell h2,
.t-module-shell h3,
.t-module-shell h4,
.t-module-shell h5,
.t-module-shell h6 {
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-module-shell p,
.t-module-shell li,
.t-module-shell label,
.t-module-shell .form-check-label {
  color: #bdcbd3;
}

.t-module-shell a:not(.btn):not(.t-button) {
  color: #27ddf7;
}

.t-module-shell .form-control,
.t-module-shell .form-select,
.t-module-shell input[type="text"],
.t-module-shell input[type="email"],
.t-module-shell input[type="password"],
.t-module-shell input[type="number"],
.t-module-shell textarea,
.t-module-shell select {
  min-height: 48px;
  border: 1px solid rgba(34, 218, 244, 0.24) !important;
  border-radius: 8px !important;
  background: rgba(2, 7, 13, 0.76) !important;
  color: #f3fbff !important;
}

.t-module-shell .form-control::placeholder,
.t-module-shell input::placeholder,
.t-module-shell textarea::placeholder {
  color: rgba(202, 219, 228, 0.68) !important;
}

.t-module-shell .input-group-text {
  min-width: 48px;
  border: 1px solid rgba(34, 218, 244, 0.24) !important;
  border-radius: 8px 0 0 8px !important;
  background: rgba(3, 10, 18, 0.88) !important;
  color: #27ddf7 !important;
}

.t-module-shell .btn,
.t-module-shell button.btn,
.t-module-shell button[type="submit"],
.t-module-shell input[type="submit"] {
  min-height: 48px;
  border: 1px solid rgba(216, 176, 98, 0.36) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #d9ae58, #9e3f45) !important;
  color: #081018 !important;
  font-weight: 900 !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.t-module-shell .btn:hover,
.t-module-shell button[type="submit"]:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.t-module-shell .btn:disabled,
.t-module-shell button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.45) brightness(0.75);
}

.t-route-auth .t-module-shell-content,
.t-route-register .t-module-shell-content {
  padding-top: clamp(36px, 5vw, 70px);
}

.t-route-auth .container > .col-12,
.t-route-register .container > .row,
.t-route-register .container-fluid > .row {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.t-route-auth .card,
.t-route-register .bg-dark {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border-color: rgba(216, 176, 98, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(12, 23, 34, 0.94), rgba(5, 10, 18, 0.96)) !important;
}

.t-route-auth .card::before,
.t-route-register .bg-dark::before {
  content: "Account Access";
  display: block;
  margin: 0 0 18px;
  color: #d8b062;
  font-family: var(--t-font-title);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.t-route-register .bg-dark::before {
  content: "Create Account";
  padding: 34px 34px 0;
}

.t-route-register .login-logo {
  display: none;
}

.t-route-auth .reborn-auth-art,
.t-route-register .reborn-auth-art {
  min-height: 610px;
  background:
    linear-gradient(180deg, rgba(3, 7, 15, 0.18), rgba(3, 7, 15, 0.72)),
    url('../images/tanados/tanados-hero-citadel.webp') center / cover;
}

.t-route-auth .reborn-auth-art::after,
.t-route-register .reborn-auth-art::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -38px;
  width: min(330px, 62%);
  aspect-ratio: 501 / 429;
  background: url('../images/tanados/mascot/tanados-drake-peek.webp') center / contain no-repeat;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.5));
}

.t-route-auth .card-body,
.t-route-register .card-body {
  padding: 0;
}

.t-route-register form {
  width: min(520px, 100%);
  padding: 0 34px 34px;
}

.t-route-register .border-warning-subtle {
  border-color: rgba(216, 176, 98, 0.24) !important;
  background: rgba(3, 8, 16, 0.54) !important;
}

@media (max-width: 1199px) {
  .t-realm-band-grid,
  .t-database-lab,
  .t-armory-band-grid {
    grid-template-columns: 1fr;
  }

  .t-armory-tool-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .t-realm-band-art,
  .t-database-lab-art {
    min-height: 420px;
  }

  .t-database-lab-art .t-mascot-sign {
    width: min(340px, 94%);
  }

  .t-database-lab .t-mascot-sign-copy {
    bottom: 194px;
  }

  .t-armory-tool-strip {
    grid-template-columns: 1fr;
  }

  .t-strip-link {
    min-height: 96px;
    grid-template-columns: 54px 1fr;
    justify-items: start;
    text-align: left;
  }

  .t-route-auth .card,
  .t-route-register .bg-dark,
  .t-route-auth .reborn-auth-art,
  .t-route-register .reborn-auth-art {
    min-height: auto;
  }

  .t-route-auth .reborn-auth-art,
  .t-route-register .reborn-auth-art {
    min-height: 320px;
  }

  .t-route-register .bg-dark::before,
  .t-route-register form {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* Tanados cinematic top-navigation rebuild */
body.tanados-modern {
  padding-top: 86px;
  padding-left: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 174, 88, 0.13), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(33, 208, 196, 0.11), transparent 28rem),
    linear-gradient(180deg, #211814 0%, #102327 42%, #17120f 100%);
}

.t-cinematic-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1050;
  border-bottom: 1px solid rgba(245, 204, 118, 0.34);
  background:
    linear-gradient(90deg, rgba(84, 37, 36, 0.94), rgba(37, 74, 75, 0.9) 48%, rgba(97, 62, 35, 0.94)),
    radial-gradient(circle at 18% 50%, rgba(245, 204, 118, 0.22), transparent 18rem);
  box-shadow: 0 16px 46px rgba(31, 16, 10, 0.34);
  backdrop-filter: blur(16px);
  animation: tNavDrop 520ms ease-out both;
}

.t-cinematic-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 208, 196, 0.72), rgba(245, 204, 118, 0.7), transparent);
  opacity: 0.9;
}

.t-cinematic-nav-inner {
  display: grid;
  width: min(100% - 32px, 1660px);
  min-height: 86px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
}

.t-cinematic-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff5df;
}

.t-cinematic-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(33, 208, 196, 0.36));
  transform-origin: center;
  animation: tSigilBreath 5.5s ease-in-out infinite;
}

.t-cinematic-brand span {
  display: grid;
  line-height: 1;
}

.t-cinematic-brand strong {
  font-family: var(--t-font-title);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t-cinematic-brand small {
  color: rgba(255, 245, 223, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-cinematic-menu {
  justify-self: center;
  min-width: 0;
}

.t-cinematic-menu .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.t-cinematic-menu .nav-item {
  position: relative;
}

.t-cinematic-menu .nav-link {
  position: relative;
  display: inline-flex !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 199, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 232, 180, 0.12), rgba(65, 36, 25, 0.2)),
    rgba(28, 58, 60, 0.34);
  color: rgba(255, 245, 223, 0.88) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0 17px !important;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.t-cinematic-menu .nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.24) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.t-cinematic-menu .nav-link:hover,
.t-cinematic-menu .nav-link.active,
.t-cinematic-menu .dropdown.show > .nav-link {
  border-color: rgba(245, 204, 118, 0.62);
  background:
    linear-gradient(180deg, rgba(245, 204, 118, 0.26), rgba(143, 47, 56, 0.24)),
    rgba(33, 83, 86, 0.36);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.t-cinematic-menu .nav-link:hover::before {
  transform: translateX(120%);
}

.t-cinematic-menu .dropdown-menu {
  min-width: 220px;
  margin-top: 12px !important;
  border: 1px solid rgba(245, 204, 118, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(46, 32, 25, 0.98), rgba(18, 45, 48, 0.98)),
    radial-gradient(circle at 0 0, rgba(245, 204, 118, 0.16), transparent 15rem);
  box-shadow: 0 18px 48px rgba(24, 10, 6, 0.42);
  padding: 8px;
}

.t-cinematic-menu .dropdown-item,
.t-cinematic-account .dropdown-item,
.t-mobile-drawer .dropdown-item {
  border-radius: 6px;
  color: rgba(255, 245, 223, 0.86) !important;
  font-weight: 800;
  padding: 9px 10px;
}

.t-cinematic-menu .dropdown-item:hover,
.t-cinematic-account .dropdown-item:hover,
.t-mobile-drawer .dropdown-item:hover {
  background: rgba(33, 208, 196, 0.12);
  color: #ffffff !important;
}

.t-cinematic-account {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.t-nav-login,
.t-nav-register,
.t-nav-user,
.t-mobile-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.t-nav-login,
.t-nav-user {
  border: 1px solid rgba(164, 221, 212, 0.26);
  background: rgba(14, 50, 52, 0.42);
  color: #fff5df;
  padding: 0 14px;
}

.t-nav-register {
  border: 1px solid rgba(255, 232, 180, 0.52);
  background: linear-gradient(135deg, #f0c66e, #bd7e3e 48%, #8f2f38);
  color: #1a1009;
  padding: 0 16px;
  box-shadow: 0 10px 26px rgba(143, 47, 56, 0.22);
}

.t-nav-login:hover,
.t-nav-user:hover {
  border-color: rgba(33, 208, 196, 0.58);
  background: rgba(33, 208, 196, 0.14);
  color: #ffffff;
}

.t-nav-register:hover {
  color: #140b06;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.t-nav-user .t-avatar {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.t-mobile-toggle {
  display: none;
  width: 44px;
  border: 1px solid rgba(255, 239, 199, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff5df;
}

.t-announcement {
  border: 0;
  border-bottom: 1px solid rgba(245, 204, 118, 0.22);
  background: linear-gradient(90deg, rgba(143, 47, 56, 0.86), rgba(35, 85, 84, 0.72), rgba(97, 62, 35, 0.78));
  color: #fff5df;
}

.t-console-stage {
  min-height: calc(100vh - 86px);
  background: #251a14;
}

.t-console-bg {
  opacity: 0.62;
  filter: saturate(1.12) contrast(1.02);
  transform: scale(1.02);
  animation: tHeroDrift 18s ease-in-out infinite alternate;
}

.t-console-stage::before {
  background:
    linear-gradient(90deg, rgba(47, 27, 20, 0.9), rgba(15, 61, 64, 0.56) 48%, rgba(79, 43, 27, 0.78)),
    linear-gradient(180deg, rgba(42, 24, 18, 0.12), rgba(15, 31, 31, 0.62) 74%, rgba(33, 23, 17, 0.92));
}

.t-console-grid {
  min-height: calc(100vh - 86px);
  padding-top: 46px;
}

.t-console-title {
  animation: tHeroRise 620ms ease-out 120ms both;
}

.t-console-title h1 {
  color: #fff1cf;
  text-shadow: 0 14px 34px rgba(30, 12, 7, 0.46);
}

.t-console-title p {
  color: rgba(255, 245, 223, 0.82);
}

.t-gate-device,
.t-access-panel,
.t-warboard-console,
.t-page-headbar,
.t-rank-panel,
.t-news-card,
.t-feature-panel,
.t-legal-index,
.t-legal-entry {
  background:
    linear-gradient(180deg, rgba(48, 35, 25, 0.78), rgba(16, 48, 50, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.1), transparent 18rem);
  border-color: rgba(245, 204, 118, 0.18);
}

.t-gate-device,
.t-access-panel {
  animation: tHeroRise 700ms ease-out 220ms both;
}

.t-gate-ring {
  border-color: rgba(33, 208, 196, 0.42);
  background:
    radial-gradient(circle, rgba(33, 208, 196, 0.24), transparent 56%),
    conic-gradient(from 45deg, rgba(245, 204, 118, 0.36), rgba(33, 208, 196, 0.2), rgba(143, 47, 56, 0.22), rgba(245, 204, 118, 0.36));
  animation: tSigilFloat 6.5s ease-in-out infinite;
}

.t-warboard-console {
  animation: tHeroRise 760ms ease-out 320ms both;
}

.t-rank-panel {
  animation: tCardReveal 620ms ease-out both;
}

.t-rank-panel:nth-child(2) {
  animation-delay: 90ms;
}

.t-rank-panel:nth-child(3) {
  animation-delay: 160ms;
}

.t-page-headbar {
  background:
    linear-gradient(135deg, rgba(73, 42, 28, 0.92), rgba(18, 63, 66, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.16), transparent 28rem);
}

.t-cookie-consent {
  background:
    linear-gradient(180deg, rgba(47, 32, 24, 0.97), rgba(16, 49, 51, 0.97)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.16), transparent 15rem);
}

.t-mobile-drawer {
  background:
    linear-gradient(180deg, rgba(68, 38, 29, 0.98), rgba(16, 50, 52, 0.98)),
    radial-gradient(circle at 0 0, rgba(245, 204, 118, 0.16), transparent 17rem);
  color: #fff5df;
}

.t-drawer-brand {
  color: #fff5df;
}

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

@keyframes tHeroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tCardReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tSigilFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
    box-shadow: 0 0 80px rgba(33, 208, 196, 0.16), inset 0 0 55px rgba(0, 0, 0, 0.36);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 0 110px rgba(245, 204, 118, 0.22), inset 0 0 55px rgba(0, 0, 0, 0.3);
  }
}

@keyframes tSigilBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.055);
  }
}

@keyframes tHeroDrift {
  from {
    transform: scale(1.02) translateX(0);
  }
  to {
    transform: scale(1.055) translateX(-12px);
  }
}

@media (max-width: 1199px) {
  body.tanados-modern {
    padding-top: 70px;
    padding-left: 0;
  }

  .t-cinematic-nav-inner {
    width: min(100% - 22px, 100%);
    min-height: 70px;
    grid-template-columns: auto 1fr auto;
  }

  .t-cinematic-menu {
    display: none;
  }

  .t-cinematic-brand img {
    width: 48px;
    height: 48px;
  }

  .t-cinematic-brand small {
    display: none;
  }

  .t-cinematic-account {
    gap: 8px;
  }

  .t-nav-login {
    display: none;
  }

  .t-mobile-toggle {
    display: inline-flex;
  }

  .t-console-stage,
  .t-console-grid {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .t-cinematic-nav-inner {
    width: min(100% - 18px, 100%);
  }

  .t-cinematic-brand strong {
    font-size: 1rem;
  }

  .t-nav-register {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .t-nav-register span {
    display: none;
  }

  .t-announcement {
    font-size: 0.9rem;
  }

  .t-console-grid {
    padding-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-cinematic-nav,
  .t-cinematic-brand img,
  .t-console-bg,
  .t-console-title,
  .t-gate-device,
  .t-access-panel,
  .t-warboard-console,
  .t-rank-panel,
  .t-gate-ring {
    animation: none !important;
  }
}

html {
  scroll-behavior: smooth;
}

body.tanados-modern {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(33, 208, 196, 0.08), transparent 34rem),
    linear-gradient(180deg, #060d10 0%, var(--t-bg) 38%, #081013 100%);
  color: var(--t-text);
  font-family: var(--t-font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

.tanados-modern *,
.tanados-modern *::before,
.tanados-modern *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.tanados-modern a {
  color: var(--t-teal);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tanados-modern a:hover {
  color: #6ff4ea;
}

.tanados-modern img {
  max-width: 100%;
}

.t-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.t-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--t-gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.t-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--t-gold), transparent);
}

.t-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 13, 0.9) 0%, rgba(5, 10, 13, 0.74) 34%, rgba(5, 10, 13, 0.2) 72%),
    linear-gradient(180deg, rgba(4, 8, 10, 0.38), rgba(4, 8, 10, 0.86));
}

.t-button,
.tanados-modern .btn,
.tanados-modern button.btn,
.tanados-modern a.btn {
  display: inline-flex !important;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--t-border-strong) !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(224, 181, 88, 0.98), rgba(142, 99, 44, 0.98)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  color: #130f09 !important;
  font-weight: 800 !important;
  line-height: 1.1;
  padding: 12px 18px !important;
  text-transform: none !important;
  white-space: normal;
}

.t-button:hover,
.tanados-modern .btn:hover,
.tanados-modern button.btn:hover,
.tanados-modern a.btn:hover {
  border-color: rgba(255, 226, 151, 0.72) !important;
  background: linear-gradient(180deg, #efc875, #af7c36) !important;
  color: #0b0906 !important;
  transform: translateY(-1px);
}

.t-button-secondary {
  border-color: rgba(33, 208, 196, 0.36) !important;
  background: rgba(8, 22, 26, 0.78) !important;
  color: var(--t-text) !important;
}

.t-button-secondary:hover {
  border-color: rgba(33, 208, 196, 0.7) !important;
  background: rgba(18, 48, 52, 0.92) !important;
  color: #ffffff !important;
}

.t-button-small {
  min-height: 38px;
  padding: 10px 14px !important;
  font-size: 0.95rem;
}

.t-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--t-text);
  font-weight: 800;
}

.t-link-button:hover {
  border-color: var(--t-border);
  background: var(--t-panel-soft);
  color: #ffffff;
}

.t-announcement {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(217, 174, 88, 0.34);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(143, 47, 56, 0.82), rgba(13, 27, 30, 0.96));
  color: #fff6df;
}

.t-announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.t-announcement-close {
  position: absolute;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff6df;
}

.t-site-header {
  z-index: 1030;
  border-bottom: 1px solid rgba(164, 221, 212, 0.12);
  background: rgba(6, 13, 16, 0.84);
  backdrop-filter: blur(18px);
}

.t-nav-wrap {
  display: grid;
  min-height: 78px;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
}

.t-brand,
.t-footer-logo,
.t-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--t-text);
}

.t-brand:hover,
.t-footer-logo:hover,
.t-drawer-brand:hover {
  color: #ffffff;
}

.t-brand-mark {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 174, 88, 0.34);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 208, 196, 0.2), rgba(0, 0, 0, 0.24));
  box-shadow: 0 0 34px rgba(33, 208, 196, 0.12);
  overflow: hidden;
}

.t-brand-mark img,
.t-footer-logo img,
.t-drawer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.t-brand-copy,
.t-footer-logo span {
  display: grid;
  line-height: 1.05;
}

.t-brand-copy strong,
.t-footer-logo strong {
  font-family: var(--t-font-title);
  font-size: 1.18rem;
  color: #fff7e4;
}

.t-brand-copy small,
.t-footer-logo small {
  color: var(--t-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.t-primary-nav {
  justify-content: center;
}

.t-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.t-primary-nav .nav-link,
.t-drawer-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--t-muted) !important;
  font-size: 0.98rem;
  font-weight: 800;
  padding: 10px 12px !important;
}

.t-primary-nav .nav-link:hover,
.t-primary-nav .nav-link.active,
.t-drawer-nav .nav-link:hover,
.t-drawer-nav .nav-link.active {
  border-color: rgba(33, 208, 196, 0.2);
  background: rgba(33, 208, 196, 0.08);
  color: #ffffff !important;
}

.t-nav-chevron {
  font-size: 0.72rem;
  color: var(--t-gold);
}

.tanados-modern .dropdown-menu {
  border: 1px solid var(--t-border);
  border-radius: 8px;
  background: rgba(9, 18, 21, 0.98);
  box-shadow: var(--t-shadow);
  padding: 8px;
}

.tanados-modern .dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  color: var(--t-muted);
  font-weight: 700;
  padding: 10px 12px;
}

.tanados-modern .dropdown-item:hover,
.tanados-modern .dropdown-item:focus {
  background: rgba(33, 208, 196, 0.1);
  color: #ffffff;
}

.tanados-modern .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.09);
}

.t-account-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.t-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--t-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--t-text);
  padding: 6px 10px;
}

.t-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(217, 174, 88, 0.45);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
}

.t-user-summary {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

.t-user-summary strong {
  max-width: 140px;
  overflow: hidden;
  color: #fff7e4;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t-user-summary small {
  color: var(--t-muted);
  font-size: 0.8rem;
}

.t-mobile-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--t-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--t-text);
}

.t-mobile-drawer {
  max-width: 360px;
  border-right: 1px solid var(--t-border);
  background: #071115;
  color: var(--t-text);
}

.t-mobile-drawer .btn-close {
  filter: invert(1);
}

.t-drawer-brand img {
  width: 44px;
  height: 44px;
}

.t-drawer-brand span {
  font-family: var(--t-font-title);
  font-weight: 800;
}

.t-drawer-account {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.t-drawer-nav {
  display: grid;
  gap: 4px;
}

.t-drawer-nav .nav-link {
  width: 100%;
  justify-content: flex-start;
}

.t-drawer-social,
.t-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.t-drawer-social a,
.t-social-row a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--t-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--t-text);
}

.t-home-hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.t-home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: center;
  padding: 84px 0 64px;
}

.t-home-hero-copy {
  max-width: 690px;
}

.t-home-hero h1,
.t-page-hero h1 {
  margin: 14px 0 16px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 4.35rem;
  font-weight: 800;
  line-height: 0.98;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.62);
}

.t-home-hero p,
.t-page-hero p {
  max-width: 700px;
  color: #d9e2de;
  font-size: 1.18rem;
}

.t-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.t-command-panel {
  border: 1px solid rgba(164, 221, 212, 0.2);
  border-radius: var(--t-radius);
  background: linear-gradient(180deg, rgba(11, 24, 28, 0.9), rgba(7, 13, 16, 0.84));
  box-shadow: var(--t-shadow);
  padding: 22px;
}

.t-command-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.t-panel-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 208, 196, 0.32);
  border-radius: 8px;
  background: rgba(33, 208, 196, 0.1);
  color: var(--t-teal);
}

.t-command-panel h2 {
  margin: 2px 0 0;
  color: #fff7e4;
  font-size: 1.45rem;
  font-weight: 800;
}

.t-status-block {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
}

.t-status-block .card,
.t-footer-status .card {
  margin-bottom: 10px !important;
}

.t-status-block .card-header,
.t-footer-status .card-header {
  color: #fff7e4 !important;
  font-family: var(--t-font-body);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
}

.t-status-block .text-dark,
.t-footer-status .text-dark {
  color: var(--t-teal) !important;
}

.t-status-block .sidebox,
.t-footer-status .sidebox {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.18) !important;
  color: var(--t-muted) !important;
}

.t-status-block .sidebox-body,
.t-footer-status .sidebox-body {
  color: var(--t-muted) !important;
  font-weight: 700;
}

.t-status-block .realm_bar,
.t-footer-status .realm_bar {
  overflow: hidden;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.t-status-block .realm_bar_fill.horde,
.t-footer-status .realm_bar_fill.horde {
  background: var(--t-red) !important;
}

.t-status-block .realm_bar_fill.alliance,
.t-footer-status .realm_bar_fill.alliance {
  background: #1f6fb8 !important;
}

.t-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.t-stat-grid div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 10px;
}

.t-stat-grid strong {
  display: block;
  color: #fff7e4;
  font-size: 1.2rem;
  line-height: 1;
}

.t-stat-grid span {
  color: var(--t-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.t-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--t-text);
  font-weight: 800;
  padding-top: 14px;
}

.t-quick-band {
  border-top: 1px solid rgba(164, 221, 212, 0.16);
  border-bottom: 1px solid rgba(164, 221, 212, 0.12);
  background: linear-gradient(90deg, rgba(12, 23, 27, 0.98), rgba(18, 31, 33, 0.98));
}

.t-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.t-quick-action {
  display: grid;
  gap: 4px;
  min-height: 132px;
  align-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--t-text);
  padding: 22px;
}

.t-quick-action:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.t-quick-action i {
  color: var(--t-gold);
  font-size: 1.35rem;
}

.t-quick-action strong {
  color: #fff7e4;
  font-size: 1.18rem;
}

.t-quick-action span {
  color: var(--t-muted);
  font-size: 0.92rem;
}

.t-quick-action:hover {
  background: rgba(33, 208, 196, 0.07);
  color: #ffffff;
}

.t-section {
  padding: 82px 0;
}

.t-section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.t-section-head h2 {
  margin: 10px 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2.35rem;
  line-height: 1.12;
}

.t-section-head p {
  color: var(--t-muted);
  font-size: 1.05rem;
}

.t-news-section {
  background:
    linear-gradient(180deg, rgba(7, 17, 21, 0.9), rgba(9, 17, 20, 0.98)),
    linear-gradient(90deg, rgba(33, 208, 196, 0.04), rgba(217, 174, 88, 0.04));
}

.t-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.t-news-card,
.t-system-card,
.tanados-modern .card,
.tanados-modern .cards,
.tanados-modern .box {
  overflow: hidden;
  border: 1px solid var(--t-border) !important;
  border-radius: var(--t-radius) !important;
  background: linear-gradient(180deg, rgba(17, 31, 35, 0.96), rgba(9, 17, 20, 0.96)) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  color: var(--t-text) !important;
}

.t-news-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05090b;
}

.t-news-media img,
.t-news-media iframe,
.tanados-modern .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-news-body {
  padding: 20px;
}

.t-news-date {
  color: var(--t-gold);
  font-size: 0.84rem;
  font-weight: 800;
}

.t-news-body h3 {
  margin: 8px 0 10px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.t-news-body h3 a {
  color: #fff7e4;
}

.t-news-body p {
  color: var(--t-muted);
  margin: 0;
}

.t-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--t-text);
  font-weight: 800;
  padding: 14px 20px;
}

.t-section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.t-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--t-border);
  border-radius: var(--t-radius);
  color: var(--t-muted);
  padding: 36px;
  text-align: center;
}

.t-empty-state i {
  color: var(--t-gold);
  font-size: 2rem;
}

.t-systems-section {
  background: linear-gradient(180deg, #071115, #0b1619);
}

.t-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.t-system-card {
  min-height: 230px;
  color: var(--t-text);
  padding: 24px;
}

.t-system-card i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 208, 196, 0.22);
  border-radius: 8px;
  background: rgba(33, 208, 196, 0.08);
  color: var(--t-teal);
  font-size: 1.28rem;
}

.t-system-card h3 {
  margin: 18px 0 10px;
  color: #fff7e4;
  font-size: 1.3rem;
}

.t-system-card p {
  color: var(--t-muted);
  margin: 0;
}

.t-system-card:hover {
  border-color: rgba(217, 174, 88, 0.45) !important;
  transform: translateY(-2px);
}

.t-feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.t-feature-panel {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  padding: 54px;
}

.t-feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 12, 0.28), rgba(5, 10, 12, 0.86));
}

.t-feature-panel > div {
  position: relative;
  max-width: 620px;
}

.t-feature-panel h2 {
  margin: 10px 0 12px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2.05rem;
}

.t-feature-panel p {
  color: #d7e2df;
  font-size: 1.05rem;
}

.t-page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.t-page-hero .t-container {
  position: relative;
  z-index: 1;
  padding: 82px 0 58px;
}

.t-page-hero h1 {
  font-size: 3.4rem;
}

.t-page-content {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(8, 17, 20, 0.98), rgba(7, 13, 16, 1)),
    radial-gradient(circle at 80% 0%, rgba(217, 174, 88, 0.06), transparent 32rem);
  padding: 54px 0 72px;
}

.t-custom-page .t-page-content > .t-container > .section-padding.banner.bg-responsive:first-of-type,
.t-custom-page .t-page-content > .t-container > style:first-child + .section-padding.banner.bg-responsive,
.t-route-news .t-page-content > .t-container > .section-padding.banner.bg-responsive:first-of-type,
.t-route-news-view .t-page-content > .t-container > .section-padding.banner.bg-responsive:first-of-type {
  display: none !important;
}

.t-page-content .section-padding {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.t-page-content .texture,
.tanados-modern .texture,
.tanados-modern .bg-darker,
.tanados-modern .bg-dark {
  background: transparent !important;
}

.t-page-content .container {
  width: 100%;
  max-width: 1180px;
}

.tanados-modern h1,
.tanados-modern h2,
.tanados-modern h3,
.tanados-modern h4,
.tanados-modern h5,
.tanados-modern h6,
.tanados-modern .heading,
.tanados-modern .section-heading,
.tanados-modern .card-title {
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-weight: 800;
}

.tanados-modern p,
.tanados-modern .card-text,
.tanados-modern .description,
.tanados-modern .section-description {
  color: var(--t-muted);
}

.tanados-modern .text-warning,
.tanados-modern .text-gold {
  color: var(--t-gold) !important;
}

.tanados-modern .text-light {
  color: #d9e2de !important;
}

.tanados-modern .card-body,
.tanados-modern .card-footer,
.tanados-modern .card-header {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.tanados-modern table,
.tanados-modern .table,
.tanados-modern .dataTable {
  width: 100% !important;
  border-color: var(--t-border) !important;
  color: var(--t-text) !important;
}

.tanados-modern table thead th,
.tanados-modern .dataTable thead th {
  border-bottom: 1px solid var(--t-border-strong) !important;
  background: rgba(217, 174, 88, 0.08) !important;
  color: #fff7e4 !important;
}

.tanados-modern table tbody td,
.tanados-modern .dataTable tbody td {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--t-muted) !important;
}

.tanados-modern .dataTables_wrapper,
.tanados-modern .dataTables_wrapper label,
.tanados-modern .dataTables_info {
  color: var(--t-muted) !important;
}

.tanados-modern input,
.tanados-modern select,
.tanados-modern textarea,
.tanados-modern .form-control,
.tanados-modern .form-select {
  border: 1px solid rgba(164, 221, 212, 0.22) !important;
  border-radius: 6px !important;
  background: rgba(4, 10, 12, 0.84) !important;
  color: var(--t-text) !important;
  box-shadow: none !important;
}

.tanados-modern input::placeholder,
.tanados-modern textarea::placeholder {
  color: #839492 !important;
  opacity: 1;
}

.tanados-modern input:focus,
.tanados-modern select:focus,
.tanados-modern textarea:focus,
.tanados-modern .form-control:focus,
.tanados-modern .form-select:focus {
  border-color: rgba(33, 208, 196, 0.66) !important;
  box-shadow: 0 0 0 3px rgba(33, 208, 196, 0.13) !important;
}

.tanados-modern .pagination {
  gap: 6px;
  justify-content: center;
}

.tanados-modern .page-link {
  border: 1px solid var(--t-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--t-text);
}

.tanados-modern .page-item.active .page-link,
.tanados-modern .page-link:hover {
  border-color: var(--t-border-strong);
  background: rgba(217, 174, 88, 0.18);
  color: #fff7e4;
}

.tanados-modern .swal2-popup {
  width: min(520px, calc(100vw - 28px)) !important;
  border: 1px solid rgba(164, 221, 212, 0.2) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(13, 25, 28, 0.98), rgba(6, 13, 16, 0.98)) !important;
  box-shadow: var(--t-shadow) !important;
  color: var(--t-text) !important;
  padding: 32px !important;
}

.tanados-modern .swal2-title {
  color: #fff7e4 !important;
  font-family: var(--t-font-title) !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  padding: 0 !important;
}

.tanados-modern .swal2-html-container {
  color: var(--t-muted) !important;
  font-family: var(--t-font-body) !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 18px 0 0 !important;
}

.tanados-modern .swal2-actions {
  gap: 10px;
  margin-top: 26px !important;
}

.tanados-modern .swal2-styled {
  min-width: 108px;
  border: 1px solid var(--t-border-strong) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-family: var(--t-font-body) !important;
  font-weight: 800 !important;
}

.tanados-modern .swal2-confirm {
  background: linear-gradient(180deg, rgba(224, 181, 88, 0.98), rgba(142, 99, 44, 0.98)) !important;
  color: #130f09 !important;
}

.tanados-modern .swal2-deny,
.tanados-modern .swal2-cancel {
  border-color: rgba(143, 47, 56, 0.66) !important;
  background: rgba(143, 47, 56, 0.84) !important;
  color: #ffffff !important;
}

.t-contact-band {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.t-contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0;
}

.t-contact-inner h2 {
  margin: 10px 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2.05rem;
}

.t-contact-inner p {
  max-width: 680px;
  color: #d9e2de;
}

.t-footer {
  border-top: 1px solid rgba(164, 221, 212, 0.14);
  background: #050b0d;
  color: var(--t-muted);
  padding: 56px 0 30px;
}

.t-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 30px;
}

.t-footer-brand p {
  margin-top: 16px;
}

.t-footer-logo img {
  width: 58px;
  height: 58px;
}

.t-footer h3 {
  margin-bottom: 14px;
  color: #fff7e4;
  font-size: 1.1rem;
}

.t-footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.t-footer-links a {
  color: var(--t-muted);
  font-weight: 700;
}

.t-footer-links a:hover {
  color: #ffffff;
}

.t-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.t-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.t-footer-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
  color: var(--t-dim);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.t-footer-credits a {
  color: #a8bbc8;
}

.t-footer-credits a:hover {
  color: #29d8ef;
}

.t-disclaimer {
  margin: 18px 0 0;
  color: var(--t-dim);
  font-size: 0.86rem;
}

.t-return-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--t-border-strong);
  border-radius: 50%;
  background: rgba(8, 18, 21, 0.92);
  color: var(--t-gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.t-return-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .t-nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .t-primary-nav {
    display: none;
  }

  .t-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .t-command-panel {
    max-width: 560px;
  }

  .t-system-grid,
  .t-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .t-news-grid,
  .t-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  body.tanados-modern {
    font-size: 16px;
  }

  .t-container {
    width: min(100% - 22px, 1180px);
  }

  .t-nav-wrap {
    min-height: 66px;
    width: min(100% - 18px, 1320px);
  }

  .t-brand-mark {
    width: 48px;
    height: 48px;
  }

  .t-brand-mark img {
    width: 42px;
    height: 42px;
  }

  .t-brand-copy small,
  .t-link-button span,
  .t-account-actions .t-button span {
    display: none;
  }

  .t-home-hero {
    min-height: 620px;
    background-position: 60% center;
  }

  .t-home-hero-grid {
    padding: 58px 0 38px;
  }

  .t-home-hero h1 {
    font-size: 3rem;
  }

  .t-page-hero {
    min-height: 310px;
  }

  .t-page-hero h1 {
    font-size: 2.5rem;
  }

  .t-page-hero .t-container {
    padding: 54px 0 40px;
  }

  .t-home-hero p,
  .t-page-hero p {
    font-size: 1.05rem;
  }

  .t-stat-grid,
  .t-quick-grid,
  .t-news-grid,
  .t-system-grid,
  .t-feature-split,
  .t-footer-grid {
    grid-template-columns: 1fr;
  }

  .t-quick-action,
  .t-quick-action:last-child {
    min-height: auto;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 18px 0;
  }

  .t-section {
    padding: 56px 0;
  }

  .t-section-head h2,
  .t-feature-panel h2,
  .t-contact-inner h2 {
    font-size: 1.8rem;
  }

  .t-feature-panel {
    min-height: 380px;
    padding: 28px;
  }

  .t-contact-inner,
  .t-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Tanados command-rail redesign */
body.tanados-modern {
  padding-left: 118px;
}

.t-command-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1040;
  display: grid;
  width: 118px;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid rgba(217, 174, 88, 0.22);
  background:
    linear-gradient(180deg, rgba(7, 14, 17, 0.98), rgba(5, 10, 12, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(33, 208, 196, 0.16), transparent 16rem);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.38);
  padding: 18px 12px;
}

.t-rail-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.t-rail-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(33, 208, 196, 0.22));
}

.t-rail-nav {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.t-rail-menu {
  display: grid;
  width: 100%;
  gap: 8px;
}

.t-rail-menu .nav-item {
  width: 100%;
}

.t-rail-menu .nav-link {
  display: grid !important;
  min-height: 58px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(164, 221, 212, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--t-muted) !important;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
  padding: 8px 5px !important;
  text-align: center;
  text-transform: uppercase;
}

.t-rail-menu .nav-link i:first-child {
  color: var(--t-gold);
  font-size: 1rem;
}

.t-rail-menu .nav-link:hover,
.t-rail-menu .nav-link.active {
  border-color: rgba(33, 208, 196, 0.46);
  background: rgba(33, 208, 196, 0.1);
  color: #ffffff !important;
}

.t-rail-menu .dropdown-menu {
  left: 100% !important;
  top: 0 !important;
  transform: translate(12px, 0) !important;
}

.t-rail-menu .t-nav-chevron {
  display: none;
}

.t-rail-account {
  display: grid;
  gap: 8px;
}

.t-rail-action,
.t-rail-user {
  display: grid;
  min-height: 54px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(217, 174, 88, 0.36);
  border-radius: 8px;
  background: rgba(217, 174, 88, 0.13);
  color: #fff7e4;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
  padding: 8px 6px;
  text-align: center;
  text-transform: uppercase;
}

.t-rail-action-muted {
  border-color: rgba(33, 208, 196, 0.22);
  background: rgba(33, 208, 196, 0.07);
}

.t-rail-user .t-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.t-mobile-command-bar {
  display: none;
}

.t-announcement {
  position: relative;
  z-index: 5;
  margin: 0;
}

.t-console-stage {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  border-bottom: 1px solid rgba(164, 221, 212, 0.14);
  background: #050b0d;
}

.t-console-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.42;
  filter: saturate(0.92) contrast(1.08);
}

.t-console-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 13, 0.96), rgba(5, 11, 13, 0.74) 42%, rgba(5, 11, 13, 0.95)),
    linear-gradient(180deg, rgba(5, 11, 13, 0.22), rgba(5, 11, 13, 0.92));
}

.t-console-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(164, 221, 212, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 221, 212, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 90%);
}

.t-console-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 860px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr) minmax(320px, 0.82fr);
  grid-template-rows: minmax(460px, auto) auto;
  gap: 18px;
  align-items: stretch;
  padding: 64px 0 56px;
}

.t-console-title {
  display: flex;
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  flex-direction: column;
  justify-content: end;
  border-left: 1px solid rgba(217, 174, 88, 0.36);
  padding: 16px 0 16px 24px;
}

.t-console-title h1 {
  max-width: 650px;
  margin: 12px 0 14px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 0.92;
}

.t-console-title p {
  max-width: 620px;
  color: #cbd7d4;
  font-size: 1.12rem;
}

.t-gate-device {
  display: grid;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  align-content: center;
  justify-items: center;
  min-height: 460px;
  border: 1px solid rgba(164, 221, 212, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 25, 28, 0.72), rgba(5, 11, 13, 0.76));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  padding: 28px;
}

.t-gate-ring {
  display: grid;
  width: min(330px, 78vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(33, 208, 196, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(33, 208, 196, 0.22), transparent 56%),
    conic-gradient(from 45deg, rgba(217, 174, 88, 0.28), rgba(33, 208, 196, 0.16), rgba(143, 47, 56, 0.16), rgba(217, 174, 88, 0.28));
  box-shadow: 0 0 80px rgba(33, 208, 196, 0.16), inset 0 0 55px rgba(0, 0, 0, 0.46);
}

.t-gate-ring img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.48));
}

.t-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.t-access-panel {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  align-self: end;
  border: 1px solid rgba(217, 174, 88, 0.24);
  border-radius: 8px;
  background: rgba(13, 25, 28, 0.82);
  padding: 24px;
}

.t-access-panel h2 {
  margin: 10px 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.7rem;
}

.t-access-panel p {
  color: var(--t-muted);
}

.t-warboard-console {
  grid-row: 2 / 3;
  grid-column: 1 / 4;
  align-self: end;
  border: 1px solid rgba(164, 221, 212, 0.18);
  border-radius: 8px;
  background: rgba(6, 13, 16, 0.78);
  box-shadow: var(--t-shadow);
  padding: 22px;
}

.t-warboard-console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.t-warboard-console-head h2 {
  margin: 8px 0 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-mini-link {
  color: var(--t-gold);
  font-weight: 900;
}

.t-warboard-console-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 14px;
}

.t-rank-panel {
  border: 1px solid rgba(164, 221, 212, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 31, 35, 0.84), rgba(8, 15, 18, 0.84));
  padding: 18px;
}

.t-rank-panel-featured {
  border-color: rgba(217, 174, 88, 0.36);
}

.t-rank-crown {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-top: 12px;
  border: 1px solid rgba(217, 174, 88, 0.42);
  border-radius: 8px;
  background: rgba(217, 174, 88, 0.12);
  color: var(--t-gold);
  font-weight: 900;
}

.t-rank-panel h3 {
  margin: 14px 0 4px;
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-rank-panel p {
  color: var(--t-muted);
}

.t-rank-panel strong {
  display: block;
  color: var(--t-gold);
  font-size: 1.35rem;
}

.t-rank-panel strong span {
  display: block;
  color: var(--t-muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.t-rank-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.t-rank-panel-head small {
  color: var(--t-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.t-rank-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t-rank-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  padding: 7px 9px;
}

.t-rank-number {
  color: var(--t-gold);
  font-weight: 900;
}

.t-rank-name {
  min-width: 0;
  overflow: hidden;
  color: #fff7e4;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t-rank-list strong {
  color: var(--t-teal);
  font-size: 1rem;
}

.t-page-headbar {
  border-bottom: 1px solid rgba(164, 221, 212, 0.14);
  background:
    linear-gradient(135deg, rgba(13, 25, 28, 0.96), rgba(5, 11, 13, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(217, 174, 88, 0.08), transparent 26rem);
  padding: 58px 0 28px;
}

.t-headbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.t-headbar-grid h1 {
  margin: 10px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2.8rem;
  line-height: 1.02;
}

.t-headbar-grid p {
  max-width: 820px;
  color: var(--t-muted);
  font-size: 1.05rem;
}

.t-headbar-grid img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  opacity: 0.72;
  filter: drop-shadow(0 0 22px rgba(33, 208, 196, 0.15));
}

.t-workbench-page .t-page-content {
  padding-top: 34px;
}

.t-workbench-page .t-page-content > .t-container {
  position: relative;
}

.t-workbench-page .section-padding,
.t-workbench-page .texture,
.t-workbench-page .banner {
  border: 1px solid rgba(164, 221, 212, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 25, 28, 0.86), rgba(7, 14, 17, 0.88)),
    linear-gradient(135deg, rgba(33, 208, 196, 0.04), rgba(217, 174, 88, 0.05));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  margin-bottom: 18px;
  padding: 26px !important;
}

.t-workbench-page .banner[style] {
  background-image:
    linear-gradient(135deg, rgba(13, 25, 28, 0.96), rgba(5, 11, 13, 0.9)) !important;
}

.t-workbench-page .row {
  --bs-gutter-x: 1.25rem;
}

.t-workbench-page .orange-text,
.t-workbench-page .section-heading,
.t-workbench-page h1,
.t-workbench-page h2,
.t-workbench-page h3,
.t-workbench-page h4,
.t-workbench-page h5,
.t-workbench-page h6 {
  color: #fff7e4 !important;
}

.t-workbench-page .section-heading,
.t-workbench-page h1,
.t-workbench-page h2,
.t-workbench-page h3 {
  font-family: var(--t-font-title);
}

.t-workbench-page .section-description,
.t-workbench-page .text-gray,
.t-workbench-page .text-white,
.t-workbench-page p,
.t-workbench-page li {
  color: var(--t-muted) !important;
}

.t-workbench-page .text-green,
.t-workbench-page a:not(.t-button):not(.btn) {
  color: var(--t-teal) !important;
}

.t-workbench-page .star {
  display: none;
}

.t-workbench-page .card,
.t-workbench-page .box,
.t-workbench-page .panel,
.t-workbench-page .well,
.t-workbench-page .modal-content,
.t-workbench-page .accordion-item {
  border: 1px solid rgba(164, 221, 212, 0.16) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(17, 31, 35, 0.9), rgba(8, 15, 18, 0.92)) !important;
  color: var(--t-text) !important;
  box-shadow: none !important;
}

.t-workbench-page .card-header,
.t-workbench-page .card-footer,
.t-workbench-page .box_head,
.t-workbench-page .box-header,
.t-workbench-page .panel-heading,
.t-workbench-page .modal-header,
.t-workbench-page .modal-footer,
.t-workbench-page .accordion-header,
.t-workbench-page .accordion-button {
  border-color: rgba(217, 174, 88, 0.18) !important;
  background: rgba(217, 174, 88, 0.08) !important;
  color: #fff7e4 !important;
}

.t-workbench-page .card-body,
.t-workbench-page .box_body,
.t-workbench-page .box-body,
.t-workbench-page .panel-body,
.t-workbench-page .modal-body,
.t-workbench-page .accordion-body {
  color: var(--t-text);
}

.t-workbench-page table,
.t-workbench-page .table,
.t-workbench-page .dataTable {
  overflow: hidden;
  border: 1px solid rgba(164, 221, 212, 0.14) !important;
  border-radius: 8px;
  background: rgba(6, 13, 16, 0.64) !important;
  color: var(--t-text) !important;
}

.t-workbench-page thead,
.t-workbench-page .table thead,
.t-workbench-page .dataTable thead {
  background: rgba(217, 174, 88, 0.1) !important;
  color: #fff7e4 !important;
}

.t-workbench-page th,
.t-workbench-page td,
.t-workbench-page .table > :not(caption) > * > * {
  border-color: rgba(164, 221, 212, 0.1) !important;
  background: transparent !important;
  color: var(--t-text) !important;
}

.t-workbench-page tr:hover td {
  background: rgba(33, 208, 196, 0.055) !important;
}

.t-workbench-page .nav-tabs,
.t-workbench-page .nav-pills {
  gap: 8px;
  border: 0;
}

.t-workbench-page .nav-tabs .nav-link,
.t-workbench-page .nav-pills .nav-link {
  border: 1px solid rgba(164, 221, 212, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--t-muted) !important;
  font-weight: 800;
}

.t-workbench-page .nav-tabs .nav-link.active,
.t-workbench-page .nav-pills .nav-link.active {
  border-color: rgba(217, 174, 88, 0.38) !important;
  background: rgba(217, 174, 88, 0.13) !important;
  color: #fff7e4 !important;
}

.t-workbench-page input,
.t-workbench-page select,
.t-workbench-page textarea,
.t-workbench-page .form-control,
.t-workbench-page .form-select {
  border: 1px solid rgba(164, 221, 212, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(3, 8, 10, 0.82) !important;
  color: #fff7e4 !important;
}

.t-workbench-page input::placeholder,
.t-workbench-page textarea::placeholder {
  color: rgba(222, 231, 228, 0.58) !important;
}

.t-workbench-page input:focus,
.t-workbench-page select:focus,
.t-workbench-page textarea:focus,
.t-workbench-page .form-control:focus,
.t-workbench-page .form-select:focus {
  border-color: rgba(33, 208, 196, 0.58) !important;
  box-shadow: 0 0 0 0.18rem rgba(33, 208, 196, 0.14) !important;
}

.t-workbench-page .btn,
.t-workbench-page button,
.t-workbench-page input[type="submit"] {
  border-radius: 8px !important;
}

.t-workbench-page .btn-primary,
.t-workbench-page button[type="submit"],
.t-workbench-page input[type="submit"] {
  border: 1px solid rgba(217, 174, 88, 0.46) !important;
  background: linear-gradient(135deg, #d9ae58, #8f2f38) !important;
  color: #160c08 !important;
  font-weight: 900;
}

.t-workbench-page .btn-secondary,
.t-workbench-page .btn-dark,
.t-workbench-page .btn-default {
  border: 1px solid rgba(164, 221, 212, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff7e4 !important;
}

.t-workbench-page .alert {
  border: 1px solid rgba(217, 174, 88, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(217, 174, 88, 0.1) !important;
  color: #fff7e4 !important;
}

.t-workbench-page .dataTables_wrapper,
.t-workbench-page .dataTables_info,
.t-workbench-page .dataTables_length,
.t-workbench-page .dataTables_filter,
.t-workbench-page .dataTables_paginate {
  color: var(--t-muted) !important;
}

.t-workbench-page .paginate_button {
  border: 1px solid rgba(164, 221, 212, 0.16) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--t-text) !important;
}

.t-legal-ledger {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.t-legal-index {
  position: sticky;
  top: 28px;
  border: 1px solid rgba(217, 174, 88, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 31, 35, 0.92), rgba(7, 14, 17, 0.95)),
    radial-gradient(circle at 0 0, rgba(217, 174, 88, 0.12), transparent 17rem);
  padding: 24px;
}

.t-legal-index h2 {
  margin: 10px 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-legal-index p {
  color: var(--t-muted);
}

.t-legal-index nav {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.t-legal-index nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(164, 221, 212, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--t-text) !important;
  font-weight: 800;
  padding: 8px 10px;
}

.t-legal-index nav a span {
  color: var(--t-gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.t-legal-stack {
  display: grid;
  gap: 14px;
}

.t-legal-entry {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(164, 221, 212, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 25, 28, 0.82), rgba(6, 13, 16, 0.88)),
    linear-gradient(90deg, rgba(33, 208, 196, 0.055), transparent 42%);
  padding: 24px;
}

.t-legal-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(217, 174, 88, 0.3);
  border-radius: 8px;
  color: var(--t-gold);
  font-weight: 900;
}

.t-legal-entry h3 {
  margin: 0 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-legal-entry p {
  margin: 0;
  color: var(--t-muted);
  line-height: 1.72;
}

.t-cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1080;
  display: grid;
  width: min(440px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(164, 221, 212, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 25, 28, 0.96), rgba(5, 11, 13, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(217, 174, 88, 0.12), transparent 15rem);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
  padding: 16px;
}

.t-cookie-consent strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1rem;
  line-height: 1.1;
}

.t-cookie-consent p {
  margin: 5px 0 0;
  color: var(--t-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.t-cookie-actions {
  display: flex;
  gap: 8px;
}

.t-cookie-actions button {
  min-height: 38px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 12px;
  text-transform: uppercase;
}

.t-cookie-accept {
  border: 1px solid rgba(217, 174, 88, 0.46);
  background: linear-gradient(135deg, #d9ae58, #8f2f38);
  color: #160c08;
}

.t-cookie-decline {
  border: 1px solid rgba(164, 221, 212, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t-text);
}

@media (max-width: 1199px) {
  body.tanados-modern {
    padding-left: 0;
    padding-top: 68px;
  }

  .t-command-rail {
    display: none;
  }

  .t-mobile-command-bar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(217, 174, 88, 0.22);
    background: rgba(6, 13, 16, 0.94);
    padding: 10px 14px;
    backdrop-filter: blur(14px);
  }

  .t-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff7e4;
    font-family: var(--t-font-title);
    font-weight: 800;
  }

  .t-mobile-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .t-mobile-actions {
    display: flex;
    gap: 8px;
  }

  .t-mobile-icon,
  .t-mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(164, 221, 212, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--t-text);
  }

  .t-console-grid {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .t-console-title {
    grid-column: 1 / 3;
  }

  .t-gate-device {
    grid-row: auto;
    grid-column: 1 / 2;
    min-height: 420px;
  }

  .t-access-panel {
    grid-column: 2 / 3;
    align-self: stretch;
  }

  .t-warboard-console {
    grid-row: auto;
    grid-column: 1 / 3;
  }

  .t-warboard-console-grid {
    grid-template-columns: 1fr;
  }

  .t-legal-ledger {
    grid-template-columns: 1fr;
  }

  .t-legal-index {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .t-console-grid {
    grid-template-columns: 1fr;
    padding: 34px 0 42px;
  }

  .t-console-title,
  .t-gate-device,
  .t-access-panel,
  .t-warboard-console {
    grid-column: 1;
    grid-row: auto;
  }

  .t-console-title h1 {
    font-size: 3rem;
  }

  .t-gate-device {
    min-height: auto;
  }

  .t-gate-ring {
    width: min(260px, 78vw);
  }

  .t-headbar-grid {
    grid-template-columns: 1fr;
  }

  .t-headbar-grid img {
    width: 68px;
    height: 68px;
  }

  .t-workbench-page .section-padding,
  .t-workbench-page .texture,
  .t-workbench-page .banner {
    padding: 18px !important;
  }

  .t-legal-entry {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .t-legal-number {
    width: 48px;
    height: 48px;
  }

  .t-cookie-consent {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
  }

  .t-cookie-actions {
    justify-content: stretch;
  }

  .t-cookie-actions button {
    flex: 1;
  }
}

/* Final top-nav overrides: keep these after legacy rail/mobile rules. */
body.tanados-modern {
  padding-top: 86px;
  padding-left: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 174, 88, 0.13), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(33, 208, 196, 0.11), transparent 28rem),
    linear-gradient(180deg, #211814 0%, #102327 42%, #17120f 100%);
}

.t-cinematic-nav {
  position: fixed;
  inset: 0 0 auto 0;
}

.t-mobile-toggle {
  display: none !important;
}

.t-announcement {
  background: linear-gradient(90deg, rgba(143, 47, 56, 0.86), rgba(35, 85, 84, 0.72), rgba(97, 62, 35, 0.78));
  color: #fff5df;
}

.t-console-stage {
  min-height: calc(100vh - 86px);
  background: #251a14;
}

.t-console-bg {
  opacity: 0.62;
  filter: saturate(1.12) contrast(1.02);
}

.t-console-stage::before {
  background:
    linear-gradient(90deg, rgba(47, 27, 20, 0.9), rgba(15, 61, 64, 0.56) 48%, rgba(79, 43, 27, 0.78)),
    linear-gradient(180deg, rgba(42, 24, 18, 0.12), rgba(15, 31, 31, 0.62) 74%, rgba(33, 23, 17, 0.92));
}

.t-console-grid {
  min-height: calc(100vh - 86px);
  padding-top: 46px;
}

.t-gate-device,
.t-access-panel,
.t-warboard-console,
.t-rank-panel,
.t-news-card,
.t-feature-panel,
.t-legal-index,
.t-legal-entry {
  background:
    linear-gradient(180deg, rgba(48, 35, 25, 0.78), rgba(16, 48, 50, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.1), transparent 18rem);
  border-color: rgba(245, 204, 118, 0.18);
}

.t-page-headbar {
  background:
    linear-gradient(135deg, rgba(73, 42, 28, 0.92), rgba(18, 63, 66, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.16), transparent 28rem);
}

.t-cookie-consent {
  background:
    linear-gradient(180deg, rgba(47, 32, 24, 0.97), rgba(16, 49, 51, 0.97)),
    radial-gradient(circle at 100% 0%, rgba(245, 204, 118, 0.16), transparent 15rem);
}

@media (max-width: 1199px) {
  body.tanados-modern {
    padding-top: 70px;
    padding-left: 0;
  }

  .t-cinematic-menu {
    display: none;
  }

  .t-mobile-toggle {
    display: inline-flex !important;
  }

  .t-console-stage,
  .t-console-grid {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .t-console-grid {
    grid-template-rows: auto;
    padding-top: 34px;
  }

  .t-console-title {
    justify-content: flex-start;
  }

  .t-console-title h1 {
    font-size: 2.8rem;
  }

  .t-gate-device {
    min-height: auto;
  }
}

/* Logo-led brand pass: keep after legacy and route-specific overrides. */
body.tanados-modern {
  background:
    radial-gradient(circle at 12% 0%, rgba(41, 216, 239, 0.14), transparent 29rem),
    radial-gradient(circle at 90% 9%, rgba(103, 75, 192, 0.16), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(216, 176, 98, 0.08), transparent 34rem),
    linear-gradient(180deg, #050914 0%, #0b1425 48%, #060b14 100%);
}

.t-cinematic-nav {
  border-bottom: 1px solid rgba(216, 176, 98, 0.42);
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.96), rgba(13, 22, 45, 0.93) 44%, rgba(18, 12, 34, 0.96)),
    radial-gradient(circle at 18% 50%, rgba(41, 216, 239, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 0%, rgba(216, 176, 98, 0.12), transparent 20rem);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.44), 0 0 38px rgba(41, 216, 239, 0.08);
}

.t-cinematic-nav::after {
  background: linear-gradient(90deg, transparent, rgba(41, 216, 239, 0.78), rgba(216, 176, 98, 0.78), rgba(103, 75, 192, 0.62), transparent);
}

.t-cinematic-brand {
  min-width: 188px;
}

.t-cinematic-brand .t-brand-wordmark {
  width: 190px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(41, 216, 239, 0.34)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.44));
  animation: tLogoPulse 6s ease-in-out infinite;
}

.t-cinematic-menu .nav-link {
  border-color: rgba(92, 217, 239, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(41, 216, 239, 0.05)),
    rgba(8, 17, 34, 0.62);
  color: rgba(246, 242, 232, 0.9) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.t-cinematic-menu .nav-link::before {
  background: linear-gradient(115deg, transparent 0%, rgba(41, 216, 239, 0.24) 44%, rgba(216, 176, 98, 0.22) 52%, transparent 63%);
}

.t-cinematic-menu .nav-link::after {
  content: "";
  position: absolute;
  inset: auto 12px 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--t-teal), var(--t-gold), transparent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.t-cinematic-menu .nav-link:hover,
.t-cinematic-menu .nav-link.active,
.t-cinematic-menu .dropdown.show > .nav-link {
  border-color: rgba(216, 176, 98, 0.68);
  background:
    linear-gradient(180deg, rgba(41, 216, 239, 0.18), rgba(103, 75, 192, 0.18)),
    rgba(10, 20, 41, 0.86);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26), 0 0 22px rgba(41, 216, 239, 0.11);
}

.t-cinematic-menu .nav-link:hover::after,
.t-cinematic-menu .nav-link.active::after,
.t-cinematic-menu .dropdown.show > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.t-cinematic-menu .dropdown-menu,
.t-cinematic-account .dropdown-menu {
  position: absolute;
  overflow: hidden;
  min-width: 238px;
  margin-top: 14px !important;
  border: 1px solid rgba(92, 217, 239, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 36, 0.98), rgba(6, 10, 22, 0.98)),
    radial-gradient(circle at 0 0, rgba(41, 216, 239, 0.16), transparent 15rem),
    radial-gradient(circle at 100% 0, rgba(216, 176, 98, 0.11), transparent 14rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.t-cinematic-menu .dropdown-item,
.t-cinematic-account .dropdown-item,
.t-mobile-drawer .dropdown-item {
  position: relative;
  overflow: hidden;
  color: rgba(246, 242, 232, 0.86) !important;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.t-cinematic-menu .dropdown-item::before,
.t-cinematic-account .dropdown-item::before,
.t-mobile-drawer .dropdown-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--t-teal), var(--t-gold));
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.t-cinematic-menu .dropdown-item:hover,
.t-cinematic-account .dropdown-item:hover,
.t-mobile-drawer .dropdown-item:hover {
  background: rgba(41, 216, 239, 0.12);
  color: #ffffff !important;
  transform: translateX(3px);
}

.t-cinematic-menu .dropdown-item:hover::before,
.t-cinematic-account .dropdown-item:hover::before,
.t-mobile-drawer .dropdown-item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.t-nav-login,
.t-nav-user {
  border-color: rgba(92, 217, 239, 0.28);
  background: rgba(8, 20, 38, 0.66);
  color: #f6f2e8;
}

.t-nav-register {
  border-color: rgba(216, 176, 98, 0.64);
  background: linear-gradient(135deg, #ead18b, #29d8ef 48%, #674bc0);
  color: #070b14 !important;
  box-shadow: 0 12px 30px rgba(41, 216, 239, 0.16), 0 0 20px rgba(216, 176, 98, 0.12);
}

.t-nav-register i,
.t-nav-register span {
  color: inherit;
}

.t-announcement {
  background: linear-gradient(90deg, rgba(8, 20, 42, 0.94), rgba(16, 77, 105, 0.86), rgba(55, 36, 106, 0.9));
}

.t-console-stage {
  position: relative;
  background: #050914;
}

.t-console-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(1.18) contrast(1.05);
  pointer-events: none;
}

.t-console-bg {
  opacity: 0.18;
  filter: saturate(1.05) contrast(1.02);
  mix-blend-mode: screen;
}

.t-console-stage::before {
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.9), rgba(5, 9, 20, 0.52) 48%, rgba(5, 9, 20, 0.88)),
    linear-gradient(180deg, rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.86) 82%, #050914);
}

.t-console-title {
  border-left-color: rgba(216, 176, 98, 0.44);
}

.t-gate-device,
.t-access-panel,
.t-warboard-console,
.t-rank-panel,
.t-news-card,
.t-feature-panel,
.t-legal-index,
.t-legal-entry {
  background:
    linear-gradient(180deg, rgba(10, 19, 38, 0.82), rgba(5, 10, 22, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(41, 216, 239, 0.1), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(216, 176, 98, 0.08), transparent 16rem);
  border-color: rgba(92, 217, 239, 0.18);
}

.t-gate-ring {
  border-color: rgba(92, 217, 239, 0.44);
  background:
    radial-gradient(circle, rgba(41, 216, 239, 0.24), transparent 55%),
    conic-gradient(from 45deg, rgba(216, 176, 98, 0.38), rgba(41, 216, 239, 0.25), rgba(103, 75, 192, 0.28), rgba(216, 176, 98, 0.38));
  box-shadow: 0 0 90px rgba(41, 216, 239, 0.18), inset 0 0 58px rgba(0, 0, 0, 0.5);
}

.t-gate-ring img,
.t-headbar-grid img,
.t-access-gate-mark img {
  filter: drop-shadow(0 0 22px rgba(41, 216, 239, 0.28)) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.48));
}

.t-page-headbar {
  background:
    linear-gradient(135deg, rgba(8, 17, 34, 0.96), rgba(14, 24, 50, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(41, 216, 239, 0.16), transparent 28rem),
    radial-gradient(circle at 0 100%, rgba(216, 176, 98, 0.1), transparent 22rem);
}

.t-cookie-consent,
.t-mobile-drawer {
  background:
    linear-gradient(180deg, rgba(9, 18, 36, 0.98), rgba(5, 10, 22, 0.98)),
    radial-gradient(circle at 0 0, rgba(41, 216, 239, 0.15), transparent 17rem);
}

.t-footer-logo img {
  width: 210px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(41, 216, 239, 0.2));
}

.t-drawer-brand .t-drawer-logo {
  width: 176px;
  height: 72px;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .t-cinematic-menu .dropdown-menu,
  .t-cinematic-account .dropdown-menu {
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 12px, 0) scale(0.98);
    transform-origin: top center;
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
    visibility: hidden;
  }

  .t-cinematic-menu .dropdown:hover > .dropdown-menu,
  .t-cinematic-menu .dropdown.show > .dropdown-menu,
  .t-cinematic-menu .dropdown-menu.show,
  .t-cinematic-account .dropdown.show > .dropdown-menu,
  .t-cinematic-account .dropdown-menu.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    visibility: visible !important;
  }
}

@media (max-width: 1199px) {
  .t-cinematic-brand {
    min-width: 150px;
  }

  .t-cinematic-brand .t-brand-wordmark {
    width: 150px;
    height: 60px;
  }
}

@media (max-width: 767px) {
  .t-cinematic-brand {
    min-width: 122px;
  }

  .t-cinematic-brand .t-brand-wordmark {
    width: 122px;
    height: 50px;
  }

  .t-footer-logo img {
    width: 176px;
  }

  .t-drawer-brand .t-drawer-logo {
    width: 154px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-cinematic-brand .t-brand-wordmark {
    animation: none !important;
  }

  .t-console-video {
    display: none;
  }
}

@keyframes tLogoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 14px rgba(41, 216, 239, 0.28)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.44));
  }
  50% {
    filter: drop-shadow(0 0 24px rgba(41, 216, 239, 0.44)) drop-shadow(0 0 16px rgba(216, 176, 98, 0.18));
  }
}

/* Homepage iteration: one hero logo, talisman mark, richer image sections. */
.t-cinematic-nav-inner {
  grid-template-columns: 190px minmax(0, 1fr) auto;
}

.t-cinematic-brand {
  min-width: 180px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 8px;
}

.t-cinematic-brand::before {
  inset: 16px 0;
}

.t-brand-talisman {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 62px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(34, 218, 244, 0.42))
    drop-shadow(0 0 14px rgba(118, 64, 211, 0.34));
  animation: tTalismanHover 5.8s ease-in-out infinite;
}

.t-brand-name {
  position: relative;
  z-index: 1;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(34, 218, 244, 0.22);
}

.t-cinematic-menu .nav-link {
  overflow: visible;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(24, 36, 70, 0.88), rgba(6, 10, 22, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(34, 218, 244, 0.18), transparent 76%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 rgba(34, 218, 244, 0);
}

.t-cinematic-menu .nav-link:hover,
.t-cinematic-menu .nav-link.active,
.t-cinematic-menu .dropdown.show > .nav-link {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(34, 218, 244, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.t-cinematic-menu .dropdown-menu,
.t-cinematic-account .dropdown-menu {
  min-width: 274px;
  border-color: rgba(34, 218, 244, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.98), rgba(10, 8, 22, 0.98)),
    radial-gradient(circle at 16% 0%, rgba(34, 218, 244, 0.2), transparent 15rem),
    radial-gradient(circle at 90% 10%, rgba(118, 64, 211, 0.2), transparent 15rem);
  padding: 10px;
  transform-origin: top center;
}

.t-cinematic-menu .dropdown-menu::before,
.t-cinematic-account .dropdown-menu::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(216, 176, 98, 0.12);
  border-radius: 7px;
  pointer-events: none;
}

.t-cinematic-menu .dropdown-item,
.t-cinematic-account .dropdown-item,
.t-mobile-drawer .dropdown-item {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(4, 8, 18, 0.58);
  margin-bottom: 6px;
  padding: 11px 12px;
  text-transform: uppercase;
}

.t-cinematic-menu .dropdown-item:last-child,
.t-cinematic-account .dropdown-item:last-child,
.t-mobile-drawer .dropdown-item:last-child {
  margin-bottom: 0;
}

.t-cinematic-menu .dropdown-item::after,
.t-cinematic-account .dropdown-item::after,
.t-mobile-drawer .dropdown-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(34, 218, 244, 0.16), transparent);
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 180ms ease, transform 280ms ease;
}

.t-cinematic-menu .dropdown-item:hover,
.t-cinematic-account .dropdown-item:hover,
.t-mobile-drawer .dropdown-item:hover {
  border-color: rgba(34, 218, 244, 0.34);
  background: rgba(34, 218, 244, 0.1);
  transform: translateX(5px);
}

.t-cinematic-menu .dropdown-item:hover::after,
.t-cinematic-account .dropdown-item:hover::after,
.t-mobile-drawer .dropdown-item:hover::after {
  opacity: 1;
  transform: translateX(60%);
}

.t-cinematic-menu .dropdown.show .t-nav-chevron,
.t-cinematic-menu .nav-link:hover .t-nav-chevron,
.t-cinematic-account .dropdown.show .fa-chevron-down {
  transform: rotate(180deg);
}

.t-nav-chevron,
.t-cinematic-account .fa-chevron-down {
  transition: transform 180ms ease;
}

.t-gate-device {
  min-height: 446px;
}

.t-gate-ring {
  width: min(310px, 100%);
  max-width: 310px;
}

.t-gate-ring img {
  width: 92%;
  height: 92%;
  transform: translateY(-2px);
}

.t-console-title h1 {
  font-size: clamp(3rem, 3.8vw, 3.85rem);
}

.t-image-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 218, 244, 0.08), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(118, 64, 211, 0.14), transparent 30rem),
    linear-gradient(180deg, #050711, #080d1b);
}

.t-image-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url('../images/tanados/tanados-talisman.webp');
  background-position: right -120px top -120px;
  background-repeat: no-repeat;
  background-size: 420px auto;
}

.t-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 18px;
}

.t-showcase-panel {
  position: relative;
  display: flex;
  min-height: 230px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.22);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  color: #fff7e4;
  isolation: isolate;
}

.t-showcase-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 5, 12, 0.1), rgba(2, 5, 12, 0.86)),
    linear-gradient(90deg, rgba(3, 5, 13, 0.86), rgba(3, 5, 13, 0.12));
  transition: background 220ms ease;
}

.t-showcase-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 58px;
  height: 58px;
  opacity: 0.72;
  background: url('../images/tanados/tanados-talisman.webp') center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(34, 218, 244, 0.26));
  transition: transform 220ms ease, opacity 220ms ease;
}

.t-showcase-panel:hover {
  border-color: rgba(216, 176, 98, 0.46);
  color: #ffffff;
  transform: translateY(-3px);
}

.t-showcase-panel:hover::after {
  opacity: 1;
  transform: translateY(-4px) rotate(-6deg);
}

.t-showcase-panel > div {
  width: min(100%, 640px);
  padding: 30px;
}

.t-showcase-panel h3 {
  margin: 10px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-showcase-panel p {
  max-width: 580px;
  color: #d2dde1;
}

.t-showcase-panel-large {
  grid-row: 1 / 3;
}

.t-warboard-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(118, 64, 211, 0.13), transparent 30rem),
    linear-gradient(180deg, #050711, #03050d);
}

.t-warboard-section .t-warboard-console {
  grid-row: auto;
  grid-column: auto;
  align-self: auto;
}

.t-warboard-section .t-warboard-console::before {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 130px;
  height: 130px;
  opacity: 0.1;
  background: url('../images/tanados/tanados-talisman.webp') center / contain no-repeat;
  pointer-events: none;
}

.t-footer-logo img {
  width: 58px;
  height: 62px;
}

.t-drawer-brand .t-drawer-logo {
  width: 64px;
  height: 68px;
}

@media (min-width: 1200px) {
  .t-cinematic-menu .dropdown-menu.show,
  .t-cinematic-menu .dropdown:hover > .dropdown-menu,
  .t-cinematic-account .dropdown-menu.show {
    animation: tDropdownBlade 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

@media (max-width: 1199px) {
  .t-cinematic-nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .t-cinematic-brand {
    min-width: 150px;
  }

  .t-brand-talisman {
    width: 50px;
    height: 54px;
  }

  .t-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .t-showcase-panel-large {
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .t-cinematic-brand {
    min-width: 116px;
  }

  .t-brand-talisman {
    width: 46px;
    height: 50px;
  }

  .t-brand-name {
    font-size: 0.9rem;
  }

  .t-gate-ring {
    width: min(260px, 100%);
  }

  .t-showcase-panel,
  .t-showcase-panel-large {
    min-height: 310px;
  }

  .t-showcase-panel > div {
    padding: 24px;
  }

  .t-showcase-panel h3 {
    font-size: 1.55rem;
  }
}

@keyframes tDropdownBlade {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.96);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes tTalismanHover {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-1.5deg);
  }
}

/* Dragon-logo readability and home composition fixes. */
body.tanados-modern {
  padding-top: 104px;
  background:
    radial-gradient(circle at 15% 0%, rgba(34, 218, 244, 0.15), transparent 28rem),
    radial-gradient(circle at 84% 0%, rgba(118, 64, 211, 0.24), transparent 32rem),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.54), transparent 38rem),
    linear-gradient(180deg, #03050d 0%, #090f22 45%, #050711 100%);
}

.t-cinematic-nav {
  background:
    linear-gradient(90deg, rgba(3, 5, 13, 0.98), rgba(9, 14, 32, 0.96) 48%, rgba(24, 13, 43, 0.98)),
    radial-gradient(circle at 11% 50%, rgba(34, 218, 244, 0.22), transparent 17rem),
    radial-gradient(circle at 88% 0%, rgba(118, 64, 211, 0.2), transparent 20rem);
}

.t-cinematic-nav-inner {
  min-height: 104px;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) auto;
  gap: 18px;
}

.t-cinematic-brand {
  position: relative;
  min-width: 240px;
  align-self: stretch;
  justify-content: center;
  overflow: visible;
}

.t-cinematic-brand::before {
  content: "";
  position: absolute;
  inset: 10px 0;
  border: 1px solid rgba(34, 218, 244, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 218, 244, 0.13), transparent 58%),
    radial-gradient(circle at 58% 55%, rgba(118, 64, 211, 0.16), transparent 64%);
  box-shadow: 0 0 36px rgba(34, 218, 244, 0.08);
}

.t-cinematic-brand .t-brand-wordmark {
  position: relative;
  z-index: 1;
  width: 236px;
  height: 98px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(34, 218, 244, 0.45))
    drop-shadow(0 0 18px rgba(118, 64, 211, 0.28))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.58));
}

.t-cinematic-menu .navbar-nav {
  gap: 10px;
}

.t-cinematic-menu .nav-link {
  background:
    linear-gradient(180deg, rgba(31, 42, 76, 0.8), rgba(7, 13, 29, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(34, 218, 244, 0.14), transparent 80%);
}

.t-cinematic-account {
  flex-wrap: nowrap;
}

.t-nav-login,
.t-nav-register,
.t-nav-user {
  white-space: nowrap;
}

.t-console-stage {
  min-height: 910px;
  background: #03050d;
}

.t-console-stage::before {
  background:
    radial-gradient(circle at 74% 24%, rgba(118, 64, 211, 0.23), transparent 23rem),
    linear-gradient(90deg, rgba(3, 5, 13, 0.9), rgba(5, 8, 18, 0.48) 48%, rgba(3, 5, 13, 0.9)),
    linear-gradient(180deg, rgba(3, 5, 13, 0.04), rgba(3, 5, 13, 0.9) 84%, #03050d);
}

.t-console-stage::after {
  opacity: 0.34;
  background-image:
    linear-gradient(118deg, transparent 0 33%, rgba(0, 0, 0, 0.82) 33.2%, transparent 34.4%),
    linear-gradient(132deg, transparent 0 63%, rgba(0, 0, 0, 0.72) 63.2%, transparent 64.2%),
    linear-gradient(rgba(34, 218, 244, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 64, 211, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 46px 46px, 46px 46px;
}

.t-console-video {
  opacity: 0.54;
  filter: saturate(1.32) contrast(1.08) brightness(0.88);
}

.t-console-grid {
  min-height: 910px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(300px, 390px);
  grid-template-rows: minmax(500px, auto) auto;
  gap: 20px;
  align-items: center;
  padding-top: 72px;
}

.t-console-title {
  justify-content: center;
  border-left-color: rgba(34, 218, 244, 0.36);
}

.t-console-title h1 {
  max-width: 470px;
  font-size: clamp(3.2rem, 4.15vw, 4.05rem);
}

.t-hero-wordmark {
  display: block;
  width: min(430px, 88vw);
  height: auto;
  margin: 0 0 18px -8px;
  filter:
    drop-shadow(0 0 22px rgba(34, 218, 244, 0.42))
    drop-shadow(0 0 24px rgba(118, 64, 211, 0.3))
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.62));
}

.t-gate-device {
  align-content: center;
  justify-items: center;
  overflow: visible;
  min-height: 430px;
  clip-path: none;
  padding: 30px 24px;
}

.t-gate-ring {
  width: min(284px, 100%);
  max-width: 284px;
  margin: 0 auto;
  background:
    radial-gradient(circle, rgba(34, 218, 244, 0.28), transparent 56%),
    radial-gradient(circle at 58% 42%, rgba(118, 64, 211, 0.26), transparent 58%),
    conic-gradient(from 45deg, rgba(216, 176, 98, 0.32), rgba(34, 218, 244, 0.3), rgba(118, 64, 211, 0.34), rgba(0, 0, 0, 0.62), rgba(216, 176, 98, 0.32));
}

.t-gate-ring img {
  width: 78%;
  height: 78%;
}

.t-gate-actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.t-gate-actions .t-button {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding-right: 12px !important;
  padding-left: 12px !important;
  white-space: nowrap;
}

.t-access-panel {
  align-self: center;
}

@media (max-width: 1399px) {
  .t-cinematic-nav-inner {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .t-cinematic-brand {
    min-width: 206px;
  }

  .t-cinematic-brand .t-brand-wordmark {
    width: 206px;
    height: 88px;
  }

  .t-cinematic-menu .nav-link {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }
}

@media (max-width: 1199px) {
  body.tanados-modern {
    padding-top: 82px;
  }

  .t-cinematic-nav-inner {
    min-height: 82px;
    grid-template-columns: auto 1fr auto;
  }

  .t-cinematic-brand {
    min-width: 176px;
  }

  .t-cinematic-brand .t-brand-wordmark {
    width: 176px;
    height: 72px;
  }

  .t-console-grid {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .t-gate-device {
    min-height: 390px;
  }

}

/* Final v2 mascot wins over earlier iteration rules. */
.t-mascot-stage-hero .t-mascot-pointing {
  width: min(350px, 92%);
}

.t-warboard-section .t-warboard-console::before {
  background-image: url('../images/tanados/mascot/tanados-drake-peek.webp');
}

@media (max-width: 767px) {
  .t-mascot-stage-hero .t-mascot-pointing {
    width: min(310px, 90%);
  }
}

/* Tanados route polish: banners, account tools, download, rules, server classes. */
.t-page-headbar {
  --t-headbar-art: url('../images/banners/server.webp');
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 8, 18, 0.92) 0%, rgba(8, 17, 35, 0.82) 46%, rgba(36, 15, 54, 0.74) 100%),
    radial-gradient(circle at 82% 20%, rgba(41, 216, 239, 0.2), transparent 24rem),
    radial-gradient(circle at 12% 100%, rgba(216, 176, 98, 0.14), transparent 22rem),
    var(--t-headbar-art) !important;
  background-position: center;
  background-size: cover;
}

.t-page-headbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 216, 239, 0.56), transparent);
}

.t-headbar-grid > * {
  position: relative;
  z-index: 1;
}

.t-page-head-mascot {
  width: min(220px, 24vw);
  max-height: 210px;
  object-fit: contain;
  margin-bottom: -54px;
}

.t-route-ucp .t-page-headbar { --t-headbar-art: url('../images/banners/ucp.webp'); }
.t-route-ucp.t-action-settings .t-page-headbar { --t-headbar-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-page-headbar { --t-headbar-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-page-headbar { --t-headbar-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-page-headbar { --t-headbar-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-page-headbar { --t-headbar-art: url('../images/banners/donate.webp'); }
.t-route-store .t-page-headbar { --t-headbar-art: url('../images/banners/store.webp'); }
.t-route-profile .t-page-headbar { --t-headbar-art: url('../images/banners/profile.webp'); }
.t-route-download .t-page-headbar { --t-headbar-art: url('../images/banners/downloads.webp'); }
.t-route-changelog .t-page-headbar { --t-headbar-art: url('../images/banners/changelog.webp'); }
.t-route-server .t-page-headbar { --t-headbar-art: url('../images/banners/server.webp'); }
.t-route-rules .t-page-headbar { --t-headbar-art: url('../images/banners/community.webp'); }

.t-account-hero,
.t-route-ucp .t-ucp-overview-hero {
  --t-account-art: url('../images/banners/ucp.webp');
  isolation: isolate;
  background-image:
    linear-gradient(105deg, rgba(5, 10, 23, 0.94) 0%, rgba(10, 20, 39, 0.78) 54%, rgba(56, 23, 80, 0.72) 100%),
    radial-gradient(circle at 82% 8%, rgba(41, 216, 239, 0.18), transparent 18rem),
    var(--t-account-art) !important;
  background-position: center;
  background-size: cover;
}

.t-account-hero > *,
.t-route-ucp .t-ucp-overview-hero > * {
  position: relative;
  z-index: 1;
}

.t-route-ucp.t-action-settings .t-ucp-overview-hero { --t-account-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-ucp-overview-hero { --t-account-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-account-hero { --t-account-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-account-hero { --t-account-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-account-hero { --t-account-art: url('../images/banners/donate.webp'); }
.t-route-store .t-account-hero { --t-account-art: url('../images/banners/store.webp'); }
.t-route-profile .t-account-hero { --t-account-art: url('../images/banners/profile.webp'); }

.t-vote-grid,
.t-donate-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.t-vote-card,
.t-donate-card {
  min-width: 0;
}

.t-vote-card {
  overflow: hidden;
  align-content: space-between;
}

.t-vote-card header,
.t-vote-card-body,
.t-vote-card footer {
  min-width: 0;
}

.t-vote-card h3 {
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1.08;
}

.t-vote-card-body img {
  width: min(190px, 100%);
  max-width: 100%;
  max-height: 110px;
}

.t-vote-card-body strong,
.t-vote-card-body span {
  overflow-wrap: anywhere;
}

.t-donate-card {
  grid-template-rows: 170px auto auto;
}

.t-donate-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.t-donate-copy em {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.t-donate-card .btn,
.t-vote-card .btn {
  min-height: 46px;
}

.t-store-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
}

.t-store-realms .row > .t-store-item {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.t-store-item-inner {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  padding: 16px;
}

.t-store-item .item_icon,
.t-store-checkout-item .item_icon {
  width: 64px;
  height: 64px;
}

.t-store-item-copy .item_name,
.t-store-checkout-item .item_name {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  color: inherit;
  font-size: 1.04rem;
  line-height: 1.2;
  text-overflow: initial;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t-store-item-copy p,
.t-store-checkout-item p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t-store-buttons {
  align-self: end;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.t-store-buttons .btn {
  min-height: 44px;
  white-space: normal;
}

.t-store-cart #cart_items .store_item {
  overflow: hidden;
}

.t-download-page {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.t-download-hero,
.t-download-board,
.t-download-card,
.t-download-note {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 35, 0.92), rgba(4, 8, 16, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.13), transparent 24rem);
}

.t-download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 20px;
  align-items: center;
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  background-image:
    linear-gradient(90deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.78) 52%, rgba(55, 23, 82, 0.72)),
    radial-gradient(circle at 86% 10%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/downloads.webp');
  background-position: center;
  background-size: cover;
}

.t-download-hero h2,
.t-download-board h2,
.t-download-card h3,
.t-rules-hero h2,
.t-changelog-filter-head h3 {
  margin: 8px 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  line-height: 1.02;
}

.t-download-hero h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.t-download-hero p,
.t-download-board p,
.t-download-card p {
  color: var(--t-muted);
}

.t-download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.t-download-badges span,
.t-changelog-metrics span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 999px;
  background: rgba(3, 8, 16, 0.48);
  color: #e9f6fb;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 900;
}

.t-download-hero-art img {
  width: min(300px, 100%);
  margin-bottom: -58px;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.52));
}

.t-download-board {
  padding: clamp(20px, 3vw, 30px);
}

.t-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.t-download-card {
  display: grid;
  grid-template-rows: 174px minmax(0, 1fr) auto;
  background:
    linear-gradient(180deg, rgba(12, 23, 42, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 0 0, rgba(216, 176, 98, 0.08), transparent 15rem);
}

.t-download-card-media {
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(41, 216, 239, 0.12);
  background: rgba(3, 8, 16, 0.42);
}

.t-download-card-media img {
  width: min(210px, 70%);
  max-height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.42));
}

.t-download-card-copy,
.t-download-card footer {
  padding: 18px;
}

.t-download-card-copy span,
.t-download-disabled {
  color: #93dced;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-download-card footer {
  padding-top: 0;
}

.t-download-card .btn {
  width: 100%;
  min-height: 46px;
}

.t-download-note {
  margin-top: 0;
}

.t-rules-page {
  grid-template-columns: 1fr;
  gap: 22px;
}

.t-rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 55%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/community.webp');
  background-position: center;
  background-size: cover;
  padding: clamp(24px, 4vw, 38px);
}

.t-rules-hero p {
  max-width: 780px;
  color: var(--t-muted);
}

.t-rules-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.t-rules-index {
  position: sticky;
  top: 116px;
  grid-template-columns: 1fr;
  border: 1px solid rgba(41, 216, 239, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 35, 0.9), rgba(4, 8, 16, 0.94)),
    radial-gradient(circle at 0 0, rgba(216, 176, 98, 0.08), transparent 16rem);
  padding: 12px;
}

.t-rules-hero-art {
  align-self: stretch;
  display: grid;
  place-items: end center;
}

.t-rules-hero .t-rules-drake {
  width: min(300px, 100%);
  margin: -44px auto -58px;
}

.t-rules-guide-note {
  max-width: 640px;
}

.t-class-card-modern {
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  min-height: 300px;
  align-content: stretch;
  background:
    linear-gradient(135deg, rgba(11, 22, 39, 0.94), rgba(5, 9, 18, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.13), transparent 20rem);
}

.t-class-card-modern::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(41, 216, 239, 0.12), transparent 14rem);
}

.t-class-card-modern > div {
  position: relative;
  z-index: 1;
  padding: 0;
}

.t-class-card-art {
  min-height: 100%;
  background-position: top center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
}

.t-class-card-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-content: center;
  padding: 22px !important;
}

.t-class-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

.t-class-card-modern h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.t-class-card-modern p,
.t-class-card-modern small {
  overflow-wrap: anywhere;
}

.t-changelog-intro {
  min-height: 260px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 54%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/changelog.webp');
  background-position: center;
  background-size: cover;
}

.t-changelog-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.t-changelog-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(216, 176, 98, 0.14);
  padding-bottom: 14px;
}

.t-changelog-filter-head p {
  margin: 0;
  color: var(--t-muted);
}

.clog-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.clog-filters #clog-q {
  grid-column: span 2;
}

.clog-input,
.clog-btn {
  width: 100%;
}

@media (max-width: 1199px) {
  .t-rules-layout,
  .t-class-card-modern,
  .t-changelog-filter-head {
    grid-template-columns: 1fr;
  }

  .t-rules-index {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .clog-filters #clog-q {
    grid-column: span 3;
  }
}

@media (max-width: 991px) {
  .t-store-realms .row > .t-store-item {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .t-download-hero,
  .t-rules-hero {
    grid-template-columns: 1fr;
  }

  .t-download-hero-art,
  .t-rules-hero-art {
    display: none;
  }
}

@media (max-width: 767px) {
  .t-page-head-mascot {
    display: none;
  }

  .t-store-item-inner,
  .t-class-card-body {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .t-store-item .item_icon,
  .t-store-checkout-item .item_icon,
  .t-class-icon {
    width: 54px;
    height: 54px;
  }

  .t-rules-index,
  .clog-filters,
  .clog-filters #clog-q {
    grid-template-columns: 1fr !important;
    grid-column: auto;
  }
}

/* Final ordering guard for the drake theme pass. */
.t-mascot-stage-hero .t-mascot-pointing {
  width: min(380px, 96%) !important;
}

.t-warboard-section .t-warboard-console::before,
.t-route-auth .reborn-auth-art::after,
.t-route-register .reborn-auth-art::after {
  background-image: url('../images/tanados/mascot/tanados-drake-peek.webp') !important;
}

.t-cinematic-account .t-nav-user .t-avatar {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
}

@media (max-width: 767px) {
  .t-mascot-stage-hero .t-mascot-pointing {
    width: min(330px, 92%) !important;
  }

  .t-cinematic-account .t-nav-user .t-avatar {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }
}

/* Late route polish override. Keep this after legacy module rules. */
.t-page-headbar {
  --t-headbar-art: url('../images/banners/server.webp');
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 8, 18, 0.92), rgba(8, 17, 35, 0.82) 48%, rgba(36, 15, 54, 0.74)),
    radial-gradient(circle at 82% 20%, rgba(41, 216, 239, 0.2), transparent 24rem),
    radial-gradient(circle at 12% 100%, rgba(216, 176, 98, 0.14), transparent 22rem),
    var(--t-headbar-art) !important;
  background-position: center;
  background-size: cover;
}

.t-page-head-mascot {
  width: min(220px, 24vw);
  max-height: 210px;
  object-fit: contain;
  margin-bottom: -54px;
}

.t-route-ucp .t-page-headbar { --t-headbar-art: url('../images/banners/ucp.webp'); }
.t-route-ucp.t-action-settings .t-page-headbar { --t-headbar-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-page-headbar { --t-headbar-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-page-headbar { --t-headbar-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-page-headbar { --t-headbar-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-page-headbar { --t-headbar-art: url('../images/banners/donate.webp'); }
.t-route-store .t-page-headbar { --t-headbar-art: url('../images/banners/store.webp'); }
.t-route-profile .t-page-headbar { --t-headbar-art: url('../images/banners/profile.webp'); }
.t-route-download .t-page-headbar { --t-headbar-art: url('../images/banners/downloads.webp'); }
.t-route-changelog .t-page-headbar { --t-headbar-art: url('../images/banners/changelog.webp'); }
.t-route-server .t-page-headbar { --t-headbar-art: url('../images/banners/server.webp'); }
.t-route-rules .t-page-headbar { --t-headbar-art: url('../images/banners/community.webp'); }

.t-account-hero,
.t-route-ucp .t-ucp-overview-hero {
  --t-account-art: url('../images/banners/ucp.webp');
  isolation: isolate;
  background-image:
    linear-gradient(105deg, rgba(5, 10, 23, 0.94), rgba(10, 20, 39, 0.78) 54%, rgba(56, 23, 80, 0.72)),
    radial-gradient(circle at 82% 8%, rgba(41, 216, 239, 0.18), transparent 18rem),
    var(--t-account-art) !important;
  background-position: center;
  background-size: cover;
}

.t-route-ucp.t-action-settings .t-ucp-overview-hero { --t-account-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-ucp-overview-hero { --t-account-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-account-hero { --t-account-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-account-hero { --t-account-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-account-hero { --t-account-art: url('../images/banners/donate.webp'); }
.t-route-store .t-account-hero { --t-account-art: url('../images/banners/store.webp'); }
.t-route-profile .t-account-hero { --t-account-art: url('../images/banners/profile.webp'); }

.t-vote-grid,
.t-donate-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.t-vote-card,
.t-donate-card {
  min-width: 0;
  overflow: hidden;
}

.t-vote-card h3 {
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1.08;
}

.t-vote-card-body img {
  width: min(190px, 100%);
  max-width: 100%;
  max-height: 110px;
}

.t-donate-card {
  grid-template-rows: 170px auto auto;
}

.t-donate-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.t-store-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
}

.t-store-realms .row > .t-store-item {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.t-store-item-inner {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  padding: 16px;
}

.t-store-item .item_icon,
.t-store-checkout-item .item_icon {
  width: 64px;
  height: 64px;
}

.t-store-item-copy .item_name,
.t-store-checkout-item .item_name {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  font-size: 1.04rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t-store-item-copy p,
.t-store-checkout-item p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t-store-buttons {
  align-self: end;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.t-store-buttons .btn {
  min-height: 44px;
  white-space: normal;
}

.t-rules-page {
  grid-template-columns: 1fr;
  gap: 22px;
}

.t-rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 55%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/community.webp');
  background-position: center;
  background-size: cover;
  padding: clamp(24px, 4vw, 38px);
}

.t-rules-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.t-rules-layout .t-rules-index {
  position: sticky;
  top: 116px;
  grid-template-columns: 1fr;
  border: 1px solid rgba(41, 216, 239, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 35, 0.9), rgba(4, 8, 16, 0.94)),
    radial-gradient(circle at 0 0, rgba(216, 176, 98, 0.08), transparent 16rem);
  padding: 12px;
}

.t-rules-hero .t-rules-drake {
  width: min(300px, 100%);
  margin: -44px auto -58px;
}

.t-class-card-modern {
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  min-height: 300px;
  align-content: stretch;
  background:
    linear-gradient(135deg, rgba(11, 22, 39, 0.94), rgba(5, 9, 18, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.13), transparent 20rem);
}

.t-class-card-modern > div {
  position: relative;
  z-index: 1;
  padding: 0;
}

.t-class-card-art {
  min-height: 100%;
  background-position: top center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
}

.t-class-card-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-content: center;
  padding: 22px !important;
}

.t-class-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

.t-changelog-intro {
  min-height: 260px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 54%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/changelog.webp');
  background-position: center;
  background-size: cover;
}

.t-changelog-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.t-changelog-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(216, 176, 98, 0.14);
  padding-bottom: 14px;
}

.clog-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.clog-filters #clog-q {
  grid-column: span 2;
}

@media (max-width: 1199px) {
  .t-rules-layout,
  .t-class-card-modern,
  .t-changelog-filter-head {
    grid-template-columns: 1fr;
  }

  .t-rules-layout .t-rules-index {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .clog-filters #clog-q {
    grid-column: span 3;
  }
}

@media (max-width: 991px) {
  .t-store-realms .row > .t-store-item {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .t-download-hero,
  .t-rules-hero {
    grid-template-columns: 1fr;
  }

  .t-download-hero-art,
  .t-rules-hero-art {
    display: none;
  }
}

@media (max-width: 767px) {
  .t-page-head-mascot {
    display: none;
  }

  .t-store-item-inner,
  .t-class-card-body {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .t-store-item .item_icon,
  .t-store-checkout-item .item_icon,
  .t-class-icon {
    width: 54px;
    height: 54px;
  }

  .t-rules-layout .t-rules-index,
  .clog-filters,
  .clog-filters #clog-q {
    grid-template-columns: 1fr !important;
    grid-column: auto;
  }
}

/* Tanados full-layout pass: alpha notice, drake mascot, public pages, auth, UCP, changelog, bugreport. */
.t-mascot-stage {
  margin: 0 auto;
}

.t-mascot-stage-hero .t-mascot-pointing {
  width: min(380px, 96%) !important;
}

.t-mascot-stage-hero {
  min-height: 386px;
}

.t-mascot-orbit {
  inset: 46px 18px 8px;
}

.t-page-head-mascot {
  width: min(260px, 28vw);
  max-height: 210px;
}

.t-alpha-alert {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 176, 98, 0.28);
  border-bottom: 1px solid rgba(34, 218, 244, 0.18);
  background:
    linear-gradient(90deg, rgba(102, 29, 45, 0.88), rgba(14, 25, 51, 0.94) 42%, rgba(8, 18, 28, 0.94)),
    radial-gradient(circle at 90% 0%, rgba(34, 218, 244, 0.18), transparent 24rem);
}

.t-alpha-alert-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

.t-alpha-alert-icon {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.58);
  color: #f4c871;
  font-size: 1.45rem;
}

.t-alpha-alert h2 {
  margin: 4px 0 6px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.t-alpha-alert p {
  max-width: 900px;
  margin: 0;
  color: #d8e5e9;
}

.t-alpha-alert-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(34, 218, 244, 0.34);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.62);
  color: #f8fbff;
  font-weight: 900;
  padding: 0 18px;
  text-transform: uppercase;
}

.t-hero-alpha-chip {
  display: inline-grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  max-width: 520px;
  margin-top: 18px;
  border: 1px solid rgba(216, 176, 98, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(111, 31, 52, 0.72), rgba(5, 11, 24, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(34, 218, 244, 0.14), transparent 12rem);
  color: #f5eef0;
  padding: 10px 12px;
}

.t-hero-alpha-chip i {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.5);
  color: #f4c871;
}

.t-hero-alpha-chip strong {
  color: #fff7e4;
  font-family: var(--t-font-title);
  margin-right: 5px;
  text-transform: uppercase;
}

.t-auth-console {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: minmax(340px, 0.92fr) minmax(360px, 1.08fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 14, 28, 0.98), rgba(6, 9, 18, 0.98)),
    radial-gradient(circle at 0 0, rgba(103, 75, 192, 0.16), transparent 24rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.t-route-auth .t-module-shell-content,
.t-route-register .t-module-shell-content {
  display: grid;
  place-items: center;
}

.t-auth-lore,
.t-auth-panel {
  position: relative;
  min-height: 680px;
  padding: clamp(28px, 4vw, 46px);
}

.t-auth-lore {
  display: grid;
  align-content: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 8, 17, 0.16), rgba(3, 8, 17, 0.9)),
    url('../images/tanados/tanados-hero-citadel.webp') center / cover;
}

.t-auth-lore::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(34, 218, 244, 0.16), transparent 17rem),
    linear-gradient(90deg, rgba(3, 8, 17, 0.82), transparent 62%);
}

.t-auth-lore > * {
  position: relative;
  z-index: 1;
}

.t-auth-drake {
  position: absolute;
  right: -28px;
  top: 38px;
  z-index: 1;
  width: min(320px, 52%);
  filter: drop-shadow(0 0 28px rgba(34, 218, 244, 0.24)) drop-shadow(0 26px 34px rgba(0, 0, 0, 0.48));
  animation: tMascotPeek 5.7s ease-in-out infinite;
}

.t-auth-drake-sign {
  right: -4px;
  top: 18px;
  width: min(390px, 62%);
}

.t-auth-lore h2 {
  max-width: 420px;
  margin: 10px 0 12px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 0.98;
}

.t-auth-lore p {
  max-width: 500px;
  color: #d1dee5;
}

.t-auth-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.t-auth-status-grid span {
  display: grid;
  gap: 8px;
  min-height: 86px;
  align-content: center;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 17, 0.58);
  color: #e9f6fb;
  font-weight: 900;
  padding: 12px;
  text-transform: uppercase;
}

.t-auth-status-grid i {
  color: #35dff7;
}

.t-auth-panel {
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 176, 98, 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(10, 20, 36, 0.96), rgba(5, 9, 18, 0.98));
}

.t-auth-panel form {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  margin: 0 auto;
}

.t-auth-field {
  display: grid;
  gap: 7px;
}

.t-auth-field label,
.t-auth-options label,
.t-auth-agreement label {
  color: #dbe9ee;
  font-weight: 800;
}

.t-auth-panel .input-group-text {
  width: 50px;
  justify-content: center;
}

.t-auth-panel .txt-soft {
  font-size: 1rem;
}

.t-auth-inline-link,
.t-auth-switch {
  color: #35dff7 !important;
  font-weight: 900;
  text-transform: uppercase;
}

.t-auth-switch {
  justify-self: center;
  margin-top: 2px;
}

.t-password-note {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(216, 176, 98, 0.22);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.56);
  color: #c7d8df;
  padding: 14px;
}

.t-password-note strong {
  color: #fff7e4;
}

.t-route-register .t-module-shell .container {
  max-width: 1220px;
}

.t-route-auth .card,
.t-route-register .bg-dark,
.t-route-auth .reborn-auth-art,
.t-route-register .reborn-auth-art {
  display: none !important;
}

.t-rules-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.t-rules-guide {
  position: sticky;
  top: 116px;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 98, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 22, 38, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 0 0, rgba(34, 218, 244, 0.13), transparent 22rem);
  padding: 22px;
}

.t-rules-drake {
  display: block;
  width: min(300px, 100%);
  margin: -30px auto 4px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.46));
}

.t-rules-guide h2 {
  margin: 8px 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-rules-guide p {
  color: #bed0d8;
}

.t-rules-guide-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.52);
  color: #e9f4f7;
  padding: 12px;
}

.t-rules-guide-note i {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: rgba(34, 218, 244, 0.12);
  color: #35dff7;
}

.t-rules-body {
  display: grid;
  gap: 18px;
}

.t-rules-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.t-rules-index a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(34, 218, 244, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #e9f6fb !important;
  padding: 10px 12px;
  font-weight: 800;
}

.t-rules-index a span {
  color: #d8b062;
  font-weight: 900;
}

.t-rule-entry {
  background:
    linear-gradient(135deg, rgba(10, 20, 36, 0.88), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 20rem);
}

.t-about-page,
.t-server-page {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.t-about-intro,
.t-server-ledger,
.t-server-status {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.t-about-intro > div:first-child,
.t-server-ledger-main,
.t-server-ledger-aside,
.t-server-status {
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.9), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 0 0, rgba(34, 218, 244, 0.1), transparent 22rem);
  padding: clamp(24px, 4vw, 38px);
}

.t-about-intro h2,
.t-server-ledger-main h2,
.t-server-status h2,
.t-system-atlas h2,
.t-class-forge h2,
.t-server-roadmap h2,
.t-about-team h2 {
  margin: 8px 0 12px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 0.98;
}

.t-about-intro p,
.t-server-page p {
  color: #bdd0d8;
}

.t-about-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 98, 0.2);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.t-about-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 16, 0.08), rgba(3, 8, 16, 0.82));
}

.t-about-art img {
  position: absolute;
  right: 18px;
  bottom: -36px;
  width: min(360px, 70%);
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.52));
}

.t-about-feature-grid,
.t-server-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.t-about-feature,
.t-server-pillar,
.t-class-card {
  position: relative;
  display: grid;
  min-height: 330px;
  overflow: hidden;
  align-content: end;
  border: 1px solid rgba(34, 218, 244, 0.16);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.t-about-feature::before,
.t-server-pillar::before,
.t-class-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.05), rgba(4, 8, 16, 0.92)),
    linear-gradient(90deg, rgba(4, 8, 16, 0.82), rgba(4, 8, 16, 0.12));
}

.t-about-feature > div,
.t-server-pillar > div,
.t-class-card > div {
  padding: 22px;
}

.t-about-feature span,
.t-server-pillar span,
.t-system-card span,
.t-roadmap-card span,
.t-team-copy span {
  color: #d8b062;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-about-feature h3,
.t-server-pillar h3,
.t-system-card h3,
.t-class-card h3,
.t-team-copy h3 {
  margin: 7px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  line-height: 1.05;
}

.t-about-feature p,
.t-server-pillar p,
.t-system-card p,
.t-class-card p,
.t-class-card small,
.t-team-copy p {
  color: #d4e0e5;
}

.t-server-pillar ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.t-server-pillar li {
  color: #c9d8df;
}

.t-server-pillar li::before {
  content: "+";
  color: #35dff7;
  font-weight: 900;
  margin-right: 8px;
}

.t-server-status {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  overflow: hidden;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(106, 27, 51, 0.86), rgba(9, 18, 36, 0.94)),
    radial-gradient(circle at 86% 0%, rgba(34, 218, 244, 0.18), transparent 24rem);
}

.t-server-status img {
  width: min(350px, 100%);
  justify-self: center;
  margin: -70px 0 -90px;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.52));
}

.t-server-ledger-aside {
  display: grid;
  gap: 14px;
  align-content: center;
}

.t-server-ledger-aside div {
  border: 1px solid rgba(216, 176, 98, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.48);
  padding: 16px;
}

.t-server-ledger-aside strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  margin-bottom: 6px;
}

.t-server-ledger-aside span {
  color: #bdd0d8;
}

.t-roadmap-grid,
.t-system-grid,
.t-class-grid,
.t-team-grid {
  display: grid;
  gap: 14px;
}

.t-roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t-roadmap-card {
  max-height: 430px;
  overflow: auto;
  border: 1px solid rgba(34, 218, 244, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.12), transparent 20rem);
  padding: 20px;
}

.t-system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t-system-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.16);
  border-radius: 8px;
  background: rgba(6, 12, 24, 0.78);
}

.t-system-card-media {
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.t-system-card > div:last-child {
  padding: 18px;
}

.t-class-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.t-class-card {
  min-height: 360px;
}

.t-class-card small {
  display: block;
  line-height: 1.55;
}

.t-class-card a,
.t-server-pillar a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: #35dff7 !important;
  font-weight: 900;
  text-transform: uppercase;
}

.t-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t-team-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.88), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(216, 176, 98, 0.08), transparent 14rem);
}

.t-team-portrait {
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.t-team-copy {
  padding: 18px;
}

.t-team-copy small {
  color: #35dff7;
  font-weight: 900;
}

.t-team-copy a {
  color: #d8b062 !important;
  font-weight: 900;
}

.t-cinematic-account .t-nav-user {
  min-height: 58px;
  gap: 10px;
  padding: 7px 12px 7px 8px !important;
}

.t-cinematic-account .t-nav-user .t-avatar {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
  border: 1px solid rgba(34, 218, 244, 0.34);
  box-shadow: 0 0 18px rgba(34, 218, 244, 0.16);
}

.t-drawer-account .t-avatar {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px;
}

.t-route-ucp .t-module-shell-content,
.t-route-teleport .t-module-shell-content,
.t-route-vote .t-module-shell-content,
.t-route-donate .t-module-shell-content,
.t-route-store .t-module-shell-content {
  padding-top: 40px;
}

.t-ucp-shell {
  max-width: 1240px !important;
}

.t-ucp-nav-panel {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 0 0, rgba(103, 75, 192, 0.14), transparent 18rem);
  padding: 16px;
}

.t-ucp-profile {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #fff7e4 !important;
}

.t-ucp-avatar-wrap {
  position: relative;
  display: block;
}

.t-ucp-avatar {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(216, 176, 98, 0.36);
  border-radius: 8px;
  object-fit: cover;
}

.t-ucp-avatar-wrap small {
  position: absolute;
  right: 5px;
  bottom: 5px;
  border-radius: 6px;
  background: rgba(3, 8, 16, 0.82);
  color: #35dff7;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 3px 5px;
  text-transform: uppercase;
}

.t-ucp-profile strong {
  display: block;
  font-family: var(--t-font-title);
  line-height: 1.05;
}

.t-ucp-profile em {
  color: #94dff0;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.t-ucp-nav {
  display: grid;
  gap: 8px;
}

.t-ucp-nav a,
.t-module-shell .list-group-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(34, 218, 244, 0.12) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #e9f6fb !important;
  padding: 9px 11px;
  font-weight: 900;
}

.t-ucp-nav a i {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: rgba(34, 218, 244, 0.1);
  color: #35dff7;
}

.t-ucp-nav a.active,
.t-module-shell .list-group-item.active {
  border-color: rgba(216, 176, 98, 0.36) !important;
  background: linear-gradient(135deg, rgba(34, 218, 244, 0.16), rgba(103, 75, 192, 0.16)) !important;
}

.t-ucp-nav-admin {
  border-color: rgba(219, 87, 112, 0.28) !important;
}

.t-ucp-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 20, 36, 0.94), rgba(8, 12, 28, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(216, 176, 98, 0.1), transparent 18rem);
  padding: 24px;
}

.t-ucp-overview-hero h2 {
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3vw, 3rem);
}

.t-ucp-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.t-ucp-points a,
.t-ucp-metrics article {
  border: 1px solid rgba(34, 218, 244, 0.15);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.5);
  padding: 16px;
}

.t-ucp-points a {
  color: #fff7e4 !important;
  text-align: center;
}

.t-ucp-points span,
.t-ucp-metrics span {
  display: block;
  color: #93dced;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-ucp-points strong {
  display: block;
  color: #d8b062;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-ucp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.t-ucp-metrics strong {
  display: block;
  min-height: 34px;
  margin: 7px 0 10px;
  color: #fff7e4;
  word-break: break-word;
}

.t-ucp-metrics a,
.t-ucp-character-panel a {
  color: #35dff7 !important;
  font-weight: 900;
  text-transform: uppercase;
}

.t-ucp-character-panel,
.t-module-shell .section-body,
.t-module-shell .page-subbody {
  margin-top: 16px;
  border: 1px solid rgba(34, 218, 244, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.88), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
  padding: 20px;
}

.t-module-shell .section-header,
.t-module-shell .avatars_name {
  border: 1px solid rgba(216, 176, 98, 0.22);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.62);
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.25rem;
  padding: 14px 16px;
}

.t-ucp-realm-table {
  margin-top: 14px;
}

.t-ucp-realm-table h3 {
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-route-ucp .my_avatar,
.t-module-shell .my_avatar {
  border: 1px solid rgba(34, 218, 244, 0.22);
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 34px rgba(0, 0, 0, 0.24);
}

.t-route-ucp .my_avatar.avatar_current,
.t-module-shell .my_avatar.avatar_current {
  border-color: rgba(216, 176, 98, 0.6);
  box-shadow: 0 0 22px rgba(216, 176, 98, 0.18);
}

.t-changelog-board {
  display: grid;
  gap: 18px;
}

.t-changelog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 20, 36, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(216, 176, 98, 0.1), transparent 16rem);
  padding: 24px;
}

.t-changelog-intro h2 {
  margin: 8px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3vw, 3rem);
}

.t-changelog-intro img {
  width: min(220px, 100%);
  justify-self: end;
  margin-bottom: -56px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
}

.t-changelog-shell,
.clog-wrap {
  border: 1px solid rgba(34, 218, 244, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.88), rgba(5, 9, 18, 0.92)),
    radial-gradient(circle at 0 0, rgba(103, 75, 192, 0.12), transparent 18rem);
  padding: 18px;
}

.clog-filters {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.clog-input,
.clog-btn {
  min-height: 44px !important;
  border-radius: 8px !important;
}

.bugreport-page {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 218, 244, 0.2) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.14), transparent 20rem) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34) !important;
}

.bugreport-page::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 8px;
  width: 180px;
  height: 150px;
  background: url('../images/tanados/mascot/tanados-drake-peek.webp') center / contain no-repeat;
  opacity: 0.32;
  pointer-events: none;
}

.bugreport-page > * {
  position: relative;
  z-index: 1;
}

.br-hero,
.br-panel,
.br-card {
  border-color: rgba(34, 218, 244, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(3, 8, 16, 0.56) !important;
}

.br-title {
  color: #fff7e4 !important;
  font-family: var(--t-font-title) !important;
  letter-spacing: 0 !important;
}

.btn.btn-br-primary,
.btn.btn-br-ghost {
  min-height: 42px;
  border-radius: 8px !important;
}

.t-module-shell-content > .t-container > .section-padding.banner.bg-responsive:first-child,
.t-module-shell-content > .t-container > .banner.bg-responsive:first-child {
  display: none !important;
}

@media (max-width: 1199px) {
  .t-auth-console,
  .t-about-intro,
  .t-server-ledger,
  .t-server-status,
  .t-rules-page {
    grid-template-columns: 1fr;
  }

  .t-rules-guide,
  .t-ucp-nav-panel {
    position: relative;
    top: auto;
  }

  .t-about-feature-grid,
  .t-server-pillars,
  .t-roadmap-grid,
  .t-system-grid,
  .t-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t-auth-lore,
  .t-auth-panel {
    min-height: auto;
  }

  .t-auth-lore {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .t-alpha-alert-inner,
  .t-auth-status-grid,
  .t-rules-index,
  .t-about-feature-grid,
  .t-server-pillars,
  .t-roadmap-grid,
  .t-system-grid,
  .t-class-grid,
  .t-team-grid,
  .t-ucp-overview-hero,
  .t-ucp-points,
  .t-ucp-metrics,
  .t-changelog-intro,
  .clog-filters {
    grid-template-columns: 1fr;
  }

  .t-alpha-alert-link {
    justify-self: stretch;
  }

  .t-auth-console {
    grid-template-columns: 1fr;
  }

  .t-auth-lore,
  .t-auth-panel {
    padding: 22px;
  }

  .t-auth-drake {
    position: relative;
    right: auto;
    top: auto;
    width: min(260px, 82%);
    justify-self: center;
    margin: -18px 0 8px;
  }

  .t-system-card,
  .t-team-card {
    grid-template-columns: 1fr;
  }

  .t-system-card-media,
  .t-team-portrait {
    min-height: 190px;
  }

  .t-server-status img,
  .t-changelog-intro img {
    margin: 0 auto -28px;
    justify-self: center;
  }

  .t-cinematic-account .t-nav-user .t-avatar {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }
}

/* Login page cleanup: the legacy auth template renders art outside the form container. */
.t-route-auth .reborn-auth-art {
  display: none !important;
}

.t-route-auth .card {
  min-height: auto !important;
  padding: 34px !important;
}

.t-route-auth .container > .col-12 {
  max-width: 980px;
}

.t-route-auth .card::before {
  margin-bottom: 24px;
}

.t-cinematic-menu .nav-link {
  overflow: hidden;
}

/* Mascot pass: keep the hero logo singular, use the character for guidance and personality. */
.t-cinematic-brand-wordonly,
.t-drawer-brand-wordonly,
.t-footer-logo-wordonly {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.t-cinematic-brand-wordonly {
  justify-content: center;
  padding-left: 20px;
}

.t-cinematic-brand-wordonly::before {
  background:
    linear-gradient(90deg, rgba(34, 218, 244, 0.16), rgba(118, 64, 211, 0.1) 54%, transparent),
    rgba(3, 7, 16, 0.64);
}

.t-brand-sub,
.t-drawer-brand-wordonly small {
  position: relative;
  z-index: 1;
  color: #82e9ff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.t-cinematic-brand-wordonly .t-brand-name {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.t-footer-logo-wordonly span {
  display: grid;
  gap: 3px;
}

.t-mascot {
  display: block;
  height: auto;
  max-width: 100%;
  pointer-events: none;
  user-select: none;
}

.t-mascot-device {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 30%, rgba(118, 64, 211, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(8, 17, 30, 0.76), rgba(4, 8, 15, 0.8));
}

.t-mascot-stage {
  position: relative;
  display: grid;
  width: min(350px, 100%);
  min-height: 342px;
  place-items: center;
  isolation: isolate;
}

.t-mascot-orbit {
  position: absolute;
  inset: 34px 20px 20px;
  z-index: -1;
  border: 1px solid rgba(34, 218, 244, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 218, 244, 0.26), transparent 55%),
    radial-gradient(circle at 60% 42%, rgba(118, 64, 211, 0.26), transparent 58%),
    conic-gradient(from 45deg, rgba(216, 176, 98, 0.26), rgba(34, 218, 244, 0.22), rgba(118, 64, 211, 0.3), rgba(0, 0, 0, 0.6), rgba(216, 176, 98, 0.26));
  box-shadow: 0 0 70px rgba(34, 218, 244, 0.14), inset 0 0 54px rgba(0, 0, 0, 0.54);
}

.t-mascot-stage-hero .t-mascot-pointing {
  width: min(336px, 88%);
  filter:
    drop-shadow(0 0 18px rgba(34, 218, 244, 0.22))
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.52));
  transform-origin: 50% 80%;
  animation: tMascotFloat 5.2s ease-in-out infinite;
}

.t-realm-identity {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 12%, rgba(34, 218, 244, 0.12), transparent 27rem),
    radial-gradient(circle at 92% 20%, rgba(118, 64, 211, 0.17), transparent 30rem),
    linear-gradient(180deg, #050711, #080d1b);
}

.t-realm-identity::before {
  display: none;
}

.t-realm-identity .t-container {
  position: relative;
}

.t-realm-identity-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.t-realm-identity-art {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.22);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.t-realm-identity-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.76)),
    radial-gradient(circle at 52% 58%, rgba(34, 218, 244, 0.24), transparent 17rem);
}

.t-realm-identity-art::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 218, 244, 0.5), transparent);
}

.t-realm-identity-art .t-mascot-sign {
  position: absolute;
  left: 50%;
  bottom: -32px;
  z-index: 1;
  width: min(430px, 86%);
  filter:
    drop-shadow(0 0 20px rgba(118, 64, 211, 0.2))
    drop-shadow(0 24px 32px rgba(0, 0, 0, 0.58));
  transform: translateX(-50%);
  transform-origin: 50% 90%;
  animation: tMascotBoard 6.2s ease-in-out infinite;
}

.t-mascot-sign-copy {
  position: absolute;
  left: 50%;
  bottom: 270px;
  z-index: 2;
  display: grid;
  width: min(285px, 58%);
  gap: 5px;
  transform: translateX(-50%) rotate(-0.8deg);
  color: #fff3cf;
  text-align: center;
  text-shadow: 0 2px 2px rgba(45, 22, 8, 0.62);
}

.t-mascot-sign-copy strong {
  font-family: var(--t-font-title);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1;
}

.t-mascot-sign-copy span {
  color: #f5d69b;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.22;
}

.t-realm-identity-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.t-realm-identity-copy .t-section-head {
  margin: 0;
}

.t-realm-identity-copy .t-section-head p {
  max-width: 760px;
}

.t-identity-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.t-identity-tool {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(34, 218, 244, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 33, 47, 0.86), rgba(7, 12, 24, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(118, 64, 211, 0.12), transparent 14rem);
  color: #eefcff;
  padding: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.t-identity-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(34, 218, 244, 0.12), rgba(216, 176, 98, 0.12));
  transition: opacity 180ms ease;
}

.t-identity-tool i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(216, 176, 98, 0.3);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.52);
  color: #27ddf7;
  font-size: 1.22rem;
  box-shadow: inset 0 0 18px rgba(34, 218, 244, 0.08);
}

.t-identity-tool span {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 5px;
}

.t-identity-tool strong {
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.04rem;
  line-height: 1.05;
}

.t-identity-tool small {
  color: #a9bcc8;
  font-size: 0.86rem;
  line-height: 1.35;
}

.t-identity-tool:hover {
  border-color: rgba(216, 176, 98, 0.46);
  color: #ffffff;
  transform: translateY(-2px);
}

.t-identity-tool:hover::before {
  opacity: 1;
}

.t-realm-peek {
  position: absolute;
  right: clamp(8px, 3vw, 50px);
  bottom: -118px;
  z-index: 0;
  width: min(230px, 20vw);
  opacity: 0.72;
  filter: drop-shadow(0 0 24px rgba(34, 218, 244, 0.18));
  animation: tMascotPeek 5.4s ease-in-out infinite;
}

.t-page-head-mascot {
  width: min(230px, 28vw);
  max-height: 180px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.44));
  animation: tMascotPeek 5.8s ease-in-out infinite;
}

.t-access-gate-mark .t-access-gate-mascot {
  width: min(250px, 74vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45));
}

.t-warboard-section .t-warboard-console::before {
  background-image: url('../images/tanados/mascot/tanados-drake-peek.webp');
  background-size: contain;
  opacity: 0.08;
}

@keyframes tMascotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(1deg);
  }
}

@keyframes tMascotBoard {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-0.8deg);
  }
  50% {
    transform: translateX(-50%) translateY(-8px) rotate(0.8deg);
  }
}

@keyframes tMascotPeek {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1199px) {
  .t-cinematic-brand-wordonly {
    min-width: 154px;
  }

  .t-mascot-stage {
    min-height: 318px;
  }

  .t-realm-identity-grid {
    grid-template-columns: 1fr;
  }

  .t-realm-identity-art {
    min-height: 560px;
  }

  .t-realm-peek {
    width: 210px;
  }
}

@media (max-width: 767px) {
  .t-cinematic-brand-wordonly {
    min-width: 126px;
    padding-left: 14px;
  }

  .t-brand-sub {
    display: none;
  }

  .t-mascot-stage {
    min-height: 288px;
  }

  .t-mascot-stage-hero .t-mascot-pointing {
    width: min(280px, 88%);
  }

  .t-realm-identity-art {
    min-height: 500px;
  }

  .t-realm-identity-art .t-mascot-sign {
    width: min(350px, 92%);
  }

  .t-mascot-sign-copy {
    bottom: 210px;
    width: min(240px, 64%);
  }

  .t-identity-tools {
    grid-template-columns: 1fr;
  }

  .t-identity-tool {
    min-height: 104px;
  }

  .t-realm-peek {
    display: none;
  }

  .t-page-head-mascot {
    width: min(190px, 42vw);
  }
}

@media (max-width: 767px) {
  body.tanados-modern {
    padding-top: 72px;
  }

  .t-cinematic-nav-inner {
    min-height: 72px;
  }

  .t-cinematic-brand {
    min-width: 142px;
  }

  .t-cinematic-brand::before {
    inset: 8px 0;
  }

  .t-cinematic-brand .t-brand-wordmark {
    width: 142px;
    height: 58px;
  }

  .t-hero-wordmark {
    width: min(300px, 82vw);
    margin-left: -4px;
  }

  .t-console-title h1 {
    max-width: 100%;
    font-size: 3rem;
  }

  .t-console-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .t-gate-device {
    padding: 24px 18px;
  }

  .t-gate-ring {
    width: min(238px, 100%);
  }

  .t-gate-actions {
    grid-template-columns: 1fr;
  }

}

/* Route-level module polish for the Tanados Reborn pass. */
.t-module-page .t-page-content,
.t-module-shell .t-module-shell-content {
  position: relative;
  padding-top: 40px;
  padding-bottom: 72px;
}

.t-module-page .t-page-content::before,
.t-module-shell .t-module-shell-content::before,
.t-custom-page .t-page-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(41, 216, 239, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 6%, rgba(103, 75, 192, 0.1), transparent 30rem);
  opacity: 0.75;
}

.t-module-page .t-page-content > .t-container,
.t-module-shell .t-module-shell-content > .t-container,
.t-custom-page .t-page-content > .t-container {
  position: relative;
  z-index: 1;
}

.t-route-connect .t-page-content > .t-container > .section-padding.banner:first-child,
.t-route-download .t-page-content > .t-container > .section-padding.banner:first-child,
.t-route-forum .banner--community {
  display: none !important;
}

.t-workbench-page .btn-outline-primary,
.t-workbench-page .btn-outline-secondary,
.t-workbench-page .btn-outline-warning,
.t-workbench-page .btn-warning,
.t-workbench-page .btn-sm,
.t-workbench-page .page-link {
  border: 1px solid rgba(41, 216, 239, 0.24) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #effbff !important;
  font-weight: 900;
}

.t-workbench-page .btn:hover,
.t-workbench-page .page-link:hover,
.t-workbench-page .pagination .active .page-link {
  border-color: rgba(216, 176, 98, 0.48) !important;
  background: linear-gradient(135deg, rgba(41, 216, 239, 0.14), rgba(103, 75, 192, 0.18)) !important;
  color: #fff7e4 !important;
}

.t-route-ucp .t-ucp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.t-route-ucp .t-ucp-form-hero,
.t-route-ucp .t-ucp-avatar-hero {
  overflow: hidden;
  min-height: 178px;
}

.t-route-ucp .t-ucp-form-mascot {
  justify-self: end;
  align-self: end;
  width: min(230px, 35vw);
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.46));
  animation: tMascotPeek 5.6s ease-in-out infinite;
}

.t-route-ucp .t-ucp-form-card,
.t-route-ucp .t-ucp-avatar-chooser {
  border: 1px solid rgba(41, 216, 239, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.94), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.12), transparent 18rem);
  padding: 22px;
}

.t-route-ucp .t-ucp-form-card header,
.t-route-ucp .t-ucp-avatar-chooser header {
  margin-bottom: 18px;
}

.t-route-ucp .t-ucp-form-card h3,
.t-route-ucp .t-ucp-avatar-chooser h3 {
  margin: 6px 0 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-route-ucp .t-ucp-form-card form {
  display: grid;
  gap: 12px;
}

.t-route-ucp .t-ucp-form-card label {
  margin: 0;
  color: #93dced;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-route-ucp .t-avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
}

.t-route-ucp .t-avatar-grid .my_avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-height: 84px;
  background-position: center;
  background-size: cover;
}

.t-route-gm .container-fluid,
.t-route-pvp_statistics .pvp-stat-wrap,
.t-route-armory form,
.t-route-armory #search_box,
.t-route-character .character-armory,
.t-route-bosskills .page-subbody,
.t-route-raidladder .raidladder-index,
.t-route-forum #forum-blizz,
.t-route-connect .texture,
.t-route-download .texture {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 32, 0.94), rgba(4, 8, 16, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.12), transparent 24rem);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.34);
}

.t-route-gm .container-fluid,
.t-route-pvp_statistics .pvp-stat-wrap,
.t-route-character .character-armory,
.t-route-bosskills .page-subbody,
.t-route-raidladder .raidladder-index,
.t-route-forum #forum-blizz {
  padding: clamp(18px, 3vw, 30px);
}

.t-route-armory form {
  padding: 22px;
  margin-bottom: 18px;
}

.t-route-armory #search_box {
  padding: 22px !important;
}

.t-route-bosskills .page-subbody::before,
.t-route-raidladder .raidladder-index::before,
.t-route-forum #forum-blizz::before,
.t-route-connect .texture::before,
.t-route-download .texture::before {
  content: "";
  position: absolute;
  right: clamp(10px, 3vw, 46px);
  top: 12px;
  z-index: 0;
  width: min(190px, 24vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: url('../images/tanados/mascot/tanados-drake-peek.webp') center / contain no-repeat;
  opacity: 0.16;
  filter: drop-shadow(0 0 28px rgba(41, 216, 239, 0.18));
}

.t-route-bosskills .page-subbody > *,
.t-route-raidladder .raidladder-index > *,
.t-route-forum #forum-blizz > *,
.t-route-connect .texture > *,
.t-route-download .texture > * {
  position: relative;
  z-index: 1;
}

.t-route-pvp_statistics .pvp-stat-wrap .nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.t-route-pvp_statistics .pvp-stat-wrap .nav .col,
.t-route-pvp_statistics .pvp-stat-wrap .nav .d-flex {
  width: auto !important;
}

.t-route-pvp_statistics .pvp-stat-wrap .nav .btn,
.t-route-pvp_statistics .pvp-stat-wrap #realm-changer {
  min-height: 48px;
  border-color: rgba(41, 216, 239, 0.2) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #e9f6fb !important;
  text-transform: uppercase;
}

.t-route-pvp_statistics .pvp-stat-wrap .nav .btn.active,
.t-route-pvp_statistics .pvp-stat-wrap #realm-changer {
  border-color: rgba(216, 176, 98, 0.44) !important;
  background: linear-gradient(135deg, rgba(41, 216, 239, 0.14), rgba(103, 75, 192, 0.18)) !important;
}

.t-route-pvp_statistics .pvp-rank-badge {
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  background: rgba(216, 176, 98, 0.12);
  color: #fff7e4;
}

.t-route-pvp_statistics .pvp-members img,
.t-route-pvp_statistics table img,
.t-route-armory table img,
.t-route-ucp table img {
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 6px;
}

.t-route-armory form .row {
  align-items: stretch;
}

.t-route-armory form .col-12 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.t-route-armory form .btn {
  min-height: 48px;
}

.t-route-armory .dataTables_wrapper {
  overflow-x: auto;
}

.t-route-armory table.dataTable thead th:first-child,
.t-route-armory table.dataTable tbody td:first-child {
  min-width: 46px;
}

.t-route-character .container-fluid {
  padding: 0;
}

.t-route-character .character-header,
.t-route-character .health-mana-container,
.t-route-character .primary-stats,
.t-route-character .bot-stats,
.t-route-character .stats-panel,
.t-route-character .equipment-grid,
.t-route-character .talents-card,
.t-route-character .card {
  border: 1px solid rgba(41, 216, 239, 0.16) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(11, 21, 37, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 0 0, rgba(103, 75, 192, 0.11), transparent 16rem) !important;
}

.t-route-character .character-header {
  padding: 22px;
}

.t-route-character .character-avatar {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.t-route-character .character-name {
  color: #fff7e4 !important;
  font-family: var(--t-font-title);
}

.t-route-character .character-details span,
.t-route-character .stat-line {
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 10px;
}

.t-route-character .progress {
  height: 30px;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.76);
}

.t-route-character .health-fill {
  background: linear-gradient(90deg, #7d2749, #d8b062) !important;
}

.t-route-character .mana-fill,
.t-route-character .runic-fill,
.t-route-character .energy-fill,
.t-route-character .rage-fill {
  background: linear-gradient(90deg, #1987b8, #674bc0) !important;
}

.t-route-character .equipment-slot {
  min-height: 46px;
}

.t-route-character .equipment-slot .item,
.t-route-character .talent-tree-trigger,
.t-route-character .list-group-item {
  border-color: rgba(41, 216, 239, 0.14) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.t-route-bosskills .card,
.t-route-raidladder .card,
.t-route-forum .blizz-card,
.t-route-forum .topic-row,
.t-route-forum .blizz-list-head,
.t-route-forum .forum-editor-scope {
  border: 1px solid rgba(41, 216, 239, 0.16) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(12, 23, 39, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.09), transparent 16rem) !important;
}

.t-route-bosskills .card img {
  border-radius: 8px;
}

.t-route-bosskills .badge,
.t-route-raidladder .badge,
.t-route-forum .badge {
  border: 1px solid rgba(41, 216, 239, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e9f6fb !important;
}

.t-route-bosskills .list-group-item,
.t-route-raidladder .list-group-item {
  border-color: rgba(41, 216, 239, 0.1) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #e9f6fb !important;
}

.t-route-raidladder .tab-content {
  border: 1px solid rgba(41, 216, 239, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(3, 8, 16, 0.38);
}

.t-route-raidladder h1,
.t-route-raidladder h2,
.t-route-raidladder h3,
.t-route-bosskills h4,
.t-route-bosskills h5,
.t-route-bosskills h6 {
  color: #fff7e4 !important;
  font-family: var(--t-font-title);
}

.t-route-forum #forum-blizz {
  padding-top: clamp(20px, 3vw, 34px) !important;
}

.t-route-forum .forum-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.t-route-forum .forum-tabs a {
  min-height: 42px;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d7eef6 !important;
  padding: 10px 13px;
}

.t-route-forum .forum-tabs a.text-warning {
  border-color: rgba(216, 176, 98, 0.44);
  background: rgba(216, 176, 98, 0.12);
  color: #fff7e4 !important;
}

.t-route-forum .forum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.t-route-forum .blizz-card-header,
.t-route-forum .blizz-list-head {
  border-bottom: 1px solid rgba(216, 176, 98, 0.16);
  padding: 16px;
}

.t-route-forum .blizz-title,
.t-route-forum .topic-title {
  color: #fff7e4 !important;
  font-family: var(--t-font-title);
  font-weight: 800;
}

.t-route-forum .blizz-sub,
.t-route-forum .blizz-desc,
.t-route-forum .topic-meta,
.t-route-forum .topic-stats,
.t-route-forum .topic-last,
.t-route-forum time {
  color: var(--t-muted) !important;
}

.t-route-forum .blizz-forum-list,
.t-route-forum .blizz-subforum-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.t-route-forum .blizz-forum-item,
.t-route-forum .topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.t-route-forum .blizz-forum-item {
  grid-template-columns: auto minmax(0, 1fr);
}

.t-route-forum .blizz-subforum-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.t-route-forum .blizz-subforum-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.t-route-forum .blizz-icon,
.t-route-forum .blizz-subicon,
.t-route-forum .avatar {
  border: 1px solid rgba(41, 216, 239, 0.2);
  border-radius: 8px;
  object-fit: cover;
}

.t-route-connect .texture,
.t-route-download .texture {
  padding: clamp(22px, 3vw, 34px) !important;
}

.t-route-connect .connect-step {
  border: 1px solid rgba(41, 216, 239, 0.14) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.t-route-connect .connect-step-number {
  border: 1px solid rgba(216, 176, 98, 0.38);
  border-radius: 8px;
  background: rgba(216, 176, 98, 0.12);
  color: #fff7e4;
}

.t-route-connect .connect-code,
.t-route-connect .connect-code-block {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.78);
  color: #bff8ff;
}

.t-route-download .card-img-zoom,
.t-route-connect .card-img-zoom {
  overflow: hidden;
  border-bottom: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px 8px 0 0;
}

.t-route-download .card-img-top,
.t-route-connect .card-img-top {
  height: 180px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 220ms ease, filter 220ms ease;
}

.t-route-download .card:hover .card-img-top,
.t-route-connect .card:hover .card-img-top {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.t-account-module {
  max-width: 1240px !important;
}

.t-account-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 20, 36, 0.95), rgba(5, 9, 18, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(103, 75, 192, 0.16), transparent 22rem);
  padding: clamp(20px, 3vw, 28px);
}

.t-account-hero::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -40px;
  width: min(210px, 24vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: url('../images/tanados/mascot/tanados-drake-peek.webp') center / contain no-repeat;
  opacity: 0.12;
}

.t-account-hero h2 {
  margin: 8px 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.t-account-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--t-muted);
}

.t-account-hero-mascot {
  justify-self: end;
  align-self: end;
  width: min(230px, 30vw);
  max-height: 178px;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.46));
  animation: tMascotPeek 5.6s ease-in-out infinite;
}

.t-account-balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.t-account-balances article {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.54);
  padding: 16px;
  text-align: center;
}

.t-account-balances span {
  display: block;
  color: #93dced;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-account-balances strong {
  display: block;
  color: #d8b062;
  font-family: var(--t-font-title);
  font-size: 2rem;
}

.t-account-panel,
.t-account-note,
.t-store-filter-panel,
.t-store-realm,
.t-store-cart,
.t-vote-card,
.t-donate-card,
.t-store-checkout-info,
.t-store-checkout-realm {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.92), rgba(5, 9, 18, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
}

.t-account-panel,
.t-account-note,
.t-store-filter-panel,
.t-store-realm,
.t-store-cart,
.t-store-checkout-info,
.t-store-checkout-realm {
  padding: 20px;
}

.t-account-panel header,
.t-vote-card header,
.t-store-cart header,
.t-store-checkout-info header {
  margin-bottom: 16px;
}

.t-account-panel h3,
.t-vote-card h3,
.t-store-checkout-info h3,
.t-store-checkout-realm h4 {
  margin: 6px 0 0;
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-account-note {
  margin-top: 18px;
}

.t-account-note p {
  margin: 8px 0 0;
  color: var(--t-muted);
}

.t-empty-state {
  border: 1px dashed rgba(41, 216, 239, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--t-muted);
  padding: 18px;
  text-align: center;
}

.t-teleport-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 16px;
  align-items: start;
}

.t-teleport-realm + .t-teleport-realm,
.t-location-card + .t-location-card {
  margin-top: 12px;
}

.t-teleport-realm h4,
.t-location-card h4 {
  margin: 0 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.1rem;
}

.t-character-picker,
.t-location-list {
  display: grid;
  gap: 10px;
}

.t-character-row,
.t-location-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.t-location-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.t-character-class-icon {
  border: 1px solid rgba(216, 176, 98, 0.28);
  border-radius: 8px;
}

.t-character-row strong,
.t-location-card strong {
  display: block;
  color: #fff7e4;
}

.t-character-row span,
.t-location-card p {
  display: block;
  margin: 2px 0 0;
  color: var(--t-muted);
}

.t-vote-grid,
.t-donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.t-vote-card {
  display: grid;
  min-height: 280px;
  padding: 18px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.t-vote-card:hover {
  border-color: rgba(216, 176, 98, 0.42);
  transform: translateY(-2px);
}

.t-vote-card.card-disabled {
  cursor: default;
  opacity: 0.72;
}

.t-vote-card-body {
  display: grid;
  gap: 14px;
  place-items: center;
  color: #fff7e4;
  text-align: center;
}

.t-vote-card-body img {
  max-width: 150px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.32));
}

.t-vote-card-body strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1.2rem;
}

.t-vote-card footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
  margin-top: 14px;
  border-top: 1px solid rgba(216, 176, 98, 0.14);
  padding-top: 14px;
  color: #d8b062;
}

.t-vote-card footer strong {
  font-family: var(--t-font-title);
  font-size: 1.7rem;
}

.t-donate-card {
  display: grid;
  grid-template-rows: 150px auto auto;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
}

.t-donate-art {
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.45);
}

.t-donate-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.t-donate-card:hover .t-donate-art img {
  transform: scale(1.05);
}

.t-donate-copy {
  text-align: center;
}

.t-donate-copy span,
.t-donate-copy em {
  display: block;
  color: #93dced;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.t-donate-copy strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 2.2rem;
}

.t-donate-copy em {
  color: #d8b062;
  font-size: 1.2rem;
}

.t-store-shell {
  display: grid;
  gap: 16px;
}

.t-store-filter-panel {
  margin-bottom: 16px;
}

.t-store-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.t-store-filters label,
.t-store-price-toggles {
  display: grid;
  gap: 7px;
  margin: 0;
}

.t-store-filters label span,
.t-store-price-toggles > span {
  color: #93dced;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-store-price-toggles > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.t-store-price-toggles .btn.nice_active {
  border-color: rgba(216, 176, 98, 0.42) !important;
  background: rgba(216, 176, 98, 0.12) !important;
  color: #fff7e4 !important;
}

.t-store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 16px;
  align-items: start;
}

.t-store-realms,
.t-store-group,
.store_group {
  display: grid;
  gap: 14px;
}

.t-store-realm-title,
.store_realm_title,
.t-store-group h4 {
  margin: 0;
}

.t-store-realm-toggle,
.button-store {
  justify-content: flex-start;
  min-height: 48px;
  width: 100%;
  text-align: left;
}

.t-store-item {
  display: block;
}

.t-store-item-inner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  border: 1px solid rgba(41, 216, 239, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 23, 39, 0.9), rgba(5, 9, 18, 0.92));
  padding: 12px;
}

.t-store-item .item_icon,
.t-store-checkout-item .item_icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 176, 98, 0.28);
  border-radius: 8px;
  object-fit: cover;
}

.t-store-item-copy {
  min-width: 0;
}

.t-store-item-copy .item_name,
.t-store-checkout-item .item_name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.t-store-item-copy p,
.t-store-checkout-item p {
  margin: 5px 0 0;
  color: var(--t-muted);
  font-size: 0.88rem;
}

.t-store-buttons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.t-store-buttons .btn {
  min-height: 40px;
}

.t-store-cart {
  position: sticky;
  top: 116px;
}

.t-store-cart header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(216, 176, 98, 0.16);
  padding-bottom: 12px;
}

.t-store-cart header span,
.t-store-cart header strong {
  color: #fff7e4;
}

.t-store-cart-body {
  min-height: 92px;
  color: var(--t-muted);
  padding: 14px 0;
}

.t-store-cart #cart_items {
  display: grid;
  gap: 8px;
}

.t-store-cart #cart_items .store_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px;
}

.t-store-cart-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(216, 176, 98, 0.16);
  padding-top: 14px;
}

.t-store-cart-footer > div {
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff7e4;
  padding: 10px;
  text-align: center;
}

.t-store-cart-footer .btn {
  grid-column: 1 / -1;
}

.t-store-checkout {
  display: none;
  margin-bottom: 16px;
}

.t-store-checkout-info {
  margin-bottom: 14px;
}

.t-store-checkout-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--t-muted);
}

.t-store-checkout-info img {
  width: 18px;
  height: 18px;
}

.t-store-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.t-store-checkout-realm + .t-store-checkout-realm {
  margin-top: 14px;
}

.t-store-checkout-items {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.t-store-checkout-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(41, 216, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.t-store-checkout-character select {
  width: 100%;
}

.t-account-profile-page {
  max-width: 1240px !important;
}

.t-profile-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.t-profile-aside,
.t-profile-facts article,
.t-profile-characters,
.t-profile-realm {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.92), rgba(5, 9, 18, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
}

.t-profile-aside {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.t-profile-avatar-frame {
  overflow: hidden;
  border: 1px solid rgba(216, 176, 98, 0.32);
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.6);
}

.t-profile-avatar-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.t-profile-nameplate h2,
.t-profile-characters h3,
.t-profile-realm h4 {
  margin: 8px 0 6px;
  color: #fff7e4;
  font-family: var(--t-font-title);
}

.t-profile-nameplate p {
  margin: 0;
  color: var(--t-muted);
}

.t-profile-main {
  display: grid;
  gap: 16px;
}

.t-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.t-profile-facts article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.t-profile-facts i {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: rgba(41, 216, 239, 0.1);
  color: #35dff7;
}

.t-profile-facts span {
  display: block;
  color: #93dced;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-profile-facts strong {
  display: block;
  color: #fff7e4;
  word-break: break-word;
}

.t-profile-characters {
  padding: 20px;
}

.t-profile-realm {
  margin-top: 14px;
  padding: 16px;
}

.t-profile-realm table {
  margin-bottom: 0;
}

.t-profile-realm img {
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 6px;
}

@media (max-width: 991px) {
  .t-route-ucp .t-ucp-form-grid {
    grid-template-columns: 1fr;
  }

  .t-route-ucp .t-ucp-form-mascot {
    display: none;
  }

  .t-route-pvp_statistics .pvp-stat-wrap .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t-route-forum .blizz-forum-item,
  .t-route-forum .topic-row {
    grid-template-columns: 1fr;
  }

  .t-account-hero,
  .t-teleport-grid,
  .t-store-layout,
  .t-store-filters {
    grid-template-columns: 1fr;
  }

  .t-account-hero-mascot {
    display: none;
  }

  .t-store-cart {
    position: static;
  }

  .t-profile-shell,
  .t-profile-facts {
    grid-template-columns: 1fr;
  }

  .t-profile-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .t-module-page .t-page-content,
  .t-module-shell .t-module-shell-content {
    padding-top: 24px;
  }

  .t-route-gm .container-fluid,
  .t-route-pvp_statistics .pvp-stat-wrap,
  .t-route-character .character-armory,
  .t-route-bosskills .page-subbody,
  .t-route-raidladder .raidladder-index,
  .t-route-forum #forum-blizz,
  .t-route-connect .texture,
  .t-route-download .texture {
    padding: 16px !important;
  }

  .t-route-pvp_statistics .pvp-stat-wrap .nav {
    grid-template-columns: 1fr;
  }

  .t-route-bosskills .page-subbody::before,
  .t-route-raidladder .raidladder-index::before,
  .t-route-forum #forum-blizz::before,
  .t-route-connect .texture::before,
  .t-route-download .texture::before {
    display: none;
  }

  .t-account-hero,
  .t-account-panel,
  .t-account-note,
  .t-store-filter-panel,
  .t-store-realm,
  .t-store-cart,
  .t-store-checkout-info,
  .t-store-checkout-realm {
    padding: 16px;
  }

  .t-account-balances,
  .t-character-row,
  .t-location-card,
  .t-store-buttons,
  .t-store-cart-footer,
  .t-store-checkout-item {
    grid-template-columns: 1fr;
  }

  .t-store-item-inner {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .t-store-item .item_icon,
  .t-store-checkout-item .item_icon {
    width: 44px;
    height: 44px;
  }
}

/* Final ordering guard for the drake theme pass. */
.t-mascot-stage-hero .t-mascot-pointing {
  width: min(380px, 96%) !important;
}

.t-warboard-section .t-warboard-console::before,
.t-route-auth .reborn-auth-art::after,
.t-route-register .reborn-auth-art::after {
  background-image: url('../images/tanados/mascot/tanados-drake-peek.webp') !important;
}

.t-cinematic-account .t-nav-user .t-avatar {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
}

@media (max-width: 767px) {
  .t-mascot-stage-hero .t-mascot-pointing {
    width: min(330px, 92%) !important;
  }

  .t-cinematic-account .t-nav-user .t-avatar {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }
}

/* Absolute final route overrides for the Tanados rebuild pass. */
.t-page-headbar {
  --t-headbar-art: url('../images/banners/server.webp');
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(4, 8, 18, 0.92), rgba(8, 17, 35, 0.82) 48%, rgba(36, 15, 54, 0.74)),
    radial-gradient(circle at 82% 20%, rgba(41, 216, 239, 0.2), transparent 24rem),
    radial-gradient(circle at 12% 100%, rgba(216, 176, 98, 0.14), transparent 22rem),
    var(--t-headbar-art) !important;
  background-position: center;
  background-size: cover;
}

.t-route-ucp .t-page-headbar { --t-headbar-art: url('../images/banners/ucp.webp'); }
.t-route-ucp.t-action-settings .t-page-headbar { --t-headbar-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-page-headbar { --t-headbar-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-page-headbar { --t-headbar-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-page-headbar { --t-headbar-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-page-headbar { --t-headbar-art: url('../images/banners/donate.webp'); }
.t-route-store .t-page-headbar { --t-headbar-art: url('../images/banners/store.webp'); }
.t-route-profile .t-page-headbar { --t-headbar-art: url('../images/banners/profile.webp'); }
.t-route-download .t-page-headbar { --t-headbar-art: url('../images/banners/downloads.webp'); }
.t-route-changelog .t-page-headbar { --t-headbar-art: url('../images/banners/changelog.webp'); }
.t-route-server .t-page-headbar { --t-headbar-art: url('../images/banners/server.webp'); }
.t-route-rules .t-page-headbar { --t-headbar-art: url('../images/banners/community.webp'); }

.t-account-hero,
.t-route-ucp .t-ucp-overview-hero {
  --t-account-art: url('../images/banners/ucp.webp');
  background-image:
    linear-gradient(105deg, rgba(5, 10, 23, 0.94), rgba(10, 20, 39, 0.78) 54%, rgba(56, 23, 80, 0.72)),
    radial-gradient(circle at 82% 8%, rgba(41, 216, 239, 0.18), transparent 18rem),
    var(--t-account-art) !important;
  background-position: center;
  background-size: cover;
}

.t-route-ucp.t-action-settings .t-ucp-overview-hero { --t-account-art: url('../images/banners/settings.webp'); }
.t-route-ucp.t-action-avatar .t-ucp-overview-hero { --t-account-art: url('../images/banners/avatar.webp'); }
.t-route-teleport .t-account-hero { --t-account-art: url('../images/banners/teleport.webp'); }
.t-route-vote .t-account-hero { --t-account-art: url('../images/banners/vote.webp'); }
.t-route-donate .t-account-hero { --t-account-art: url('../images/banners/donate.webp'); }
.t-route-store .t-account-hero { --t-account-art: url('../images/banners/store.webp'); }
.t-route-profile .t-account-hero { --t-account-art: url('../images/banners/profile.webp'); }

.t-vote-grid,
.t-donate-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

.t-vote-card,
.t-donate-card {
  min-width: 0;
  overflow: hidden;
}

.t-vote-card h3 {
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1.08;
}

.t-vote-card-body img {
  width: min(190px, 100%);
  max-width: 100%;
  max-height: 110px;
}

.t-donate-card {
  grid-template-rows: 170px auto auto;
}

.t-donate-copy strong {
  overflow-wrap: anywhere;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.t-store-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px) !important;
}

.t-store-realms .row > .t-store-item {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.t-store-item-inner {
  grid-template-columns: 68px minmax(0, 1fr) !important;
  gap: 14px;
  min-height: 150px;
  padding: 16px;
}

.t-store-item .item_icon,
.t-store-checkout-item .item_icon {
  width: 64px !important;
  height: 64px !important;
}

.t-store-item-copy .item_name,
.t-store-checkout-item .item_name {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  font-size: 1.04rem;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t-store-item-copy p,
.t-store-checkout-item p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.t-store-buttons {
  align-self: end;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
}

.t-rules-page {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
}

.t-rules-hero {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr) !important;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 55%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/community.webp') !important;
  background-position: center;
  background-size: cover;
  padding: clamp(24px, 4vw, 38px);
}

.t-rules-hero-copy p {
  max-width: 780px;
  color: var(--t-muted);
}

.t-rules-layout {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr) !important;
  gap: 18px;
  align-items: start;
}

.t-rules-layout .t-rules-index {
  position: sticky;
  top: 116px;
  grid-template-columns: 1fr !important;
  border: 1px solid rgba(41, 216, 239, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 35, 0.9), rgba(4, 8, 16, 0.94)),
    radial-gradient(circle at 0 0, rgba(216, 176, 98, 0.08), transparent 16rem);
  padding: 12px;
}

.t-rules-hero .t-rules-drake {
  width: min(300px, 100%);
  margin: -44px auto -58px;
}

.t-class-card-modern {
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr) !important;
  min-height: 300px;
  align-content: stretch;
  background:
    linear-gradient(135deg, rgba(11, 22, 39, 0.94), rgba(5, 9, 18, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.13), transparent 20rem) !important;
}

.t-class-card-modern > div {
  position: relative;
  z-index: 1;
  padding: 0;
}

.t-class-card-art {
  min-height: 100%;
  background-position: top center;
  background-size: cover;
}

.t-class-card-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-content: center;
  padding: 22px !important;
}

.t-class-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(216, 176, 98, 0.42);
  border-radius: 8px;
  object-fit: cover;
}

.t-changelog-intro {
  min-height: 260px;
  background-image:
    linear-gradient(95deg, rgba(4, 8, 18, 0.95), rgba(11, 23, 45, 0.82) 54%, rgba(58, 23, 82, 0.68)),
    radial-gradient(circle at 86% 14%, rgba(41, 216, 239, 0.22), transparent 22rem),
    url('../images/banners/changelog.webp') !important;
  background-position: center;
  background-size: cover;
}

.t-changelog-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.t-changelog-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(216, 176, 98, 0.14);
  padding-bottom: 14px;
}

.clog-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.clog-filters #clog-q {
  grid-column: span 2;
}

@media (max-width: 1199px) {
  .t-rules-layout,
  .t-class-card-modern,
  .t-changelog-filter-head {
    grid-template-columns: 1fr !important;
  }

  .t-rules-layout .t-rules-index {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .clog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .clog-filters #clog-q {
    grid-column: span 3;
  }
}

@media (max-width: 991px) {
  .t-store-realms .row > .t-store-item {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .t-download-hero,
  .t-rules-hero {
    grid-template-columns: 1fr !important;
  }

  .t-download-hero-art,
  .t-rules-hero-art {
    display: none;
  }
}

@media (max-width: 767px) {
  .t-store-item-inner,
  .t-class-card-body {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }

  .t-store-item .item_icon,
  .t-store-checkout-item .item_icon,
  .t-class-icon {
    width: 54px !important;
    height: 54px !important;
  }

  .t-rules-layout .t-rules-index,
  .clog-filters {
    grid-template-columns: 1fr !important;
  }

  .clog-filters #clog-q {
    grid-column: auto;
  }
}

/* Playable alpha status and restored server information. */
.t-status-mascot-stage {
  isolation: isolate;
}

.t-status-fireball {
  --status-core: #7cff6b;
  --status-mid: #20df87;
  --status-edge: #0a6b46;
  position: absolute;
  top: clamp(118px, 11vw, 158px);
  right: clamp(24px, 4vw, 58px);
  z-index: 4;
  display: grid;
  width: clamp(46px, 5.2vw, 68px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.92) 0 9%, transparent 10%),
    radial-gradient(circle at 42% 38%, var(--status-core) 0 26%, var(--status-mid) 42%, transparent 64%),
    conic-gradient(from 20deg, transparent, var(--status-edge), var(--status-mid), transparent 76%);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--status-core) 76%, transparent),
    0 0 44px color-mix(in srgb, var(--status-mid) 50%, transparent),
    inset 0 0 18px rgba(255, 255, 255, 0.28);
  animation: tStatusFireball 1.9s ease-in-out infinite, tStatusFlameSpin 5.4s linear infinite;
}

.t-status-fireball span,
.t-status-fireball::before,
.t-status-fireball::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, color-mix(in srgb, var(--status-mid) 46%, transparent) 43% 52%, transparent 70%),
    conic-gradient(from 130deg, transparent, color-mix(in srgb, var(--status-core) 56%, transparent), transparent 64%);
  filter: blur(3px);
  opacity: 0.74;
  animation: tStatusFlameSpin 2.8s linear infinite reverse;
}

.t-status-fireball::after {
  inset: -24%;
  filter: blur(9px);
  opacity: 0.42;
  animation-duration: 4.2s;
}

.t-status-mascot-stage.is-offline .t-status-fireball,
.t-home-realm-status.is-offline {
  --status-core: #ff6a4d;
  --status-mid: #d83446;
  --status-edge: #731629;
}

.t-home-realm-status {
  --status-core: #7cff6b;
  --status-mid: #20df87;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  margin: -8px 18px 16px;
  border: 1px solid color-mix(in srgb, var(--status-mid) 34%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.9), rgba(2, 6, 14, 0.94)),
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--status-mid) 16%, transparent), transparent 16rem);
  padding: 14px;
}

.t-status-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #93dced;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.t-status-kicker i {
  color: var(--status-core);
  filter: drop-shadow(0 0 8px var(--status-mid));
}

.t-home-realm-status strong {
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.05;
}

.t-home-realm-status small {
  color: var(--t-muted);
  line-height: 1.45;
}

.t-server-operations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.t-server-operation-card,
.t-race-faction,
.t-race-card {
  overflow: hidden;
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
}

.t-server-operation-card {
  min-height: 245px;
  padding: 20px;
}

.t-server-operation-card h3,
.t-race-faction h3,
.t-race-card h4 {
  margin: 8px 0 10px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  line-height: 1.05;
}

.t-server-operation-card strong {
  display: block;
  margin: 14px 0 6px;
  color: #d8b062;
  font-weight: 900;
}

.t-server-feature-list ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.t-server-feature-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: #d4e0e5;
}

.t-server-feature-list li::before {
  content: "+";
  color: #35dff7;
  font-weight: 900;
}

.t-race-hall {
  display: grid;
  gap: 18px;
}

.t-race-factions {
  display: grid;
  gap: 18px;
}

.t-race-faction {
  padding: clamp(18px, 3vw, 24px);
}

.t-race-faction header {
  max-width: 860px;
  margin-bottom: 18px;
}

.t-race-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}

.t-race-card {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr);
  min-height: 210px;
}

.t-race-card-media {
  min-height: 100%;
  background-position: top center;
  background-size: cover;
  filter: saturate(1.05) contrast(1.04);
}

.t-race-card-copy {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 16px;
}

.t-race-card-copy span {
  color: #d8b062;
  font-size: 0.78rem;
  font-weight: 900;
}

.t-race-card-copy p {
  margin: 0;
  color: var(--t-muted);
}

.t-race-card-copy small {
  display: block;
  color: #93dced;
  line-height: 1.45;
}

.t-race-faction-alliance {
  background:
    linear-gradient(180deg, rgba(8, 20, 40, 0.92), rgba(5, 9, 18, 0.95)),
    radial-gradient(circle at 0 0, rgba(41, 216, 239, 0.12), transparent 22rem);
}

.t-race-faction-horde {
  background:
    linear-gradient(180deg, rgba(28, 13, 26, 0.92), rgba(5, 9, 18, 0.95)),
    radial-gradient(circle at 100% 0, rgba(216, 92, 92, 0.12), transparent 22rem);
}

@keyframes tStatusFireball {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -5px, 0) scale(1.07);
  }
}

@keyframes tStatusFlameSpin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 1199px) {
  .t-server-operations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .t-status-fireball {
    right: 50%;
    top: 44px;
    transform: translateX(50%);
  }

  .t-home-realm-status {
    margin: -4px 12px 14px;
  }

  .t-race-card {
    grid-template-columns: 1fr;
  }

  .t-race-card-media {
    min-height: 220px;
  }
}

/* Final correction: original hero animation, separate realm signal, and fuller server codex. */
.t-original-hero-scene {
  min-height: calc(100vh - 86px);
  background: #030711;
}

.t-original-hero-scene .t-console-video {
  display: none !important;
}

.t-original-hero-scene .t-console-bg {
  opacity: 0.98;
  filter: saturate(1.08) contrast(1.05);
  background-position: center;
  background-size: cover;
  animation: tHeroSceneDrift 18s ease-in-out infinite alternate;
}

.t-original-hero-scene::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 5, 14, 0.82) 0%, rgba(3, 7, 18, 0.54) 38%, rgba(4, 8, 18, 0.28) 100%),
    radial-gradient(circle at 74% 42%, rgba(41, 216, 239, 0.1), transparent 23rem),
    radial-gradient(circle at 42% 88%, rgba(138, 66, 205, 0.12), transparent 26rem);
}

.t-hero-motion-layers,
.t-hero-motion-layers span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.t-hero-motion-layers {
  z-index: 2;
  overflow: hidden;
  mix-blend-mode: screen;
}

.t-hero-lightning {
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 57%, rgba(141, 93, 255, 0.0) 57.4%, rgba(148, 100, 255, 0.58) 57.9%, rgba(41, 216, 239, 0.28) 58.2%, transparent 58.8% 100%);
  filter: blur(0.4px);
}

.t-hero-lightning-a {
  animation: tHeroLightning 7.4s steps(1, end) infinite;
}

.t-hero-lightning-b {
  transform: translateX(12%) scaleX(-1);
  animation: tHeroLightning 10.6s steps(1, end) 2.2s infinite;
}

.t-hero-ember-field {
  background-image:
    radial-gradient(circle, rgba(255, 120, 48, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 214, 122, 0.44) 0 1px, transparent 2px);
  background-position: 0 0, 38px 74px;
  background-size: 130px 180px, 180px 220px;
  opacity: 0.22;
  animation: tHeroEmbers 16s linear infinite;
}

.t-hero-arcane-pulse {
  background:
    radial-gradient(circle at 74% 44%, rgba(41, 216, 239, 0.18), transparent 18rem),
    radial-gradient(circle at 85% 25%, rgba(119, 78, 255, 0.14), transparent 20rem);
  opacity: 0.75;
  animation: tHeroArcanePulse 5.8s ease-in-out infinite;
}

.t-original-hero-scene .t-console-grid {
  position: relative;
  z-index: 3;
}

.t-join-device {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.t-join-device-mark {
  display: grid;
  place-items: center;
  min-height: 178px;
  border: 1px solid rgba(41, 216, 239, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(41, 216, 239, 0.18), transparent 56%),
    radial-gradient(circle at 62% 36%, rgba(103, 75, 192, 0.22), transparent 60%),
    rgba(2, 6, 14, 0.44);
}

.t-join-device-mark img {
  width: min(170px, 62%);
  filter: drop-shadow(0 0 28px rgba(41, 216, 239, 0.28));
  animation: tSigilFloat 5.5s ease-in-out infinite;
}

.t-join-device-copy h2 {
  margin: 8px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(1.65rem, 2.1vw, 2.35rem);
  line-height: 1;
}

.t-join-device-copy p {
  color: var(--t-muted);
}

.t-realm-signal {
  --status-core: #76ff66;
  --status-mid: #20df87;
  --status-edge: #0a6b46;
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--status-mid) 38%, transparent);
  border-bottom: 1px solid rgba(216, 176, 98, 0.16);
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.98), rgba(7, 18, 34, 0.94) 42%, rgba(16, 10, 28, 0.95)),
    radial-gradient(circle at 68% 20%, color-mix(in srgb, var(--status-mid) 18%, transparent), transparent 24rem);
}

.t-realm-signal.is-offline {
  --status-core: #ff745b;
  --status-mid: #e23a4d;
  --status-edge: #731629;
}

.t-realm-signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px) minmax(230px, 0.32fr);
  gap: 20px;
  align-items: center;
  min-height: 216px;
  padding: 18px 0;
}

.t-realm-signal-copy h2 {
  margin: 8px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.t-realm-signal-copy p {
  max-width: 760px;
  margin: 0;
  color: #d6e4e8;
}

.t-realm-signal-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
}

.t-realm-signal-art img {
  position: relative;
  z-index: 2;
  width: min(260px, 100%);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.48));
  animation: tMascotFloat 5.4s ease-in-out infinite;
}

.t-realm-signal-orb {
  position: absolute;
  right: 18%;
  top: 36%;
  z-index: 1;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.92) 0 9%, transparent 10%),
    radial-gradient(circle at 42% 38%, var(--status-core) 0 28%, var(--status-mid) 44%, transparent 67%),
    conic-gradient(from 18deg, transparent, var(--status-edge), var(--status-mid), transparent 76%);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--status-core) 72%, transparent),
    0 0 74px color-mix(in srgb, var(--status-mid) 54%, transparent);
  animation: tStatusFireball 1.9s ease-in-out infinite, tStatusFlameSpin 5.4s linear infinite;
}

.t-realm-signal-actions {
  display: grid;
  gap: 10px;
}

.t-system-codex {
  display: grid;
  gap: 18px;
}

.t-system-codex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.t-system-detail {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
}

.t-system-detail summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 16px;
}

.t-system-detail summary::marker {
  color: #35dff7;
}

.t-system-detail summary span {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(216, 176, 98, 0.28);
  border-radius: 8px;
  color: #d8b062;
  font-weight: 900;
}

.t-system-detail summary strong {
  color: #fff7e4;
  font-family: var(--t-font-title);
  line-height: 1.05;
}

.t-system-detail ul {
  display: grid;
  gap: 9px;
  margin: 0;
  border-top: 1px solid rgba(216, 176, 98, 0.12);
  padding: 0 16px 16px 28px;
}

.t-system-detail li {
  color: var(--t-muted);
  line-height: 1.48;
}

@keyframes tHeroSceneDrift {
  from {
    transform: scale(1.02) translate3d(-0.4%, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(0.8%, -0.4%, 0);
  }
}

@keyframes tHeroLightning {
  0%, 84%, 100% {
    opacity: 0;
  }
  85% {
    opacity: 0.85;
  }
  86% {
    opacity: 0.12;
  }
  87% {
    opacity: 0.62;
  }
  89% {
    opacity: 0;
  }
}

@keyframes tHeroEmbers {
  from {
    transform: translateY(9%);
  }
  to {
    transform: translateY(-18%);
  }
}

@keyframes tHeroArcanePulse {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.03);
  }
}

@media (max-width: 1199px) {
  .t-realm-signal-grid,
  .t-system-codex-grid {
    grid-template-columns: 1fr;
  }

  .t-realm-signal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .t-original-hero-scene {
    min-height: auto;
  }

  .t-realm-signal-grid {
    padding: 22px 0;
  }

  .t-realm-signal-art {
    order: -1;
  }

  .t-realm-signal-actions {
    grid-template-columns: 1fr;
  }
}

/* Final status/server pass: move realm signal out of the hero band and make server info denser. */
.t-nav-realm-status,
.t-drawer-realm-status,
.t-alpha-alert-status {
  --status-core: #76ff66;
  --status-mid: #20df87;
  --status-edge: #0a6b46;
}

.t-nav-realm-status.is-offline,
.t-drawer-realm-status.is-offline,
.t-alpha-alert-status.is-offline {
  --status-core: #ff745b;
  --status-mid: #e23a4d;
  --status-edge: #731629;
}

.t-nav-realm-status {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 154px;
  min-height: 46px;
  border: 1px solid color-mix(in srgb, var(--status-mid) 34%, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.88), rgba(3, 7, 16, 0.94)),
    radial-gradient(circle at 12% 50%, color-mix(in srgb, var(--status-mid) 22%, transparent), transparent 7rem);
  color: #f8fbff !important;
  padding: 7px 10px;
  text-decoration: none !important;
}

.t-nav-realm-status strong,
.t-drawer-realm-status strong {
  display: block;
  color: #fff7e4;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.t-nav-realm-status small,
.t-drawer-realm-status small {
  display: block;
  overflow: hidden;
  color: #9bdce8;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.t-nav-realm-orb {
  display: block;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0 13%, transparent 14%),
    radial-gradient(circle, var(--status-core) 0 34%, var(--status-mid) 52%, var(--status-edge) 74%);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--status-core) 74%, transparent),
    0 0 28px color-mix(in srgb, var(--status-mid) 55%, transparent);
  animation: tStatusFireball 1.9s ease-in-out infinite;
}

.t-drawer-realm-status {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0 18px;
  border: 1px solid color-mix(in srgb, var(--status-mid) 28%, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: rgba(3, 8, 16, 0.55);
  color: #f8fbff !important;
  padding: 12px;
  text-decoration: none !important;
}

.t-drawer-realm-status .t-nav-realm-orb {
  width: 22px;
}

.t-original-hero-scene {
  min-height: 760px;
}

.t-original-hero-scene .t-console-grid {
  min-height: 760px;
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(30px, 4vw, 54px);
}

@supports (height: 100svh) {
  .t-original-hero-scene {
    min-height: clamp(620px, calc(100svh - 210px), 760px);
  }

  .t-original-hero-scene .t-console-grid {
    min-height: clamp(620px, calc(100svh - 210px), 760px);
  }
}

.t-alpha-alert-status .t-alpha-alert-inner {
  grid-template-columns: 72px minmax(0, 1fr) minmax(230px, 300px) auto;
}

.t-alpha-orb-scout {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 104px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--status-mid) 28%, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.74), rgba(2, 6, 14, 0.86)),
    radial-gradient(circle at 34% 48%, color-mix(in srgb, var(--status-mid) 18%, transparent), transparent 8rem);
  padding: 8px 12px 8px 4px;
}

.t-alpha-orb-scout-art {
  position: relative;
  display: grid;
  min-height: 96px;
  place-items: center;
}

.t-alpha-orb-scout-art img {
  position: relative;
  z-index: 2;
  width: 128px;
  max-width: none;
  margin: -28px -16px -34px -10px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.52));
  animation: tMascotFloat 5.4s ease-in-out infinite;
}

.t-alpha-orb {
  position: absolute;
  right: 11px;
  top: 30px;
  z-index: 3;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.94) 0 11%, transparent 12%),
    radial-gradient(circle at 44% 42%, var(--status-core) 0 29%, var(--status-mid) 48%, transparent 69%),
    conic-gradient(from 20deg, transparent, var(--status-edge), var(--status-mid), transparent 76%);
  box-shadow:
    0 0 20px color-mix(in srgb, var(--status-core) 70%, transparent),
    0 0 48px color-mix(in srgb, var(--status-mid) 52%, transparent);
  animation: tStatusFireball 1.9s ease-in-out infinite, tStatusFlameSpin 5.4s linear infinite;
}

.t-alpha-orb-scout-copy strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.t-alpha-orb-scout-copy small {
  display: block;
  margin-top: 5px;
  color: #c4d8de;
  font-size: 0.78rem;
  line-height: 1.35;
}

.t-server-brief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.t-server-brief-grid article {
  border: 1px solid rgba(41, 216, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.9), rgba(5, 9, 18, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(103, 75, 192, 0.1), transparent 18rem);
  padding: 18px;
}

.t-server-brief-grid h3 {
  margin: 8px 0 8px;
  color: #fff7e4;
  font-family: var(--t-font-title);
  line-height: 1.05;
}

.t-system-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.t-system-card {
  grid-template-columns: 1fr !important;
  min-height: 0;
}

.t-system-card-media {
  min-height: 220px;
  border-bottom: 1px solid rgba(41, 216, 239, 0.16);
  background-position: center top;
  background-size: cover;
}

.t-system-card > div:last-child {
  padding: 20px;
}

.t-system-detail[open] {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1390px) {
  .t-nav-realm-status {
    width: 138px;
  }
}

@media (max-width: 1260px) {
  .t-nav-realm-status {
    display: none;
  }
}

@media (max-width: 1199px) {
  .t-alpha-alert-status .t-alpha-alert-inner,
  .t-server-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t-alpha-alert-icon {
    align-self: start;
  }
}

@media (max-width: 767px) {
  .t-original-hero-scene,
  .t-original-hero-scene .t-console-grid {
    min-height: auto;
  }

  .t-alpha-alert-status .t-alpha-alert-inner,
  .t-server-brief-grid {
    grid-template-columns: 1fr;
  }

  .t-alpha-orb-scout {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .t-system-card-media {
    min-height: 180px;
  }
}

/* Home video pass: real animated hero background and status mascot MP4s. */
.t-hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.05) brightness(0.9);
  pointer-events: none;
}

.t-original-hero-scene .t-console-bg {
  z-index: 0;
  opacity: 0.16;
}

.t-join-mascot-stage {
  min-height: 252px;
  overflow: hidden;
  padding: 0;
  border-color: rgba(41, 216, 239, 0.24);
  background:
    linear-gradient(180deg, rgba(4, 16, 29, 0.96), rgba(3, 7, 16, 0.98)),
    radial-gradient(circle at 64% 45%, rgba(41, 216, 239, 0.1), transparent 12rem);
}

.t-status-mascot-video {
  display: block;
  width: 100%;
  height: 252px;
  border-radius: 8px;
  background: #04101d;
  object-fit: contain;
  object-position: center;
  transform: scale(1.22);
  transform-origin: center center;
}

.t-join-device .t-join-device-copy {
  margin-top: 2px;
}

.t-alpha-status-pill {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 74px;
  border: 1px solid color-mix(in srgb, var(--status-mid) 28%, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.72), rgba(2, 6, 14, 0.84)),
    radial-gradient(circle at 18% 50%, color-mix(in srgb, var(--status-mid) 18%, transparent), transparent 8rem);
  padding: 12px 14px;
}

.t-alpha-status-pill .t-nav-realm-orb {
  width: 20px;
}

.t-alpha-status-pill strong {
  display: block;
  color: #fff7e4;
  font-family: var(--t-font-title);
  font-size: 1rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.t-alpha-status-pill small {
  display: block;
  margin-top: 5px;
  color: #c4d8de;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .t-hero-bg-video {
    height: 100%;
  }

  .t-join-mascot-stage {
    min-height: 220px;
  }

  .t-status-mascot-video {
    height: 220px;
    transform: scale(1.16);
  }
}

/* Current Tanados pass: calmer hero motion, sturdier menus, and tighter mascot overlays. */
.t-original-hero-scene .t-hero-bg-video {
  display: none;
}

.t-original-hero-scene .t-console-bg {
  opacity: 0.9;
  filter: saturate(1.12) contrast(1.06) brightness(0.82);
  mix-blend-mode: normal;
  transform: scale(1.025);
  transform-origin: center;
  animation: tHeroSceneDrift 34s ease-in-out infinite alternate;
}

@keyframes tHeroSceneDrift {
  0% {
    transform: scale(1.025) translate3d(-0.4%, -0.2%, 0);
  }

  100% {
    transform: scale(1.055) translate3d(0.4%, 0.25%, 0);
  }
}

@media (min-width: 1200px) {
  .t-cinematic-menu .dropdown {
    position: relative;
  }

  .t-cinematic-menu .dropdown::after {
    content: "";
    position: absolute;
    right: -12px;
    left: -12px;
    top: 100%;
    z-index: 1000;
    height: 22px;
  }

  .t-cinematic-menu .dropdown-menu,
  .t-cinematic-account .dropdown-menu {
    margin-top: 10px !important;
  }

  .t-cinematic-menu .dropdown:hover > .dropdown-menu,
  .t-cinematic-menu .dropdown:focus-within > .dropdown-menu,
  .t-cinematic-menu .dropdown-menu:hover,
  .t-cinematic-menu .dropdown.show > .dropdown-menu,
  .t-cinematic-menu .dropdown-menu.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    visibility: visible !important;
  }

  .t-cinematic-menu .dropdown:focus-within > .nav-link {
    border-color: rgba(216, 176, 98, 0.68);
    background:
      linear-gradient(180deg, rgba(41, 216, 239, 0.18), rgba(103, 75, 192, 0.18)),
      rgba(10, 20, 41, 0.86);
  }
}

.t-join-device {
  padding-bottom: 34px;
}

.t-join-device .t-gate-actions {
  align-items: stretch;
  margin-top: 20px;
}

.t-join-device .t-gate-actions .t-button {
  align-items: center;
  justify-content: center;
  min-height: 60px;
  height: auto;
  overflow: visible;
  padding: 12px 10px !important;
  line-height: 1.12;
  white-space: normal;
}

.t-join-device .t-gate-actions .t-button span {
  min-width: 0;
  white-space: normal;
}

.t-status-mascot-video {
  transform: scale(1.08);
}

.t-database-lab .t-mascot-sign-copy {
  bottom: 176px;
  width: min(270px, 56%);
  padding: 11px 14px;
  border: 1px solid rgba(72, 42, 18, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(249, 224, 166, 0.94), rgba(183, 128, 66, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 70%);
  color: #2a170c;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -12px 24px rgba(91, 47, 15, 0.18),
    0 8px 16px rgba(30, 12, 4, 0.12);
}

.t-database-lab .t-mascot-sign-copy strong {
  color: #2a170c;
}

.t-database-lab .t-mascot-sign-copy span {
  color: #4c2a17;
}

@media (max-width: 767px) {
  .t-original-hero-scene .t-console-bg {
    animation-duration: 28s;
  }

  .t-status-mascot-video {
    transform: scale(1.02);
  }

  .t-database-lab .t-mascot-sign-copy {
    bottom: 132px;
    width: min(235px, 62%);
    padding: 9px 12px;
  }
}

/* Follow-up polish: generated hero media, correct scroll label placement, and lower armory mascot. */
.t-original-hero-scene .t-hero-bg-video {
  display: block !important;
  opacity: 0.98;
  filter: saturate(1.12) contrast(1.05) brightness(0.96);
}

.t-original-hero-scene .t-console-bg {
  opacity: 0.12;
  filter: saturate(1.1) contrast(1.04) brightness(0.92);
  animation: none;
  transform: none;
}

.t-original-hero-scene .t-hero-lightning,
.t-original-hero-scene .t-hero-arcane-pulse {
  display: none !important;
}

.t-original-hero-scene .t-hero-ember-field {
  opacity: 0.08;
}

.t-database-lab .t-mascot-sign-copy {
  bottom: 118px;
  width: min(250px, 52%);
}

.t-realm-band-armory .t-realm-peek {
  bottom: -164px;
}

@media (max-width: 767px) {
  .t-database-lab .t-mascot-sign-copy {
    bottom: 86px;
    width: min(220px, 60%);
  }
}
