@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --color-primary: #8b5cf6;
  --color-primary-hover: #a78bfa;
  --color-primary-text: #ffffff;
  --color-primary-text-hover: #ffffff;

  --rv-bg: #07070b;
  --rv-bg-soft: #101018;
  --rv-bg-card: rgba(18, 16, 28, 0.88);
  --rv-bg-card-hover: rgba(27, 22, 42, 0.92);

  --rv-purple: #8b5cf6;
  --rv-purple-soft: #c4b5fd;
  --rv-gold: #d6b36a;
  --rv-border: rgba(196, 181, 253, 0.16);
  --rv-border-hover: rgba(196, 181, 253, 0.34);

  --rv-text: #f5f2ff;
  --rv-text-soft: #b9b4cb;

  --rv-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --rv-glow: 0 0 28px rgba(139, 92, 246, 0.22);

  --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Inter, Lato, sans-serif;
  background:
    radial-gradient(circle at top, rgba(139, 92, 246, 0.18), transparent 36%),
    linear-gradient(to bottom, rgba(7, 7, 11, 0.94), rgba(7, 7, 11, 1)),
    var(--bg-image) center top / cover no-repeat fixed;
  color: var(--rv-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.16), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(214, 179, 106, 0.08), transparent 28%),
    linear-gradient(to bottom, rgba(7, 7, 11, 0.15), rgba(7, 7, 11, 0.95));
  pointer-events: none;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-primary {
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 24px rgb(from var(--btn-color-bg-hover) r g b / 0.28);
}

.quantity-field {
  border-radius: 8px;
}

.site-header {
  position: relative;
}

.site-header-inner {
  position: relative;
}

.site-header-inner .info .image {
  border-radius: 8px;
}

.site-sale-banner {
  border-radius: 8px;
  border: 1px solid rgba(214, 179, 106, 0.28);
  box-shadow: 0 0 20px rgba(214, 179, 106, 0.12);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-home-categories .category {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 22px var(--widget-padding);
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
  transition:
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.site-home-categories .category::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 58%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.site-home-categories .category:hover {
  color: var(--rv-purple-soft);
  transform: translateY(-2px);
  background: var(--rv-bg-card-hover);
  border-color: var(--rv-border-hover);
  box-shadow: var(--rv-shadow), var(--rv-glow);
}

.site-home-categories .category:hover::before {
  opacity: 1;
}

.category-description {
  border-radius: 12px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}

.store-text {
  border-radius: 12px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-products-list .store-product,
.store-products-images .store-product {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  transform: translateY(-3px);
  background: var(--rv-bg-card-hover);
  border-color: var(--rv-border-hover);
  box-shadow: var(--rv-shadow), var(--rv-glow);
}

.store-products-images .store-product {
  text-align: center;
}

.product-title,
.product-title a {
  color: var(--rv-text);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.product-title a:hover {
  color: var(--rv-purple-soft);
}

.widget-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--rv-text-soft);
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  border-radius: 12px;
  box-shadow: var(--rv-shadow);
}

.store-product-full {
  border-radius: 14px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}

.store-product .image,
.store-product-full .image {
  border-radius: 10px;
}

.store-product .quantity-field {
  border-radius: 8px;
  background: rgba(10, 9, 16, 0.72);
  border: 1px solid var(--rv-border);
}

.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 12px;
    background: rgba(12, 10, 18, 0.86);
    border: 1px solid var(--rv-border);
    box-shadow: var(--rv-shadow);
  }
}

.navigation-horizontal .has-children > ul {
  border-radius: 12px;
  background: rgba(12, 10, 18, 0.96);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow), var(--rv-glow);
}

.site-navigation a {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-navigation a:hover,
.site-navigation .link-active {
  color: var(--rv-purple-soft);
}

.widget {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}

.widget::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

.widget > * {
  position: relative;
}

@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 6px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid var(--rv-border);
}

.widget-top-donator .avatar {
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.42);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.3);
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.8);
  border: 1px solid var(--rv-border);
  overflow: hidden;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rv-purple), var(--rv-purple-soft), var(--rv-gold));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.38);
}

.popup-content {
  border-radius: 14px;
  background: rgba(14, 12, 22, 0.96);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow), var(--rv-glow);
}

.popup-close {
  border-radius: 0 14px 0 14px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 12px;
  background: rgba(16, 14, 24, 0.88);
  border: 1px solid var(--rv-border);
}

.basket-item .quantity {
  border-radius: 6px;
}

.toast {
  border-radius: 10px;
  background: rgba(14, 12, 22, 0.96);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow), var(--rv-glow);
}

.toast-close {
  border-radius: 6px;
}

.store-category-tiered {
  border-radius: 14px;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-product-tiered {
  border-radius: 14px;
  background: rgba(10, 9, 16, 0.7);
  border: 1px solid var(--rv-border);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.store-product-tiered:hover {
  transform: translateY(-3px);
  border-color: var(--rv-border-hover);
  box-shadow: var(--rv-glow);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 12px;
  overflow: hidden;
}

.media-slider .open-lightbox {
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popup.popup-media-slider .thumb {
  border-radius: 12px;
}

.popup.popup-media-slider .popup-close {
  border-radius: 12px;
}

/* RuneVeil store review improvements: compact hierarchy and accessible actions. */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #f3d58a;
  outline-offset: 3px;
}

.rv-site-header .site-header-inner {
  min-height: 72px;
  padding-block: 10px;
}

.rv-header-card {
  min-height: 48px;
}

.rv-site-logo {
  max-height: 58px;
  width: auto;
}

.rv-home-hero-compact {
  min-height: 0;
  margin-block: clamp(18px, 3vw, 34px) clamp(14px, 2vw, 24px);
  padding: clamp(24px, 4vw, 48px);
}

.rv-home-hero-compact .rv-home-hero-content {
  max-width: 760px;
}

.rv-home-title {
  margin-block: 6px 8px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.rv-home-subtitle {
  max-width: 62ch;
  margin-block: 0;
  color: var(--rv-text-soft);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
}

.rv-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}

.rv-hero-browse,
.rv-purchase-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  background: #0048ff;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.rv-hero-browse:hover,
.rv-hero-browse:focus,
.rv-purchase-action:hover,
.rv-purchase-action:focus {
  color: #fff;
  background: #0037c7;
}

.rv-hero-browse:focus-visible,
.rv-purchase-action:focus-visible {
  outline: 3px solid #f3d58a;
  outline-offset: 3px;
}

.rv-purchase-action[aria-disabled="true"],
.rv-purchase-action:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  pointer-events: none;
}

.rv-hero-support {
  color: var(--rv-text);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.rv-home-categories {
  scroll-margin-top: 20px;
}

.site-home-categories .rv-category-card {
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
}

.rv-category-image,
.rv-category-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 220px;
  border-radius: 10px;
}

.rv-category-image {
  object-fit: cover;
  object-position: center;
}

.rv-category-image-fallback {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--rv-purple-soft);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(214, 179, 106, 0.08)),
    var(--rv-bg-soft);
  border: 1px solid var(--rv-border);
}

.rv-category-image-fallback span {
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rv-category-card-content {
  position: relative;
  z-index: 1;
}

.rv-category-card-title {
  margin: 0;
  line-height: 1.2;
}

.rv-category-card-enter {
  display: inline-block;
  margin-top: 6px;
  color: var(--rv-text-soft);
  font-weight: 700;
}

.rv-product-image-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--rv-bg-soft);
}

.rv-product-card .rv-product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rv-purchase-summary {
  margin-bottom: 16px;
  padding: 16px 18px;
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid var(--rv-border);
  border-radius: 10px;
}

.rv-purchase-summary p {
  margin: 0;
}

.rv-purchase-summary p + p {
  margin-top: 8px;
}

.rv-confirmed-benefit {
  color: var(--rv-text);
  font-weight: 800;
}

.rv-purchase-help {
  color: var(--rv-text-soft);
}

.rv-purchase-help a {
  color: var(--rv-purple-soft);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.rv-status-unavailable {
  color: #f5f2ff;
  background: #4b445d;
}

.rv-rank-comparison {
  margin-bottom: clamp(22px, 4vw, 36px);
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  border-radius: 14px;
  box-shadow: var(--rv-shadow);
}

.rv-rank-comparison-heading h2 {
  margin-block: 4px 0;
  color: var(--rv-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.rv-rank-comparison-heading p {
  margin-block: 8px 18px;
  color: var(--rv-text-soft);
}

.rv-rank-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rv-border);
  border-radius: 10px;
}

.rv-rank-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.rv-rank-table th,
.rv-rank-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--rv-border);
}

.rv-rank-table thead th {
  color: var(--rv-purple-soft);
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-rank-table tbody tr:last-child > * {
  border-bottom: 0;
}

.rv-rank-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.06);
}

