.game-theme--sorcery-contested-realm {
  --other-bg: #0c080d;
  --other-panel-solid: #160f18;
  --other-surface: rgba(22, 15, 24, 0.97);
  --other-surface-strong: #211722;
  --other-text: #f4ead7;
  --other-muted: #c9bdad;
  --other-accent: #c66a3d;
  --other-accent-strong: #f1a36e;
  --other-accent-rgb: 198, 106, 61;
  --other-link: #f3b48a;
  --other-focus: #ffd38f;
  --other-border-width: 1px;
  --other-border-style: solid;
  --other-border: #765b61;
  --other-control-border: #a27e72;
  --other-display-font:
    Georgia, "Palatino Linotype", "Book Antiqua", ui-serif, serif;
  --other-body-font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --other-heading-letter-spacing: -0.018em;
  --other-heading-weight: 700;
  --other-radius-large: 34px 34px 5px 5px;
  --other-radius-medium: 22px 22px 4px 4px;
  --other-radius-control: 3px;
  --other-chip-radius: 2px;
  --other-button-radius: 2px;
  --other-panel-shadow:
    0 28px 68px rgba(0, 0, 0, 0.58), inset 0 0 0 1px rgba(244, 234, 215, 0.035);
  --other-method-background:
    linear-gradient(145deg, rgba(198, 106, 61, 0.08), transparent 48%), #211722;
  --other-product-background:
    linear-gradient(90deg, rgba(198, 106, 61, 0.11), transparent 36%), #1c141e;
  --other-control-background: #241923;
  --other-chip-background: #2b1c29;
  --other-chip-foreground: #f4ead7;
  --other-chip-border: #bd805f;
  --other-button-background: #c66a3d;
  --other-button-foreground: #160d0a;
  --other-button-border: #e19060;
  --other-action-note-background: #241923;
  --other-page-background:
    repeating-linear-gradient(
      90deg,
      rgba(244, 234, 215, 0.018) 0 1px,
      transparent 1px 52px
    ),
    radial-gradient(
      ellipse at 50% -8%,
      rgba(108, 46, 66, 0.42),
      transparent 34rem
    ),
    linear-gradient(155deg, #120b13, #080609 70%);
  --other-hero-background:
    linear-gradient(90deg, rgba(244, 234, 215, 0.035) 1px, transparent 1px) 0
      0 / 58px 100%,
    radial-gradient(
      ellipse at 76% 16%,
      rgba(198, 106, 61, 0.19),
      transparent 21rem
    ),
    linear-gradient(135deg, #241625, #120d15 66%, #0b080c);
  --other-hero-motif: repeating-conic-gradient(
    from 45deg,
    rgba(241, 163, 110, 0.16) 0 8deg,
    transparent 8deg 28deg
  );
  --other-hero-decoration:
    linear-gradient(
      90deg,
      transparent 47%,
      rgba(244, 234, 215, 0.48) 48% 52%,
      transparent 53%
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      rgba(198, 106, 61, 0.24) 12px 14px
    );
  --other-hero-decoration-radius: 52% 52% 3px 3px;
  --other-hero-decoration-transform: none;
  --other-product-radius: 15px 15px 2px 2px;
  --other-method-radius: 18px 18px 3px 3px;
  --other-hover-lift: -2px;
  --other-hover-shadow: 0 0 0 1px #c66a3d, 0 18px 42px rgba(0, 0, 0, 0.44);
  --other-alt-surface: #160f18;
  --other-alt-text: #f4ead7;
  --other-alt-muted: #c9bdad;
  --other-alt-link: #f3b48a;
  --other-alt-focus: #ffd38f;
  --other-hero-text: #f4ead7;
  --other-hero-muted: #d7cbbb;
  --other-hero-kicker: #f1a36e;
  --other-hero-content-width: min(72%, 46rem);
  --other-hero-heading-width: min(72%, 15ch);
  color-scheme: dark;
}

.game-theme--sorcery-contested-realm .other-card {
  border-top-color: #a66e59;
}

.game-theme--sorcery-contested-realm .sorcery-hero {
  min-height: clamp(25rem, 46vw, 34rem);
  align-content: center;
  border-width: 2px;
  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.64),
    inset 0 0 70px rgba(0, 0, 0, 0.28);
}

.game-theme--sorcery-contested-realm .sorcery-hero > * {
  position: relative;
  z-index: 2;
  max-width: var(--other-hero-content-width);
}

.game-theme--sorcery-contested-realm .sorcery-hero h1 {
  max-width: var(--other-hero-heading-width);
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  line-height: 0.95;
  text-shadow: 0 3px 24px #080609;
}

.game-theme--sorcery-contested-realm .sorcery-hero::before {
  z-index: 0;
  top: clamp(28px, 5vw, 66px);
  right: clamp(24px, 6vw, 84px);
  width: clamp(9rem, 23vw, 17rem);
  height: clamp(16rem, 35vw, 25rem);
  border: 2px solid rgba(241, 163, 110, 0.34);
  border-radius: 50% 50% 2px 2px;
  opacity: 0.72;
  background:
    linear-gradient(
      90deg,
      transparent 47%,
      rgba(244, 234, 215, 0.2) 48% 52%,
      transparent 53%
    ),
    repeating-conic-gradient(
      from 22.5deg,
      rgba(198, 106, 61, 0.12) 0 4deg,
      transparent 4deg 30deg
    );
  box-shadow:
    inset 0 0 0 8px rgba(12, 8, 13, 0.74),
    inset 0 0 0 10px rgba(166, 110, 89, 0.2);
  transform: none;
}

.game-theme--sorcery-contested-realm .sorcery-hero::after {
  z-index: 1;
  right: clamp(54px, 11vw, 145px);
  bottom: clamp(38px, 6vw, 80px);
  width: clamp(4rem, 10vw, 7.2rem);
  border: 1px solid rgba(241, 163, 110, 0.54);
  border-radius: 50% 50% 2px 2px;
  opacity: 0.64;
  background: var(--other-hero-decoration);
  transform: none;
}

.game-theme--sorcery-contested-realm .other-eyebrow {
  font-family: var(--other-display-font);
  letter-spacing: 0.12em;
}

.game-theme--sorcery-contested-realm .other-fact-list li {
  border-top: 2px solid #c66a3d;
  box-shadow: inset 0 8px 18px rgba(198, 106, 61, 0.07);
  text-transform: uppercase;
}

.game-theme--sorcery-contested-realm .sorcery-directory,
.game-theme--sorcery-contested-realm .sorcery-method {
  background:
    linear-gradient(90deg, transparent, rgba(198, 106, 61, 0.07), transparent)
      top / 100% 1px no-repeat,
    #160f18;
}

.game-theme--sorcery-contested-realm .other-section-heading::after {
  width: min(15rem, 58%);
  height: 5px;
  margin-top: 7px;
  border-block: 1px solid #765b61;
  background: linear-gradient(90deg, #c66a3d, transparent);
  content: "";
}

.game-theme--sorcery-contested-realm .other-method-card {
  position: relative;
  padding-top: 28px;
  border-color: #765b61;
}

.game-theme--sorcery-contested-realm .other-method-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 18px;
  border: 1px solid #a66e59;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translateX(-50%);
}

.game-theme--sorcery-contested-realm .other-product-row {
  border-left: 4px double #c66a3d;
}

.game-theme--sorcery-contested-realm .sorcery-unofficial-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 3px double #765b61;
  color: var(--other-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.other-game-calculator[data-other-game="sorcery-contested-realm"]
  .other-calc-hero {
  border-width: 2px;
  border-radius: 32px 32px 4px 4px;
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.58),
    inset 0 0 60px rgba(0, 0, 0, 0.24);
}

.other-game-calculator[data-other-game="sorcery-contested-realm"]
  .other-calc-hero::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: 5%;
  width: min(22vw, 13rem);
  height: min(34vw, 20rem);
  border: 2px solid rgba(241, 163, 110, 0.22);
  border-radius: 50% 50% 2px 2px;
  background: repeating-conic-gradient(
    from 22.5deg,
    rgba(198, 106, 61, 0.11) 0 4deg,
    transparent 4deg 31deg
  );
  content: "";
  pointer-events: none;
}

