:root {
  --mvc-gold: #cd9c48;
  --mvc-gold-strong: #ffcc33;
  --mvc-surface: rgba(16, 16, 16, 0.92);
  --mvc-surface-soft: rgba(24, 24, 24, 0.88);
  --mvc-border: rgba(205, 156, 72, 0.22);
  --mvc-text: #ebe3d5;
  --mvc-text-muted: #b4a794;
  --mvc-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --mvc-focus: rgba(205, 156, 72, 0.25);
}

html {
  min-height: 100%;
  font-size: 14px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--mvc-text);
}

.mvc-site-shell {
  min-height: 100vh;
}

.mvc-main-header {
  position: relative;
  z-index: 99999;
  padding: 0;
  backdrop-filter: none;
  overflow: visible;
}

.main-header.mvc-main-header {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}

.header-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 25px;
  padding: 0 16px;
}

.main-header.mvc-main-header .header-content {
  display: block;
  width: 100%;
  max-width: 1600px;
  min-height: 0;
  margin: 0 auto 25px;
  padding: 0 16px;
  gap: 0;
  overflow: visible;
  position: relative;
  z-index: 99999;
  isolation: isolate;
}

.top-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 12px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.15);
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.08), rgba(180, 135, 60, 0.08));
}

.header-status-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 10px;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  max-width: min(200px, 28vw);
  max-height: 40px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(205, 156, 72, 0.25));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.site-logo-link:hover .site-logo-image,
.site-logo-link:focus .site-logo-image {
  filter: drop-shadow(0 4px 12px rgba(205, 156, 72, 0.45));
  transform: scale(1.03);
}

.site-footer-logo {
  display: block;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 8px rgba(205, 156, 72, 0.25));
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 0 18px;
  flex: 0 0 auto;
  font-size: 12px;
}

.status-item--online,
.status-item--save {
  flex: 0 0 auto;
}

.status-item .fa,
.legacy-widget-title .fa,
.nav-label .fa {
  color: var(--mvc-gold);
}

.status-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.status-value {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-value--count {
  font-size: 13px;
  font-weight: 800;
}

.status-value--countdown {
  color: var(--mvc-gold);
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill--online {
  color: #4caf50;
  background: transparent;
}

.status-pill--offline {
  color: #f44336;
  background: transparent;
}

.status-divider {
  width: 1px;
  height: 16px;
  align-self: center;
  background: linear-gradient(180deg, transparent, rgba(205, 156, 72, 0.3), transparent);
}

.status-divider--brand {
  height: 24px;
}

.status-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.status-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.status-social-link:focus-visible,
.site-logo-link:focus-visible,
.nav-label:focus-visible,
.site-auth-link:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid rgba(205, 156, 72, 0.7);
  outline-offset: 2px;
}

.status-social-link .fa {
  font-size: 18px;
}

.status-social-link:hover,
.status-social-link:focus {
  filter: brightness(1.04);
}

.status-social-link--discord {
  color: #7289da;
  border-color: rgba(114, 137, 218, 0.32);
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.15), rgba(114, 137, 218, 0.1));
}

.status-social-link--discord:hover,
.status-social-link--discord:focus {
  box-shadow: 0 4px 12px rgba(114, 137, 218, 0.35);
  border-color: rgba(114, 137, 218, 0.5);
  background: rgba(114, 137, 218, 0.24);
}

.status-social-link--twitch {
  color: #9146ff;
  border-color: rgba(145, 70, 255, 0.32);
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.15), rgba(145, 70, 255, 0.1));
}

.status-social-link--twitch:hover,
.status-social-link--twitch:focus {
  box-shadow: 0 4px 12px rgba(145, 70, 255, 0.35);
  border-color: rgba(145, 70, 255, 0.5);
  background: rgba(145, 70, 255, 0.24);
}

.status-social-link--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.32);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.1));
}

.status-social-link--whatsapp:hover,
.status-social-link--whatsapp:focus {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.24);
}

.premium-header {
  width: 1520px;
  max-width: calc(100% - 40px);
  margin-left: max(0px, calc((100% - 1200px - 300px - 20px) / 2));
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(20, 20, 20, 0.65));
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: visible;
  position: relative;
  z-index: 99999;
}

.nav-bar {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 60px;
  border-radius: 0 0 12px 12px;
  overflow: visible;
  position: relative;
  z-index: 99999;
}

.mobile-menu-toggle {
  display: none;
}

.container_left {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 99999;
  scrollbar-width: none;
}

.container_left::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
  z-index: 99999;
}

.nav-label {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  background: transparent;
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item:hover > .nav-label,
.nav-item:focus-within > .nav-label,
.nav-item.has-dropdown.is-open > .nav-label {
  background: rgba(205, 156, 72, 0.08);
  color: #fff;
}

.nav-item.is-active > .nav-label {
  background: transparent;
  color: #e0e0e0;
  box-shadow: none;
}

.nav-caret {
  margin-left: 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.nav-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  padding: 8px;
  border: 1px solid rgba(205, 156, 72, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(15, 15, 15, 0.98));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(205, 156, 72, 0.12);
  z-index: 100000;
}

.nav-dropdown.nav-dropdown--floating {
  position: fixed !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  margin: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown,
.nav-item.has-dropdown.is-open > .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-dropdown a .fa {
  width: 18px;
  flex: 0 0 18px;
  color: var(--mvc-gold);
  font-size: 14px;
  text-align: center;
}

.nav-dropdown a span {
  min-width: 0;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  padding-left: 20px;
  border-left-color: var(--mvc-gold);
  color: #fff;
  background: rgba(205, 156, 72, 0.1);
}

.auth-section {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin-left: auto;
  border-left: 0;
  background: transparent;
}

.container_main {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  width: min(100%, 1600px) !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.container_mid {
  flex: 0 1 1200px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 1200px !important;
  margin: 0 !important;
  margin-left: max(0px, calc((100% - 1200px - 300px - 20px) / 2)) !important;
  order: 1 !important;
}

body .container_main > .container_mid {
  flex: 0 1 1200px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 1200px !important;
  margin-left: max(0px, calc((100% - 1200px - 300px - 20px) / 2)) !important;
  margin-right: 0 !important;
  order: 1 !important;
}

.container_right {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  margin: 0 !important;
  order: 2 !important;
  align-self: flex-start !important;
}

body .container_main > .container_right {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  margin: 0 !important;
  order: 2 !important;
  align-self: flex-start !important;
}

.site-auth-link,
.logout-form {
  display: inline-flex;
}

.logout-form {
  margin: 0;
}

.site-auth-link.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-outline.site-auth-link {
  border: 2px solid rgba(205, 156, 72, 0.5);
  color: var(--mvc-gold);
  background: transparent;
}

.btn-outline.site-auth-link:hover,
.btn-outline.site-auth-link:focus {
  border-color: rgba(205, 156, 72, 0.8);
  color: var(--mvc-gold-strong);
  background: rgba(205, 156, 72, 0.12);
}

.btn-primary.site-auth-link,
.logout-form .btn-primary.site-auth-link {
  border: none;
  color: #1a1a1a;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.96), rgba(180, 135, 60, 0.96));
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.28);
}

.btn-primary.site-auth-link:hover,
.btn-primary.site-auth-link:focus,
.logout-form .btn-primary.site-auth-link:hover,
.logout-form .btn-primary.site-auth-link:focus {
  color: #111;
  background: linear-gradient(135deg, rgba(222, 170, 86, 0.98), rgba(195, 144, 63, 0.98));
  box-shadow: 0 6px 14px rgba(205, 156, 72, 0.38);
}

.page-content {
  min-height: 460px;
  padding: 0;
}

.widget-copy {
  color: var(--mvc-text-muted) !important;
}

.legacy-widget {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--mvc-border);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.legacy-widget.right_box {
  padding: 0;
  overflow: hidden;
  border-color: rgba(205, 156, 72, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(205, 156, 72, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(28, 27, 25, 0.96), rgba(13, 13, 14, 0.96));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.legacy-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.24);
  color: var(--mvc-gold);
  font-size: 18px;
  font-weight: 700;
}

.legacy-widget.right_box .legacy-widget-title,
.legacy-widget.right_box .box-header {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.16);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.11), rgba(0, 0, 0, 0.12));
  color: #f0e6d5;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.legacy-widget.right_box .legacy-widget-title h3,
.legacy-widget.right_box .box-header h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.2;
}

.legacy-widget.right_box .legacy-widget-body,
.legacy-widget.right_box .box-content {
  padding: 12px;
}

.sidebar-search-form,
.sidebar-search-form {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr) 42px;
}

.sidebar-search-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.42);
  color: #f0e6d5;
  font-size: 12px;
}

.sidebar-search-form input {
  padding: 0 11px;
}

.sidebar-search-form input::placeholder {
  color: rgba(235, 227, 213, 0.5);
}

.sidebar-search-form button {
  min-height: 38px;
  border: 1px solid rgba(205, 156, 72, 0.58);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.96), rgba(180, 135, 60, 0.96));
  color: #14110d;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-score-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.sidebar-score-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(235, 227, 213, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-score-links a:hover,
.sidebar-score-links a:focus {
  border-color: rgba(205, 156, 72, 0.36);
  background: rgba(205, 156, 72, 0.1);
  color: #ffcc33;
}

.sidebar-rank-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sidebar-rank;
}