.rv-rank-table a {
  color: var(--rv-text);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.rv-rank-table ul {
  margin: 0;
  padding-left: 18px;
}

.rv-rank-table li + li {
  margin-top: 3px;
}

@media (width <= 720px) {
  .rv-site-header .site-header-inner {
    min-height: 60px;
  }

  .rv-home-hero-compact {
    padding: 22px 18px;
  }

  .rv-home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rv-hero-browse {
    width: 100%;
  }

  .site-home-categories .rv-category-card {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Whole-store visual system: compact, product-forward RuneVeil presentation. */
:root {
  --rv-bg: #08070d;
  --rv-bg-soft: #100d18;
  --rv-bg-raised: #161121;
  --rv-bg-card: rgba(18, 14, 28, 0.94);
  --rv-bg-card-hover: rgba(25, 19, 38, 0.98);
  --rv-gold: #e2c275;
  --rv-gold-soft: #f2dda5;
  --rv-violet: #8066e8;
  --rv-violet-soft: #c6b8ff;
  --rv-cyan: #78d8da;
  --rv-text: #f7f3ff;
  --rv-text-soft: #c3bdcf;
  --rv-border: rgba(198, 184, 255, 0.18);
  --rv-border-strong: rgba(226, 194, 117, 0.34);
  --rv-action-bg: #e2c275;
  --rv-action-hover: #f2d890;
  --rv-action-text: #0b0812;
  --rv-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
  --rv-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.28);
  --rv-content-width: 1280px;
}

body {
  background:
    radial-gradient(circle at 18% -8%, rgba(128, 102, 232, 0.2), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(226, 194, 117, 0.08), transparent 24%),
    linear-gradient(180deg, #0b0912 0%, #07060b 72%);
}

.rv-site {
  min-height: 100vh;
}

.rv-site-header {
  border-bottom: 1px solid rgba(226, 194, 117, 0.14);
  background: rgba(8, 7, 13, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.rv-header-inner,
.rv-footer-inner {
  width: min(var(--rv-content-width), calc(100% - 40px));
  margin-inline: auto;
}

.rv-site-header .rv-header-inner {
  min-height: 76px;
  padding-block: 9px;
}

.rv-site-title {
  margin: 0;
}

.rv-site-logo {
  max-height: 54px;
}

.rv-site-name {
  color: var(--rv-text);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rv-header-card,
.rv-user-button,
.rv-login-button,
.rv-basket-button {
  min-height: 42px;
  border-radius: 10px;
}

.rv-home-hero-compact {
  display: block !important;
  width: min(var(--rv-content-width), calc(100% - 40px));
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 26px auto 18px !important;
  padding: clamp(30px, 5vw, 64px) clamp(24px, 6vw, 76px) !important;
  overflow: hidden;
  border: 1px solid var(--rv-border-strong);
  border-radius: 22px;
  background:
    linear-gradient(100deg, rgba(13, 10, 21, 0.97) 0%, rgba(18, 13, 30, 0.9) 62%, rgba(41, 29, 42, 0.74) 100%),
    radial-gradient(circle at 82% 32%, rgba(226, 194, 117, 0.18), transparent 26%);
  box-shadow: var(--rv-shadow);
}

.rv-home-hero-compact::after {
  content: "ᚱ";
  position: absolute;
  right: clamp(22px, 7vw, 94px);
  top: 50%;
  color: rgba(226, 194, 117, 0.12);
  font-family: Georgia, serif;
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.rv-home-hero-content {
  position: relative;
  z-index: 1;
}

.rv-home-title {
  max-width: 10ch;
  color: var(--rv-text);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.96;
}

.rv-category-tag {
  color: var(--rv-gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rv-home-subtitle {
  max-width: 58ch;
  color: var(--rv-text-soft);
}

.rv-hero-browse,
.rv-purchase-action {
  color: var(--rv-action-text) !important;
  background: var(--rv-action-bg) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(226, 194, 117, 0.18);
}

.rv-hero-browse:hover,
.rv-hero-browse:focus,
.rv-purchase-action:hover,
.rv-purchase-action:focus {
  color: var(--rv-action-text) !important;
  background: var(--rv-action-hover) !important;
}

.rv-store-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rv-store-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--rv-text-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--rv-border);
  border-radius: 10px;
  font-size: 0.82rem;
}

.rv-store-steps span {
  color: var(--rv-gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.rv-store-steps strong {
  color: var(--rv-text);
  font-weight: 750;
}

.rv-home-categories {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px !important;
  width: min(var(--rv-content-width), calc(100% - 40px));
  margin: 0 auto 28px !important;
}

.rv-home-categories-heading {
  grid-column: 1 / -1;
  padding: 18px 4px 4px;
}

.rv-section-heading h2 {
  margin: 3px 0 4px;
  color: var(--rv-text);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.rv-section-heading p {
  max-width: 64ch;
  margin: 0;
  color: var(--rv-text-soft);
}

.site-home-categories .rv-category-card {
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-height: 0;
  padding: 10px;
  border-color: var(--rv-border);
  border-radius: 15px;
  box-shadow: var(--rv-shadow-soft);
}

.rv-category-image,
.rv-category-image-fallback {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  border-radius: 11px;
}

.rv-category-image {
  object-fit: cover;
}

.rv-category-image-fallback {
  position: relative;
  background:
    radial-gradient(circle at 50% 35%, rgba(128, 102, 232, 0.3), transparent 34%),
    linear-gradient(145deg, #1d1630, #0e0b16);
}

.rv-category-image-fallback::before {
  content: "◈";
  color: var(--rv-violet-soft);
  font-size: 2.2rem;
  text-shadow: 0 0 22px rgba(128, 102, 232, 0.5);
}

.rv-category-image-fallback-cobblemon::before {
  content: "✦";
  color: var(--rv-cyan);
}

.rv-category-image-fallback-mythic-survival::before {
  content: "ᛉ";
  color: var(--rv-gold);
}

.rv-category-image-fallback span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.rv-category-card-content {
  padding: 2px 4px 6px;
}

.rv-category-card-title {
  font-size: 1rem;
}

.rv-category-card-enter {
  color: var(--rv-gold-soft);
  font-size: 0.76rem;
}

.rv-category-art-note {
  display: block;
  margin: 3px 0 5px;
  color: var(--rv-text-soft);
  font-size: 0.66rem;
  line-height: 1.25;
}

.rv-page-shell {
  width: min(var(--rv-content-width), calc(100% - 40px));
  margin: 30px auto !important;
}

.site-content-widgets.rv-page-shell {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.site-content-widgets.rv-page-shell > main {
  grid-column: 2;
}

.site-content-widgets.rv-page-shell > .rv-store-sidebar {
  grid-column: 1;
  grid-row: 1;
}

.is-sidebar-right .site-content-widgets.rv-page-shell {
  grid-template-columns: minmax(0, 1fr) 270px;
}

.is-sidebar-right .site-content-widgets.rv-page-shell > main {
  grid-column: 1;
}

.is-sidebar-right .site-content-widgets.rv-page-shell > .rv-store-sidebar {
  grid-column: 2;
}

.rv-store-sidebar {
  display: grid;
  gap: 14px;
}

.rv-sidebar-navigation,
.rv-sidebar-modules > .widget,
.rv-sidebar-modules .widget {
  border-radius: 14px;
}

.rv-navigation-vertical {
  padding: 8px;
}

.rv-navigation-vertical .rv-nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--rv-text-soft);
  font-size: 0.78rem;
}

.rv-navigation-vertical .rv-nav-link:hover,
.rv-navigation-vertical .rv-link-active {
  color: var(--rv-text);
  background: rgba(128, 102, 232, 0.14);
}

.rv-store-guide {
  overflow: hidden;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border);
  border-radius: 16px;
  box-shadow: var(--rv-shadow-soft);
}

.rv-store-guide > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.rv-store-guide > summary::-webkit-details-marker {
  display: none;
}

.rv-store-guide-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--rv-gold);
  background: rgba(226, 194, 117, 0.08);
  border: 1px solid rgba(226, 194, 117, 0.24);
  border-radius: 50%;
}

.rv-store-guide-label {
  display: grid;
  gap: 2px;
}

.rv-store-guide-label strong {
  color: var(--rv-text);
}

.rv-store-guide-label small {
  color: var(--rv-text-soft);
}

.rv-store-guide-action {
  color: var(--rv-gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rv-store-guide[open] .rv-store-guide-action::after {
  content: " · Close";
}

.rv-store-guide-content {
  margin: 0;
  padding: clamp(20px, 4vw, 38px);
  border: 0;
  border-top: 1px solid var(--rv-border);
  border-radius: 0;
  box-shadow: none;
}

.rv-category-hero,
.rv-product-hero {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(24, 17, 38, 0.96), rgba(13, 10, 20, 0.96)),
    radial-gradient(circle at 86% 20%, rgba(226, 194, 117, 0.16), transparent 28%);
  border: 1px solid var(--rv-border-strong);
  border-radius: 18px;
}

.rv-category-title,
.rv-product-title {
  margin-block: 5px 0;
  color: var(--rv-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.rv-category-description {
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rv-category-count {
  margin: 14px 0 0;
  color: var(--rv-gold-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rv-product-grid,
.store-products-images.rv-product-grid,
.store-products-list.rv-product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px !important;
}

.rv-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 10px;
  border-radius: 16px !important;
}

.rv-product-image-link {
  background: #0b0911;
}

.rv-product-card .rv-product-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.rv-product-card-content {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 14px 6px 6px;
}

.rv-product-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.rv-product-card-actions .price {
  color: var(--rv-gold);
  font-size: 1.08rem;
  font-weight: 900;
}

.rv-rank-comparison {
  border-color: var(--rv-border-strong);
}

.rv-rank-table thead th {
  color: var(--rv-gold-soft);
  background: rgba(226, 194, 117, 0.08);
}

.rv-product-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  padding: 18px;
}

.rv-product-page > .rv-product-hero,
.rv-product-page > .rv-product-description {
  grid-column: 1 / -1;
}

.rv-product-page > .rv-product-media-panel {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 0;
}

.rv-product-page > .rv-purchase-summary,
.rv-product-page > .rv-product-actions {
  grid-column: 2;
  margin: 0;
}

.rv-product-media-panel,
.rv-purchase-summary,
.rv-product-actions,
.rv-product-description {
  padding: 18px;
  background: rgba(12, 9, 18, 0.7);
  border: 1px solid var(--rv-border);
  border-radius: 14px;
}

.rv-product-page .rv-product-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.rv-product-description {
  color: var(--rv-text-soft);
}

.rv-checkout-panel,
.basket-popup-content {
  overflow: hidden;
  background: var(--rv-bg-card);
  border: 1px solid var(--rv-border-strong);
  border-radius: 18px;
  box-shadow: var(--rv-shadow);
}

.rv-checkout-header,
.rv-checkout-footer {
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(110deg, rgba(128, 102, 232, 0.14), rgba(226, 194, 117, 0.05));
}

.rv-basket-item {
  border-color: var(--rv-border);
  border-radius: 12px;
}

.rv-empty-category,
.no-products {
  padding: clamp(28px, 6vw, 56px);
  color: var(--rv-text-soft);
  text-align: center;
  background: var(--rv-bg-card);
  border: 1px dashed var(--rv-border-strong);
  border-radius: 16px;
}

.rv-site-footer {
  margin-top: 50px;
  padding-block: 34px;
  background: rgba(8, 6, 12, 0.92);
  border-top: 1px solid var(--rv-border);
}

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

.rv-footer-title {
  margin: 0;
  color: var(--rv-text);
}

.rv-footer-description,
.rv-copyright,
.rv-footer-disclaimer {
  color: var(--rv-text-soft);
}

.rv-footer-bottom {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--rv-border);
}

@media (width <= 1040px) {
  .rv-home-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-content-widgets.rv-page-shell,
  .is-sidebar-right .site-content-widgets.rv-page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-content-widgets.rv-page-shell > main,
  .site-content-widgets.rv-page-shell > .rv-store-sidebar,
  .is-sidebar-right .site-content-widgets.rv-page-shell > main,
  .is-sidebar-right .site-content-widgets.rv-page-shell > .rv-store-sidebar {
    grid-column: 1;
  }

  .site-content-widgets.rv-page-shell > main {
    grid-row: 1;
  }

  .site-content-widgets.rv-page-shell > .rv-store-sidebar {
    grid-row: 2;
  }
}

@media (width <= 720px) {
  .rv-header-inner,
  .rv-footer-inner,
  .rv-home-hero-compact,
  .rv-home-categories,
  .rv-page-shell {
    width: min(100% - 24px, var(--rv-content-width));
  }

  .rv-home-hero-compact {
    margin-top: 14px !important;
    padding: 26px 20px !important;
    border-radius: 16px;
  }

  .rv-home-hero-compact::after {
    right: -18px;
    opacity: 0.6;
  }

  .rv-home-title {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .rv-store-steps {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 22px;
  }

  .rv-store-steps li {
    padding: 9px 10px;
  }

  .rv-home-categories {
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  .rv-home-categories-heading {
    padding-inline: 0;
  }

  .site-home-categories .rv-category-card {
    padding: 8px;
    border-radius: 13px;
  }

  .rv-category-card-title {
    font-size: 0.92rem;
  }

  .rv-store-guide > summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rv-store-guide-action {
    display: none;
  }

  .rv-product-grid,
  .store-products-images.rv-product-grid,
  .store-products-list.rv-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  .rv-product-card-content {
    padding: 11px 3px 3px;
  }

  .rv-rank-table-scroll {
    overflow: visible;
    border: 0;
  }

  .rv-rank-table {
    display: block;
    min-width: 0;
  }

  .rv-rank-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

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

  .rv-rank-table tbody {
    display: grid;
    gap: 10px;
  }

  .rv-rank-table tr {
    overflow: hidden;
    background: rgba(12, 9, 18, 0.72);
    border: 1px solid var(--rv-border);
    border-radius: 12px;
  }

  .rv-rank-table th,
  .rv-rank-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--rv-border);
  }

  .rv-rank-table th[scope="row"] {
    color: var(--rv-text);
    background: rgba(128, 102, 232, 0.12);
    font-size: 1rem;
  }

  .rv-rank-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--rv-gold);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

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

  .rv-product-page {
    display: block;
    padding: 10px;
  }

  .rv-product-page > * + * {
    margin-top: 10px !important;
  }

  .rv-footer-inner {
    grid-template-columns: 1fr;
  }

  .rv-footer-bottom {
    grid-column: 1;
  }
}

@media (width <= 440px) {
  .rv-home-categories,
  .rv-product-grid,
  .store-products-images.rv-product-grid,
  .store-products-list.rv-product-grid {
    grid-template-columns: 1fr;
  }

  .rv-category-image,
  .rv-category-image-fallback {
    aspect-ratio: 16 / 9;
  }
}

/* Product-first category flow and native mobile store controls. */
body.rv-theme,
html:has(body.rv-theme) {
  max-width: 100%;
  overflow-x: hidden;
}

.rv-mobile-actions {
  display: none !important;
}

.rv-product-grid-ranks {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.rv-rank-comparison {
  margin-top: 22px;
  padding: 0;
}

.rv-rank-comparison > summary {
  list-style: none;
}

.rv-rank-comparison > summary::-webkit-details-marker {
  display: none;
}

.rv-rank-comparison-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 3vw, 26px);
  cursor: pointer;
}

.rv-rank-comparison-heading {
  display: block;
}

.rv-rank-comparison-heading p {
  margin-bottom: 0;
}

.rv-rank-comparison-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--rv-action-text);
  background: var(--rv-action-bg);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rv-rank-comparison[open] .rv-rank-comparison-action {
  color: var(--rv-text);
  background: rgba(128, 102, 232, 0.16);
}

.rv-rank-comparison[open] .rv-rank-comparison-action::before {
  content: "Close ";
}

.rv-rank-comparison[open] .rv-rank-comparison-action {
  font-size: 0;
}

.rv-rank-comparison[open] .rv-rank-comparison-action::before {
  font-size: 0.76rem;
}

.rv-rank-comparison .rv-rank-table-scroll {
  margin: 0 clamp(18px, 3vw, 26px) clamp(18px, 3vw, 26px);
}

@media (width <= 1200px) and (width > 720px) {
  .rv-product-grid-ranks {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .rv-product-grid-ranks > * {
    grid-column: span 2;
  }

  .rv-product-grid-ranks > :nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (width <= 960px) {
  .rv-site-header .rv-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .rv-site-title {
    grid-column: 1;
    grid-row: 1;
  }

  .rv-header-right {
    display: none !important;
  }

  .rv-mobile-actions {
    position: relative;
    z-index: 12;
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 6px;
  }

  .rv-mobile-store-menu {
    position: static;
  }

  .rv-mobile-menu-toggle,
  .rv-mobile-basket-button {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .rv-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
  }

  .rv-mobile-menu-toggle::-webkit-details-marker {
    display: none;
  }

  .rv-mobile-store-menu[open] .rv-mobile-menu-toggle {
    color: var(--rv-action-text);
    background: var(--rv-action-bg);
  }

  .rv-mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 92px));
    max-height: min(72vh, 620px);
    padding: 10px;
    overflow-y: auto;
    background: rgba(12, 9, 18, 0.99);
    border: 1px solid var(--rv-border-strong);
    border-radius: 14px;
    box-shadow: var(--rv-shadow);
  }

  .rv-mobile-account-link {
    display: block;
    margin-bottom: 8px;
    padding: 11px 12px;
    color: var(--rv-gold-soft);
    background: rgba(226, 194, 117, 0.07);
    border: 1px solid rgba(226, 194, 117, 0.2);
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
  }

  .rv-mobile-menu-panel .rv-site-navigation {
    display: block !important;
    position: static !important;
    width: 100% !important;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none !important;
  }

  .rv-mobile-menu-panel .rv-navigation-list {
    display: grid !important;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rv-mobile-menu-panel .rv-nav-link,
  .rv-mobile-menu-panel .rv-subnav-link {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    text-decoration: none;
  }

  .rv-mobile-menu-panel .rv-subnav-list {
    margin: 2px 0 6px 12px;
    padding-left: 8px;
    border-left: 1px solid var(--rv-border);
  }

  .rv-mobile-menu-panel .rv-close-navigation,
  .rv-mobile-menu-panel .rv-nav-toggle {
    display: none !important;
  }
}

@media (width <= 720px) {
  .rv-product-grid-ranks {
    grid-template-columns: 1fr 1fr !important;
  }

  .rv-rank-comparison-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rv-rank-comparison-action {
    width: 100%;
    justify-content: center;
  }
}

@media (width <= 440px) {
  .rv-product-grid-ranks {
    grid-template-columns: 1fr !important;
  }
}

/* Whole-store refinement checkpoint: hierarchy, density, identity, and states. */
:root {
  --rv-radius-sm: 8px;
  --rv-radius-md: 12px;
  --rv-radius-lg: 18px;
  --rv-display-font: Georgia, "Times New Roman", serif;
}

.rv-home-title,
.rv-section-heading h2,
.rv-category-title,
.rv-product-title,
.rv-purchase-heading,
.rv-rank-comparison-heading h2 {
  font-family: var(--rv-display-font);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rv-site-logo-link {
  align-items: center;
  min-height: 44px;
}

.rv-site-logo {
  width: auto;
  max-width: min(260px, 44vw);
  object-fit: contain;
}

.rv-home-hero-compact {
  min-height: 360px !important;
  padding-block: clamp(34px, 5vw, 58px) !important;
  background:
    linear-gradient(96deg, rgba(10, 8, 17, 0.98) 0%, rgba(18, 13, 30, 0.92) 58%, rgba(29, 22, 36, 0.72) 100%),
    radial-gradient(circle at 82% 34%, rgba(120, 216, 218, 0.1), transparent 24%),
    radial-gradient(circle at 78% 44%, rgba(226, 194, 117, 0.18), transparent 34%);
}

.rv-home-hero-compact::after {
  content: "\16B1";
  right: clamp(28px, 8vw, 110px);
  color: rgba(226, 194, 117, 0.15);
  font-size: clamp(8rem, 20vw, 15rem);
}

.rv-home-title {
  max-width: 11ch;
  text-wrap: balance;
}

.rv-category-tag,
.rv-footer-label,
.rv-widget-kicker {
  letter-spacing: 0.11em;
}

.rv-home-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.site-home-categories .rv-category-card {
  overflow: hidden;
  border-radius: var(--rv-radius-md);
}

.rv-category-image,
.rv-category-image-fallback {
  aspect-ratio: 16 / 10;
  border-radius: var(--rv-radius-sm);
}

.rv-category-image-fallback {
  isolation: isolate;
  overflow: hidden;
}

.rv-category-image-fallback::after {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border: 1px solid rgba(198, 184, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(128, 102, 232, 0.04), 0 0 38px rgba(128, 102, 232, 0.18);
}

.rv-category-image-fallback-cobblemon {
  background:
    radial-gradient(circle at 50% 42%, rgba(120, 216, 218, 0.28), transparent 28%),
    linear-gradient(150deg, #17292e, #0e111b 64%, #171029);
}

.rv-category-image-fallback-mythic-survival,
.rv-category-image-fallback-mythic-smp,
.rv-category-image-fallback-mythicsmp {
  background:
    radial-gradient(circle at 50% 40%, rgba(226, 194, 117, 0.23), transparent 26%),
    linear-gradient(150deg, #241d30, #0d0a15 65%, #27192c);
}

.rv-network-support-category {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(110deg, rgba(226, 194, 117, 0.08), rgba(128, 102, 232, 0.06)),
    rgba(12, 9, 18, 0.72);
  border: 1px solid var(--rv-border-strong);
  border-radius: var(--rv-radius-lg);
}

.rv-network-support-heading {
  align-self: center;
}

.rv-network-support-heading h2 {
  margin: 4px 0 8px;
  color: var(--rv-text);
  font-family: var(--rv-display-font);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.rv-network-support-heading p,
.rv-category-scope {
  max-width: 62ch;
  margin: 0;
  color: var(--rv-text-soft);
}

.rv-network-support-card {
  display: grid !important;
  grid-template-columns: 116px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center;
}

.rv-network-support-card .rv-category-image,
.rv-network-support-card .rv-category-image-fallback {
  height: 100%;
  min-height: 104px;
  aspect-ratio: 1;
}

.rv-comparison-entry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 9px 13px;
  color: var(--rv-gold-soft);
  background: rgba(226, 194, 117, 0.08);
  border: 1px solid rgba(226, 194, 117, 0.25);
  border-radius: var(--rv-radius-sm);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.rv-comparison-entry::after {
  content: " ↓";
  margin-left: 6px;
}

.rv-product-grid-ranks {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.rv-product-grid-ranks > * {
  grid-column: span 2;
}

.rv-product-grid-ranks > :nth-child(4) {
  grid-column: 2 / span 2;
}

.rv-product-grid-ranks .rv-product-card {
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 196px;
}

.rv-product-grid-ranks .rv-product-image-link {
  min-height: 176px;
  overflow: hidden;
  border-radius: var(--rv-radius-sm);
}

.rv-product-grid-ranks .rv-product-card .rv-product-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 52%;
}

.rv-product-grid-ranks .rv-product-card-content {
  align-content: center;
  padding: 14px 10px 14px 14px;
}

.rv-product-grid-ranks .rv-product-card-title {
  font-size: 1.04rem;
}

.rv-product-grid-ranks .rv-product-card-actions .actions {
  gap: 8px;
}

.rv-rank-comparison {
  scroll-margin-top: 90px;
}

.rv-product-page {
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
  padding: 14px;
}

.rv-product-page > .rv-product-hero {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
}

.rv-product-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 12px 0 0;
  color: var(--rv-text-soft);
}

.rv-product-meta-label {
  color: var(--rv-gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-product-page > .rv-product-media-panel {
  grid-column: 1;
  grid-row: 2 / span 2;
  align-self: start;
  margin: 0;
}

.rv-product-page > .rv-purchase-panel {
  grid-column: 2;
  grid-row: 2;
}

.rv-product-page > .rv-product-description {
  grid-column: 2;
  grid-row: 3;
}

.rv-purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(130deg, rgba(226, 194, 117, 0.07), transparent 42%),
    rgba(12, 9, 18, 0.74);
  border: 1px solid var(--rv-border-strong);
  border-radius: var(--rv-radius-md);
}

.rv-purchase-panel .rv-purchase-summary,
.rv-purchase-panel .rv-product-actions {
  padding: 0;
  background: transparent;
  border: 0;
}

.rv-purchase-heading {
  margin: 0 0 8px;
  color: var(--rv-text);
  font-size: 1.35rem;
}

.rv-purchase-panel .rv-confirmed-benefit {
  margin: 0;
  color: var(--rv-text);
}

.rv-purchase-panel .rv-purchase-help {
  margin-top: 10px;
  color: var(--rv-text-soft);
}

.rv-purchase-panel .rv-product-actions {
  align-self: center;
}

.rv-product-media-panel-compact {
  overflow: hidden;
}

.rv-product-media-panel-compact > .rv-product-image {
  max-height: 430px;
}

.rv-product-artwork-expand {
  width: 100%;
  margin-top: 10px;
}

.rv-product-artwork-expand > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--rv-gold-soft);
  background: rgba(226, 194, 117, 0.06);
  border: 1px solid rgba(226, 194, 117, 0.22);
  border-radius: var(--rv-radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  list-style: none;
}

.rv-product-artwork-expand > summary::-webkit-details-marker {
  display: none;
}

.rv-product-image-expanded {
  display: block;
  width: 100%;
  max-height: 780px;
  margin-top: 10px;
  object-fit: contain;
}

.rv-product-description {
  min-height: 0;
}

.rv-product-description > h3:first-child,
.rv-product-description > h2:first-child {
  margin-top: 0;
  color: var(--rv-text);
  font-family: var(--rv-display-font);
}

.rv-product-flavor {
  color: var(--rv-violet-soft);
  font-family: var(--rv-display-font);
  font-size: 1.06rem;
  font-style: italic;
}

.rv-package-facts {
  padding-top: 12px;
  border-top: 1px solid var(--rv-border);
}

.rv-site-footer {
  margin-top: 38px;
  padding-block: 28px;
}

.rv-footer-inner {
  gap: 18px 34px;
}

.rv-footer-title {
  font-family: var(--rv-display-font);
}

.rv-footer-label {
  color: var(--rv-text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: none;
}

.rv-payment-list {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rv-status-unavailable {
  color: var(--rv-text-soft) !important;
  background: rgba(195, 189, 207, 0.07) !important;
  border-color: rgba(195, 189, 207, 0.18) !important;
}

.rv-server-widget:has(.rv-status-unavailable) .rv-server-playercount,
.rv-server-widget:has(.rv-status-unavailable) .rv-copy-hint {
  color: rgba(195, 189, 207, 0.72);
}

.btn-primary[disabled],
.btn-secondary[disabled],
.btn-tertiary[disabled],
.btn-disabled,
[aria-disabled="true"] {
  cursor: not-allowed !important;
  opacity: 0.56;
  box-shadow: none !important;
}

.is-loading,
[aria-busy="true"] {
  position: relative;
  color: transparent !important;
}

.is-loading::after,
[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  margin: -9px;
  border: 2px solid rgba(247, 243, 255, 0.28);
  border-top-color: var(--rv-gold);
  border-radius: 50%;
  animation: rv-spin 0.9s linear infinite;
}

@keyframes rv-spin {
  to { transform: rotate(360deg); }
}

@media (width <= 1120px) {
  .rv-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rv-product-grid-ranks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rv-product-grid-ranks > *,
  .rv-product-grid-ranks > :nth-child(4) {
    grid-column: auto;
  }

  .rv-product-grid-ranks > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(50%, 420px);
    justify-self: center;
  }

  .rv-purchase-panel {
    grid-template-columns: 1fr;
  }
}

@media (width <= 720px) {
  .rv-home-hero-compact {
    min-height: 0 !important;
  }

  .rv-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .rv-home-categories-heading,
  .rv-network-support-category {
    grid-column: 1 / -1;
  }

  .site-home-categories .rv-category-card {
    padding: 7px;
  }

  .rv-category-image,
  .rv-category-image-fallback {
    aspect-ratio: 4 / 3;
  }

  .rv-category-card-content {
    padding: 0 3px 4px;
  }

  .rv-category-card-title {
    font-size: 0.88rem;
  }

  .rv-category-card-enter {
    font-size: 0.7rem;
  }

  .rv-network-support-category {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .rv-network-support-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .rv-category-hero {
    padding: 20px;
  }

  .rv-product-grid-ranks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rv-product-grid-ranks .rv-product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rv-product-grid-ranks .rv-product-image-link {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .rv-product-grid-ranks .rv-product-card-content {
    gap: 8px;
    padding: 10px 4px 4px;
  }

  .rv-product-grid-ranks .rv-product-card-title {
    font-size: 0.9rem;
  }

  .rv-product-grid-ranks .rv-product-card-actions .price {
    font-size: 1rem;
  }

  .rv-product-grid-ranks .rv-purchase-action {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .rv-product-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px;
  }

  .rv-product-page > .rv-product-hero,
  .rv-product-page > .rv-purchase-panel,
  .rv-product-page > .rv-product-media-panel,
  .rv-product-page > .rv-product-description {
    width: 100%;
    margin: 0 !important;
  }

  .rv-product-page > .rv-product-hero { order: 1; }
  .rv-product-page > .rv-purchase-panel { order: 2; }
  .rv-product-page > .rv-product-media-panel { order: 3; }
  .rv-product-page > .rv-product-description { order: 4; }

  .rv-product-hero {
    padding: 18px;
  }

  .rv-product-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .rv-purchase-panel {
    gap: 12px;
    padding: 14px;
  }

  .rv-purchase-panel .rv-product-actions .actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .rv-purchase-panel .rv-product-actions .price {
    grid-row: 1 / span 2;
    margin: 0;
    white-space: nowrap;
  }

  .rv-purchase-panel .rv-product-actions .btn-secondary,
  .rv-purchase-panel .rv-product-actions .btn-tertiary {
    grid-column: 2;
  }

  .rv-product-media-panel-compact > .rv-product-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: 50% 46%;
  }

  .rv-footer-inner {
    gap: 16px;
  }

  .rv-payment-list {
    justify-content: flex-start;
  }
}

@media (width <= 390px) {
  .rv-product-grid-ranks {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rv-product-grid-ranks .rv-product-card-title {
    font-size: 0.84rem;
  }

  .rv-product-grid-ranks .rv-product-card-content {
    padding-inline: 2px;
  }
}

/* Real Tebex shell compatibility: neutralize fixed legacy header geometry. */
@media (width > 960px) {
  .rv-site-header .rv-header-inner {
    display: flex !important;
    height: auto !important;
    min-height: 76px !important;
    align-items: center;
    justify-content: space-between;
  }

  .rv-site-header .rv-site-title {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  .rv-site-header .rv-site-logo-link {
    display: flex;
  }

  .rv-site-header .rv-header-right {
    display: flex;
    width: auto;
    height: auto;
    margin-left: auto;
    align-items: center;
  }

  .rv-site-header .rv-login-button,
  .rv-site-header .rv-user-actions {
    position: static !important;
  }
}

/* Live package actions are wider than the static fixture; stack the panel safely. */
@media (width > 720px) {
  .rv-purchase-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .rv-purchase-panel .rv-product-actions .actions {
    width: 100%;
    margin: 0;
    overflow: visible;
    flex-wrap: wrap;
  }

  .rv-purchase-panel .rv-purchase-action {
    flex: 1 1 180px;
    min-width: 180px;
  }
}


/* 2026-10-10 storefront polish: compact hero, support block, misc cards. */

/* Keep the hero concise and center the complete "Enter the Veil" path. */
.rv-home-hero-compact {
  min-height: 0 !important;
  padding-block: clamp(26px, 3.5vw, 38px) !important;
}

.rv-home-hero-content {
  display: grid;
  width: min(900px, 100%);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.rv-home-title,
.rv-home-subtitle {
  max-width: none;
}

.rv-home-hero-actions {
  justify-content: center;
}

.rv-store-steps {
  width: min(760px, 100%);
  margin-inline: auto;
}

/* The decorative rune should not pull the centered content off balance. */
.rv-home-hero-compact::after {
  right: clamp(12px, 3vw, 42px);
  opacity: 0.55;
}

/* Make the network-wide callout a compact two-column strip. */
.rv-network-support-category {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 14px;
  padding: 18px;
}

.rv-network-support-card {
  position: relative;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  grid-template-rows: 112px !important;
  min-height: 132px;
  align-items: center;
}

.rv-network-support-card .rv-category-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rv-network-support-card .rv-category-image,
.rv-network-support-card .rv-category-image-fallback {
  grid-column: 1;
  grid-row: 1;
  width: 112px;
  height: 112px;
  min-height: 0;
}

.rv-network-support-card .rv-category-card-content {
  grid-column: 2;
  grid-row: 1;
}

/* Misc categories contain a single wide nametag preview, not a portrait card. */
.rv-product-grid[class*="rv-product-grid-misc-"] {
  grid-template-columns: minmax(0, 520px) !important;
  justify-content: center;
}

.rv-product-grid[class*="rv-product-grid-misc-"] .rv-product-card {
  width: min(100%, 520px);
  justify-self: center;
}

.rv-product-grid[class*="rv-product-grid-misc-"] .rv-product-image-link {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rv-product-grid[class*="rv-product-grid-misc-"] .rv-product-image {
  width: 100% !important;
  height: auto !important;
  max-height: 180px;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* The footer server cards are address shortcuts; omit volatile player counts. */
.rv-server-playercount {
  display: none !important;
}

@media (width <= 720px) {
  .rv-home-hero-content {
    width: 100%;
  }

  .rv-network-support-category {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .rv-network-support-card {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-rows: 88px !important;
    min-height: 108px;
  }

  .rv-network-support-card .rv-category-image,
  .rv-network-support-card .rv-category-image-fallback {
    width: 88px;
    height: 88px;
  }
}


/* Follow-up compact pass: center against the full card and reduce both callouts. */
.rv-home-hero-compact {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 32px !important;
}

.rv-home-hero-compact::after {
  display: none !important;
}

.rv-home-hero-content {
  width: min(680px, 100%);
}

.rv-home-title {
  margin-block: 2px 6px !important;
  font-size: clamp(46px, 5vw, 64px) !important;
  line-height: 0.98 !important;
}

.rv-home-subtitle {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.rv-home-hero-actions {
  margin-top: 14px !important;
}

.rv-store-steps {
  width: min(680px, 100%);
  margin-top: 18px !important;
}

.rv-network-support-category {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.rv-network-support-heading .rv-category-tag {
  margin-bottom: 8px;
}

.rv-network-support-heading h2 {
  margin-block: 0 4px;
  font-size: 28px;
  line-height: 1.2;
}

.rv-network-support-heading p {
  max-width: 520px;
  line-height: 1.4;
}

.rv-network-support-card {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  grid-template-rows: 84px !important;
  min-height: 100px;
  padding: 8px;
}

.rv-network-support-card .rv-category-image,
.rv-network-support-card .rv-category-image-fallback {
  width: 84px;
  height: 84px;
}

@media (width <= 720px) {
  .rv-home-hero-compact {
    width: calc(100% - 24px);
    padding: 20px 18px !important;
  }

  .rv-home-title {
    font-size: clamp(42px, 14vw, 58px) !important;
  }

  .rv-network-support-category {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }
}


/* Remove the legacy live-status cards from every storefront sidebar. */
.rv-server-widget {
  display: none !important;
}


/* Follow-up compact pass: center against the full card and reduce both callouts. */
.rv-home-hero-compact {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 32px !important;
}

.rv-home-hero-compact::after {
  display: none !important;
}

.rv-home-hero-content {
  width: min(680px, 100%);
}

.rv-home-title {
  margin-block: 2px 6px !important;
  font-size: clamp(46px, 5vw, 64px) !important;
  line-height: 0.98 !important;
}

.rv-home-subtitle {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.rv-home-hero-actions {
  margin-top: 14px !important;
}

.rv-store-steps {
  width: min(680px, 100%);
  margin-top: 18px !important;
}

.rv-network-support-category {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.rv-network-support-heading .rv-category-tag {
  margin-bottom: 8px;
}

.rv-network-support-heading h2 {
  margin-block: 0 4px;
  font-size: 28px;
  line-height: 1.2;
}

.rv-network-support-heading p {
  max-width: 520px;
  line-height: 1.4;
}

.rv-network-support-card {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  grid-template-rows: 84px !important;
  min-height: 100px;
  padding: 8px;
}

.rv-network-support-card .rv-category-image,
.rv-network-support-card .rv-category-image-fallback {
  width: 84px;
  height: 84px;
}

@media (width <= 720px) {
  .rv-home-hero-compact {
    width: calc(100% - 24px);
    padding: 20px 18px !important;
  }

  .rv-home-title {
    font-size: clamp(42px, 14vw, 58px) !important;
  }

  .rv-network-support-category {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }
}


/* Remove the legacy live-status cards from every storefront sidebar. */
.rv-server-widget {
  display: none !important;
}


/* Follow-up compact pass: center against the full card and reduce both callouts. */
.rv-home-hero-compact {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 32px !important;
}

.rv-home-hero-compact::after {
  display: none !important;
}

.rv-home-hero-content {
  width: min(680px, 100%);
}

.rv-home-title {
  margin-block: 2px 6px !important;
  font-size: clamp(46px, 5vw, 64px) !important;
  line-height: 0.98 !important;
}

.rv-home-subtitle {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.rv-home-hero-actions {
  margin-top: 14px !important;
}

.rv-store-steps {
  width: min(680px, 100%);
  margin-top: 18px !important;
}

.rv-network-support-category {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.rv-network-support-heading .rv-category-tag {
  margin-bottom: 8px;
}

.rv-network-support-heading h2 {
  margin-block: 0 4px;
  font-size: 28px;
  line-height: 1.2;
}

.rv-network-support-heading p {
  max-width: 520px;
  line-height: 1.4;
}

.rv-network-support-card {
  grid-template-columns: 84px minmax(0, 1fr) !important;
  grid-template-rows: 84px !important;
  min-height: 100px;
  padding: 8px;
}

.rv-network-support-card .rv-category-image,
.rv-network-support-card .rv-category-image-fallback {
  width: 84px;
  height: 84px;
}

@media (width <= 720px) {
  .rv-home-hero-compact {
    width: calc(100% - 24px);
    padding: 20px 18px !important;
  }

  .rv-home-title {
    font-size: clamp(42px, 14vw, 58px) !important;
  }

  .rv-network-support-category {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }
}


/* Remove the legacy live-status cards from every storefront sidebar. */
.rv-server-widget {
  display: none !important;
}


/* 2026-10-10: match the compact website header and override the legacy 128px logo rule. */
.rv-site-header .rv-header-inner {
  height: 74px !important;
  min-height: 74px !important;
  padding-block: 9px !important;
}

.rv-site-header .rv-site-title .rv-site-logo {
  width: auto !important;
  height: auto !important;
  max-width: min(190px, 58vw) !important;
  max-height: 56px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

@media (width <= 720px) {
  .rv-site-header .rv-header-inner {
    height: 66px !important;
    min-height: 66px !important;
    padding-block: 6px !important;
  }

  .rv-site-header .rv-site-title .rv-site-logo {
    max-width: min(180px, 64vw) !important;
    max-height: 52px !important;
  }
}

/* Link back to the main RuneVeil website from the store header. */
.rv-site-header .rv-header-right {
  gap: 10px;
}

.rv-site-header .rv-main-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(226, 194, 117, 0.62);
  border-radius: 8px;
  background: rgba(226, 194, 117, 0.08);
  color: #e2c275;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.rv-site-header .rv-main-site-button:hover,
.rv-site-header .rv-main-site-button:focus-visible {
  border-color: #e2c275;
  background: #e2c275;
  color: #0b0812;
  text-decoration: none;
}

.rv-mobile-main-site-link {
  color: #e2c275 !important;
}

/* 2026-10-21 living backdrop: mirror the main site's atmosphere without canvas particles. */
body.rv-theme {
  --rv-bg-card: rgba(18, 14, 28, 0.8);
  --rv-bg-card-hover: rgba(27, 21, 41, 0.88);
  background: #08070d !important;
}

.rv-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(128, 102, 232, 0.16), transparent 38%),
    linear-gradient(180deg, #0b0912 0%, #07060b 72%);
  pointer-events: none;
}

.rv-background::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.rv-background-glow {
  position: absolute;
  inset: -34%;
  opacity: 0.54;
  filter: blur(70px);
  transform-origin: center;
  will-change: transform;
}

.rv-background-glow-one {
  background:
    radial-gradient(40% 35% at 20% 25%, rgba(122, 76, 230, 0.58), transparent 70%),
    radial-gradient(34% 30% at 80% 20%, rgba(226, 194, 117, 0.2), transparent 70%),
    radial-gradient(45% 40% at 60% 85%, rgba(90, 40, 170, 0.46), transparent 70%);
  animation: rv-store-aurora-one 42s ease-in-out infinite alternate;
}

.rv-background-glow-two {
  background:
    radial-gradient(32% 32% at 76% 62%, rgba(155, 109, 255, 0.38), transparent 70%),
    radial-gradient(26% 28% at 16% 80%, rgba(226, 194, 117, 0.17), transparent 70%);
  animation: rv-store-aurora-two 56s ease-in-out infinite alternate-reverse;
}

/* This layer is intentionally unused: the store keeps the atmosphere, not drifting runes. */
.rv-background-runes {
  display: none;
}

.rv-site {
  position: relative;
  z-index: 1;
}

.rv-site-header {
  background: rgba(8, 7, 13, 0.7) !important;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.rv-home-hero-compact,
.site-home-categories .rv-category-card,
.rv-network-support-category,
.rv-product-card,
.rv-rank-comparison,
.rv-store-guide,
.rv-checkout-panel,
.basket-popup-content,
.category-description,
.store-text,
.store-product-full,
.store-category-tiered,
.widget {
  backdrop-filter: blur(13px) saturate(1.08);
  -webkit-backdrop-filter: blur(13px) saturate(1.08);
}

.rv-home-hero-compact {
  background:
    linear-gradient(96deg, rgba(10, 8, 17, 0.9) 0%, rgba(18, 13, 30, 0.82) 58%, rgba(29, 22, 36, 0.68) 100%),
    radial-gradient(circle at 82% 34%, rgba(120, 216, 218, 0.1), transparent 24%),
    radial-gradient(circle at 78% 44%, rgba(226, 194, 117, 0.18), transparent 34%);
}

.rv-site-footer {
  background: rgba(8, 7, 13, 0.72) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.rv-hero-browse,
.rv-purchase-action,
.btn-primary {
  background-image: linear-gradient(110deg, #d5ad60 0%, #f3dfa7 34%, #e2c275 52%, #c99a4f 100%) !important;
  background-size: 220% 100% !important;
  animation: rv-store-gold-sheen 7s ease-in-out infinite;
}

@keyframes rv-store-aurora-one {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(3%, 4%, 0) rotate(8deg) scale(1.08);
  }

  100% {
    transform: translate3d(5%, -3%, 0) rotate(-6deg) scale(1.02);
  }
}

@keyframes rv-store-aurora-two {
  0% {
    transform: translate3d(4%, 3%, 0) rotate(4deg) scale(1.04);
  }

  50% {
    transform: translate3d(-3%, -4%, 0) rotate(-7deg) scale(1.1);
  }

  100% {
    transform: translate3d(-5%, 2%, 0) rotate(5deg) scale(1);
  }
}

@keyframes rv-store-gold-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (width <= 720px) {
  .rv-background-glow {
    inset: -46%;
    opacity: 0.42;
    filter: blur(54px);
  }

  .rv-home-hero-compact,
  .site-home-categories .rv-category-card,
  .rv-network-support-category,
  .rv-product-card,
  .rv-rank-comparison,
  .rv-store-guide,
  .widget {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-background-glow,
  .rv-hero-browse,
  .rv-purchase-action,
  .btn-primary {
    animation: none !important;
  }

  .rv-background-glow {
    transform: none !important;
    will-change: auto;
  }

  .rv-hero-browse,
  .rv-purchase-action,
  .btn-primary {
    background-position: 50% 50% !important;
  }
}

/* Rune particle layer */
.rv-background-runes {
  display: block;
  position: absolute;
  inset: -12%;
  overflow: hidden;
  opacity: 0.72;
  pointer-events: none;
}

.rv-background-runes::before,
.rv-background-runes::after {
  content: "ᚠ";
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(205, 181, 255, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.75rem, 1.35vw, 1.2rem);
  line-height: 1;
  text-shadow:
    12vw 18vh 0 rgba(205, 181, 255, 0.42),
    31vw 8vh 0 rgba(226, 194, 117, 0.34),
    53vw 29vh 0 rgba(205, 181, 255, 0.36),
    77vw 13vh 0 rgba(226, 194, 117, 0.28),
    96vw 39vh 0 rgba(205, 181, 255, 0.38),
    18vw 63vh 0 rgba(226, 194, 117, 0.3),
    43vw 76vh 0 rgba(205, 181, 255, 0.4),
    69vw 58vh 0 rgba(226, 194, 117, 0.26),
    91vw 86vh 0 rgba(205, 181, 255, 0.34),
    28vw 105vh 0 rgba(226, 194, 117, 0.24),
    59vw 114vh 0 rgba(205, 181, 255, 0.36),
    84vw 128vh 0 rgba(226, 194, 117, 0.28);
  animation: rv-store-rune-drift-one 36s ease-in-out infinite alternate;
  will-change: transform;
}

.rv-background-runes::after {
  content: "ᛟ";
  color: rgba(237, 211, 145, 0.5);
  text-shadow:
    7vw 42vh 0 rgba(237, 211, 145, 0.3),
    24vw 92vh 0 rgba(205, 181, 255, 0.34),
    39vw 48vh 0 rgba(237, 211, 145, 0.26),
    57vw 6vh 0 rgba(205, 181, 255, 0.34),
    73vw 97vh 0 rgba(237, 211, 145, 0.28),
    89vw 67vh 0 rgba(205, 181, 255, 0.32),
    102vw 20vh 0 rgba(237, 211, 145, 0.24),
    49vw 132vh 0 rgba(205, 181, 255, 0.3);
  animation-name: rv-store-rune-drift-two;
  animation-duration: 44s;
}

@keyframes rv-store-rune-drift-one {
  0% {
    opacity: 0.55;
    transform: translate3d(-1vw, 5vh, 0) rotate(-2deg);
  }

  50% {
    opacity: 0.95;
    transform: translate3d(1.5vw, -2vh, 0) rotate(1deg);
  }

  100% {
    opacity: 0.7;
    transform: translate3d(-0.5vw, -9vh, 0) rotate(2deg);
  }
}

@keyframes rv-store-rune-drift-two {
  0% {
    opacity: 0.46;
    transform: translate3d(1vw, -4vh, 0) rotate(2deg);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(-1.5vw, 2vh, 0) rotate(-1deg);
  }

  100% {
    opacity: 0.6;
    transform: translate3d(0.5vw, 8vh, 0) rotate(-2deg);
  }
}


@media (width <= 720px){.rv-background-runes{opacity:.46}.rv-background-runes::after{display:none}}
@media (prefers-reduced-motion: reduce){.rv-background-runes{display:none}}

/* Rune particles rendered as decorative SVG backgrounds */
.rv-background-runes::before,
.rv-background-runes::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cg fill='%23cdb5ff' font-family='Georgia,serif' font-size='22'%3E%3Ctext x='70' y='120' opacity='.42'%3E%26%23x16A0%3B%3C/text%3E%3Ctext x='250' y='70' opacity='.34'%3E%26%23x16A2%3B%3C/text%3E%3Ctext x='440' y='250' opacity='.38'%3E%26%23x16A6%3B%3C/text%3E%3Ctext x='650' y='110' opacity='.3'%3E%26%23x16B1%3B%3C/text%3E%3Ctext x='830' y='350' opacity='.4'%3E%26%23x16BE%3B%3C/text%3E%3Ctext x='140' y='590' opacity='.32'%3E%26%23x16C1%3B%3C/text%3E%3Ctext x='370' y='700' opacity='.4'%3E%26%23x16C7%3B%3C/text%3E%3Ctext x='590' y='540' opacity='.3'%3E%26%23x16D7%3B%3C/text%3E%3Ctext x='790' y='790' opacity='.36'%3E%26%23x16DA%3B%3C/text%3E%3Ctext x='500' y='930' opacity='.34'%3E%26%23x16DF%3B%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: rv-store-rune-drift-one 36s ease-in-out infinite alternate;
  will-change: transform;
}

.rv-background-runes::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cg fill='%23edd391' font-family='Georgia,serif' font-size='19'%3E%3Ctext x='90' y='360' opacity='.34'%3E%26%23x16B7%3B%3C/text%3E%3Ctext x='220' y='820' opacity='.3'%3E%26%23x16B9%3B%3C/text%3E%3Ctext x='340' y='430' opacity='.28'%3E%26%23x16C3%3B%3C/text%3E%3Ctext x='490' y='80' opacity='.34'%3E%26%23x16C8%3B%3C/text%3E%3Ctext x='640' y='860' opacity='.3'%3E%26%23x16CF%3B%3C/text%3E%3Ctext x='780' y='610' opacity='.34'%3E%26%23x16D2%3B%3C/text%3E%3Ctext x='900' y='210' opacity='.28'%3E%26%23x16D6%3B%3C/text%3E%3Ctext x='430' y='950' opacity='.3'%3E%26%23x16DC%3B%3C/text%3E%3C/g%3E%3C/svg%3E");
  animation-name: rv-store-rune-drift-two;
  animation-duration: 44s;
}

/* RuneVeil website particle canvas parity */
.rv-background-runes {
  display: none !important;
}

.rv-store-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv-store-particles {
    display: none;
  }
}

/* 2026-10-22 layout pass: one shared content width, Cinzel display type,
   a dedicated network-wide row (Veil Shards + Server Supporter), and a
   homepage that no longer leaves an empty column beside the sidebar.
   Cinzel is loaded in head.twig. */

body.rv-theme {
  --rv-content-width: 1184px;
  --rv-display-font: "Cinzel", Georgia, "Times New Roman", serif;
  --rv-gold-line: rgba(226, 194, 117, 0.34);
}

.rv-site-header,
.rv-home-hero,
.rv-home-categories,
.rv-page-shell,
.rv-site-footer .site-footer-inner,
.rv-site-footer .rv-footer-inner {
  width: min(var(--rv-content-width), calc(100% - 32px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  box-sizing: border-box;
}

.rv-home-categories,
.rv-page-shell {
  padding-inline: 0 !important;
}

.rv-site-header .rv-header-inner {
  width: 100% !important;
  max-width: none !important;
  padding-inline: 22px !important;
  box-sizing: border-box;
}

.rv-home-title,
.rv-category-title,
.rv-home-categories-heading h2,
.rv-network-heading h2,
.rv-category-card-title,
.rv-network-card-title,
.rv-product-card-title,
.store-product-full h1,
.rv-widget .widget-title,
.widget .widget-title {
  font-family: var(--rv-display-font) !important;
  letter-spacing: 0.02em;
}

.rv-home-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  background: linear-gradient(180deg, #fff6dc 0%, #e2c275 62%, #b98c45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Server cards: always one even row of four on desktop. */
.rv-home-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.rv-home-categories-heading,
.rv-network-row {
  grid-column: 1 / -1 !important;
}

/* Network-wide row: two wide cards side by side. */
.rv-network-row {
  margin-top: 26px;
}

.rv-network-heading {
  margin-bottom: 16px;
}

.rv-network-heading h2 {
  margin: 10px 0 4px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--rv-text, #f5f2ff);
}

.rv-network-heading p {
  margin: 0;
  color: var(--rv-text-soft, #b9b4cb);
}

.rv-network-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-home-categories .rv-network-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  text-align: left !important;
  padding: 18px 22px 18px 18px;
  border: 1px solid var(--rv-gold-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 50%, rgba(126, 87, 255, 0.22), transparent 46%),
    linear-gradient(120deg, rgba(20, 15, 32, 0.9), rgba(14, 11, 22, 0.84));
  color: inherit;
  text-decoration: none !important;
  overflow: hidden;
  backdrop-filter: blur(13px) saturate(1.08);
  -webkit-backdrop-filter: blur(13px) saturate(1.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rv-network-card:hover,
.rv-network-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(226, 194, 117, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 34px rgba(126, 87, 255, 0.22);
}

.rv-network-card-image {
  width: 132px;
  height: 132px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(8, 7, 13, 0.6);
  image-rendering: pixelated;
}

.rv-network-card-tag {
  display: inline-block;
  margin-bottom: 6px;
  color: #e2c275;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rv-network-card-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: #f5f2ff;
}

.rv-network-card-text {
  margin: 0 0 12px;
  color: var(--rv-text-soft, #b9b4cb);
  font-size: 14px;
  line-height: 1.5;
}

.rv-network-card-enter {
  color: #e2c275;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-network-card-enter::after {
  content: " →";
}

/* Homepage lower area: guide across the top, sidebar widgets in a row under it.
   The server cards above already do the navigating, so the vertical menu is hidden here. */
.rv-homepage .site-content-widgets.rv-page-shell,
.rv-homepage.is-sidebar-right .site-content-widgets.rv-page-shell {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  margin-top: 26px;
}

.rv-homepage .site-content-widgets.rv-page-shell > main,
.rv-homepage .site-content-widgets.rv-page-shell > .rv-store-sidebar {
  grid-column: 1 !important;
  grid-row: auto !important;
  width: 100% !important;
  position: static !important;
}

.rv-homepage .site-content-widgets.rv-page-shell > main {
  order: -1;
}

.rv-homepage .rv-store-sidebar .rv-sidebar-navigation {
  display: none !important;
}

.rv-homepage .rv-sidebar-modules {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.rv-homepage .rv-sidebar-modules > .widget {
  margin: 0 !important;
}

/* Product grids: four packages sit in one row instead of 3 + 1. */
.rv-product-grid:has(> .rv-product-card:nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Gift card balance button matched to the theme (it rendered as a plain white box). */
.rv-giftcard-widget button,
.rv-giftcard-widget input[type="submit"],
.widget-gift-card button,
.widget-gift-card input[type="submit"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(226, 194, 117, 0.62) !important;
  border-radius: 8px !important;
  background: rgba(226, 194, 117, 0.1) !important;
  color: #e2c275 !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.rv-giftcard-widget button:hover,
.widget-gift-card button:hover,
.rv-giftcard-widget input[type="submit"]:hover,
.widget-gift-card input[type="submit"]:hover {
  background: #e2c275 !important;
  color: #0b0812 !important;
}

@media (width <= 1100px) {
  .rv-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rv-product-grid:has(> .rv-product-card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (width <= 760px) {
  .rv-site-header {
    width: 100% !important;
  }

  .rv-site-header .rv-header-inner {
    padding-inline: 14px !important;
  }

  .rv-network-cards {
    grid-template-columns: 1fr;
  }

  .site-home-categories .rv-network-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .rv-network-card-image {
    width: 88px;
    height: 88px;
  }
}

@media (width <= 520px) {
  .rv-home-categories {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-10-22 website match: tokens, header, buttons, kickers, dividers and cards copied
   from runeveilnetwork.com (design.css / veil.css / home.css) so the store reads as part of the site. */
body.rv-theme {
  --rv-bg: #0b0714;
  --rv-surface: rgba(24, 17, 44, 0.86);
  --rv-border: rgba(185, 148, 255, 0.2);
  --rv-border-strong: rgba(185, 148, 255, 0.42);
  --rv-text: #f5efff;
  --rv-text-soft: #b5aec6;
  --rv-muted: #b5aec6;
  --rv-violet: #9b6dff;
  --rv-violet-soft: #c7a8ff;
  --rv-gold: #d8b866;
  --rv-glow-violet: rgba(155, 109, 255, 0.55);
  --rv-glow-gold: rgba(216, 184, 102, 0.45);
  --rv-content-width: 1180px;
  --rv-display-font: "Cinzel", Georgia, serif;
  --rv-gold-line: rgba(216, 184, 102, 0.34);
  font-family: Manrope, "Segoe UI", Inter, sans-serif !important;
  color: var(--rv-text);
  background: var(--rv-bg) !important;
}

body.rv-theme button,
body.rv-theme input,
body.rv-theme select,
body.rv-theme textarea {
  font-family: inherit;
}

/* Header: full-width frosted bar like the website, content aligned to the page width. */
body.rv-theme .rv-site-header {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(185, 148, 255, 0.18) !important;
  border-radius: 0 !important;
  background: rgba(11, 7, 20, 0.52) !important;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* The page container caps at 1600px; break the bar out so it spans the window like the website's. */
body.rv-theme .rv-site-header {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
}

body.rv-theme .rv-site-header .rv-header-inner {
  width: min(var(--rv-content-width), calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

/* Desktop only: logo | site nav | actions. Narrower screens keep the template's own mobile header. */
@media (width > 1080px) {
  body.rv-theme .rv-site-header .rv-header-inner {
    padding-inline: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 22px;
    height: 64px !important;
    min-height: 64px !important;
  }
}

body.rv-theme .rv-site-header .rv-site-title {
  margin: 0 !important;
  flex: 0 0 auto;
}

body.rv-theme .rv-site-header .rv-site-title .rv-site-logo {
  max-height: 44px !important;
}

.rv-site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
}

.rv-site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--rv-text-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: color 160ms ease, background-color 160ms ease;
}

.rv-site-nav a:hover,
.rv-site-nav a:focus-visible {
  color: var(--rv-text);
  background: rgba(155, 109, 255, 0.12);
}

.rv-site-nav a.is-active {
  color: var(--rv-text);
  box-shadow: inset 0 -2px 0 var(--rv-violet);
}

body.rv-theme .rv-site-header .rv-header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-discord-pill,
body.rv-theme .rv-login-button,
body.rv-theme .rv-user-button,
body.rv-theme .rv-basket-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
}

.rv-discord-pill {
  border: 1px solid rgba(155, 109, 255, 0.55);
  background: rgba(106, 63, 214, 0.55);
  color: #fff !important;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.rv-discord-pill:hover,
.rv-discord-pill:focus-visible {
  background: rgba(155, 109, 255, 0.75);
  box-shadow: 0 0 22px var(--rv-glow-violet);
}

body.rv-theme .rv-login-button,
body.rv-theme .rv-user-button {
  border: 1px solid var(--rv-border-strong) !important;
  background: rgba(11, 7, 20, 0.4) !important;
  color: var(--rv-text) !important;
}

/* Primary buttons are violet on the website; gold stays an accent colour. */
body.rv-theme .btn-primary,
body.rv-theme .rv-hero-browse,
body.rv-theme .rv-purchase-action,
body.rv-theme .rv-basket-button {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background-image: linear-gradient(135deg, #9b6dff, #6a3fd6 55%, #8a5cf6) !important;
  background-color: #6a3fd6 !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(122, 76, 230, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  animation: rv-site-sheen 6s ease infinite !important;
}

body.rv-theme .btn-primary:hover,
body.rv-theme .rv-hero-browse:hover,
body.rv-theme .rv-purchase-action:hover {
  filter: brightness(1.12);
  color: #fff !important;
}

@keyframes rv-site-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.rv-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--rv-border-strong);
  border-radius: 8px;
  background: rgba(11, 7, 20, 0.45);
  color: var(--rv-text) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rv-ghost-button:hover,
.rv-ghost-button:focus-visible {
  border-color: var(--rv-violet);
  box-shadow: 0 0 22px rgba(155, 109, 255, 0.3);
}

/* Kickers: small gold caps between two fading gold lines (website .rv-kicker). */
.rv-kicker,
body.rv-theme .rv-category-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--rv-gold) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

.rv-kicker::before,
.rv-kicker::after,
body.rv-theme .rv-category-tag::before,
body.rv-theme .rv-category-tag::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rv-gold));
}

.rv-kicker::after,
body.rv-theme .rv-category-tag::after {
  background: linear-gradient(90deg, var(--rv-gold), transparent);
}

/* Rune divider between sections. */
.rv-divider {
  width: min(var(--rv-content-width), calc(100% - 32px));
  margin: 30px auto 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--rv-gold);
  opacity: 0.8;
}

.rv-network-row .rv-divider {
  width: 100%;
  margin: 8px 0 26px;
}

.rv-divider::before,
.rv-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 184, 102, 0.55), transparent);
}

/* Ornament drawn in CSS: a gold diamond flanked by two small ones (no glyph font needed). */
.rv-divider span {
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0 18px;
  border: 1px solid var(--rv-gold);
  background: rgba(216, 184, 102, 0.25);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--rv-glow-gold);
}

.rv-divider span::before,
.rv-divider span::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--rv-gold);
  opacity: 0.75;
}

.rv-divider span::before {
  top: 14px;
  left: -10px;
}

.rv-divider span::after {
  top: -8px;
  left: 14px;
}

/* Hero: the website's framed art panel with the floating emblem. */
.rv-web-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 24px 40px !important;
  border: 1px solid rgba(216, 184, 102, 0.34) !important;
  border-radius: 4px !important;
  background: #0b0714 !important;
  box-shadow: inset 0 0 0 1px rgba(152, 104, 225, 0.16), 0 0 36px rgba(93, 49, 159, 0.14) !important;
  text-align: center;
}

.rv-web-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(11, 7, 20, 0.28) 0%, rgba(11, 7, 20, 0.66) 64%, #0b0714 100%),
    linear-gradient(180deg, rgba(11, 7, 20, 0.48), rgba(11, 7, 20, 0.2) 42%, #0b0714),
    var(--rv-hero-art, none) center / cover no-repeat;
  filter: saturate(1.08) brightness(0.84);
}

.rv-web-hero .rv-home-hero-glow {
  display: none;
}

.rv-web-hero .rv-home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.rv-web-emblem {
  width: clamp(70px, 9vw, 96px);
  height: auto;
  filter: drop-shadow(0 0 24px var(--rv-glow-violet)) drop-shadow(0 0 60px rgba(216, 184, 102, 0.25));
  animation: rv-site-float 7s ease-in-out infinite;
}

@keyframes rv-site-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body.rv-theme .rv-home-title {
  margin: 0 !important;
  font-size: clamp(2.4rem, 6vw, 4.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.02;
  background: none !important;
  color: #f2eaff !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

body.rv-theme .rv-home-title em {
  font-style: normal;
  background: linear-gradient(90deg, #c7a8ff, #f1d78a, #9b6dff, #c7a8ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: rv-site-shimmer 8s linear infinite;
  filter: drop-shadow(0 0 18px rgba(155, 109, 255, 0.45));
}

@keyframes rv-site-shimmer {
  to { background-position: 300% 0; }
}

.rv-web-hero .rv-home-subtitle {
  max-width: 560px;
  margin: 0;
  color: var(--rv-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.rv-web-hero .rv-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Section headings centred like the website's "Choose your world". */
body.rv-theme .rv-home-categories-heading,
body.rv-theme .rv-network-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 8px;
}

body.rv-theme .rv-home-categories-heading h2,
body.rv-theme .rv-network-heading h2 {
  margin: 0 !important;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem) !important;
  font-weight: 700;
  color: var(--rv-text) !important;
}

body.rv-theme .rv-home-categories-heading p,
body.rv-theme .rv-network-heading p {
  max-width: 640px;
  margin: 0 !important;
  color: var(--rv-muted) !important;
}

/* Glass cards with the website's glowing gradient border on hover. */
body.rv-theme .site-home-categories .rv-category-card,
body.rv-theme .site-home-categories .rv-network-card,
body.rv-theme .rv-product-card,
body.rv-theme .rv-store-guide,
body.rv-theme .widget,
body.rv-theme .rv-category-hero,
body.rv-theme .rv-store-sidebar .rv-sidebar-navigation {
  position: relative;
  border: 1px solid var(--rv-border) !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(36, 24, 66, 0.72), rgba(14, 9, 28, 0.82)) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28) !important;
}

body.rv-theme .site-home-categories .rv-category-card,
body.rv-theme .site-home-categories .rv-network-card,
body.rv-theme .rv-product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.rv-theme .site-home-categories .rv-category-card::after,
body.rv-theme .site-home-categories .rv-network-card::after,
body.rv-theme .rv-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(135deg, var(--rv-violet), var(--rv-gold), var(--rv-violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

body.rv-theme .site-home-categories .rv-category-card:hover,
body.rv-theme .site-home-categories .rv-network-card:hover,
body.rv-theme .rv-product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(122, 76, 230, 0.18) !important;
}

body.rv-theme .site-home-categories .rv-category-card:hover::after,
body.rv-theme .site-home-categories .rv-network-card:hover::after,
body.rv-theme .rv-product-card:hover::after {
  opacity: 1;
}

/* Server card: full-bleed art fading into the card, like the website's server cards. */
body.rv-theme .site-home-categories .rv-category-card {
  padding: 0 !important;
  overflow: hidden;
  text-align: left !important;
}

body.rv-theme .site-home-categories .rv-category-card .rv-category-image {
  display: block;
  width: 100% !important;
  height: 150px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(216, 184, 102, 0.4) !important;
  border-radius: 0 !important;
  object-fit: cover;
}

body.rv-theme .site-home-categories .rv-category-card-content {
  display: grid;
  gap: 6px;
  padding: 14px 18px 18px !important;
  text-align: left !important;
}

body.rv-theme .rv-category-card-title {
  margin: 0 !important;
  font-size: 1.3rem !important;
  color: var(--rv-text) !important;
}

/* Links read "View … →" in soft violet, as on the website. */
body.rv-theme .rv-category-card-enter,
body.rv-theme .rv-network-card-enter {
  color: var(--rv-violet-soft) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.rv-theme .rv-category-card-enter::after {
  content: " →";
}

body.rv-theme .rv-network-card-tag {
  color: var(--rv-gold) !important;
}

body.rv-theme .rv-network-card-image {
  border: 1px solid rgba(216, 184, 102, 0.4);
}

/* Product cards: an older rule fixed the inner column at ~268px, so on ~1024px screens names were
   cut off and Subscribe/Add buttons spilled out of the card. Let it shrink and let actions wrap. */
body.rv-theme .rv-product-card {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.rv-theme .rv-product-card .rv-product-card-content {
  grid-template-columns: minmax(0, 1fr) !important;
  min-width: 0;
}

body.rv-theme .rv-product-card .product-actions {
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}

body.rv-theme .rv-product-card .product-actions > .rv-purchase-action,
body.rv-theme .rv-product-card .product-actions > .btn-primary {
  flex: 1 1 130px;
  min-width: 0;
}

/* Gift button: was a flat #ccc block; violet like the other secondary actions, white icon. */
body.rv-theme .btn-glyph.gift {
  border: 1px solid rgba(155, 109, 255, 0.55) !important;
  border-radius: 8px !important;
  background: rgba(106, 63, 214, 0.35) !important;
}

body.rv-theme .btn-glyph.gift:hover,
body.rv-theme .btn-glyph.gift:focus-visible {
  background: rgba(155, 109, 255, 0.6) !important;
}

body.rv-theme .btn-glyph.gift::before {
  background-color: #fff !important;
}

/* Sidebar navigation links follow the website's nav colours. */
body.rv-theme .rv-store-sidebar .rv-sidebar-navigation a {
  color: var(--rv-text-soft);
}

body.rv-theme .rv-store-sidebar .rv-sidebar-navigation a:hover,
body.rv-theme .rv-store-sidebar .rv-sidebar-navigation .active > a,
body.rv-theme .rv-store-sidebar .rv-sidebar-navigation a.active {
  color: var(--rv-text);
}

/* Footer matches the website's frosted footer. */
body.rv-theme .rv-site-footer {
  border-top: 1px solid rgba(185, 148, 255, 0.18) !important;
  background: rgba(11, 7, 20, 0.6) !important;
}

@media (width <= 1080px) {
  .rv-site-nav {
    display: none;
  }

  body.rv-theme .rv-site-header {
    padding: 0 !important;
  }

  body.rv-theme .rv-site-header .rv-header-inner {
    width: 100% !important;
  }

  /* The template pins these absolutely; anchor them to the right edge so they stay on screen. */
  body.rv-theme .rv-site-header .rv-mobile-actions {
    left: auto !important;
    right: 14px !important;
  }

  body.rv-theme .rv-mobile-basket-button {
    border: 1px solid rgba(155, 109, 255, 0.55) !important;
    border-radius: 8px !important;
    background: rgba(106, 63, 214, 0.55) !important;
    color: #fff !important;
    font-weight: 800;
  }
}

@media (width <= 760px) {
  .rv-discord-pill {
    display: none !important;
  }

  .rv-web-hero {
    padding: 34px 16px 28px !important;
  }

  .rv-web-emblem {
    display: none;
  }

  .rv-web-hero .rv-home-hero-actions > a {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-web-emblem,
  body.rv-theme .rv-home-title em,
  body.rv-theme .btn-primary,
  body.rv-theme .rv-hero-browse,
  body.rv-theme .rv-purchase-action,
  body.rv-theme .rv-basket-button {
    animation: none !important;
  }
}