.other-game-calculator[data-other-game="sorcery-contested-realm"]
  .other-calc-rate-provenance {
  border: 1px solid #a66e59;
  border-radius: 18px 18px 3px 3px;
  background: #211722;
}

@media (max-width: 760px) {
  .game-theme--sorcery-contested-realm {
    --other-hero-content-width: 100%;
    --other-hero-heading-width: 100%;
  }

  .game-theme--sorcery-contested-realm .sorcery-hero {
    min-height: 0;
  }

  .game-theme--sorcery-contested-realm .sorcery-hero > * {
    max-width: 100%;
  }

  .game-theme--sorcery-contested-realm .sorcery-hero::before {
    right: -3rem;
    opacity: 0.22;
  }

  .game-theme--sorcery-contested-realm .sorcery-hero::after {
    display: none;
  }

  .other-game-calculator[data-other-game="sorcery-contested-realm"]
    .other-calc-hero::before {
    opacity: 0.18;
  }
}

@media (max-width: 390px) {
  .game-theme--sorcery-contested-realm .sorcery-hero h1 {
    font-size: clamp(2rem, 12vw, 2.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-theme--sorcery-contested-realm *,
  .game-theme--sorcery-contested-realm *::before,
  .game-theme--sorcery-contested-realm *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

@media (prefers-contrast: more) {
  .game-theme--sorcery-contested-realm {
    --other-border: #f4ead7;
    --other-control-border: #f1a36e;
  }

  .game-theme--sorcery-contested-realm
    :where(.other-card, .other-method-card, .other-product-row),
  .other-game-calculator[data-other-game="sorcery-contested-realm"]
    :where(.card, .other-calc-rate-provenance) {
    border-color: #f4ead7;
    background: #160f18;
    box-shadow: none;
  }
}

@media (forced-colors: active) {
  .game-theme--sorcery-contested-realm
    :where(.other-card, .other-method-card, .other-product-row),
  .other-game-calculator[data-other-game="sorcery-contested-realm"]
    :where(.card, .other-calc-rate-provenance) {
    color: CanvasText;
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }

  .game-theme--sorcery-contested-realm .sorcery-hero::before,
  .game-theme--sorcery-contested-realm .sorcery-hero::after,
  .game-theme--sorcery-contested-realm .other-method-card::before,
  .game-theme--sorcery-contested-realm .other-section-heading::after,
  .other-game-calculator[data-other-game="sorcery-contested-realm"]
    .other-calc-hero::before {
    display: none;
  }
}