.sidebar-rank-list li {
  counter-increment: sidebar-rank;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.sidebar-rank-list li::before {
  content: counter(sidebar-rank);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(205, 156, 72, 0.16);
  color: #f4d28a;
  font-size: 11px;
  font-weight: 900;
}

.sidebar-rank-list a,
.sidebar-text-link,
.sidebar-town-list a,
.sidebar-social-list a {
  color: #d9bd82;
  text-decoration: none;
}

.sidebar-rank-list a {
  min-width: 0;
  overflow: hidden;
  color: #f2eee7;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-rank-list span {
  color: rgba(235, 227, 213, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.sidebar-fact-list {
  display: grid;
  gap: 8px;
  margin: 0 0 11px;
  padding: 0;
  list-style: none;
}

.sidebar-fact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.08);
}

.sidebar-fact-list li:last-child {
  border-bottom: 0;
}

.sidebar-fact-list span,
.sidebar-empty {
  color: rgba(235, 227, 213, 0.58);
  font-size: 12px;
}

.sidebar-fact-list strong {
  color: #f0e6d5;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  color: #d9bd82;
  font-size: 12px;
  font-weight: 800;
}

.sidebar-town-list,
.sidebar-social-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.sidebar-town-list a,
.sidebar-social-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-left: 3px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(235, 227, 213, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.sidebar-town-list a:hover,
.sidebar-town-list a:focus,
.sidebar-social-list a:hover,
.sidebar-social-list a:focus,
.sidebar-text-link:hover,
.sidebar-text-link:focus,
.sidebar-rank-list a:hover,
.sidebar-rank-list a:focus {
  color: #ffcc33;
}

.sidebar-town-list a:hover,
.sidebar-town-list a:focus,
.sidebar-social-list a:hover,
.sidebar-social-list a:focus {
  border-left-color: #cd9c48;
  background: rgba(205, 156, 72, 0.1);
}

.sidebar-empty {
  margin: 0 0 8px;
  text-align: center;
}

.widget-actions {
  display: grid;
  gap: 10px;
}

.widget-actions--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.widget-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(205, 156, 72, 0.55);
  color: #1a1a1a;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.96), rgba(180, 135, 60, 0.96));
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.widget-link-button:hover,
.widget-link-button:focus {
  color: #111;
  background: linear-gradient(135deg, rgba(222, 170, 86, 0.98), rgba(195, 144, 63, 0.98));
}

.widget-link-button-secondary,
.widget-link-button-logout {
  color: var(--mvc-gold);
  background: transparent;
}

.widget-link-button-secondary:hover,
.widget-link-button-secondary:focus,
.widget-link-button-logout:hover,
.widget-link-button-logout:focus {
  color: #111;
  background: rgba(205, 156, 72, 0.92);
}

.widget-logout-form {
  margin-top: 10px;
}

.widget-logout-form .widget-link-button {
  width: 100%;
}

.widget-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-link-list li + li {
  margin-top: 8px;
}

.widget-link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.2s ease;
}

.widget-link-list a:hover,
.widget-link-list a:focus,
.widget-link-list a.is-active {
  padding-left: 16px;
  border-left-color: var(--mvc-gold);
  color: #fff;
  background: rgba(205, 156, 72, 0.1);
}

.widget-link-list a .fa {
  width: 16px;
  flex: 0 0 16px;
  color: var(--mvc-gold);
  font-size: 13px;
  text-align: center;
}

.guide-sidebar-subitem {
  margin-left: 20px;
}

.guide-sidebar-subitem a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.guide-sidebar-subitem a .fa {
  width: 8px;
  flex-basis: 8px;
  font-size: 6px;
}

.gameguide-nav-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
  color: var(--mvc-gold);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.gameguide-nav-header:hover,
.gameguide-nav-header:focus {
  color: #e0b870;
  text-shadow: 0 0 8px rgba(205, 156, 72, 0.4);
}

.guide-sidebar-group + .guide-sidebar-group {
  margin-top: 18px;
}

.guide-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(205, 156, 72, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-sidebar-heading .fa {
  width: 14px;
  font-size: 12px;
}

.download-button {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(52, 180, 90, 0.85);
  background: linear-gradient(135deg, #2ea043 0%, #238636 55%, #1a7f37 100%);
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.4);
  color: #f0fff4;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 0.2s ease;
  z-index: 1;
}

.download-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.download-button:hover,
.download-button:focus {
  color: #fff;
  filter: brightness(1.04);
  box-shadow: 0 6px 18px rgba(46, 160, 67, 0.5);
}

.download-button:hover::before,
.download-button:focus::before {
  transform: translateX(100%);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.teaser-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(205, 156, 72, 0.18);
}

.powergamers-widget {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(205, 156, 72, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 14% -8%, rgba(205, 156, 72, 0.2), transparent 36%),
    radial-gradient(circle at 100% 18%, rgba(128, 84, 36, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(34, 31, 27, 0.98) 0%, rgba(17, 17, 18, 0.98) 46%, rgba(10, 10, 11, 0.98) 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 26px rgba(205, 156, 72, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.powergamers-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(90deg, rgba(205, 156, 72, 0.08), transparent 26%, transparent 74%, rgba(205, 156, 72, 0.045));
  opacity: 0.85;
}

.powergamers-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px 13px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.14);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.09), rgba(255, 255, 255, 0.025) 52%, rgba(0, 0, 0, 0));
}

.powergamers-title-wrap {
  min-width: 0;
}

.powergamers-kicker {
  margin-bottom: 2px;
  color: rgba(205, 156, 72, 0.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.powergamers-title {
  margin: 0;
  color: #f0e6d5;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.powergamers-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 10px;
  background: rgba(205, 156, 72, 0.1);
  color: #cd9c48;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.powergamers-widget .box-content {
  position: relative;
  z-index: 1;
  padding: 12px;
}

.powergamers-stack {
  display: grid;
  gap: 9px;
}

.powergamer-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 76px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(205, 156, 72, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.powergamer-card:first-child {
  border-color: rgba(205, 156, 72, 0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 204, 102, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(205, 156, 72, 0.14), rgba(255, 255, 255, 0.028) 58%),
    rgba(22, 22, 23, 0.96);
}

.powergamer-card:hover,
.powergamer-card:focus {
  border-color: rgba(205, 156, 72, 0.28);
  background:
    linear-gradient(135deg, rgba(205, 156, 72, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

.powergamer-outfit-frame {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(205, 156, 72, 0.12), transparent 54%),
    rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42);
}

.powergamer-outfit-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.powergamer-outfit-frame img.player-outfit {
  width: 64px;
  height: 64px;
  max-width: none;
  max-height: none;
}

.powergamer-outfit-frame img.monster-outfit {
  max-width: 100%;
  max-height: 100%;
}

.powergamer-placeholder-icon {
  color: rgba(205, 156, 72, 0.35);
  font-size: 22px;
}

.powergamer-outfit-frame .outfit-placeholder-icon {
  color: rgba(205, 156, 72, 0.35);
  font-size: 22px;
}

.powergamer-info {
  min-width: 0;
}

.powergamer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.powergamer-name {
  min-width: 0;
  overflow: hidden;
  color: #f2eee7;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.powergamer-xp {
  flex: 0 0 auto;
  color: #9ee6a9;
  font-family: "Courier New", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.powergamer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.powergamer-pill {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(235, 227, 213, 0.78);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.powergamer-pill strong {
  color: var(--mvc-gold);
  font-weight: 900;
}

.powergamers-empty {
  padding: 26px 16px;
  text-align: center;
  color: rgba(235, 227, 213, 0.52);
  font-size: 12px;
}

.powergamers-empty i {
  display: block;
  margin-bottom: 9px;
  color: rgba(205, 156, 72, 0.34);
  font-size: 28px;
}

.referral-widget {
  margin-bottom: 20px;
  overflow: hidden;
}

.referral-widget video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.site-footer-main {
  width: 100%;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 2px solid rgba(205, 156, 72, 0.3);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
}

.site-footer-inner,
.site-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

.site-footer-inner {
  padding-bottom: 40px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.site-footer-grid h3 {
  margin-bottom: 18px;
  color: var(--mvc-gold);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-grid li,
.site-footer-grid ul li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-footer-grid li + li {
  margin-top: 12px;
}

.site-footer-grid li::before,
.site-footer-grid ul li::before {
  content: none;
  display: none;
}

.site-footer-grid li:hover,
.site-footer-grid ul li:hover {
  padding-left: 0;
  border-left: 0;
  background: transparent;
}

.site-footer-grid a,
.site-footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer-copy {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.site-footer-grid a {
  display: inline-block;
  text-decoration: none;
  font-weight: inherit;
  text-shadow: none;
  transform: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer-grid a:hover,
.site-footer-grid a:focus {
  color: var(--mvc-gold);
  padding-left: 5px;
}

.site-footer-bar {
  border-top: 1px solid rgba(205, 156, 72, 0.18);
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 0;
}

.site-footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.news-hero,
.content-panel {
  border: 1px solid var(--mvc-border);
  border-radius: 12px;
  background: rgba(16, 16, 16, 0.92);
  box-shadow: var(--mvc-shadow-sm);
}

.guide-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 34px;
  color: #e8e4dc;
}

.guide-shell-wide {
  max-width: 1120px;
}

.guide-hero,
.guide-card {
  background: linear-gradient(180deg, #161412 0%, #1d1a17 52%, #13110f 100%);
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.guide-hero {
  padding: 28px 32px;
  margin-bottom: 18px;
  border-left: 4px solid var(--mvc-gold);
}

.guide-eyebrow {
  margin-bottom: 8px;
  color: var(--mvc-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero h1 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4b868;
  font-size: 2rem;
}

.guide-hero p,
.guide-card p,
.guide-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.rules-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.rules-header {
  margin-bottom: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-left: 4px solid #cd9c48;
  border-radius: 12px;
  background: linear-gradient(180deg, #161412 0%, #1d1a17 52%, #13110f 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.rules-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: #d4b868;
  font-size: 2rem;
  font-weight: 700;
}

.rules-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
}

.rules-intro {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-left: 4px solid #cd9c48;
  border-radius: 10px;
  background: rgba(205, 156, 72, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rules-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.rules-summary-card {
  padding: 14px 16px;
  border: 1px solid rgba(205, 156, 72, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.45;
}

.rules-summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: #f0e4c5;
}

.rules-card {
  margin-bottom: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(28, 26, 24, 0.98), rgba(18, 16, 14, 0.98));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.rules-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #cd9c48;
  font-size: 1.15rem;
  font-weight: 700;
}

.rules-card h2 span {
  opacity: 0.85;
  font-size: 0.95rem;
}

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  position: relative;
  box-sizing: border-box;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.6;
}

.rules-list li:last-child {
  border-bottom: none;
}

.rules-list li::before {
  position: absolute;
  left: 0;
  color: rgba(205, 156, 72, 0.9);
  content: attr(data-id);
  font-size: 0.85rem;
  font-weight: 600;
}

.rules-list strong {
  color: rgba(255, 255, 255, 0.95);
}

.guide-section-spaced {
  margin-top: 32px;
}

.guide-inline-icons img {
  vertical-align: -11px;
  margin-left: -4px;
}

.guide-card {
  padding: 22px 24px;
}

.guide-card h2 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mvc-gold);
  font-size: 1.15rem;
}

.guide-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.guide-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.guide-list li + li {
  margin-top: 8px;
}

.spells-container {
  max-width: 1400px;
  margin: 0 auto;
}

.spells-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 24px;
  margin-bottom: 30px;
  padding: 25px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.spells-filters .filter-group {
  display: flex;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 280px;
  flex-direction: column;
  gap: 8px;
}

.spells-filters .filter-group label {
  display: block;
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.spells-filters .filter-group select {
  min-height: 48px;
  padding: 12px 40px 12px 16px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.spells-filters .filter-group select:focus {
  outline: none;
  border-color: #cd9c48;
  box-shadow: 0 0 0 3px rgba(205, 156, 72, 0.1);
}

.spells-filters .btn-view {
  padding: 12px 28px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.9), rgba(180, 135, 60, 0.9));
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.spells-filters .btn-view:hover {
  background: linear-gradient(135deg, rgba(205, 156, 72, 1), rgba(180, 135, 60, 1));
  box-shadow: 0 4px 12px rgba(205, 156, 72, 0.4);
}

.spells-table-card {
  margin-bottom: 25px;
  padding: 30px;
  overflow-x: auto;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.spells-table-card .spells-header {
  display: block;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
  text-align: left;
}

.spells-table-card .spells-header h1 {
  justify-content: flex-start;
  margin: 0;
  color: #cd9c48;
  font-size: 1.5rem;
}

.spells-table {
  width: 100%;
  border-collapse: collapse;
}

.spells-table thead {
  background: rgba(205, 156, 72, 0.1);
}

.spells-table th {
  padding: 14px 12px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
  color: #cd9c48;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
  text-transform: uppercase;
}

.spells-table th:first-child {
  padding-left: 20px;
}

.spells-table th:last-child {
  padding-right: 20px;
}

.spells-table td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  vertical-align: middle;
}

.spells-table td:first-child {
  padding-left: 20px;
  color: #e0e0e0;
  font-weight: 600;
}

.spells-table td:last-child {
  padding-right: 20px;
}

.spells-table tbody tr {
  transition: all 0.3s ease;
}

.spells-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
  transform: translateX(3px);
}

.spells-table tbody tr:last-child td {
  border-bottom: 0;
}

.spells-table .spell-num,
.spell-num {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.spell-item-cell {
  text-align: center;
}

.spell-item-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid rgba(205, 156, 72, 0.32);
  border-radius: 8px;
  background: rgba(205, 156, 72, 0.12);
  color: #cd9c48;
  font-size: 12px;
  font-weight: 700;
}

.spells-empty-state {
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.spells-empty-state i {
  display: block;
  margin-bottom: 15px;
  color: #cd9c48;
  font-size: 48px;
}

.spells-empty-state p {
  margin: 0;
  font-size: 16px;
}

.static-guide-back-link {
  width: fit-content;
  margin-bottom: 14px;
}

.gameguide-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: #d6ba72;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.gameguide-back-link:hover,
.gameguide-back-link:focus {
  border-color: rgba(205, 156, 72, 0.4);
  background: rgba(205, 156, 72, 0.08);
  color: #f0e4c5;
  text-decoration: none;
}

.guide-reference-block {
  border-left: 3px solid rgba(205, 156, 72, 0.45);
  border-radius: 0 8px 8px 0;
}

.guide-reference-block p + p {
  margin-top: 14px;
}

.guide-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.guide-image-pair figure,
.guide-single-image {
  margin: 0 0 18px;
  text-align: center;
}

.guide-reference-block .guide-image {
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-left: 3px solid rgba(205, 156, 72, 0.45);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, rgba(24, 22, 20, 0.98) 0%, rgba(18, 16, 14, 0.98) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.guide-reference-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
}

.guide-reference-table th,
.guide-reference-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.guide-reference-table th {
  background: linear-gradient(180deg, rgba(205, 156, 72, 0.12) 0%, rgba(205, 156, 72, 0.06) 100%);
  border-bottom-color: rgba(205, 156, 72, 0.3);
  color: #d4b868;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-reference-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.guide-reference-table tr:hover td {
  background: rgba(205, 156, 72, 0.05);
}

.guide-reference-table tr:last-child td {
  border-bottom: 0;
}

.guide-sprite-cell {
  width: 48px;
  text-align: center;
}

.guide-sprite-cell img {
  display: inline-block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.guide-points-cell {
  width: 72px;
  font-weight: 800;
  white-space: nowrap;
}

.gameguide-page-wrap {
  padding: 32px 24px 40px;
  border-radius: 12px;
  background: #0d0c0a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.gameguide-content-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guide-lead-block,
.guide-text-block {
  padding: 24px 28px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-left: 3px solid rgba(205, 156, 72, 0.5);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, rgba(28, 26, 24, 0.98) 0%, rgba(22, 20, 18, 0.98) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.guide-lead-block {
  border-left-width: 4px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.06) 0%, rgba(180, 135, 60, 0.03) 100%);
}

.guide-lead-block p,
.guide-text-block p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.75;
}

.guide-lead-block p:last-child,
.guide-text-block p:last-child {
  margin-bottom: 0;
}

.relicbox-wrap {
  margin-bottom: 20px;
}

.relicbox-wrap img {
  width: auto;
  height: 80px;
}

.relic-table-wrap {
  overflow-x: auto;
}

.relic-table {
  min-width: 760px;
  border-collapse: collapse;
  background: #1e1e1e;
}

.relic-table th,
.relic-table td {
  padding: 9px 10px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  vertical-align: middle;
}

.relic-table th {
  background: #141414;
  color: #d4b868;
  font-weight: 700;
}

.relic-table tbody tr:nth-child(odd) {
  background: #22282c;
}

.relic-table tbody tr:nth-child(even) {
  background: #1e1e1e;
}

.relic-table .relic-icon {
  width: 42px;
  text-align: center;
}

.relic-table .relic-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.relic-table .relic-num,
.relic-table .relic-bonus {
  text-align: center;
}

.relic-table .relic-bonus span {
  font-size: 12px;
}

.img-wrap {
  margin: 0 0 20px;
  text-align: center;
}

.img-wrap img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.farming-tree-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.farming-harvest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.farming-harvest-row img:nth-child(1),
.farming-harvest-row img:nth-child(2) {
  max-width: 241px;
}

.farming-harvest-row img:nth-child(3) {
  max-width: 123px;
}

.mining-page-content {
  gap: 0;
}

.mining-compact {
  margin: 0;
  padding: 10px 16px;
}

.mining-compact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.mining-section-title {
  margin: 8px 0 2px;
  padding-bottom: 2px;
  border-bottom-width: 1px;
  font-size: 1rem;
}

.mining-box {
  margin: 0;
  padding: 10px 14px;
}

.mining-blurb {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.4;
}

.mining-table {
  min-width: 720px;
  border-collapse: collapse;
  background: #1e1e1e;
}

.mining-table th,
.mining-table td {
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  vertical-align: middle;
}

.mining-table th {
  background: #141414;
  color: #d4b868;
  font-weight: 700;
}

.mining-table tbody tr:nth-child(odd) {
  background: #22282c;
}

.mining-table tbody tr:nth-child(even) {
  background: #1e1e1e;
}

.mining-icon {
  width: 42px;
  text-align: center;
}

.mining-icon img,
.mining-inline-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mining-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  font-size: 12px;
}

.mining-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
}

.mining-item-card {
  display: inline-flex;
  width: 100px;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 6px;
  background: rgba(205, 156, 72, 0.08);
  text-align: center;
}

.mining-item-card img {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  object-fit: contain;
}

.mining-item-card span,
.mining-small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  line-height: 1.2;
}

.mining-footnote {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.house-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(205, 156, 72, 0.32);
  background: rgba(205, 156, 72, 0.16);
  color: var(--mvc-gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.guide-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-left: 4px solid var(--mvc-gold);
  border-radius: 10px;
  background: rgba(205, 156, 72, 0.08);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.95), rgba(180, 135, 60, 0.95));
  color: #15110d;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(205, 156, 72, 0.25);
}

.guide-button:hover,
.guide-button:focus {
  color: #111;
  background: linear-gradient(135deg, rgba(222, 170, 86, 0.98), rgba(195, 144, 63, 0.98));
}

.guide-button.secondary {
  border: 1px solid rgba(205, 156, 72, 0.26);
  background: rgba(0, 0, 0, 0.24);
  color: #d4b868;
  box-shadow: none;
}

.guide-button.secondary:hover,
.guide-button.secondary:focus {
  color: #111;
  background: rgba(205, 156, 72, 0.92);
}

.guide-page-wrap {
  padding: 32px 24px 40px;
  border: 1px solid rgba(60, 55, 50, 0.8);
  border-radius: 12px;
  background: linear-gradient(180deg, #0c0b0a 0%, #12100f 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.guide-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.guide-header-card {
  margin-bottom: 28px;
  padding: 28px 36px 28px 32px;
  border: 1px solid rgba(205, 156, 72, 0.35);
  border-left: 4px solid #cd9c48;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(145deg, #1e1c19 0%, #161412 40%, #12100e 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 248, 235, 0.06);
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.guide-header i {
  color: #cd9c48;
  font-size: 2rem;
  text-shadow: 0 2px 8px rgba(205, 156, 72, 0.4);
}

.guide-header h1 {
  margin: 0;
  color: #d4b868;
  font-size: 1.9rem;
  font-weight: 700;
}

.guide-header-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.guide-section {
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-left: 3px solid rgba(205, 156, 72, 0.4);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, rgba(30, 28, 26, 0.6) 0%, rgba(24, 22, 20, 0.6) 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.guide-section:hover {
  border-color: rgba(205, 156, 72, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.guide-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
}

.guide-section-title i {
  color: #cd9c48;
  font-size: 1.3rem;
}

.guide-section-title h2,
.guide-section-title h3 {
  margin: 0;
  color: #cd9c48;
  font-size: 1.4rem;
  font-weight: 600;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-link-card {
  display: flex;
  min-height: 104px;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(205, 156, 72, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.23);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-link-card:hover,
.guide-link-card:focus {
  border-color: rgba(205, 156, 72, 0.42);
  background: rgba(205, 156, 72, 0.07);
  color: inherit;
}

.guide-link-card .card-icon,
.guide-crafting-main .card-icon,
.guide-crafting-subcategory .card-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 10px;
  background: rgba(205, 156, 72, 0.12);
  color: #cd9c48;
}

.guide-link-card h3 {
  margin: 0 0 5px;
  color: #f0e4c5;
  font-size: 1rem;
}

.guide-link-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-crafting-card {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.16);
  border-radius: 10px;
  background: rgba(205, 156, 72, 0.04);
}

.guide-crafting-main {
  display: flex;
  min-height: 104px;
  gap: 14px;
  padding: 16px;
  background: rgba(205, 156, 72, 0.08);
  color: inherit;
  text-decoration: none;
}

.guide-crafting-main:hover,
.guide-crafting-main:focus {
  background: rgba(205, 156, 72, 0.11);
  color: inherit;
  text-decoration: none;
}

.guide-crafting-main h3,
.guide-crafting-subcategory h3 {
  margin: 0 0 5px;
  color: #f0e4c5;
  font-size: 1rem;
}

.guide-crafting-main p,
.guide-crafting-subcategory p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-crafting-subcategories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(205, 156, 72, 0.13);
  background: rgba(0, 0, 0, 0.16);
}

.guide-crafting-subcategory {
  display: flex;
  min-height: 82px;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(205, 156, 72, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
}

.guide-crafting-subcategory:hover,
.guide-crafting-subcategory:focus {
  border-color: rgba(205, 156, 72, 0.32);
  background: rgba(205, 156, 72, 0.07);
  color: inherit;
  text-decoration: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.stat-card {
  padding: 16px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.stat-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  color: #f0e4c5;
  font-size: 1.35rem;
}

.info-grid,
.feature-grid,
.skull-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.skull-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list .fa {
  margin-top: 2px;
  color: #4caf50;
}

.guide-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(120, 95, 65, 0.35);
  border-radius: 10px;
}

.guide-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.18);
}

.guide-table th {
  background: rgba(205, 156, 72, 0.13);
  color: var(--mvc-gold);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-table td {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.quest-content-card {
  gap: 22px;
}

.quest-note-block {
  gap: 10px;
}

.quest-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 8px;
  background: rgba(12, 11, 10, 0.45);
}

.quest-toolbar label {
  margin: 0;
  color: #f0e4c5;
  font-size: 0.92rem;
}

.quest-toolbar select {
  min-width: 180px;
  padding: 9px 12px;
  border: 1px solid rgba(205, 156, 72, 0.35);
  border-radius: 6px;
  background: #161412;
  color: #f4ead9;
  font-size: 0.92rem;
}

.quest-table-section {
  display: grid;
  gap: 12px;
}

.quest-table-section[hidden],
.quest-table[hidden] {
  display: none;
}

.quest-table-section h2 {
  margin: 0;
  color: var(--mvc-gold);
  font-size: 1.1rem;
  line-height: 1.2;
}

.quest-table-wrap {
  border-radius: 8px;
}

.quest-table {
  min-width: 820px;
}

.quest-table .quest-table-title th {
  text-align: center;
  color: #f2d69a;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.quest-table th.sortable {
  cursor: pointer;
  user-select: none;
}

.quest-table th.sortable a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.quest-table th.sortable:hover,
.quest-table th.sortable:focus {
  color: #f2d69a;
}

.quest-table td {
  vertical-align: middle;
}

.quest-table .quest-reward-cell {
  text-align: center;
  min-width: 240px;
}

.quest-table .quest-reward-cell img {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 2px;
  object-fit: contain;
  vertical-align: middle;
  image-rendering: pixelated;
}

.quest-modified-reward {
  color: #f0c56c;
  font-weight: 700;
}

.map-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 10px;
}

.news-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.news-teaser-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-teaser-card .card-body {
  padding-top: 14px;
}

.char-search-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.char-search-header,
.char-search-card {
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.char-search-header {
  margin-bottom: 30px;
  padding: 30px;
}

.char-search-header h1 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--mvc-gold);
  font-size: 2.5rem;
  font-weight: 700;
}

.char-search-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5;
}

.char-search-card {
  margin-bottom: 30px;
  padding: 40px;
}

.char-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  max-width: 560px;
}

.char-search-form .form-row {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.char-search-form label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.char-search-form input[type="text"] {
  padding: 12px 16px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.char-search-form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.char-search-form input[type="text"]:focus {
  outline: none;
  border-color: rgba(205, 156, 72, 0.6);
  box-shadow: 0 0 0 2px rgba(205, 156, 72, 0.15);
}

.char-search-form .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-end;
  min-height: 40px;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.96), rgba(180, 135, 60, 0.96));
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.28);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.char-search-form .btn-submit:hover,
.char-search-form .btn-submit:focus {
  color: #111;
  background: linear-gradient(135deg, rgba(222, 170, 86, 0.98), rgba(195, 144, 63, 0.98));
  box-shadow: 0 6px 14px rgba(205, 156, 72, 0.38);
}

.char-search-hint {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
}

.char-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.search-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-result-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.search-result-title {
  display: block;
  color: #f2eee7;
  font-weight: 800;
}

.search-result-meta {
  display: block;
  margin-top: 4px;
  color: rgba(235, 227, 213, 0.68);
  font-size: 13px;
}

.highscores-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 34px;
  color: #ebe3d5;
}

.highscores-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% -8%, rgba(205, 156, 72, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(82, 63, 36, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(24, 24, 26, 0.97), rgba(12, 12, 13, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.highscores-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 30%),
    linear-gradient(90deg, rgba(205, 156, 72, 0.06), transparent 26%, transparent 78%, rgba(205, 156, 72, 0.04));
}

.highscores-hero,
.highscores-content {
  position: relative;
  z-index: 1;
}

.highscores-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 30px 32px 24px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.15);
}

.highscores-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(205, 156, 72, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highscores-hero h1 {
  margin: 0;
  color: #f4ead9;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.highscores-hero p {
  max-width: 640px;
  margin: 12px 0 0;
  color: rgba(235, 227, 213, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.highscores-hero-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 231, 181, 0.34);
  border-radius: 22px;
  background: linear-gradient(135deg, #e5bd74, #bd8738);
  color: #1a1308;
  box-shadow: 0 12px 28px rgba(205, 156, 72, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.highscores-hero-icon .fa {
  font-size: 32px;
}

.highscores-content {
  padding: 24px;
}

.highscores-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(150px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.filter-group {
  min-width: 0;
}

.filter-group label {
  display: block;
  margin-bottom: 7px;
  color: rgba(235, 227, 213, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-group select {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 13px;
  appearance: none;
  border: 1px solid rgba(205, 156, 72, 0.22);
  border-radius: 10px;
  outline: none;
  background-color: rgba(12, 12, 13, 0.78);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cd9c48' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #f2eee7;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.filter-group select:focus {
  border-color: rgba(205, 156, 72, 0.58);
  background-color: rgba(17, 17, 18, 0.92);
  box-shadow: 0 0 0 3px rgba(205, 156, 72, 0.1);
}

.filter-group select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-view {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(255, 229, 172, 0.32);
  border-radius: 10px;
  background: linear-gradient(135deg, #e1b96e, #bf8736);
  color: #1b1307;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-view:hover,
.btn-view:focus-visible {
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(205, 156, 72, 0.22);
  outline: none;
}

.highscores-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.summary-chip {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.018));
}

.summary-chip span {
  display: block;
  margin-bottom: 4px;
  color: rgba(235, 227, 213, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-chip strong {
  display: block;
  overflow: hidden;
  color: #f2eee7;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highscores-table-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.highscores-table-scroll {
  overflow-x: auto;
}

.highscores-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.highscores-table th {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.14);
  background: rgba(205, 156, 72, 0.07);
  color: rgba(205, 156, 72, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.highscores-table th.rank-th,
.highscores-table th.outfit-th,
.highscores-table td.rank-cell,
.highscores-table td.outfit-cell {
  text-align: center;
}

.highscores-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(235, 227, 213, 0.86);
  font-size: 14px;
  vertical-align: middle;
}

.highscores-table tbody tr {
  transition: background 0.18s ease;
}

.highscores-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.055);
}

.highscores-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-value {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(235, 227, 213, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.rank-value.rank-1 {
  border-color: rgba(255, 229, 172, 0.48);
  background: linear-gradient(135deg, #ffe49c, #c89232);
  color: #1c1306;
  box-shadow: 0 0 18px rgba(205, 156, 72, 0.16);
}

.rank-value.rank-2 {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, #f2f2f2, #a8a8a8);
  color: #171717;
}

.rank-value.rank-3 {
  border-color: rgba(214, 154, 93, 0.42);
  background: linear-gradient(135deg, #d69a5d, #8a572d);
  color: #1c1306;
}

.outfit-frame {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.16);
  border-radius: 13px;
  background:
    radial-gradient(circle at center, rgba(205, 156, 72, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.4);
}

.outfit-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.outfit-frame img.player-outfit {
  width: 32px;
  height: 32px;
  max-width: none;
  max-height: none;
}

.outfit-frame img.monster-outfit {
  max-width: 100%;
  max-height: 100%;
}

.outfit-frame .outfit-placeholder-icon {
  color: rgba(205, 156, 72, 0.35);
  font-size: 22px;
}

.character-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  color: #f2eee7;
  font-weight: 800;
  text-decoration: none;
}

.vocation-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(205, 156, 72, 0.18);
  border-radius: 999px;
  background: rgba(205, 156, 72, 0.105);
  color: rgba(205, 156, 72, 0.95);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.level-value,
.points-value {
  font-weight: 900;
  white-space: nowrap;
}

.level-value {
  color: #f4ead9;
}

.points-value {
  color: #8fe09e;
  font-family: "Courier New", Consolas, monospace;
}

.whoisonline-container {
  max-width: 1400px;
  margin: 0 auto;
}

.whoisonline-header,
.whoisonline-card,
.whoisonline-empty {
  border-radius: 12px;
}

.whoisonline-header {
  padding: 30px;
  margin-bottom: 30px;
}

.whoisonline-header h1,
.houses-header h1,
.guilds-header h1,
.killers-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--mvc-gold);
  font-weight: 700;
}

.whoisonline-header h1 {
  gap: 15px;
  font-size: 2.5rem;
}

.whoisonline-header p,
.houses-header p,
.houses-search-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.whoisonline-card {
  padding: 30px;
  margin-bottom: 30px;
  overflow-x: auto;
}

.whoisonline-table,
.houses-table,
.killers-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.9);
}

.whoisonline-table {
  min-width: 700px;
}

.whoisonline-table thead,
.killers-table thead {
  background: rgba(205, 156, 72, 0.1);
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.whoisonline-table th,
.killers-table th {
  padding: 15px;
  color: var(--mvc-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.whoisonline-table th:nth-child(2),
.whoisonline-table th:nth-child(3),
.whoisonline-table td:nth-child(2),
.whoisonline-table td:nth-child(3) {
  text-align: center;
}

.whoisonline-table tbody tr,
.killers-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.whoisonline-table tbody tr:hover,
.killers-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.whoisonline-table td,
.killers-table td {
  padding: 15px;
  vertical-align: middle;
}

.whoisonline-world-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--mvc-gold);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.whoisonline-world-link:hover,
.whoisonline-world-link:focus {
  border-color: rgba(205, 156, 72, 0.5);
  background: rgba(205, 156, 72, 0.15);
  color: #e0b868;
}

.whoisonline-count {
  display: inline-block;
  min-width: 2.2em;
  padding: 4px 10px;
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: 6px;
  background: rgba(74, 158, 255, 0.15);
  color: #4a9eff;
  font-size: 13px;
  font-weight: 600;
}

.whoisonline-region {
  display: inline-block;
  vertical-align: middle;
}

.whoisonline-type {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(205, 156, 72, 0.25);
  border-radius: 6px;
  background: rgba(205, 156, 72, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.4;
}

.whoisonline-empty,
.houses-empty,
.guilds-empty,
.killers-empty {
  padding: 60px 30px;
  text-align: center;
}

.whoisonline-empty i,
.houses-empty i,
.guilds-empty i,
.killers-empty i {
  display: block;
  margin-bottom: 20px;
  color: rgba(205, 156, 72, 0.3);
  font-size: 4rem;
}

.whoisonline-empty h2,
.houses-empty h2,
.guilds-empty h2,
.killers-empty h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.5rem;
  font-weight: 600;
}

.whoisonline-empty p,
.houses-empty p,
.guilds-empty p,
.killers-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.houses-container {
  max-width: 1200px;
  margin: 0 auto;
}

.houses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.houses-header h1,
.guilds-header h1,
.killers-header h1 {
  margin-bottom: 0;
  font-size: 2rem;
}

.houses-search-box {
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
}

.houses-search-box p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.houses-town-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.houses-town-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  color: #e0e0e0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.houses-town-chip:hover,
.houses-town-chip:focus,
.houses-town-chip.is-active {
  border-color: rgba(205, 156, 72, 0.6);
  background: rgba(205, 156, 72, 0.16);
  color: #e0b868;
}

.houses-list-container {
  overflow-x: auto;
  border-radius: 12px;
}

.houses-list-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.2);
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.15), rgba(180, 135, 60, 0.15));
}

.houses-list-header .fa {
  color: var(--mvc-gold);
  font-size: 18px;
}

.houses-list-header h2 {
  margin: 0;
  color: var(--mvc-gold);
  font-size: 1.3rem;
  font-weight: 700;
}

.houses-table {
  width: 100%;
  min-width: 900px;
  margin-top: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.houses-table thead th {
  padding: 12px 25px;
  border-bottom: 1px solid rgba(205, 156, 72, 0.25);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(205, 156, 72, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.houses-table thead th:nth-child(1) {
  width: 28%;
}

.houses-table thead th:nth-child(2) {
  width: 12%;
}

.houses-table thead th:nth-child(3) {
  width: 14%;
}

.houses-table thead th:nth-child(4) {
  width: 28%;
}

.houses-table thead th:nth-child(5) {
  width: 18%;
}

.houses-table tbody tr {
  border-bottom: 1px solid rgba(205, 156, 72, 0.08);
  transition: background 0.3s ease;
}

.houses-table tbody tr:hover {
  background: rgba(205, 156, 72, 0.05);
}

.houses-table tbody tr:last-child {
  border-bottom: 0;
}

.houses-table tbody td {
  padding: 18px 25px;
  overflow: visible;
  text-align: center;
  vertical-align: middle;
}

.houses-table tbody td:first-child {
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s ease;
}

.houses-table tbody tr:hover td:first-child {
  border-left-color: rgba(205, 156, 72, 0.4);
}

.house-name,
.house-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.house-name {
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 600;
}

.house-name .fa,
.house-detail .fa {
  color: var(--mvc-gold);
}

.house-detail {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.house-description-cell {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.4;
}

.house-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.house-status.status-rented {
  border: 1px solid rgba(76, 175, 80, 0.3);
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.house-status.status-auctioned {
  border: 1px solid rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.house-status.status-no-bid {
  border: 2px dotted rgba(205, 156, 72, 0.7);
  border-radius: 8px;
  background: transparent;
  color: var(--mvc-gold);
}

.house-status.status-ended {
  border: 1px solid rgba(244, 67, 54, 0.3);
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
}

.house-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.house-detail-card {
  margin-bottom: 25px;
  padding: 25px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.house-info-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.house-image-container {
  position: relative;
  box-sizing: content-box;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 2px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.house-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 3072px 3072px;
}

.house-image--fallback {
  background-size: cover;
}

.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.crosshair::before,
.crosshair::after {
  position: absolute;
  content: "";
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.crosshair::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.house-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.house-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.house-title-row .house-title {
  margin: 0;
}

.house-title {
  margin: 0 0 10px;
  color: #cd9c48;
  font-size: 1.8rem;
  font-weight: 700;
}

.house-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.stat-item .fa,
.stat-item i {
  color: #cd9c48;
  font-size: 16px;
}

.stat-item b {
  color: #cd9c48;
  font-weight: 600;
}

.house-stats .stat-item-description {
  flex-basis: 100%;
  min-width: 0;
}

.house-stats .stat-item-description span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.auction-status,
.owner-info {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  background: rgba(205, 156, 72, 0.1);
}

.auction-status h2,
.owner-info h2,
.bid-form-container h2 {
  margin: 0 0 10px;
  color: #cd9c48;
  font-size: 1.2rem;
  font-weight: 600;
}

.auction-status p,
.owner-info p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.auction-status a,
.owner-info a,
.status-message a {
  color: #4a9eff;
  font-weight: 700;
  text-decoration: underline;
}

.auction-status a:hover,
.owner-info a:hover,
.status-message a:hover {
  color: #6bb0ff;
}

.bid-form-container {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.transfer-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}

.house-detail-callout {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.balance-display {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.balance-display span {
  color: #cd9c48;
  font-weight: 700;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.house-detail-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.house-detail-card .btn-primary {
  border: 0;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.9), rgba(180, 135, 60, 0.9));
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(205, 156, 72, 0.3);
}

.house-detail-card .btn-secondary {
  border: 1px solid rgba(205, 156, 72, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.house-detail-card .btn-primary:hover,
.house-detail-card .btn-secondary:hover {
  filter: brightness(1.04);
}

.guilds-container,
.killers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guilds-card,
.killers-card {
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 12px;
}

.guilds-header,
.killers-header {
  display: block;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(205, 156, 72, 0.3);
}

.guilds-header p,
.killers-header p {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.guild-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 20px;
  margin-bottom: 30px;
}

.guild-card {
  display: block;
  padding: 16px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.guild-card:hover {
  border-color: rgba(205, 156, 72, 0.5);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 6px 20px rgba(205, 156, 72, 0.2);
}

.guild-logo {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  object-fit: contain;
}

.guild-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(205, 156, 72, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.18), rgba(0, 0, 0, 0.38));
  color: #e8d5a3;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0;
}

.guild-name {
  margin-bottom: 10px;
  color: var(--mvc-gold);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.guild-description {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.killers-table {
  min-width: 680px;
}

.killers-table th:nth-child(2),
.killers-table td:nth-child(2) {
  text-align: center;
}

.killers-table a {
  color: var(--mvc-gold);
  font-weight: 700;
  text-decoration: none;
}

.killers-table a:hover,
.killers-table a:focus {
  color: #e0b868;
  text-decoration: underline;
}

.killers-row-note,
.killers-muted {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.premium-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  color: rgba(255, 255, 255, 0.88);
}

.premium-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.75rem;
  padding: 0;
  border: 1px solid rgba(205, 156, 72, 0.28) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(205, 156, 72, 0.14), transparent 50%),
    linear-gradient(145deg, rgba(32, 28, 24, 0.98) 0%, rgba(16, 16, 20, 0.99) 45%, rgba(22, 18, 28, 0.97) 100%) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.premium-intro::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #e8c878, #cd9c48 40%, rgba(205, 156, 72, 0.35));
}

.premium-intro__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(205, 156, 72, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.premium-intro__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 2rem 2.25rem 2rem 2.1rem;
}

.premium-intro__welcome {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.55;
}

.premium-intro__brand {
  color: #f4d28a;
  font-weight: 700;
}

.premium-intro__highlight,
.premium-benefit__value--premium p {
  color: #e8c878;
  font-weight: 700;
}

.premium-intro__divider {
  max-width: 12rem;
  height: 1px;
  margin: 0 0 1.1rem;
  border: 0;
  background: linear-gradient(90deg, rgba(205, 156, 72, 0.55), rgba(205, 156, 72, 0.08), transparent);
}

.premium-intro__premium-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

.donate-section {
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.25rem;
  border: 2px solid rgba(205, 156, 72, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(205, 156, 72, 0.1), rgba(24, 20, 16, 0.92));
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.donate-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  color: #f4d28a;
  font-size: 1.25rem;
  font-weight: 800;
}

.donate-section p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(205, 156, 72, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #d4a84a, #b8921f);
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(205, 156, 72, 0.25);
  transition: box-shadow 0.15s ease;
}

.donate-button:hover,
.donate-button:focus {
  color: #111;
  box-shadow: 0 8px 24px rgba(205, 156, 72, 0.35);
}

.premium-compare {
  margin-bottom: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 26, 28, 0.98), rgba(18, 18, 22, 0.98));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.premium-compare__header {
  padding: 1.25rem 1.35rem 1.1rem;
  border-bottom: 1px solid rgba(205, 156, 72, 0.18);
  background: rgba(205, 156, 72, 0.08);
}

.premium-compare__eyebrow,
.premium-compare__label,
.premium-benefit-list__head,
.premium-benefit__value span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.premium-compare__header h2 {
  margin: 0.25rem 0 0.45rem;
  color: #f4d28a;
  font-size: 1.35rem;
  font-weight: 800;
}

.premium-compare__header p,
.premium-compare__account p,
.premium-benefit__value p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.premium-compare__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.premium-compare__account {
  min-width: 0;
  padding: 1.05rem 1.25rem;
  background: rgba(13, 13, 17, 0.7);
}

.premium-compare__account strong {
  display: block;
  margin: 0.3rem 0 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.premium-compare__account--premium {
  background: linear-gradient(180deg, rgba(205, 156, 72, 0.12), rgba(13, 13, 17, 0.78));
}

.premium-benefit-list {
  display: grid;
}

.premium-benefit-list__head,
.premium-benefit {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.premium-benefit-list__head {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.premium-benefit {
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-benefit:last-child {
  border-bottom: 0;
}

.premium-benefit h3,
.premium-benefit__value {
  min-width: 0;
  padding: 0.95rem 1.25rem;
}

.premium-benefit h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.premium-benefit__value {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-benefit__value span {
  display: none;
}

.premium-benefit__value--free p {
  color: rgba(255, 255, 255, 0.58);
}

.twitch-streams-page {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 34px;
  color: #f3f0fa;
}

.twitch-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0 0 22px;
  padding: 26px 30px !important;
  border-color: rgba(145, 70, 255, 0.3) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at top left, rgba(145, 70, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(27, 22, 38, 0.98), rgba(16, 14, 22, 0.98)) !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.twitch-info-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.twitch-info-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #9146ff, #6441a5);
  color: #fff;
  box-shadow: 0 8px 24px rgba(145, 70, 255, 0.38);
}

.twitch-info-icon .fa {
  font-size: 28px;
}

.twitch-info-copy {
  min-width: 0;
}

.twitch-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #b79cff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.twitch-info-card h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.twitch-info-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.6;
}

.twitch-info-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.twitch-refresh-btn,
.twitch-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9146ff, #7c3aed);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(145, 70, 255, 0.36);
  transition: box-shadow 0.18s ease;
}

.twitch-refresh-btn {
  min-width: 168px;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.twitch-refresh-btn:hover,
.twitch-refresh-btn:focus,
.twitch-watch-btn:hover,
.twitch-watch-btn:focus {
  box-shadow: 0 10px 24px rgba(145, 70, 255, 0.45);
}

.twitch-stream-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.twitch-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.twitch-status.success {
  border: 1px solid rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.13);
  color: #46d37c;
}

.twitch-status.error {
  border: 1px solid rgba(239, 68, 68, 0.34);
  background: rgba(239, 68, 68, 0.13);
  color: #ff7a7a;
}

.twitch-streams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.twitch-stream-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(145, 70, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(25, 24, 34, 0.98), rgba(17, 16, 24, 0.98));
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.34);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.twitch-stream-card:hover {
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.42), 0 0 24px rgba(145, 70, 255, 0.12);
}

.twitch-stream-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0e0d14;
}

.twitch-stream-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twitch-live-dot,
.twitch-viewers {
  position: absolute;
  top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 7px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.twitch-live-dot {
  left: 9px;
  background: #ef4444;
}

.twitch-viewers {
  right: 9px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.twitch-stream-body {
  padding: 13px;
}

.twitch-stream-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin-bottom: 12px;
}

.twitch-stream-avatar,
.twitch-stream-avatar-fallback {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 2px solid rgba(145, 70, 255, 0.36);
  border-radius: 50%;
}

.twitch-stream-avatar {
  object-fit: cover;
}

.twitch-stream-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9146ff, #6441a5);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.twitch-stream-details {
  min-width: 0;
  flex: 1;
}

.twitch-stream-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0 0 5px;
  overflow: hidden;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.twitch-streamer-name,
.twitch-stream-game {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twitch-streamer-name {
  color: #b79cff;
  font-size: 0.78rem;
  font-weight: 800;
}

.twitch-stream-game {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.twitch-watch-btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 900;
}

.twitch-empty {
  padding: 54px 26px;
  border-color: rgba(145, 70, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(25, 24, 34, 0.98), rgba(17, 16, 24, 0.98));
  text-align: center;
}

.twitch-empty-icon {
  margin-bottom: 16px;
  color: #9146ff;
  font-size: 3rem;
}

.twitch-empty h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.45rem;
}

.twitch-empty p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

@media (max-width: 1280px) {
  .top-brand-bar {
    padding: 10px 18px;
  }

  .status-item {
    padding: 0 12px;
  }

  .nav-label {
    padding: 0 16px;
  }

  .auth-section {
    padding: 0 14px;
  }

  .site-auth-link.btn {
    padding: 9px 16px;
  }

  .twitch-streams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .mvc-main-header {
    position: static;
    padding-top: 10px;
  }

  .header-content,
  .main-header.mvc-main-header .header-content,
  .site-footer-inner,
  .site-footer-copyright {
    box-sizing: border-box;
    width: min(100%, calc(100% - 20px));
    margin-right: auto;
    margin-left: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .premium-header {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .top-brand-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .header-status-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .site-logo-link {
    justify-content: center;
    margin-right: 0;
  }

  .status-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .status-item {
    justify-content: center;
    padding: 7px 0;
    flex-wrap: wrap;
  }

  .status-divider {
    width: 100%;
    height: 1px;
  }

  .status-socials {
    justify-content: center;
    gap: 10px;
  }

  .status-social-link {
    width: 40px;
    height: 40px;
  }

  .nav-bar {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    border: 0;
    border-bottom: 1px solid rgba(205, 156, 72, 0.2);
    background: linear-gradient(135deg, rgba(205, 156, 72, 0.14), rgba(180, 135, 60, 0.12));
    color: #e6d3a5;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .container_left {
    display: none;
    flex-direction: column;
    width: 100%;
    overflow: visible;
  }

  body.mobile-nav-open .container_left {
    display: flex;
  }

  .nav-item,
  .nav-label {
    width: 100%;
  }

  .nav-label {
    min-height: 0;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    justify-content: space-between;
  }

  .nav-label span {
    flex: 1 1 auto;
    text-align: left;
  }

  .nav-dropdown {
    position: static;
    margin: 0 10px 10px;
    min-width: 0;
    width: auto;
    border-radius: 10px;
  }

  .auth-section {
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    flex-wrap: wrap;
    padding: 14px;
    margin-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
  }

  .site-auth-link.btn,
  .logout-form .site-auth-link.btn {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    justify-content: center;
  }

  .logout-form {
    flex: 1 1 0;
  }

  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
  }

  .news-teaser-grid {
    grid-template-columns: 1fr;
  }

  .page-content {
    padding: 0 4px 20px;
  }

  .guide-shell {
    padding: 0 10px 24px;
  }

  .guide-hero,
  .guide-card {
    padding: 18px 16px;
  }

  .guide-hero h1 {
    font-size: 1.5rem;
  }

  .guide-page-wrap {
    padding: 20px 12px 28px;
  }

  .guide-header-card,
  .guide-section {
    padding: 18px 16px;
  }

  .guide-header h1 {
    font-size: 1.5rem;
  }

  .guide-card-grid,
  .guide-crafting-subcategories {
    grid-template-columns: 1fr;
  }

  .guide-image-pair {
    grid-template-columns: 1fr;
  }

  .house-steps,
  .info-grid,
  .feature-grid,
  .skull-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .guide-button {
    width: 100%;
  }

  .char-search-header h1 {
    font-size: 2rem;
  }

  .char-search-card {
    padding: 24px 20px;
  }

  .char-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .char-search-form .btn-submit {
    align-self: stretch;
  }

  .char-search-results,
  .highscores-filters,
  .highscores-summary {
    grid-template-columns: 1fr;
  }

  .highscores-container {
    padding: 0 0 24px;
  }

  .highscores-shell {
    border-radius: 14px;
  }

  .highscores-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px 20px;
  }

  .highscores-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .highscores-content {
    padding: 14px;
  }

  .highscores-table {
    min-width: 0;
    border-spacing: 0 10px;
  }

  .highscores-table thead,
  .highscores-table colgroup {
    display: none;
  }

  .highscores-table tbody,
  .highscores-table tr,
  .highscores-table td {
    display: block;
    width: 100%;
  }

  .highscores-table tr {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .highscores-table td {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }

  .highscores-table td:last-child {
    border-bottom: 0;
  }

  .highscores-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: rgba(205, 156, 72, 0.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .highscores-table td.rank-cell,
  .highscores-table td.outfit-cell {
    text-align: left;
  }

  .outfit-frame {
    margin: 0;
  }

  .twitch-info-card {
    flex-direction: column;
    align-items: stretch;
  }

  .whoisonline-header h1 {
    font-size: 2rem;
  }

  .whoisonline-card,
  .guilds-card,
  .killers-card {
    padding: 15px;
  }

  .houses-search-box,
  .houses-list-header {
    padding: 18px;
  }

  .houses-header,
  .guilds-header,
  .killers-header {
    margin-bottom: 22px;
  }

  .guild-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .premium-intro__content {
    padding: 1.65rem 1.65rem 1.65rem 1.85rem;
  }

  .twitch-info-actions {
    width: 100%;
    align-items: stretch;
  }

  .twitch-streams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container_main {
    box-sizing: border-box;
    flex-direction: column !important;
    width: min(100%, calc(100% - 20px)) !important;
    max-width: none !important;
    gap: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html body .container_main,
  html body.page_news .container_main,
  body.page_news .container_main {
    flex-direction: column !important;
    display: flex !important;
    width: min(100%, calc(100% - 20px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .container_mid,
  body .container_main > .container_mid,
  html body .container_main > .container_mid,
  html body.page_news .container_main > .container_mid,
  body.page_news .container_main > .container_mid {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .page-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .container_right,
  body .container_main > .container_right,
  html body .container_main > .container_right,
  html body.page_news .container_main > .container_right,
  body.page_news .container_main > .container_right {
    display: none !important;
    visibility: hidden !important;
  }
}

@media (max-width: 640px) {
  .auth-section {
    flex-direction: column;
  }

  .site-auth-link.btn,
  .logout-form .site-auth-link.btn {
    width: 100%;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .whoisonline-header h1,
  .houses-header h1,
  .guilds-header h1,
  .killers-header h1 {
    gap: 10px;
  }

  .houses-header h1,
  .guilds-header h1,
  .killers-header h1 {
    font-size: 1.45rem;
  }

  .whoisonline-header,
  .houses-search-box,
  .houses-empty,
  .guilds-empty,
  .killers-empty,
  .twitch-empty {
    padding: 24px 18px;
  }

  .whoisonline-table th,
  .whoisonline-table td,
  .killers-table th,
  .killers-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .houses-town-chip {
    flex: 1 1 auto;
    justify-content: center;
  }

  .guild-list-grid,
  .twitch-streams-grid {
    grid-template-columns: 1fr;
  }

  .premium-wrap,
  .twitch-streams-page {
    padding-right: 8px;
    padding-left: 8px;
  }

  .premium-intro__content {
    padding: 1.4rem 1.25rem 1.4rem 1.45rem;
  }

  .premium-compare__columns,
  .premium-benefit {
    grid-template-columns: 1fr;
  }

  .premium-benefit-list__head {
    display: none;
  }

  .premium-benefit__value {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 0;
  }

  .premium-benefit__value span {
    display: block;
    margin-bottom: 0.25rem;
  }

  .twitch-info-card {
    padding: 18px !important;
  }

  .twitch-info-main {
    align-items: flex-start;
  }

  .twitch-info-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 11px;
  }

  .twitch-info-icon .fa {
    font-size: 21px;
  }

  .twitch-info-card h1 {
    font-size: 1.35rem;
  }
}

/* MVC parity hardening: keep the shared shell neutral so page-specific
   reference classes decide the visual design. */
.mvc-site-shell {
  padding-top: 0;
}

body.page_news .container_main,
body.page_premium .container_main,
body.page_twitchstreams .container_main,
body.page_highscores .container_main,
body.page_houses .container_main,
body.page_guilds .container_main,
body.page_bans .container_main,
body.page_killers .container_main,
body.page_whoisonline .container_main {
  align-items: flex-start !important;
}

@media (max-width: 1580px) {
  .main-header.mvc-main-header .premium-header {
    width: min(1520px, 100%) !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 992px) {
  .main-header.mvc-main-header .nav-item.has-dropdown:hover > .nav-dropdown,
  .main-header.mvc-main-header .nav-item.has-dropdown:focus-within > .nav-dropdown {
    display: none;
  }

  .main-header.mvc-main-header .nav-item.has-dropdown.is-open > .nav-dropdown {
    display: block;
  }
}

.site-footer-inner {
  display: block;
}

.site-footer-grid {
  width: 100%;
  margin-bottom: 40px;
}

/* Parity hardening: preserve semantic SEO tags while matching the live layout. */
.main-header.mvc-main-header,
.main-header.mvc-main-header .header-content,
.main-header.mvc-main-header .premium-header,
.main-header.mvc-main-header .nav-bar,
.main-header.mvc-main-header .container_left {
  overflow: visible !important;
}

.main-header.mvc-main-header .premium-header {
  box-sizing: border-box;
}

.main-header.mvc-main-header .nav-label {
  box-sizing: border-box;
  height: 60px;
  min-height: 60px;
}

.main-header.mvc-main-header .auth-section {
  box-sizing: border-box;
  min-height: 60px;
}

.main-header.mvc-main-header .nav-dropdown.nav-dropdown--floating {
  top: auto;
  bottom: auto;
}

.whoisonline-header,
.onlinelist-header,
.houses-header,
.guilds-header,
.killers-header,
.bans-header,
.auction-header {
  display: block !important;
}

.whoisonline-header > h1,
.onlinelist-header > h1,
.houses-header > h1,
.guilds-header > h1,
.killers-header > h1,
.bans-header > h1,
.auction-header > h1 {
  display: flex !important;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.whoisonline-header > p,
.onlinelist-header > p,
.houses-header > p,
.guilds-header > p,
.killers-header > p,
.bans-header > p,
.auction-header > p {
  display: block !important;
  width: 100%;
  clear: both;
  margin-left: 0 !important;
}

.site-footer-main {
  box-sizing: border-box;
  padding-bottom: 0;
}

.site-footer-inner {
  align-items: stretch;
}

.site-footer-grid {
  align-items: start;
}

.site-footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer-grid > div:not(:first-child) h3 {
  text-align: center;
}

.site-footer-grid > div:not(:first-child) ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer-grid > div:not(:first-child) a:hover,
.site-footer-grid > div:not(:first-child) a:focus {
  padding-left: 0;
}

@media (max-width: 1580px) {
  .main-header.mvc-main-header .header-content {
    box-sizing: border-box;
    width: min(100%, calc(100% - 20px)) !important;
    max-width: 1520px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 992px) {
  .main-header.mvc-main-header .nav-label {
    height: auto;
    min-height: 0;
  }

  .main-header.mvc-main-header .auth-section {
    min-height: 0;
  }
}

.store-catalog .store-category {
  margin-bottom: 20px;
}

.store-category__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.store-category__header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 64px;
  image-rendering: auto;
}

.store-category__header h2 {
  margin: 0 0 6px;
  color: #f4d28a;
}

.store-category__header p {
  margin: 0 0 6px;
}

.store-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.store-offer-card {
  display: flex;
  gap: 12px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(205, 156, 72, 0.2);
  background: rgba(0, 0, 0, 0.28);
}

.store-offer-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 64px;
}

.store-offer-card__body {
  min-width: 0;
}

.store-offer-card h3 {
  margin: 0 0 6px;
  color: #f4d28a;
  font-size: 16px;
}

.store-offer-card p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: #d8cec0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.store-offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #b8ad9c;
  font-size: 12px;
  text-transform: uppercase;
}

.store-offer-card__meta strong {
  color: #f4d28a;
}

@media (max-width: 768px) {
  .house-info-grid {
    grid-template-columns: 1fr;
  }

  .house-image-container {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .house-title-row {
    align-items: flex-start;
  }

  .transfer-form-grid {
    grid-template-columns: 1fr;
  }
}

.magic-calc-wrap,
.rune-calc-wrap,
.skills-calc-wrap,
.spells-calc-wrap,
.physical-calc-wrap {
  box-sizing: border-box;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  color: #e8e8e8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.rune-calc-wrap {
  max-width: 860px;
}

.skills-calc-wrap,
.spells-calc-wrap,
.physical-calc-wrap {
  max-width: 760px;
}

.magic-calc-card,
.rune-calc-card,
.skills-calc-card,
.spells-calc-card,
.physical-calc-card {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(205, 156, 72, 0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.95) 0%, rgba(22, 22, 26, 0.98) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.magic-calc-card .card-head,
.rune-calc-card .card-head,
.skills-calc-card .card-head,
.spells-calc-card .card-head,
.physical-calc-card .card-head {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(205, 156, 72, 0.15);
  background: rgba(205, 156, 72, 0.08);
  color: #cd9c48;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.magic-calc-card .card-body,
.rune-calc-card .card-body,
.skills-calc-card .card-body,
.spells-calc-card .card-body,
.physical-calc-card .card-body {
  padding: 1.5rem;
}

.magic-calc-card label,
.rune-calc-card label,
.spells-calc-card .form-col label,
.physical-calc-card .form-col label,
.skills-calc-col .col-label,
.skills-calc-col .current-percent-label,
.physical-calc-card .section-title {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.magic-calc-card input,
.magic-calc-card select,
.rune-calc-card select,
.spells-calc-card input,
.spells-calc-card select,
.physical-calc-card input,
.physical-calc-card select,
.skills-calc-col input[type="number"],
.skills-calc-optional input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.95rem;
}

.magic-calc-card select,
.rune-calc-card select,
.physical-calc-card select {
  min-width: 170px;
}

.spells-calc-card input {
  max-width: 8rem;
}

.spells-calc-card select {
  min-width: 140px;
  max-width: 160px;
}

.physical-calc-card input,
.physical-calc-card select {
  max-width: 10rem;
}

.physical-calc-card .form-col-full input,
.physical-calc-card .form-col-full select {
  max-width: none;
}

.magic-calc-card input:focus,
.magic-calc-card select:focus,
.rune-calc-card select:focus,
.spells-calc-card input:focus,
.spells-calc-card select:focus,
.physical-calc-card input:focus,
.physical-calc-card select:focus,
.skills-calc-col input[type="number"]:focus,
.skills-calc-optional input[type="number"]:focus {
  border-color: rgba(205, 156, 72, 0.5);
  outline: none;
  box-shadow: 0 0 0 3px rgba(205, 156, 72, 0.15);
}

.magic-calc-grid,
.magic-calc-row,
.skills-calc-grid,
.physical-calc-card .form-grid {
  display: grid;
  gap: 1rem;
}

.magic-calc-grid,
.magic-calc-row,
.physical-calc-card .form-grid {
  grid-template-columns: 1fr 1fr;
}

.skills-calc-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.magic-calc-field {
  margin-top: 1rem;
}

.magic-calc-card .desc,
.rune-calc-card .summary {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.rune-calc-card .summary {
  margin: 0.6rem 0 1rem;
  font-size: 0.9rem;
}

.rune-calc-card .summary strong {
  color: #cd9c48;
}

.rune-calc-card .form-row,
.spells-calc-card .form-row {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.rune-calc-card .form-row {
  grid-template-columns: 1fr auto auto;
  margin-bottom: 1rem;
}

.spells-calc-card .form-row {
  grid-template-columns: auto auto 1fr auto;
  gap: 1.5rem 1.75rem;
}

.rune-calc-card .checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.rune-calc-card .checkbox-row input[type="checkbox"],
.skills-calc-col input[type="radio"] {
  accent-color: #cd9c48;
}

.rune-calc-card .checkbox-row label {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.magic-calc-card .actions,
.physical-calc-card .calc-btn-wrap,
.skills-calc-wrap .calc-btn-wrap {
  margin-top: 1.5rem;
}

.magic-calc-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.magic-calc-card button,
.magic-calc-card .secondary-button,
.rune-calc-card button,
.skills-calc-wrap button[type="submit"],
.spells-calc-card button[type="submit"],
.physical-calc-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #c9a227 0%, #b8921f 100%);
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}

.magic-calc-card .secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}

.magic-calc-card .radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 24px;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.magic-calc-card input[type="radio"] {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #cd9c48;
  flex: 0 0 auto;
}

.skills-calc-wrap button[type="submit"],
.spells-calc-card button[type="submit"],
.physical-calc-card button[type="submit"] {
  padding-right: 2rem;
  padding-left: 2rem;
}

.magic-result,
.skills-calc-result,
.physical-calc-result {
  margin-top: 1.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(205, 156, 72, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.magic-result p,
.skills-calc-result p,
.physical-calc-result p {
  margin: 0.45rem 0;
}

.magic-result strong,
.skills-calc-result strong,
.physical-calc-result strong {
  color: #f4d28a;
}

.skills-calc-result,
.physical-calc-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-color: rgba(205, 156, 72, 0.2);
  border-left: 4px solid #cd9c48;
  background: rgba(205, 156, 72, 0.06);
}

.rune-calc-card .table-wrap,
.spells-calc-card .spells-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.spells-calc-card .spells-table-wrap {
  margin-top: 1.5rem;
}

.rune-calc-card table,
.spells-calc-card table {
  width: 100%;
  border-collapse: collapse;
}

.rune-calc-card th,
.rune-calc-card td,
.spells-calc-card th,
.spells-calc-card td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  text-align: left;
}

.spells-calc-card th,
.spells-calc-card td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.rune-calc-card th,
.spells-calc-card th {
  background: rgba(205, 156, 72, 0.1);
  color: #cd9c48;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rune-calc-card tr:last-child td,
.spells-calc-card tr:last-child td {
  border-bottom: 0;
}

.rune-calc-card tbody tr:hover,
.spells-calc-card tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rune-calc-card .num,
.spells-calc-card .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.skills-calc-col label.radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.skills-calc-col input[type="number"] {
  max-width: 5rem;
}

.skills-calc-col .inline-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skills-calc-col .percent-input-wrap,
.skills-calc-optional .interval-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.skills-calc-col .percent-input-wrap input,
.skills-calc-optional input[type="number"] {
  text-align: center;
}

.skills-calc-col .percent-suffix,
.skills-calc-optional .interval-pct-suffix {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

.skills-calc-optional {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.skills-calc-optional label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.skills-calc-optional input[type="number"] {
  max-width: 3.5rem;
  min-width: 2.75rem;
  padding: 0.4rem 0.35rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.skills-calc-rules {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(28, 28, 32, 0.6);
}

.skills-calc-rules .rules-title {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skills-calc-rules ul {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
}

.physical-calc-card .form-section {
  margin-bottom: 1.5rem;
}

.physical-calc-card .form-section:last-of-type {
  margin-bottom: 0;
}

.physical-calc-card .paladin-weapon-row {
  grid-template-columns: auto auto;
  gap: 1.25rem 0.75rem;
}

.physical-calc-card .form-col-full {
  grid-column: 1 / -1;
}

.physical-calc-card .hint {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  line-height: 1.4;
}

.physical-calc-card .monster-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.physical-calc-card .monster-row select {
  flex: 0 0 auto;
  max-width: 240px;
}

.physical-calc-card .monster-row .hint {
  flex: 1 1 12rem;
  margin: 0;
}

.physical-calc-info-box {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(205, 156, 72, 0.2);
  border-left: 4px solid #cd9c48;
  border-radius: 8px;
  background: rgba(205, 156, 72, 0.08);
}

.physical-calc-info-box p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.physical-calc-result .result-title {
  margin: 0 0 0.75rem;
  color: #cd9c48;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.physical-calc-result .percentiles {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .skills-calc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rune-calc-card .form-row,
  .spells-calc-card .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .magic-calc-grid,
  .magic-calc-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .magic-calc-wrap,
  .rune-calc-wrap,
  .skills-calc-wrap,
  .spells-calc-wrap,
  .physical-calc-wrap {
    padding: 0 0.5rem 1.5rem;
  }

  .magic-calc-card .card-body,
  .rune-calc-card .card-body,
  .skills-calc-card .card-body,
  .spells-calc-card .card-body,
  .physical-calc-card .card-body,
  .skills-calc-rules {
    padding: 1rem;
  }

  .rune-calc-card button,
  .spells-calc-card button[type="submit"],
  .physical-calc-card button[type="submit"] {
    width: 100%;
  }

  .rune-calc-card .table-wrap,
  .spells-calc-card .spells-table-wrap {
    overflow-x: auto;
  }

  .rune-calc-card table {
    min-width: 620px;
  }

  .spells-calc-card table {
    min-width: 420px;
  }

  .spells-calc-card input,
  .spells-calc-card select,
  .physical-calc-card input,
  .physical-calc-card select,
  .physical-calc-card .monster-row select,
  .skills-calc-col input[type="number"] {
    width: 100%;
    max-width: none;
  }

  .skills-calc-optional {
    align-items: flex-start;
  }

  .skills-calc-optional label {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .physical-calc-card .form-grid,
  .physical-calc-card .paladin-weapon-row {
    grid-template-columns: 1fr;
  }
}

.items-container.box-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 32px;
  background: linear-gradient(180deg, #0c0b0a 0%, #121110 50%, #0c0b0a 100%);
  border: 1px solid rgba(60, 55, 50, 0.8);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.items-header-card {
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.items-header-card h1,
.items-slot-title h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: #f0f0f0;
  font-size: 1.65rem;
  font-weight: 500;
}

.items-header-card h1 i,
.items-slot-title h1 i {
  color: #bda06e;
}

.items-header-card p,
.items-slot-title p {
  margin: 0;
  color: #d7d0c4;
  font-size: 14px;
  line-height: 1.5;
}

.items-content h2 {
  margin: 28px 0 12px;
  color: #f0f0f0;
  font-size: 1.05rem;
  font-weight: 500;
}

.items-content h2:first-of-type {
  margin-top: 0;
}

.items-section-wrapper {
  margin-bottom: 24px;
  padding: 20px 24px 24px;
  background: linear-gradient(180deg, #1e1b18 0%, #252119 25%, #221d1a 50%, #1c1814 75%, #141210 100%);
  border: 1px solid rgba(140, 115, 80, 0.5);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 248, 235, 0.06);
}

.items-section-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: flex-start;
}

.linkButton {
  color: inherit;
  text-decoration: none;
}

.category-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 166px;
  min-height: 100px;
  padding: 18px 14px 14px;
  background: linear-gradient(180deg, #2a241e 0%, #322b24 20%, #2e2822 45%, #26221c 70%, #141210 100%);
  border: 1px solid rgba(140, 115, 80, 0.55);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 248, 235, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.linkButton:hover .category-box {
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.25), inset 0 2px 6px rgba(255, 248, 235, 0.1);
}

.category-box img,
.items-icon-cell img {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.category-box img {
  max-width: 48px;
  max-height: 48px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.category-box p {
  margin: 0;
  color: #f5f2ec;
  font-size: 13px;
  font-weight: 500;
}

.items-category-title-panel {
  margin-bottom: 20px;
  padding: 24px 28px;
  background: linear-gradient(180deg, #161412 0%, #1c1a18 50%, #161412 100%);
  border: 1px solid rgba(180, 150, 100, 0.55);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 235, 200, 0.04);
}

.items-slot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.items-slot-title h1 {
  color: #d4b868;
  font-weight: 700;
}

.items-table-card {
  margin-bottom: 24px;
  padding: 24px;
  overflow-x: auto;
  background: linear-gradient(180deg, #0c0b09 0%, #181410 35%, #1a1612 50%, #181410 65%, #0c0b09 100%);
  border: 1px solid rgba(120, 95, 65, 0.5);
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(120, 95, 65, 0.08);
}

.items-table-scroll {
  overflow-x: auto;
}

.items-container .TableContent {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid rgba(100, 82, 58, 0.45);
}

.items-container .TableContent th,
.items-container .TableContent td {
  padding: 10px;
  text-align: center;
  color: #e8e4dc;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.items-container .TableContent th {
  color: #f0ebe0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #4a4035 0%, #554a3d 50%, #4a4035 100%);
}

.items-container .TableContent tbody tr:nth-child(odd) {
  background: #282420;
}

.items-container .TableContent tbody tr:nth-child(even) {
  background: #221e1b;
}

.items-container .TableContent tbody tr:hover {
  background: #2e2a26;
}

.items-icon-cell {
  width: 1%;
}

.items-icon-cell img {
  max-width: 32px;
  max-height: 32px;
  margin: 0 auto;
}

.items-attributes-cell {
  max-width: 360px;
  text-align: left !important;
  line-height: 1.45;
}

.items-attribute-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px 18px;
  color: #d7d0c4;
  background: linear-gradient(180deg, #161412 0%, #1c1a18 50%, #161412 100%);
  border: 1px solid rgba(180, 150, 100, 0.45);
  border-radius: 8px;
}

.items-rune-example {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 54px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(120, 95, 65, 0.45);
  border-radius: 6px;
}

.items-rune-example img,
.itemAttr .attrImage,
.items-attr-item-heading img {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.items-attribute-info-text p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.45;
}

.items-attribute-info-text p:last-child {
  margin-bottom: 0;
}

.items-attribution-cell {
  width: 1%;
  overflow: visible;
}

.itemAttr {
  position: relative;
  display: inline-block;
  text-align: center;
  outline: none;
}

.itemAttr .attrImage {
  margin: 0 auto;
  cursor: pointer;
}

.itemAttrInfo {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50000;
  width: min(528px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 12px 14px;
  color: #b8a890;
  font-size: 11px;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #0c0b09 0%, #12100e 25%, #181410 50%, #12100e 75%, #0c0b09 100%);
  border: 1px solid rgba(120, 95, 65, 0.5);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(120, 95, 65, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(80, 65, 45, 0.2);
}

.itemAttr:hover .itemAttrInfo,
.itemAttr:focus .itemAttrInfo,
.itemAttr:focus-within .itemAttrInfo {
  display: block;
}

.items-attr-item-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  color: #d7c6aa;
  font-size: 14px;
  font-weight: 700;
}

.items-attr-item-heading img {
  max-width: 50px;
  max-height: 50px;
}

.items-container .attrContainer {
  display: grid;
  grid-template-columns: repeat(3, 160px);
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
}

.items-container .attrWrapper {
  width: 160px;
  box-sizing: border-box;
}

.items-container .attrHeader {
  display: block;
  margin-bottom: 4px;
  color: #c4a86a;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.items-container .Table11 {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(100, 82, 58, 0.4);
  border-radius: 6px;
  border-collapse: collapse;
  background: linear-gradient(180deg, #0f0e0c 0%, #151310 50%, #0f0e0c 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.items-container .Table11 td,
.items-container .Table11 th {
  padding: 4px 6px;
  color: #b8a890;
  border: 1px solid rgba(100, 82, 58, 0.2);
  font-size: 11px;
  text-align: center !important;
  text-transform: none;
}

.items-container .Table11 .attrHeaderTable,
.items-container .Table11 .attrHeaderTable * {
  color: #9a8878;
  font-size: 11px;
  text-align: center !important;
}

@media (max-width: 992px) {
  .items-container.box-container {
    padding: 18px 14px;
  }

  .items-section-wrapper,
  .items-category-title-panel,
  .items-table-card {
    padding: 14px;
  }

  .category-box {
    width: calc(50% - 7px);
    min-width: 140px;
  }

  .items-table-scroll .TableContent {
    min-width: 760px;
  }

  .itemAttrInfo {
    width: min(528px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
}

@media (max-width: 640px) {
  .category-box {
    width: 100%;
    min-width: 0;
  }

  .items-container .attrContainer {
    grid-template-columns: 1fr;
  }

  .items-container .attrWrapper {
    width: 100%;
  }
}

.npcs-container .npc-outfit-slot,
.npc-outfit-wrap .npc-outfit-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.npcs-container .npc-outfit-slot .outfit-static-layer,
.npc-outfit-wrap .npc-outfit-slot .outfit-static-layer {
  position: absolute;
}

.npcs-container .npc-outfit-slot img,
.npc-outfit-wrap .npc-outfit-slot img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.npcs-container .npc-outfit-slot {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  margin: 0 auto 12px;
}

.npcs-container .npc-icon {
  margin: 0;
  color: #d4b868;
  font-size: 2rem;
}

.npcs-container .npc-outfit-slot.player-outfit-32-slot .npc-outfit-img.player-outfit-32 {
  display: block;
  margin: 0;
}

.npcs-container .npc-outfit-slot.monster-outfit-32-slot .npc-outfit-img.monster-outfit-32 {
  display: block;
  margin: 0;
}

.npcs-container .npc-outfit-slot.monster-outfit-128-slot .npc-outfit-img.monster-outfit-128 {
  display: block;
  margin: 0;
}

.npcs-container .npc-outfit-slot.monster-outfit-128-slot .npc-outfit-img.monster-outfit-128.monster-outfit-128-quadrant {
  object-position: center center;
}

.npcs-container .npc-outfit-slot .outfit-placeholder-icon {
  color: #d4b868;
  font-size: 2rem;
}

.npcs-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.npcs-filters label {
  display: block;
  margin-bottom: 4px;
  color: #b0a898;
  font-size: 0.8rem;
  font-weight: 600;
}

.npcs-filters input {
  min-width: 160px;
  padding: 8px 12px;
  color: #f0f0f0;
  background: #1a1816;
  border: 1px solid rgba(140, 115, 80, 0.5);
  border-radius: 6px;
  font-size: 13px;
}

.npcs-filters input::placeholder {
  color: #8a8070;
}

.npcs-list-title {
  width: 100%;
  margin: 0 0 12px;
  color: #f0f0f0;
  font-size: 1.05rem;
  font-weight: 500;
}

.npc-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.npc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #c4a86a;
  text-decoration: none;
  font-size: 14px;
}

.npc-back:hover {
  color: #d4b868;
}

.npc-detail-card {
  padding: 24px 28px 28px;
  background: linear-gradient(180deg, #1e1b18 0%, #252119 25%, #221d1a 50%, #1c1814 75%, #141210 100%);
  border: 1px solid rgba(140, 115, 80, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 248, 235, 0.06);
}

.npc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(140, 115, 80, 0.35);
}

.npc-outfit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  background: linear-gradient(180deg, #0c0b09 0%, #12100e 50%, #0c0b09 100%);
  border: 1px solid rgba(140, 115, 80, 0.5);
  border-radius: 10px;
}

.npc-outfit-wrap .npc-icon {
  color: #8c7350;
  font-size: 3rem;
}

.npc-outfit-wrap .npc-outfit-slot {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  margin: 0;
  flex-shrink: 0;
}

.npc-outfit-wrap .npc-outfit-slot.player-outfit-32-slot .npc-outfit-img.player-outfit-32 {
  display: block;
  margin: 0;
}

.npc-outfit-wrap .npc-outfit-slot.monster-outfit-32-slot .npc-outfit-img.monster-outfit-32 {
  display: block;
  margin: 0;
}

.npc-outfit-wrap .npc-outfit-slot.monster-outfit-128-slot .npc-outfit-img.monster-outfit-128 {
  display: block;
  margin: 0;
}

.npc-outfit-wrap .npc-outfit-slot .outfit-placeholder-icon {
  color: #8c7350;
  font-size: 3rem;
}

.npc-title h1 {
  margin: 0;
  color: #d4b868;
  font-size: 1.75rem;
  font-weight: 700;
}

.npc-location-section {
  margin-bottom: 24px;
}

.npc-location-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #c4a86a;
  font-size: 0.95rem;
  font-weight: 600;
}

.npc-map-container,
.npc-map-placeholder {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(205, 156, 72, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.npc-map-container {
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.npc-map-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: 3072px 3072px;
  background-repeat: no-repeat;
}

.npc-map-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.npc-map-crosshair::before,
.npc-map-crosshair::after {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.npc-map-crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.npc-map-crosshair::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.npc-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  background: #0c0b09;
  font-size: 13px;
}

.npc-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.npc-services-section {
  margin-top: 28px;
}

.npc-items-row .npc-services-section {
  flex: 1 1 280px;
  min-width: 0;
  margin-top: 0;
}

.npc-services-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  color: #d4b868;
  border-bottom: 1px solid rgba(140, 115, 80, 0.3);
  font-size: 1.1rem;
  font-weight: 600;
}

.npc-service-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: rgba(12, 11, 9, 0.5);
  border: 1px solid rgba(100, 82, 58, 0.35);
  border-radius: 8px;
}

.npc-service-table th,
.npc-service-table td {
  padding: 12px 16px;
  text-align: left;
}

.npc-service-table th {
  color: #c4a86a;
  background: rgba(140, 115, 80, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.npc-service-table td {
  color: #e0d8c8;
  border-top: 1px solid rgba(100, 82, 58, 0.25);
  font-size: 14px;
}

.npc-service-table tr:hover td {
  background: rgba(255, 248, 235, 0.03);
}

.npc-service-table .price {
  color: #b8a040;
  font-weight: 600;
  white-space: nowrap;
}

.npc-service-table .spell-words {
  color: #9a9078;
  font-family: monospace;
  font-size: 12px;
}

.npc-empty {
  padding: 12px 0;
  color: #8a8070;
  font-style: italic;
}

@media (max-width: 992px) {
  .npcs-filters {
    gap: 10px;
  }

  .npcs-filters > div {
    width: calc(50% - 5px);
    min-width: 0;
  }

  .npcs-filters input {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .npcs-filters > div {
    width: 100%;
  }

  .npc-detail-card {
    padding: 18px;
  }
}
