:root {
  --bg: #090607;
  --bg-soft: #0e090b;
  --surface: #151012;
  --surface-raised: #1a1316;
  --surface-muted: #110d0f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #f8f5f6;
  --text-soft: #c9c0c3;
  --muted: #8e8387;
  --red: #e74c3c;
  --red-dark: #c0392b;
  --red-bright: #ff6252;
  --rage-darker: var(--bg-soft);
  --rage-dark-red: var(--red-dark);
  --rage-crimson: var(--red);
  --green: #69d58b;
  --amber: #f3b85d;
  --purple: #a780ff;
  --header-height: 76px;
  --sidebar-width: 226px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 92px);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--rage-dark-red) var(--rage-darker);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--rage-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--rage-dark-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rage-crimson);
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 70% 18%, rgba(147, 24, 21, 0.1), transparent 34rem),
    linear-gradient(180deg, #0b0708 0%, var(--bg) 32%, #080607 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.wiki-page {
  position: relative;
  background-color: var(--bg);
  isolation: isolate;
}

body.wiki-page::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--bg);
  pointer-events: none;
}

body.wiki-page main,
body.wiki-page .wiki-layout,
body.wiki-page .wiki-content {
  background-color: var(--bg);
}

body.nav-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 2px solid var(--red-dark);
  background: linear-gradient(180deg, rgba(26, 10, 10, 0.95) 0%, rgba(26, 10, 10, 0.85) 100%);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(231, 76, 60, 0.2));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Fredoka One", "Fredoka", sans-serif;
  color: var(--red-bright);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}

.header-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a.is-current {
  color: var(--red-bright);
}

.header-nav a:hover::after {
  right: 0;
}

.header-nav a.is-current::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(192, 57, 43, 0.23), inset 0 1px rgba(255, 255, 255, 0.12);
}

.button-primary:hover {
  background: linear-gradient(180deg, var(--red-bright), #cf3b2d);
  box-shadow: 0 16px 38px rgba(192, 57, 43, 0.35), inset 0 1px rgba(255, 255, 255, 0.15);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.2);
}

.button-small {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 13px;
}

.button-small svg {
  width: 15px;
  height: 15px;
}

.menu-toggle,
.sidebar-close {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.menu-toggle svg,
.sidebar-close svg {
  width: 21px;
  height: 21px;
  margin: auto;
}

.menu-toggle .close-icon {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-height) + 86px) 0 84px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(9, 6, 7, 0.98) 0%, rgba(9, 6, 7, 0.92) 36%, rgba(9, 6, 7, 0.57) 68%, rgba(9, 6, 7, 0.78) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%),
    url("assets/images/spawn.jpg");
  background-position: center, center, 68% center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  left: -120px;
  top: 100px;
  border-radius: 50%;
  background: rgba(184, 36, 28, 0.16);
  filter: blur(100px);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.card-kicker,
.panel-kicker {
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 11px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 999px;
  background: rgba(231, 76, 60, 0.08);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12), 0 0 13px var(--red);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-shadow: 0 0 50px rgba(231, 76, 60, 0.28);
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-subtitle {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta span {
  padding: 0 18px;
  border-right: 1px solid var(--line-strong);
}

.hero-meta span:first-child {
  padding-left: 0;
}

.hero-meta span:last-child {
  border: 0;
}

.hero-meta strong {
  margin-right: 4px;
  color: var(--text);
}

.hero-credit {
  position: relative;
  padding: 2px 8px;
  border: 1px solid rgba(255, 98, 82, 0.22);
  border-radius: 5px;
  background: rgba(231, 76, 60, 0.11);
  color: var(--red-bright);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.hero-credit:hover,
.hero-credit:focus-visible {
  color: #fff;
  background: rgba(231, 76, 60, 0.2);
  outline: none;
}

.hero-credit::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(100% + 8px);
  padding: 5px 8px;
  border: 1px solid rgba(231, 76, 60, 0.26);
  border-radius: 6px;
  background: rgba(13, 9, 10, 0.96);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-credit:hover::after,
.hero-credit:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.server-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(26, 18, 21, 0.94), rgba(13, 9, 10, 0.92));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.server-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(231, 76, 60, 0.24), transparent 38%);
}

.server-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.server-panel h2 {
  margin: 4px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(105, 213, 139, 0.18);
  border-radius: 999px;
  background: rgba(105, 213, 139, 0.07);
  color: #a6edba;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.online-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.server-address {
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.server-address:hover {
  border-color: rgba(231, 76, 60, 0.35);
  background: rgba(231, 76, 60, 0.065);
  transform: translateY(-1px);
}

.edition-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: linear-gradient(145deg, #df4b3b, #99291f);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 17px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.edition-icon.bedrock {
  background: linear-gradient(145deg, #725f66, #3c3034);
}

.address-copy {
  min-width: 0;
  display: grid;
  margin-right: auto;
  line-height: 1.35;
}

.address-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.address-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
}

.copy-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.copy-label svg {
  width: 15px;
  height: 15px;
}

.server-note {
  margin: 16px 0 0;
  color: #746b6e;
  font-size: 11px;
  text-align: center;
}

.wiki-toolbar-wrap {
  position: sticky;
  z-index: 80;
  top: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 7, 8, 0.9);
  backdrop-filter: blur(16px);
}

.wiki-toolbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.search-box {
  width: min(100%, 540px);
  height: 46px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search-box:focus-within {
  border-color: rgba(231, 76, 60, 0.48);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #766c70;
}

.search-box kbd {
  min-width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: 11px/1 "Jost", sans-serif;
}

.world-filters {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.filter-button {
  height: 35px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.filter-button:hover {
  color: var(--text);
}

.filter-button.is-active {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(192, 57, 43, 0.22);
}

.wiki-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.wiki-sidebar {
  position: sticky;
  z-index: 40;
  top: calc(var(--header-height) + 82px);
  height: calc(100vh - var(--header-height) - 82px);
}

.sidebar-inner {
  height: 100%;
  padding: 34px 20px 30px 0;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.sidebar-heading {
  margin-bottom: 16px;
  color: #6f6669;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wiki-sidebar nav {
  display: grid;
  gap: 3px;
}

.wiki-sidebar nav p {
  margin: 20px 10px 7px;
  color: #635a5d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wiki-sidebar nav a {
  min-height: 39px;
  padding: 0 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a99fa2;
  font-size: 13px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.wiki-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.sidebar-nav-group {
  display: grid;
  gap: 3px;
}

.sidebar-nav-group summary {
  min-height: 39px;
  padding: 0 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a99fa2;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease, color 160ms ease;
}

.sidebar-nav-group summary::-webkit-details-marker {
  display: none;
}

.sidebar-nav-group summary:hover,
.sidebar-nav-group.has-active summary {
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.sidebar-nav-group.has-active > summary {
  background: rgba(231, 76, 60, 0.09);
}

.sidebar-nav-group.has-active > summary .nav-mark {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.sidebar-nav-chevron {
  width: 13px;
  height: 13px;
  color: #6f6669;
  transition: transform 160ms ease, color 160ms ease;
}

.sidebar-nav-group[open] .sidebar-nav-chevron {
  transform: rotate(90deg);
}

.sidebar-nav-group summary:hover .sidebar-nav-chevron,
.sidebar-nav-group.has-active .sidebar-nav-chevron {
  color: #fff;
}

.sidebar-subnav {
  margin: 2px 0 8px 14px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 3px;
}

.wiki-sidebar nav .sidebar-subnav a {
  min-height: 34px;
  font-size: 12px;
}

.wiki-sidebar nav a.is-active {
  background: rgba(231, 76, 60, 0.09);
  color: #fff;
}

.nav-mark {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5c5356;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.wiki-sidebar nav a.is-active .nav-mark {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.nav-count {
  min-width: 22px;
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #766d70;
  font-size: 9px;
  text-align: center;
}

.sidebar-card {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(231, 76, 60, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(231, 76, 60, 0.07), rgba(255, 255, 255, 0.018));
}

.sidebar-card-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.11);
  color: var(--red-bright);
}

.sidebar-card-icon svg {
  width: 16px;
  height: 16px;
}

.sidebar-card strong {
  display: block;
  font-size: 12px;
}

.sidebar-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.sidebar-scrim {
  display: none;
}

.wiki-content {
  min-width: 0;
  padding: 0 0 100px;
}

.search-summary {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #746b6e;
  font-size: 12px;
}

.search-summary button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--red-bright);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.content-section {
  padding: 76px 0 12px;
}

.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #807679;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-count.archived {
  border-color: rgba(167, 128, 255, 0.18);
  background: rgba(167, 128, 255, 0.06);
  color: #bda5ee;
}

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

.featured-guide {
  min-height: 182px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.08), transparent 52%),
    var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.featured-guide:hover {
  border-color: rgba(231, 76, 60, 0.26);
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.guide-number {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: var(--red-bright);
  font-family: "Fredoka", sans-serif;
}

.featured-guide h3 {
  margin: 5px 0 4px;
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
}

.featured-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.coming-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #c9c0c3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.coming-link svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.getting-started-heading p {
  max-width: 760px;
}

.starter-route {
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.02);
  scrollbar-width: thin;
}

.starter-route span {
  flex: 0 0 auto;
  color: #bfb5b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.starter-route span:first-child,
.starter-route span:last-child {
  color: #fff;
}

.starter-route svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--red);
}

.starter-guide {
  display: grid;
  gap: 16px;
}

.starter-step {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.starter-step-featured,
.split-step {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  overflow: hidden;
}

.starter-step-copy {
  min-width: 0;
  padding: 30px;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.step-number {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 7px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: var(--red-bright);
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.starter-step > p,
.starter-step-copy > p,
.step-intro {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.starter-step strong {
  color: #fff;
}

.starter-step code {
  padding: 1px 5px;
  border: 1px solid rgba(231, 76, 60, 0.14);
  border-radius: 4px;
  background: rgba(231, 76, 60, 0.07);
  color: #ff9187;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.beginner-checklist {
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.beginner-checklist li {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 10px;
  color: #aaa0a3;
  font-size: 12px;
  line-height: 1.45;
}

.beginner-checklist li > span {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.025);
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 700;
}

.guide-media,
.command-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0c090a;
}

.guide-media {
  min-height: 370px;
}

.guide-media::after,
.command-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.35), transparent 22%),
    linear-gradient(0deg, rgba(9, 6, 7, 0.72), transparent 38%);
  pointer-events: none;
}

.guide-media img,
.command-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.starter-step:hover .guide-media img,
.command-card:hover .command-media img {
  transform: scale(1.015);
}

.guide-media figcaption,
.command-media figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #e3dcde;
  font-size: 11px;
  font-weight: 600;
}

.guide-media figcaption span {
  display: block;
  margin-bottom: 2px;
  color: var(--red-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-video-card {
  --video-accent: var(--red-bright);
  --video-soft: rgba(231, 76, 60, 0.08);
  --video-line: rgba(231, 76, 60, 0.2);
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--video-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(360px, 1.38fr);
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 100% 0%, var(--video-soft), transparent 18rem),
    rgba(255, 255, 255, 0.018);
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.starter-video-card {
  --video-accent: #91df91;
  --video-soft: rgba(101, 189, 105, 0.09);
  --video-line: rgba(101, 189, 105, 0.23);
  margin-top: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 189, 105, 0.12), transparent 18rem),
    rgba(101, 189, 105, 0.035);
}

.reforge-video-card {
  --video-accent: #c99cff;
  --video-soft: rgba(168, 108, 255, 0.1);
  --video-line: var(--reforge-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 108, 255, 0.12), transparent 19rem),
    rgba(168, 108, 255, 0.035);
}

.guide-video-copy {
  min-width: 0;
}

.guide-video-copy h3,
.guide-video-copy h4 {
  margin: 5px 0 7px;
  color: #f3ecef;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.guide-video-copy p {
  margin: 0;
  color: #948a8d;
  font-size: 12px;
  line-height: 1.65;
}

.guide-video-frame {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--video-line);
  border-radius: 9px;
  overflow: hidden;
  background: #050405;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.23);
}

.guide-video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050405;
}

.guide-video-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
  background: #050405;
}

.guide-video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
}

.guide-video-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.86;
  transition:
    opacity 220ms ease,
    transform 320ms ease;
}

.guide-video-link:hover img,
.guide-video-link:focus-visible img {
  opacity: 1;
  transform: scale(1.025);
}

.guide-video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 44px;
  border-radius: 8px;
  transform: translate(-50%, -50%);
  background: #ff0033;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.guide-video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
  transform: translate(-36%, -50%);
}

.guide-video-source {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(5, 4, 5, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.guide-video-frame figcaption {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: #a89fa2;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.guide-video-frame figcaption span {
  display: block;
  margin-bottom: 2px;
  color: var(--video-accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-video-frame figcaption a {
  color: var(--video-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-callout {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid;
  border-radius: 7px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guide-callout p {
  margin: 3px 0 0;
  color: #a99fa2;
  font-size: 11px;
  line-height: 1.55;
}

.guide-callout strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.guide-callout code {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #f6ddd9;
  font-size: 0.9em;
  font-weight: 700;
}

.callout-icon {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
}

.guide-callout-tip {
  border-color: rgba(105, 213, 139, 0.18);
  background: rgba(105, 213, 139, 0.055);
}

.guide-callout-tip .callout-icon {
  background: rgba(105, 213, 139, 0.12);
  color: #8ee1a5;
}

.guide-callout-tip strong {
  color: #a6edba;
}

.guide-callout-info {
  border-color: rgba(106, 201, 232, 0.2);
  background: rgba(106, 201, 232, 0.055);
}

.guide-callout-info .callout-icon {
  background: rgba(106, 201, 232, 0.12);
  color: #8edcf2;
}

.guide-callout-info strong {
  color: #a9e5f5;
}

.guide-callout-warning {
  border-color: rgba(231, 76, 60, 0.34);
  background:
    linear-gradient(90deg, rgba(231, 76, 60, 0.14), rgba(231, 76, 60, 0.055));
  box-shadow: 0 0 30px rgba(192, 57, 43, 0.08);
}

.guide-callout-warning .callout-icon {
  background: rgba(231, 76, 60, 0.17);
  color: #ff8175;
}

.guide-callout-warning strong {
  color: #ff9187;
}

.command-section {
  background:
    linear-gradient(145deg, rgba(231, 76, 60, 0.035), transparent 38%),
    var(--surface-muted);
}

.command-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.command-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.command-card:hover {
  border-color: rgba(231, 76, 60, 0.2);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.command-card-misc {
  grid-column: 1 / -1;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  overflow: hidden;
}

.command-card-copy {
  padding: 22px;
}

.command-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.command-title code {
  padding: 7px 10px;
  border-color: rgba(231, 76, 60, 0.24);
  background: rgba(231, 76, 60, 0.1);
  color: #ff9a91;
  font-size: 16px;
  font-weight: 700;
}

.command-card > p,
.command-card-copy > p {
  margin: 0;
  color: #aaa0a3;
  font-size: 12px;
  line-height: 1.65;
}

.badge-command {
  border-color: rgba(106, 201, 232, 0.2);
  background: rgba(106, 201, 232, 0.06);
  color: #91d9ef;
}

.badge-risk {
  border-color: rgba(243, 184, 93, 0.22);
  background: rgba(243, 184, 93, 0.07);
  color: #f0c47e;
}

.badge-help {
  border-color: rgba(167, 128, 255, 0.22);
  background: rgba(167, 128, 255, 0.07);
  color: #bda6ef;
}

.talisman-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(167, 128, 255, 0.16);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  background: rgba(167, 128, 255, 0.045);
}

.talisman-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #7652ba, #3f2a68);
  color: #e1d3ff;
  font-family: "Fredoka", sans-serif;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13);
}

.talisman-box strong {
  font-size: 12px;
}

.talisman-box p {
  margin: 3px 0 10px;
  color: #9d9397;
  font-size: 11px;
  line-height: 1.55;
}

.edition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.edition-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #847a7d;
  font-size: 9px;
}

.edition-tags b {
  margin-right: 3px;
  color: #cfc6c8;
  text-transform: uppercase;
}

.command-media {
  min-height: 330px;
}

.command-media figcaption {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mini-callout {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
}

.mini-callout strong {
  color: #d7cfd1;
  font-size: 10px;
  text-transform: uppercase;
}

.mini-callout span {
  color: #766d70;
  font-size: 10px;
  line-height: 1.5;
}

.compact-step {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.compact-step .step-heading {
  margin: 0;
}

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

.mine-type {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.mine-type-primary {
  border-color: rgba(231, 76, 60, 0.16);
  background: rgba(231, 76, 60, 0.045);
}

.mine-icon {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: #c5bcbf;
  font-family: "Fredoka", sans-serif;
  font-size: 12px;
}

.mine-type-primary .mine-icon {
  background: rgba(231, 76, 60, 0.12);
  color: var(--red-bright);
}

.mine-type strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

.mine-type p {
  margin: 0;
  color: #83797c;
  font-size: 10px;
  line-height: 1.55;
}

.guide-points {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.guide-points li {
  position: relative;
  padding-left: 18px;
  color: #9f9598;
  font-size: 12px;
  line-height: 1.55;
}

.guide-points li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}

.trade-flow {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

.trade-flow > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.trade-flow > div > span {
  width: 25px;
  height: 25px;
  margin-bottom: 11px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: var(--red-bright);
  font-size: 9px;
  font-weight: 700;
}

.trade-flow strong {
  display: block;
  font-size: 12px;
}

.trade-flow p {
  margin: 4px 0 0;
  color: #7e7477;
  font-size: 10px;
  line-height: 1.55;
}

.trade-flow > svg {
  display: none;
}

.boss-step {
  border-color: rgba(231, 76, 60, 0.16);
  background:
    radial-gradient(circle at 90% 0%, rgba(231, 76, 60, 0.09), transparent 28rem),
    var(--surface);
}

.boss-facts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.boss-facts > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.boss-facts > div > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(231, 76, 60, 0.55);
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
}

.boss-facts strong {
  display: block;
  font-size: 12px;
}

.boss-facts p {
  margin: 4px 0 0;
  color: #81777a;
  font-size: 10px;
  line-height: 1.55;
}

.cave-step {
  border-color: rgba(62, 205, 198, 0.14);
  background:
    linear-gradient(145deg, rgba(62, 205, 198, 0.045), transparent 42%),
    var(--surface);
}

.destination-card {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(62, 205, 198, 0.18);
  border-radius: 7px;
  display: grid;
  background: rgba(62, 205, 198, 0.05);
}

.destination-card span {
  color: #66d8d2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination-card strong {
  margin-top: 2px;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
}

.destination-card small {
  color: #817b7d;
  font-size: 11px;
}

.progression-teaser {
  min-height: 104px;
  padding: 20px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.015);
}

.progression-teaser .guide-number {
  width: 48px;
  font-size: 9px;
  text-transform: uppercase;
}

.progression-teaser h3 {
  margin: 2px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
}

.progression-teaser p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.progression-teaser .coming-link {
  margin-top: 0;
}

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

.world-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.world-card:hover {
  border-color: color-mix(in srgb, var(--world-accent) 38%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25), 0 0 32px color-mix(in srgb, var(--world-accent) 8%, transparent);
}

.world-visual {
  position: relative;
  height: 112px;
  display: flex;
  align-items: center;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--world-accent) 30%, #100c0e), transparent 75%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, 0.025) 30px 31px),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255, 255, 255, 0.025) 30px 31px),
    #100d0e;
}

.world-visual::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -40px;
  top: -80px;
  border-radius: 50%;
  background: var(--world-accent);
  opacity: 0.15;
  filter: blur(38px);
}

.world-visual.has-image {
  background: #100d0e;
}

.world-visual.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05) contrast(0.96) brightness(0.82);
}

.world-visual.has-image::after {
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.28), rgba(9, 6, 7, 0.1) 45%, rgba(9, 6, 7, 0.68)),
    linear-gradient(180deg, transparent 35%, rgba(9, 6, 7, 0.62));
  opacity: 1;
  filter: none;
}

.world-card-body {
  padding: 22px;
}

.world-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.world-title-row h3,
.event-card h3 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-available {
  border-color: rgba(105, 213, 139, 0.2);
  background: rgba(105, 213, 139, 0.07);
  color: #8ee1a5;
}

.badge-coming {
  border-color: rgba(243, 184, 93, 0.2);
  background: rgba(243, 184, 93, 0.07);
  color: #f0c47e;
}

.world-description {
  min-height: 42px;
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.content-slot {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 5px;
  display: grid;
  background: rgba(255, 255, 255, 0.018);
  line-height: 1.25;
}

.content-slot span,
.event-slots span {
  color: #b8afb2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.content-slot small,
.event-slots small {
  margin-top: 4px;
  overflow: hidden;
  color: #61585b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-card.is-unreleased {
  border-style: dashed;
}

.world-card.is-unreleased .world-card-body,
.world-card.is-unreleased .world-visual {
  opacity: 0.84;
}

[data-theme="overworld"] { --world-accent: #65bd69; }
[data-theme="cave"] { --world-accent: #aa7a58; }
[data-theme="sakura"] { --world-accent: #ed87b5; }
[data-theme="ice"] { --world-accent: #6ac9e8; }
[data-theme="inferno"] { --world-accent: #f05b38; }
[data-theme="aether"] { --world-accent: #e3c96b; }
[data-theme="oblivion"] { --world-accent: #9d6bec; }
[data-theme="ocean"] { --world-accent: #348ed8; }
[data-theme="desert"] { --world-accent: #d5a448; }
[data-theme="space"] { --world-accent: #7c7ff0; }
[data-theme="magic"] { --world-accent: #cf68e5; }

[data-theme="magic"] .world-visual.has-image img {
  object-position: center 58%;
}

.archived-section {
  position: relative;
}

.event-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(167, 128, 255, 0.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(194, 74, 110, 0.08), transparent 50%),
    var(--surface-muted);
  transition: transform 200ms ease, border-color 200ms ease;
}

.event-card.easter {
  background:
    linear-gradient(145deg, rgba(119, 189, 112, 0.07), transparent 50%),
    var(--surface-muted);
}

.event-card:hover {
  border-color: rgba(167, 128, 255, 0.28);
  transform: translateY(-3px);
}

.event-card::after {
  content: "";
  display: none;
  position: absolute;
  right: -26px;
  top: 27px;
  padding: 4px 28px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.16);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  transform: rotate(45deg);
}

.event-visual {
  position: relative;
  height: 142px;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: #100d0e;
}

.event-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(1.06) contrast(0.96) brightness(0.84);
  transition: transform 220ms ease;
}

.event-card.easter .event-visual img {
  object-position: center 64%;
}

.event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.28), rgba(9, 6, 7, 0.06) 48%, rgba(9, 6, 7, 0.62)),
    linear-gradient(180deg, transparent 38%, rgba(9, 6, 7, 0.68));
}

.event-card:hover .event-visual img {
  transform: scale(1.04);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.badge-event {
  border-color: rgba(167, 128, 255, 0.2);
  background: rgba(167, 128, 255, 0.07);
  color: #bda6ef;
}

.unavailable-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #82777b;
  font-size: 11px;
  font-weight: 600;
}

.unavailable-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #756b6e;
}

.event-card > p {
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
}

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

.event-slots div {
  min-width: 0;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  display: grid;
  background: rgba(255, 255, 255, 0.012);
  line-height: 1.2;
}

.archive-label {
  display: block;
  margin-top: 17px;
  color: #5e5659;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.server-event-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 196, 78, 0.22);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(255, 196, 78, 0.08), rgba(98, 199, 184, 0.045)),
    rgba(255, 255, 255, 0.018);
}

.server-event-note-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 196, 78, 0.28);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 196, 78, 0.08);
  color: #ffc44e;
}

.server-event-note-icon svg {
  width: 15px;
  height: 15px;
}

.server-event-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.server-event-card {
  --server-event-accent: 255, 88, 88;
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(var(--server-event-accent), 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(var(--server-event-accent), 0.09), transparent 52%),
    var(--surface-muted);
  transition: transform 200ms ease, border-color 200ms ease;
}

.server-event-card.koth {
  --server-event-accent: 255, 196, 78;
}

.server-event-card.spleef {
  --server-event-accent: 98, 199, 184;
}

.server-event-card.capture {
  --server-event-accent: 136, 139, 255;
}

.server-event-card:hover {
  border-color: rgba(var(--server-event-accent), 0.34);
  transform: translateY(-3px);
}

.server-event-visual {
  position: relative;
  height: 128px;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: #100d0e;
}

.server-event-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(1.06) contrast(0.96) brightness(0.8);
  transition: transform 220ms ease;
}

.server-event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 7, 0.22), rgba(9, 6, 7, 0.04) 48%, rgba(9, 6, 7, 0.58)),
    linear-gradient(180deg, transparent 34%, rgba(9, 6, 7, 0.7));
}

.server-event-card:hover .server-event-visual img {
  transform: scale(1.04);
}

.server-event-card.boat-race .server-event-visual img {
  object-position: center 58%;
}

.server-event-card.spleef .server-event-visual img,
.server-event-card.capture .server-event-visual img {
  object-position: center 60%;
}

.server-event-top {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.server-event-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--server-event-accent), 0.28);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(var(--server-event-accent), 0.08);
  color: rgb(var(--server-event-accent));
  font-size: 12px;
  font-weight: 800;
}

.server-event-tag {
  padding: 6px 9px;
  border: 1px solid rgba(var(--server-event-accent), 0.22);
  border-radius: 999px;
  background: rgba(var(--server-event-accent), 0.06);
  color: rgb(var(--server-event-accent));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.server-event-card h3 {
  margin: 5px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 23px;
  line-height: 1.15;
}

.server-event-card > p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.server-event-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.server-event-slots div {
  min-width: 0;
  padding: 10px;
  border: 1px dashed rgba(var(--server-event-accent), 0.18);
  border-radius: 5px;
  display: grid;
  background: rgba(255, 255, 255, 0.012);
  line-height: 1.2;
}

.server-event-slots span {
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.server-event-slots small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.server-event-slots code {
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
}

.reforge-page {
  --reforge: #a86cff;
  --reforge-soft: rgba(168, 108, 255, 0.1);
  --reforge-line: rgba(168, 108, 255, 0.22);
}

.reforge-page code {
  padding: 2px 6px;
  border: 1px solid rgba(168, 108, 255, 0.18);
  border-radius: 4px;
  background: rgba(168, 108, 255, 0.08);
  color: #d9bfff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
}

.reforge-hero {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--reforge-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(168, 108, 255, 0.16), transparent 28rem),
    linear-gradient(145deg, rgba(231, 76, 60, 0.045), transparent 45%),
    var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
}

.reforge-hero-copy {
  position: relative;
  z-index: 1;
  padding: 46px;
  align-self: center;
}

.reforge-hero h2 {
  margin: 7px 0 14px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(46px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 0 38px rgba(168, 108, 255, 0.18);
}

.reforge-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.reforge-critical-callout {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(231, 76, 60, 0.28);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(90deg, rgba(231, 76, 60, 0.13), rgba(231, 76, 60, 0.045));
}

.reforge-critical-callout > span {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(231, 76, 60, 0.16);
  color: #ff8b81;
  font-family: "Fredoka", sans-serif;
}

.reforge-critical-callout p {
  margin: 0;
  color: #ad9fa3;
  font-size: 12px;
  line-height: 1.55;
}

.reforge-critical-callout strong {
  color: #fff;
}

.reforge-hero-media {
  position: relative;
  min-width: 0;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
}

.reforge-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--surface) 0%, transparent 25%),
    linear-gradient(0deg, rgba(9, 6, 7, 0.8), transparent 42%);
  pointer-events: none;
}

.reforge-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.reforge-hero-media figcaption,
.reforge-ui-shot figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: #e9e1e4;
  font-size: 11px;
  font-weight: 600;
}

.reforge-hero-media figcaption span,
.reforge-ui-shot figcaption span {
  display: block;
  margin-bottom: 2px;
  color: #c99cff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reforge-contents {
  position: sticky;
  z-index: 25;
  top: calc(var(--header-height) + 94px);
  margin: 16px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  background: rgba(13, 9, 10, 0.91);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}

.reforge-contents a {
  flex: 1 0 auto;
  padding: 9px 12px;
  border-radius: 5px;
  color: #81777a;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.reforge-contents a:hover {
  background: var(--reforge-soft);
  color: #d9bfff;
}

.reforge-section {
  margin-top: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.017), transparent 45%),
    var(--surface);
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.reforge-section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.reforge-section-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.reforge-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.reforge-section-number {
  width: 47px;
  height: 47px;
  border: 1px solid var(--reforge-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--reforge-soft);
  color: #c99cff;
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.reforge-section h4 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.reforge-location-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reforge-location-steps > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.reforge-location-steps > div > span {
  width: 28px;
  height: 28px;
  grid-row: 1 / 3;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--reforge-soft);
  color: #c99cff;
  font-size: 10px;
  font-weight: 700;
}

.reforge-location-steps strong,
.reforge-location-steps code {
  justify-self: start;
  color: #eee8ea;
  font-size: 12px;
}

.reforge-location-steps small {
  overflow: hidden;
  color: #756b6e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reforge-location-steps > svg {
  display: none;
}

.reforge-purchase-layout {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 12px;
}

.stone-price-card,
.starting-roll-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.stone-price-header {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.stone-price-header h4 {
  margin-top: 3px;
}

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

.reforge-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.reforge-table th {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line-strong);
  color: #6f6669;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.reforge-table th:last-child,
.reforge-table td:last-child {
  text-align: right;
}

.reforge-table td {
  padding: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: #c8bec1;
}

.reforge-table td:last-child {
  color: #fff;
  font-weight: 700;
}

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

.stone-dot {
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 3px;
  display: inline-block;
  background: #8c7d82;
  box-shadow: 0 0 8px currentColor;
}

.stone-dot.key { color: #e8b95f; background: currentColor; }
.stone-dot.pickaxe { color: #cf83ff; background: currentColor; }
.stone-dot.tool { color: #69cce4; background: currentColor; }
.stone-dot.health { color: #e76c72; background: currentColor; }

.starting-roll-card {
  border-color: var(--reforge-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 108, 255, 0.11), transparent 18rem),
    rgba(168, 108, 255, 0.035);
}

.starting-roll-card h4 {
  margin-top: 14px;
}

.starting-roll-card > p {
  margin: 7px 0 0;
  color: #968b8f;
  font-size: 12px;
  line-height: 1.55;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 21px;
  color: #9d9396;
  font-size: 11px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b784ff;
  font-weight: 700;
}

.rarity-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.rarity-common { color: #b8afb2; background: rgba(184, 175, 178, 0.07); }
.rarity-uncommon { color: #67d88a; background: rgba(103, 216, 138, 0.07); }
.rarity-rare { color: #63aef2; background: rgba(99, 174, 242, 0.07); }
.rarity-epic { color: #ad74ed; background: rgba(173, 116, 237, 0.08); }
.rarity-legendary { color: #f0bd58; background: rgba(240, 189, 88, 0.08); }
.rarity-mythic { color: #ef72d6; background: rgba(239, 114, 214, 0.08); }

.recommendation-section {
  border-color: rgba(231, 76, 60, 0.17);
  background:
    radial-gradient(circle at 95% 10%, rgba(231, 76, 60, 0.08), transparent 23rem),
    var(--surface);
}

.recommendation-card {
  display: grid;
  gap: 8px;
}

.recommendation-rank {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.recommendation-rank > span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: #918589;
  font-family: "Fredoka", sans-serif;
}

.recommendation-rank strong {
  color: #eee8ea;
  font-size: 13px;
}

.recommendation-rank p {
  margin: 2px 0 0;
  color: #7e7477;
  font-size: 10px;
  line-height: 1.5;
}

.recommendation-rank.is-best {
  border-color: rgba(231, 76, 60, 0.23);
  background: rgba(231, 76, 60, 0.055);
}

.recommendation-rank.is-best > span:first-child {
  background: rgba(231, 76, 60, 0.13);
  color: var(--red-bright);
}

.recommendation-label {
  padding: 5px 8px;
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 999px;
  color: #ef867c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reforge-gui-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 12px;
}

.gui-diagram,
.reforge-actions-card {
  min-width: 0;
  min-height: 184px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.018) 38px 39px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, 0.018) 38px 39px),
    rgba(255, 255, 255, 0.018);
}

.gui-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.gui-slot {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.slot-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #110c0e;
  color: #bcb2b5;
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.018);
}

.slot-icon.stone {
  border-color: var(--reforge-line);
  background: var(--reforge-soft);
  color: #d2adff;
}

.slot-icon.confirm {
  border-color: rgba(105, 213, 139, 0.22);
  background: rgba(105, 213, 139, 0.07);
  color: #89dea1;
}

.gui-slot strong {
  font-size: 11px;
}

.gui-slot small {
  color: #665d60;
  font-size: 9px;
}

.gui-plus,
.gui-equals {
  color: #574e51;
  font-size: 18px;
}

.reforge-actions-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 108, 255, 0.08), transparent 16rem),
    rgba(255, 255, 255, 0.018);
}

.reforge-actions {
  margin: 13px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.reforge-actions span {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  color: #b6acaf;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.reforge-actions-card > p {
  margin: 0;
  color: #7d7376;
  font-size: 10px;
  line-height: 1.55;
}

.cost-chip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cost-chip strong {
  color: #fff;
  font-size: 15px;
}

.cost-chip span {
  color: #6f6669;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.reforge-trade-warning {
  margin-bottom: 0;
}

.shard-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.shard-source {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 11px;
  background: rgba(255, 255, 255, 0.018);
}

.shard-source > span {
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: #9b8f93;
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
}

.shard-source.primary {
  border-color: var(--reforge-line);
  background: var(--reforge-soft);
}

.shard-source.primary > span {
  background: rgba(168, 108, 255, 0.14);
  color: #d0a7ff;
}

.shard-source strong {
  color: #ddd5d8;
  font-size: 12px;
}

.shard-source p {
  margin: 0;
  color: #766c70;
  font-size: 9px;
}

.linked-guide-note {
  margin: 15px 0 0;
  color: #82777b;
  font-size: 11px;
}

.linked-guide-note a,
.stone-page-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d0a7ff;
  font-weight: 700;
}

.linked-guide-note svg,
.stone-page-link svg {
  width: 13px;
  height: 13px;
}

.upgrade-process-section {
  border-color: rgba(168, 108, 255, 0.15);
}

.upgrade-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 12px;
}

.reforge-steps {
  height: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.reforge-steps li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.reforge-steps li > span {
  width: 27px;
  height: 27px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--reforge-soft);
  color: #c99cff;
  font-size: 9px;
  font-weight: 700;
}

.reforge-steps strong {
  display: block;
  color: #d9d1d3;
  font-size: 11px;
}

.reforge-steps p {
  margin: 1px 0 0;
  color: #70676a;
  font-size: 9px;
  line-height: 1.4;
}

.reforge-ui-shot {
  position: relative;
  min-width: 0;
  min-height: 330px;
  margin: 0;
  border: 1px solid var(--reforge-line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(168, 108, 255, 0.12), transparent 22rem),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.02) 31px 32px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, 0.02) 31px 32px),
    #0d090b;
}

.reforge-ui-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.72), transparent 42%);
  pointer-events: none;
}

.reforge-ui-shot img {
  position: relative;
  z-index: 0;
  max-width: calc(100% - 42px);
  max-height: calc(100% - 70px);
  image-rendering: pixelated;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}

.info-shot img {
  width: min(94%, 605px);
}

.shard-points-panel {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.shard-points-panel h4 {
  margin-top: 2px;
}

.shard-point-row {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.shard-point-row strong {
  color: #fff;
  font-size: 12px;
}

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

.failure-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.failure-card.destructive {
  border-color: rgba(231, 76, 60, 0.22);
  background: rgba(231, 76, 60, 0.045);
}

.failure-card.downgrade {
  border-color: rgba(243, 184, 93, 0.18);
  background: rgba(243, 184, 93, 0.035);
}

.failure-card h4 {
  margin-top: 14px;
}

.failure-card p {
  margin: 6px 0 0;
  color: #857b7e;
  font-size: 11px;
  line-height: 1.55;
}

.failure-example {
  margin-top: 10px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.012);
}

.failure-example > div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.failure-example small {
  color: #685f62;
  font-size: 8px;
  text-transform: uppercase;
}

.failure-example svg {
  width: 18px;
  color: #5b5255;
}

.failure-burst {
  padding: 7px 10px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 999px;
  background: rgba(231, 76, 60, 0.08);
  color: #ef756b;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.protection-section {
  border-color: rgba(240, 189, 88, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 189, 88, 0.07), transparent 22rem),
    var(--surface);
}

.protection-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(390px, 1.22fr);
  gap: 12px;
}

.protection-copy {
  display: grid;
  gap: 12px;
}

.store-options {
  display: grid;
  gap: 8px;
}

.store-option {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 189, 88, 0.18);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  background: rgba(240, 189, 88, 0.035);
  transition: border-color 160ms ease, background 160ms ease;
}

.store-option:hover {
  border-color: rgba(240, 189, 88, 0.32);
  background: rgba(240, 189, 88, 0.055);
}

.store-option span {
  color: #a88d5a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-option strong {
  color: #e8ded2;
  font-size: 12px;
}

.store-option svg {
  width: 17px;
  height: 17px;
  grid-row: 1 / 3;
  grid-column: 2;
  color: #d8aa50;
}

.command-option {
  grid-template-columns: 1fr;
}

.premium-tip {
  padding: 16px;
  border: 1px solid rgba(240, 189, 88, 0.2);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(240, 189, 88, 0.08), rgba(168, 108, 255, 0.035));
}

.premium-tip > span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e4b352, #85631f);
  color: #fff5db;
  font-family: "Fredoka", sans-serif;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
}

.premium-tip strong {
  color: #ecc874;
  font-size: 11px;
  text-transform: uppercase;
}

.premium-tip p {
  margin: 3px 0 0;
  color: #8f8383;
  font-size: 10px;
  line-height: 1.55;
}

.protection-shot {
  min-height: 310px;
  border-color: rgba(240, 189, 88, 0.18);
}

.protection-shot img {
  width: min(88%, 378px);
}

.rarity-section {
  overflow: hidden;
}

.rarity-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 4px;
  scrollbar-width: thin;
}

.rarity-node {
  min-width: 104px;
  min-height: 74px;
  border: 1px solid currentColor;
  border-radius: 8px;
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.015);
}

.rarity-timeline svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #51494c;
}

.stone-guide-section {
  border-color: var(--reforge-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 108, 255, 0.08), transparent 30rem),
    var(--surface);
}

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

.stone-ranges-panel {
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--reforge-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 108, 255, 0.06), transparent 50%),
    rgba(255, 255, 255, 0.018);
}

.stone-ranges-heading {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.stone-ranges-heading h4 {
  margin-top: 3px;
}

.stone-range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.stone-range-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.stone-range-card > div {
  min-width: 0;
  display: grid;
}

.stone-range-card > div strong {
  color: #ddd5d8;
  font-size: 11px;
}

.stone-range-card > div > span {
  color: #6f6669;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stone-range-card dl {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  display: grid;
  gap: 6px;
}

.stone-range-card dl > div {
  min-width: 0;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.stone-range-card dt,
.stone-range-card dd {
  margin: 0;
}

.stone-range-card dd {
  color: #f2ecee;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.stone-guide-card {
  position: relative;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.stone-guide-card:hover {
  border-color: var(--reforge-line);
  background: rgba(255, 255, 255, 0.028);
  transform: translateY(-2px);
}

.stone-card-top {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stone-symbol {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.045);
  color: #b7adb0;
  font-family: "Fredoka", sans-serif;
}

.stone-symbol.key { color: #e5b75c; background: rgba(229, 183, 92, 0.08); }
.stone-symbol.pickaxe { color: #c687ff; background: rgba(198, 135, 255, 0.09); }
.stone-symbol.tool { color: #69cce4; background: rgba(105, 204, 228, 0.08); }
.stone-symbol.bow { color: #75df87; background: rgba(117, 223, 135, 0.08); }
.stone-symbol.health { color: #ee7379; background: rgba(238, 115, 121, 0.08); }
.stone-symbol.secret { color: #d9bfff; background: rgba(168, 108, 255, 0.1); }

.equipment-chip {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #796f72;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stone-guide-card h4 {
  font-size: 18px;
}

.stone-guide-card > p {
  margin: 6px 0 0;
  color: #8b8084;
  font-size: 11px;
  line-height: 1.55;
}

.stone-detail {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
}

.stone-detail strong {
  color: #c8bec1;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stone-detail span {
  color: #736a6d;
  font-size: 10px;
  line-height: 1.5;
}

.featured-stone {
  border-color: rgba(231, 76, 60, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(231, 76, 60, 0.09), transparent 17rem),
    rgba(231, 76, 60, 0.025);
}

.homing-stone {
  border-color: rgba(117, 223, 135, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 223, 135, 0.08), transparent 17rem),
    rgba(117, 223, 135, 0.02);
}

.best-long-term,
.secret-label,
.stone-source-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #ef867c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fortune-example {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid rgba(231, 76, 60, 0.14);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  background: rgba(231, 76, 60, 0.04);
  color: #8c8084;
  font-size: 9px;
}

.fortune-example b {
  color: #5d5357;
}

.fortune-example strong {
  color: #ff9187;
}

.stone-example-shot {
  margin: 15px 0 0;
  padding: 13px;
  border: 1px solid var(--reforge-line);
  border-radius: 7px;
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(255, 255, 255, 0.018) 25px 26px),
    #0c080a;
}

.stone-example-shot img {
  width: 100%;
  max-width: 435px;
  margin-inline: auto;
  display: block;
  image-rendering: pixelated;
}

.stone-example-shot figcaption {
  margin-top: 8px;
  color: #6c6265;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stone-example-shot + .stone-page-link {
  margin-top: 14px;
}

.secret-stone {
  border-style: dashed;
  border-color: var(--reforge-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 108, 255, 0.1), transparent 17rem),
    rgba(168, 108, 255, 0.025);
}

.secret-label {
  color: #c99cff;
}

.stone-source-label {
  color: #83e795;
}

.secret-stone ul {
  margin: 13px 0;
  padding-left: 17px;
  color: #81777a;
  font-size: 10px;
}

.stone-page-link {
  font-size: 10px;
}

.reroll-section {
  background:
    linear-gradient(145deg, rgba(99, 174, 242, 0.04), transparent 45%),
    var(--surface);
}

.reroll-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reroll-grid > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.018);
}

.reroll-grid span {
  color: #63aef2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.reroll-grid strong {
  color: #cfc6c8;
  font-size: 11px;
}

.reroll-grid .reroll-does {
  border-color: rgba(99, 174, 242, 0.18);
  background: rgba(99, 174, 242, 0.04);
}

.progression-priority-section {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 213, 139, 0.07), transparent 22rem),
    var(--surface);
}

.priority-roadmap {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
}

.priority-roadmap li {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.priority-roadmap li > span {
  width: 29px;
  height: 29px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(105, 213, 139, 0.09);
  color: #8cdda3;
  font-size: 9px;
  font-weight: 700;
}

.priority-roadmap strong {
  display: block;
  color: #d8d0d2;
  font-size: 11px;
}

.priority-roadmap p {
  margin: 3px 0 0;
  color: #746b6e;
  font-size: 9px;
  line-height: 1.45;
}

.linked-placeholder {
  margin-top: 12px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.012);
  scroll-margin-top: 180px;
}

.linked-placeholder div {
  display: grid;
}

.linked-placeholder strong {
  color: #d2c9cc;
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
}

.linked-placeholder p {
  margin: 0;
  color: #665d60;
  font-size: 10px;
}

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

.guide-card {
  min-width: 0;
  min-height: 118px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  scroll-margin-top: 180px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.guide-card:hover {
  border-color: rgba(231, 76, 60, 0.22);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.guide-icon {
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.025);
  color: #8b8084;
  font-family: "Fredoka", sans-serif;
  font-size: 11px;
}

.guide-card h3 {
  margin: 3px 0 1px;
  overflow: hidden;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-card p {
  margin: 0;
  color: #696063;
  font-size: 11px;
}

.guide-card > svg {
  width: 16px;
  height: 16px;
  color: #534b4e;
  transition: color 180ms ease, transform 180ms ease;
}

.guide-card:hover > svg {
  color: var(--red);
  transform: translateX(2px);
}

.commands-page {
  scroll-margin-top: 180px;
}

.commands-hero {
  position: relative;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.commands-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(106, 201, 232, 0.75), transparent);
}

.commands-hero-copy,
.commands-overview-card {
  position: relative;
}

.commands-hero h2 {
  margin: 4px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 60px;
  line-height: 1;
  letter-spacing: 0;
}

.commands-hero-copy > p {
  max-width: 680px;
  margin: 16px 0 22px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.65;
}

.command-page-search {
  min-height: 54px;
  max-width: 620px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.command-page-search:focus-within {
  border-color: rgba(231, 76, 60, 0.42);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.command-page-search svg {
  width: 18px;
  height: 18px;
  color: var(--red-bright);
}

.command-page-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.command-page-search input::placeholder {
  color: #766c70;
}

.commands-overview-card {
  align-self: stretch;
  padding: 18px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.12), rgba(231, 76, 60, 0.045)),
    rgba(8, 5, 6, 0.34);
}

.commands-overview-card div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.commands-overview-card strong {
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
  line-height: 1;
}

.commands-overview-card span {
  color: #a89fa2;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

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

.commands-toc {
  position: sticky;
  top: calc(var(--header-height) + 104px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--surface-muted);
}

.commands-toc-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.commands-toc nav,
.commands-main {
  display: grid;
}

.commands-toc nav {
  gap: 6px;
}

.commands-main {
  min-width: 0;
  gap: 14px;
}

.commands-toc a {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: #a99fa2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.commands-toc a:hover {
  border-color: rgba(231, 76, 60, 0.18);
  background: rgba(231, 76, 60, 0.07);
  color: #fff;
}

.commands-toc svg {
  width: 16px;
  height: 16px;
  color: var(--red-bright);
}

.command-category,
.commands-tips-card,
.discord-bonus-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.045), transparent 42%),
    var(--surface);
}

.command-category-header,
.command-card-heading {
  padding: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.command-category-header {
  border-bottom: 1px solid var(--line);
}

.command-category-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(231, 76, 60, 0.18);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: var(--red-bright);
}

.command-category-icon svg {
  width: 19px;
  height: 19px;
}

.command-category h3,
.commands-tips-card h3,
.discord-bonus-card h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.command-category-count {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8f8588;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.command-table {
  display: grid;
}

.command-row {
  min-width: 0;
  min-height: 62px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: minmax(148px, 0.36fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  transition: background 160ms ease;
}

.command-row + .command-row {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.command-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.command-row code,
.commands-tips-card code,
.discord-bonus-card code {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 6px;
  display: inline-block;
  overflow-wrap: anywhere;
  background: rgba(231, 76, 60, 0.09);
  color: #ff9a91;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.command-row p {
  margin: 0;
  color: #ada4a7;
  font-size: 13px;
  line-height: 1.45;
}

.command-copy {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.035);
  color: #93898d;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.command-copy:hover {
  border-color: rgba(231, 76, 60, 0.28);
  background: rgba(231, 76, 60, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.command-copy svg {
  width: 15px;
  height: 15px;
}

.command-empty-state {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.command-empty-state span {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: var(--red-bright);
  font-family: "Fredoka", sans-serif;
}

.command-empty-state strong {
  color: #ded7d9;
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
}

.command-empty-state p {
  margin: 0;
  color: #887e82;
  font-size: 13px;
}

.commands-tips-card {
  padding-bottom: 18px;
}

.command-tip-list,
.discord-rewards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.command-tip-list {
  padding-inline: 18px;
  display: grid;
  gap: 8px;
}

.command-tip-list li {
  position: relative;
  min-width: 0;
  min-height: 56px;
  padding: 12px 12px 12px 53px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  background: rgba(255, 255, 255, 0.018);
  color: #b8afb2;
  font-size: 13px;
  line-height: 1.5;
}

.command-tip-list li > span:first-child {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 700;
}

.command-tip-list code {
  vertical-align: baseline;
}

.discord-bonus-card {
  padding: 24px;
  border-color: rgba(243, 184, 93, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(243, 184, 93, 0.115), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--surface);
}

.discord-bonus-card p {
  margin: 10px 0 0;
  color: #c8bfc2;
  font-size: 14px;
}

.discord-rewards {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discord-rewards li {
  padding: 8px 10px;
  border: 1px solid rgba(243, 184, 93, 0.2);
  border-radius: 999px;
  background: rgba(243, 184, 93, 0.075);
  color: #f1cf95;
  font-size: 12px;
  font-weight: 700;
}

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

.rules-page {
  scroll-margin-top: 180px;
}

.rules-hero {
  position: relative;
  margin-bottom: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.68fr);
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.rules-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(243, 184, 93, 0.75), transparent);
}

.rules-hero-copy,
.rules-notice {
  position: relative;
}

.rules-hero h2 {
  margin: 4px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.rules-hero-copy > p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.rules-notice {
  align-self: stretch;
  padding: 18px;
  border: 1px solid rgba(231, 76, 60, 0.28);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.14), rgba(231, 76, 60, 0.05)),
    rgba(8, 5, 6, 0.34);
}

.rules-notice-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.16);
  color: #ff8f84;
}

.rules-notice-icon svg {
  width: 18px;
  height: 18px;
}

.rules-notice p {
  margin: 0;
  color: #f0d5d1;
  font-size: 13px;
  line-height: 1.65;
}

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

.rules-quick-nav {
  position: sticky;
  top: calc(var(--header-height) + 104px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--surface-muted);
}

.rules-nav-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rules-quick-nav nav {
  display: grid;
  gap: 6px;
}

.rules-quick-nav a {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: #a99fa2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.rules-quick-nav a:hover {
  border-color: rgba(231, 76, 60, 0.18);
  background: rgba(231, 76, 60, 0.07);
  color: #fff;
}

.rules-quick-nav svg {
  width: 16px;
  height: 16px;
  color: var(--red-bright);
}

.rules-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.rules-category {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.045), transparent 42%),
    var(--surface);
  scroll-margin-top: 176px;
  transition: border-color 180ms ease, background 180ms ease;
}

.rules-category[open] {
  border-color: rgba(231, 76, 60, 0.18);
  background:
    linear-gradient(135deg, rgba(231, 76, 60, 0.07), transparent 42%),
    var(--surface);
}

.rules-category summary {
  min-height: 78px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.rules-category summary::-webkit-details-marker,
.rules-note-card summary::-webkit-details-marker {
  display: none;
}

.rules-category summary > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.rules-category summary strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "Fredoka", sans-serif;
  font-size: 23px;
  line-height: 1.12;
}

.rules-category-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(231, 76, 60, 0.18);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: var(--red-bright);
}

.rules-category-icon svg {
  width: 21px;
  height: 21px;
}

.rules-chevron {
  width: 18px;
  height: 18px;
  color: #6f6669;
  transition: transform 180ms ease, color 180ms ease;
}

.rules-category[open] .rules-chevron,
.rules-note-card[open] summary > svg:last-child {
  color: var(--red-bright);
  transform: rotate(90deg);
}

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

.rule-item {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  background: rgba(255, 255, 255, 0.026);
  color: #d8d1d3;
  font-size: 14px;
  line-height: 1.55;
}

.rule-item p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.rule-item > span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: #ff8f84;
}

.rule-item > span svg {
  width: 15px;
  height: 15px;
}

.rule-item strong {
  color: #fff;
}

.rule-item em {
  color: #9fd9ed;
  font-style: normal;
  font-weight: 600;
}

.rule-item.is-warning {
  border-color: rgba(231, 76, 60, 0.28);
  background:
    linear-gradient(90deg, rgba(231, 76, 60, 0.13), rgba(231, 76, 60, 0.04)),
    rgba(255, 255, 255, 0.018);
  color: #f0d7d3;
}

.rule-item.is-warning > span {
  background: rgba(231, 76, 60, 0.16);
  color: #ff8f84;
}

.rule-item.has-exception {
  border-color: rgba(106, 201, 232, 0.17);
  background:
    linear-gradient(90deg, rgba(106, 201, 232, 0.08), transparent),
    rgba(255, 255, 255, 0.02);
}

.rule-item.has-exception > span {
  background: rgba(106, 201, 232, 0.11);
  color: #9fd9ed;
}

.rule-item.is-allowed {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    linear-gradient(90deg, rgba(105, 213, 139, 0.07), transparent),
    rgba(255, 255, 255, 0.02);
}

.rule-item.is-allowed > span {
  background: rgba(105, 213, 139, 0.1);
  color: #94e8ac;
}

.account-rule-grid {
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.64fr);
  gap: 10px;
}

.account-limit-card,
.account-limit-list {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.026);
}

.account-limit-card {
  padding: 18px;
}

.account-limit-card > span {
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-limit-card strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.account-limit-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.account-limit-card p strong {
  display: inline;
  margin: 0;
  font: inherit;
}

.account-limit-list {
  padding: 10px;
  display: grid;
  gap: 8px;
  list-style: none;
}

.account-limit-list li {
  padding: 10px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #d8d1d3;
  font-size: 13px;
  font-weight: 700;
}

.account-limit-list span {
  flex: 0 0 auto;
  color: var(--red-bright);
  font-family: "Fredoka", sans-serif;
}

.rules-notes-section {
  padding-top: 22px;
  scroll-margin-top: 176px;
}

.rules-notes-heading {
  margin-bottom: 13px;
}

.rules-notes-heading h3 {
  margin: 4px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
}

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

.rules-note-card {
  min-width: 0;
  border: 1px solid rgba(106, 201, 232, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(106, 201, 232, 0.055), transparent 48%),
    var(--surface-muted);
}

.rules-note-card summary {
  min-height: 58px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #e7eef1;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rules-note-card summary span {
  width: 31px;
  height: 31px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(106, 201, 232, 0.11);
  color: #9fd9ed;
}

.rules-note-card summary svg {
  width: 16px;
  height: 16px;
}

.rules-note-card summary > svg:last-child {
  color: #6f6669;
  transition: transform 180ms ease, color 180ms ease;
}

.rules-note-card > div {
  padding: 0 14px 15px;
}

.rules-note-card p,
.rules-note-card li {
  color: #a99fa2;
  font-size: 13px;
  line-height: 1.58;
}

.rules-note-card p {
  margin: 0;
}

.rules-note-card p + p,
.rules-note-card ul + p {
  margin-top: 10px;
}

.rules-note-card ul {
  margin: 10px 0;
  padding-left: 18px;
}

.rules-note-card strong {
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(231, 76, 60, 0.22);
}

.faq-list summary {
  min-height: 60px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #d8d1d3;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-summary-copy {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.faq-summary-copy > span:last-child {
  min-width: 0;
}

.faq-question-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(231, 76, 60, 0.18);
  border-radius: 7px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(231, 76, 60, 0.07);
  color: var(--red-bright);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.faq-question-icon svg {
  width: 17px;
  height: 17px;
}

.faq-list summary > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #6e6467;
  transition: transform 180ms ease;
}

.faq-list details[open] summary > svg {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 18px 18px 64px;
}

.faq-answer p,
.faq-answer li {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer strong {
  color: #fff;
}

.faq-answer code {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #f6ddd9;
  font-size: 0.9em;
  font-weight: 700;
}

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

.faq-points li {
  position: relative;
  padding-left: 18px;
}

.faq-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(231, 76, 60, 0.28);
}

.faq-tip {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(105, 213, 139, 0.18);
  border-radius: 7px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(105, 213, 139, 0.055);
}

.faq-tip .callout-icon {
  background: rgba(105, 213, 139, 0.12);
  color: #8ee1a5;
}

.faq-tip strong {
  display: block;
  color: #a6edba;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.faq-tip p {
  margin-top: 3px;
  color: #aeb7af;
  font-size: 12px;
}

.faq-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-action-link {
  min-height: 44px;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.22;
  text-align: center;
  white-space: normal;
}

.faq-action-large {
  min-height: 52px;
  padding-inline: 24px;
}

[hidden] {
  display: none !important;
}

.empty-search {
  min-height: 420px;
  padding: 70px 20px;
  text-align: center;
}

.empty-search > span {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid rgba(231, 76, 60, 0.18);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.06);
  color: var(--red);
  font-family: "Fredoka", sans-serif;
  font-size: 27px;
}

.empty-search h2 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
}

.empty-search p {
  margin: 8px 0 24px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070506;
}

.footer-grid {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  object-fit: contain;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  font-family: "Fredoka", sans-serif;
  font-size: 15px;
}

.footer-brand span,
.footer-grid > p {
  color: #665d60;
  font-size: 11px;
}

.footer-grid nav {
  display: flex;
  gap: 24px;
  color: #8d8386;
  font-size: 12px;
  font-weight: 600;
}

.footer-grid nav a:hover {
  color: #fff;
}

.footer-grid > p {
  grid-column: 1 / -1;
  margin: -28px 0 0;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 24px;
  padding: 10px 15px;
  border: 1px solid rgba(105, 213, 139, 0.2);
  border-radius: 6px;
  background: #16221a;
  color: #b9efc8;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Bosses & Mobs guide */
.bosses-page {
  --bosses: #ff7466;
  --bosses-bright: #ffd166;
  --bosses-soft: rgba(255, 116, 102, 0.08);
  --bosses-line: rgba(255, 116, 102, 0.22);
  --bosses-cyan: #73c9e8;
  --bosses-green: #8fe6a7;
  --bosses-purple: #cda8ff;
}

.bosses-breadcrumbs a:hover {
  color: var(--bosses-bright);
}

.bosses-hero {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--bosses-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 116, 102, 0.18), transparent 30rem),
    radial-gradient(circle at 96% 100%, rgba(115, 201, 232, 0.12), transparent 25rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.026), transparent 48%),
    var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.bosses-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.bosses-hero-copy {
  position: relative;
  z-index: 1;
  padding: 52px;
  align-self: center;
}

.bosses-hero h2 {
  margin: 6px 0 13px;
  font-family: "Fredoka", sans-serif;
  font-size: 68px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 45px rgba(255, 116, 102, 0.2);
}

.bosses-hero-copy > p {
  margin: 0;
  max-width: 590px;
  color: var(--text-soft);
  font-size: 18px;
}

.bosses-hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bosses-facts {
  position: relative;
  z-index: 1;
  margin: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  background: rgba(9, 7, 8, 0.68);
  backdrop-filter: blur(14px);
}

.bosses-facts > div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 3px;
}

.bosses-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.bosses-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.bosses-facts > div:last-child {
  grid-column: 1 / -1;
  border-right: 0;
}

.bosses-facts span,
.bosses-table td:first-child,
.bosses-nav-kicker,
.bosses-card-icon,
.attack-grid span,
.phase-card span,
.enemy-strategy span,
.bosses-tips-grid span {
  font-weight: 700;
}

.bosses-facts span,
.attack-grid span,
.phase-card span,
.enemy-strategy span,
.bosses-tips-grid span {
  color: #766d70;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bosses-facts strong {
  min-width: 0;
  color: #f0e8ea;
  font-size: 12px;
  line-height: 1.35;
}

.bosses-page-layout {
  min-width: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.bosses-quick-nav {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 112px);
  z-index: 24;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(13, 9, 10, 0.92);
  backdrop-filter: blur(16px);
}

.bosses-nav-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--bosses-bright);
}

.bosses-quick-nav nav {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.bosses-quick-nav a {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #8e8387;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease;
}

.bosses-quick-nav a:hover {
  background: var(--bosses-soft);
  color: var(--bosses-bright);
}

.bosses-quick-nav svg {
  width: 14px;
  height: 14px;
  color: var(--bosses);
}

.bosses-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.bosses-section,
.boss-world-detail,
.enemy-card {
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.bosses-section,
.boss-world-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
}

.bosses-section {
  padding: 30px;
}

.bosses-section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.bosses-section-heading > div {
  min-width: 0;
}

.bosses-section-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.bosses-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bosses-section-number,
.boss-world-icon,
.bosses-card-icon {
  width: 47px;
  height: 47px;
  border: 1px solid var(--bosses-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--bosses-soft);
  color: var(--bosses-bright);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.bosses-section-number,
.boss-world-icon {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
}

.bosses-card-icon svg {
  width: 21px;
  height: 21px;
}

.bosses-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.bosses-panel,
.bosses-summary-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.bosses-panel {
  padding: 22px;
}

.bosses-panel p,
.bosses-summary-card p,
.enemy-card-copy > p,
.attack-grid p,
.phase-card p,
.enemy-strategy p {
  margin: 0 0 13px;
  color: #b4aaad;
  font-size: 14px;
  line-height: 1.75;
}

.bosses-panel p:last-child,
.bosses-summary-card p:last-child,
.enemy-card-copy > p:last-child,
.attack-grid p:last-child,
.phase-card p:last-child,
.enemy-strategy p:last-child {
  margin-bottom: 0;
}

.bosses-panel strong,
.enemy-card-copy strong {
  color: #f5eff1;
}

.bosses-summary-card {
  padding: 21px;
  border-color: var(--bosses-line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 116, 102, 0.08), transparent 18rem),
    rgba(255, 116, 102, 0.025);
}

.bosses-summary-card strong {
  display: block;
  color: #e7dfe1;
  font-size: 13px;
}

.bosses-table-wrap {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
}

.bosses-table td:first-child {
  color: var(--bosses-bright);
}

.bosses-table td:nth-child(2) {
  color: #f1e8eb;
  font-weight: 800;
}

.boss-world-stack {
  display: grid;
  gap: 12px;
}

.boss-world-detail {
  --boss-world-accent: var(--world-accent, var(--bosses));
  overflow: hidden;
}

.boss-world-detail summary {
  min-height: 82px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.boss-world-detail summary::-webkit-details-marker {
  display: none;
}

.boss-world-detail summary small {
  display: block;
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boss-world-detail summary strong {
  display: block;
  margin-top: 2px;
  color: #f0e8ea;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.boss-world-icon {
  border-color: color-mix(in srgb, var(--boss-world-accent) 45%, transparent);
  background: color-mix(in srgb, var(--boss-world-accent) 12%, transparent);
  color: var(--boss-world-accent);
}

.boss-world-count {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--boss-world-accent) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--boss-world-accent) 10%, transparent);
  color: var(--boss-world-accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.boss-world-chevron {
  width: 17px;
  height: 17px;
  color: var(--boss-world-accent);
  transition: transform 180ms ease;
}

.boss-world-detail[open] .boss-world-chevron {
  transform: rotate(90deg);
}

.boss-world-body {
  padding: 0 20px 22px;
}

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

.enemy-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--boss-world-accent) 9%, transparent), transparent 19rem),
    rgba(255, 255, 255, 0.014);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.boss-world-body:not(.enemy-card-grid) > .enemy-card,
.enemy-card-wide {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  grid-template-rows: none;
}

.enemy-card-wide {
  grid-column: 1 / -1;
}

.enemy-card:hover {
  border-color: color-mix(in srgb, var(--boss-world-accent) 36%, transparent);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--boss-world-accent) 12%, transparent), transparent 19rem),
    rgba(255, 255, 255, 0.018);
  transform: translateY(-2px);
}

.enemy-shot {
  position: relative;
  min-height: 240px;
  margin: 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--boss-world-accent) 30%, transparent);
  overflow: hidden;
  background: #0d0a0b;
}

.boss-world-body:not(.enemy-card-grid) > .enemy-card .enemy-shot,
.enemy-card-wide .enemy-shot {
  min-height: 100%;
  border-right: 1px dashed color-mix(in srgb, var(--boss-world-accent) 30%, transparent);
  border-bottom: 0;
}

.enemy-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.enemy-card:hover .enemy-shot img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.06);
}

.enemy-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 6, 7, 0.74), transparent 45%),
    radial-gradient(circle at 50% 12%, transparent, rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.enemy-shot figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #d0c7cb;
  font-size: 10px;
  font-weight: 700;
}

.enemy-shot figcaption span {
  display: block;
  color: var(--boss-world-accent);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.enemy-card-copy {
  min-width: 0;
  padding: 22px;
}

.enemy-card-top {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.enemy-card-top h4 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0;
}

.enemy-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.enemy-type-badge,
.enemy-difficulty {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.enemy-type-badge.boss { color: #ffd166; background: rgba(243, 184, 93, 0.08); }
.enemy-type-badge.miniboss { color: #cda8ff; background: rgba(167, 128, 255, 0.09); }
.enemy-type-badge.mob { color: #9ee9ff; background: rgba(115, 201, 232, 0.08); }

.enemy-difficulty.easy { color: #8fe6a7; background: rgba(105, 213, 139, 0.08); }
.enemy-difficulty.medium { color: #f3b85d; background: rgba(243, 184, 93, 0.08); }
.enemy-difficulty.hard { color: #ff7466; background: rgba(231, 76, 60, 0.1); }
.enemy-difficulty.very-hard { color: #cda8ff; background: rgba(167, 128, 255, 0.09); }
.enemy-difficulty.variable { color: #73c9e8; background: rgba(115, 201, 232, 0.08); }
.enemy-difficulty.unrated { color: #aaa0a3; background: rgba(255, 255, 255, 0.04); }

.attack-grid,
.phase-grid {
  margin-top: 15px;
  display: grid;
  gap: 10px;
}

.attack-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.phase-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.attack-grid > div,
.phase-card,
.enemy-strategy,
.enemy-tips li,
.bosses-tips-grid > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.016);
}

.attack-grid > div,
.phase-card {
  padding: 13px;
}

.attack-grid strong,
.phase-card h5 {
  display: block;
  margin-top: 4px;
  color: #e7dfe1;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.phase-card h5 {
  margin-bottom: 7px;
  font-family: "Fredoka", sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

.enemy-strategy {
  margin-top: 15px;
  padding: 14px;
  border-color: color-mix(in srgb, var(--boss-world-accent) 32%, transparent);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--boss-world-accent) 9%, transparent), transparent 56%),
    rgba(255, 255, 255, 0.014);
}

.enemy-strategy span {
  color: var(--boss-world-accent);
}

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

.enemy-tips li {
  padding: 11px;
  color: #c7bdc0;
  font-size: 12px;
  line-height: 1.45;
}

.bosses-tips-section {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 213, 139, 0.07), transparent 22rem),
    var(--surface);
}

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

.bosses-tips-grid > div {
  min-height: 98px;
  padding: 14px;
  border-color: rgba(105, 213, 139, 0.13);
  background: rgba(105, 213, 139, 0.025);
}

.bosses-tips-grid span {
  color: #9fe08f;
}

.bosses-tips-grid strong {
  display: block;
  color: #ddd4d7;
  font-size: 12px;
  line-height: 1.35;
}

.bosses-related-links a:hover {
  border-color: var(--bosses-line);
  background: var(--bosses-soft);
  color: var(--bosses-bright);
}

@media (max-width: 1160px) {
  .bosses-hero,
  .bosses-overview-grid {
    grid-template-columns: 1fr;
  }

  .bosses-page-layout {
    grid-template-columns: 1fr;
  }

  .bosses-quick-nav {
    position: sticky;
    top: calc(var(--header-height) + 94px);
  }

  .bosses-quick-nav nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .bosses-quick-nav a {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .bosses-facts {
    margin-top: 0;
  }

  .enemy-card-grid,
  .phase-grid {
    grid-template-columns: 1fr;
  }

  .enemy-card-wide,
  .boss-world-body:not(.enemy-card-grid) > .enemy-card {
    grid-template-columns: 1fr;
  }

  .boss-world-body:not(.enemy-card-grid) > .enemy-card .enemy-shot,
  .enemy-card-wide .enemy-shot {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px dashed color-mix(in srgb, var(--boss-world-accent) 30%, transparent);
  }

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

@media (max-width: 720px) {
  .bosses-hero-copy {
    padding: 28px;
  }

  .bosses-hero h2 {
    font-size: 52px;
  }

  .bosses-hero-copy > p {
    font-size: 15px;
  }

  .bosses-hero-actions .button {
    width: 100%;
  }

  .bosses-facts {
    margin: 0 18px 18px;
  }

  .bosses-quick-nav {
    position: relative;
    top: auto;
  }

  .bosses-section {
    padding: 23px;
  }

  .bosses-section-heading {
    align-items: flex-start;
  }

  .bosses-section-heading h3 {
    font-size: 23px;
  }

  .boss-world-detail summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .boss-world-detail summary .boss-world-count {
    grid-column: 2;
    justify-self: start;
  }

  .boss-world-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .boss-world-detail summary strong {
    font-size: 20px;
  }

  .enemy-card-top {
    display: grid;
  }

  .enemy-badge-row {
    justify-content: flex-start;
  }

  .enemy-card:hover {
    transform: none;
  }

  .bosses-tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .bosses-hero-copy {
    padding: 22px;
  }

  .bosses-hero h2 {
    font-size: 44px;
  }

  .bosses-facts {
    margin: 0 12px 12px;
    grid-template-columns: 1fr;
  }

  .bosses-facts > div,
  .bosses-facts > div:nth-child(odd),
  .bosses-facts > div:nth-last-child(-n + 2) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bosses-facts > div:last-child {
    border-bottom: 0;
  }

  .bosses-section {
    padding: 18px;
  }

  .boss-world-detail summary {
    padding: 15px;
  }

  .boss-world-body {
    padding: 0 15px 18px;
  }

  .enemy-card-copy {
    padding: 18px;
  }

  .enemy-shot,
  .boss-world-body:not(.enemy-card-grid) > .enemy-card .enemy-shot,
  .enemy-card-wide .enemy-shot {
    min-height: 220px;
  }
}

/* Beacons guide */
.beacons-page {
  --beacon: #f3b85d;
  --beacon-bright: #ffd166;
  --beacon-soft: rgba(243, 184, 93, 0.08);
  --beacon-line: rgba(243, 184, 93, 0.22);
  --beacon-green: #8fe6a7;
  --beacon-blue: #8edcf2;
  --beacon-red: #ff7466;
}

.beacon-breadcrumbs a:hover {
  color: var(--beacon-bright);
}

.beacon-hero {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--beacon-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(243, 184, 93, 0.2), transparent 30rem),
    radial-gradient(circle at 100% 100%, rgba(106, 201, 232, 0.08), transparent 25rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
    var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.beacon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.beacon-hero-copy {
  position: relative;
  z-index: 1;
  padding: 52px;
  align-self: center;
}

.beacon-hero h2 {
  margin: 6px 0 13px;
  font-family: "Fredoka", sans-serif;
  font-size: 74px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 45px rgba(243, 184, 93, 0.2);
}

.beacon-hero-copy > p {
  margin: 0;
  max-width: 570px;
  color: var(--text-soft);
  font-size: 18px;
}

.beacon-hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beacon-facts {
  position: relative;
  z-index: 1;
  margin: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  background: rgba(9, 7, 8, 0.68);
  backdrop-filter: blur(14px);
}

.beacon-facts > div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 3px 10px;
}

.beacon-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.beacon-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.beacon-fact-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--beacon-line);
  border-radius: 7px;
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  background: var(--beacon-soft);
  color: var(--beacon-bright);
}

.beacon-fact-icon svg {
  width: 16px;
  height: 16px;
}

.beacon-facts > div > span:not(.beacon-fact-icon),
.beacon-meta-grid span,
.beacon-value-card span,
.beacon-trade-card span {
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beacon-facts strong {
  min-width: 0;
  color: #f0e8ea;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.beacon-page-layout {
  min-width: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.beacon-quick-nav {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 112px);
  z-index: 24;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(13, 9, 10, 0.92);
  backdrop-filter: blur(16px);
}

.beacon-nav-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--beacon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beacon-quick-nav nav {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.beacon-quick-nav a {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #8e8387;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease;
}

.beacon-quick-nav a:hover {
  background: var(--beacon-soft);
  color: var(--beacon-bright);
}

.beacon-quick-nav svg {
  width: 14px;
  height: 14px;
  color: var(--beacon);
}

.beacon-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.beacon-section,
.beacon-location-card {
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.beacon-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
}

.beacon-section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.beacon-section-heading > div {
  min-width: 0;
}

.beacon-section-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.beacon-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.beacon-card-icon {
  width: 47px;
  height: 47px;
  border: 1px solid var(--beacon-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--beacon-soft);
  color: var(--beacon-bright);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.beacon-card-icon svg {
  width: 21px;
  height: 21px;
}

.beacon-overview-grid,
.beacon-trading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.beacon-panel,
.beacon-summary-card,
.beacon-trade-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.beacon-panel {
  padding: 22px;
}

.beacon-panel p,
.beacon-summary-card p,
.beacon-trade-card p {
  margin: 0 0 13px;
  color: #b4aaad;
  font-size: 14px;
  line-height: 1.75;
}

.beacon-panel p:last-child,
.beacon-summary-card p:last-child,
.beacon-trade-card p:last-child {
  margin-bottom: 0;
}

.beacon-panel strong {
  color: #f5eff1;
}

.beacon-summary-card,
.beacon-trade-card {
  padding: 21px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.beacon-summary-card {
  border-color: var(--beacon-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.08), transparent 18rem),
    rgba(243, 184, 93, 0.025);
}

.beacon-summary-card strong {
  display: block;
  color: #e7dfe1;
  font-size: 13px;
}

.beacon-value-card {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--beacon-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  background: var(--beacon-soft);
}

.beacon-value-card strong {
  display: block;
  color: var(--beacon-bright);
  font-family: "Fredoka", sans-serif;
  font-size: 26px;
  line-height: 1.1;
}

.beacon-route-strip {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: stretch;
  gap: 9px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.015);
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 184, 93, 0.72) rgba(255, 255, 255, 0.045);
}

.beacon-route-strip a {
  min-width: 130px;
  padding: 14px;
  border: 1px solid var(--beacon-line);
  border-radius: 7px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: rgba(243, 184, 93, 0.035);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.beacon-route-strip a:hover {
  border-color: rgba(255, 209, 102, 0.36);
  background: rgba(243, 184, 93, 0.06);
  transform: translateY(-1px);
}

.beacon-route-strip svg {
  width: 15px;
  height: 15px;
  align-self: center;
  flex: 0 0 auto;
  color: var(--beacon);
}

.beacon-route-strip span {
  color: var(--beacon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.beacon-route-strip strong {
  color: #e8dfe2;
  font-size: 11px;
  line-height: 1.3;
}

.beacon-table-wrap {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
}

.beacon-table code {
  color: var(--beacon-bright);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.beacon-location-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beacon-location-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.016);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.beacon-location-card:hover {
  border-color: var(--beacon-line);
  background: rgba(243, 184, 93, 0.025);
  transform: translateY(-2px);
}

.beacon-screenshot-placeholder {
  position: relative;
  min-height: 230px;
  margin: 0;
  border-bottom: 1px dashed var(--beacon-line);
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(243, 184, 93, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 184, 93, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(243, 184, 93, 0.1), transparent 18rem),
    #0d0a0b;
  background-size: 30px 30px, 30px 30px, auto, auto;
  text-align: center;
}

.beacon-screenshot-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.68), transparent 42%);
  pointer-events: none;
}

.beacons-page .media-placeholder-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border: 1px solid var(--beacon-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(243, 184, 93, 0.1);
  color: var(--beacon-bright);
  box-shadow: 0 0 35px rgba(243, 184, 93, 0.1);
}

.beacons-page .media-placeholder-icon svg {
  width: 27px;
  height: 27px;
}

.beacon-screenshot-placeholder > strong,
.beacon-screenshot-placeholder > small {
  position: relative;
  z-index: 1;
}

.beacon-screenshot-placeholder > strong {
  color: #ded6d8;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
}

.beacon-screenshot-placeholder > small {
  max-width: 320px;
  margin-top: 5px;
  padding-inline: 18px;
  color: #6d6467;
  font-size: 9px;
}

.beacon-screenshot-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #a79da0;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.beacon-screenshot-placeholder figcaption span {
  display: block;
  color: var(--beacon-bright);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beacon-screenshot-shot {
  border-bottom-style: solid;
  display: block;
  background: #0d0a0b;
}

.beacon-screenshot-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.beacon-screenshot-shot:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.06);
}

.beacon-screenshot-shot::after {
  background:
    linear-gradient(0deg, rgba(9, 6, 7, 0.74), transparent 46%),
    radial-gradient(circle at 50% 15%, transparent, rgba(0, 0, 0, 0.12));
}

.beacon-location-copy {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.beacon-card-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.beacon-card-heading h4 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.beacon-meta-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.016);
}

.beacon-meta-grid strong {
  color: #e7dfe1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.beacon-coordinate-panel {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--beacon-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  background:
    linear-gradient(145deg, rgba(243, 184, 93, 0.07), transparent 56%),
    rgba(243, 184, 93, 0.03);
}

.beacon-coordinate-panel > span {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--beacon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beacon-coordinate-panel > span svg {
  width: 13px;
  height: 13px;
}

.beacon-coordinate-panel code {
  min-width: 0;
  color: #ffe1a0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.beacon-copy-button {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--beacon-line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(243, 184, 93, 0.04);
  color: #d3c8cb;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.beacon-copy-button:hover {
  border-color: rgba(255, 209, 102, 0.36);
  background: var(--beacon-soft);
  color: var(--beacon-bright);
}

.beacon-copy-button svg {
  width: 13px;
  height: 13px;
  color: var(--beacon-bright);
}

.beacon-event-section {
  border-color: rgba(167, 128, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 128, 255, 0.07), transparent 24rem),
    radial-gradient(circle at 0% 100%, rgba(243, 184, 93, 0.045), transparent 20rem),
    var(--surface);
}

.beacon-location-event .media-placeholder-icon {
  border-color: rgba(167, 128, 255, 0.24);
  background: rgba(167, 128, 255, 0.08);
  color: #cda8ff;
}

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

.beacon-location-event {
  border-color: rgba(167, 128, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(167, 128, 255, 0.04), transparent 48%),
    rgba(255, 255, 255, 0.014);
}

.beacon-location-event:hover {
  border-color: rgba(167, 128, 255, 0.28);
  background: rgba(167, 128, 255, 0.025);
}

.beacon-location-event .beacon-screenshot-placeholder {
  border-bottom-color: rgba(167, 128, 255, 0.2);
  background:
    linear-gradient(rgba(167, 128, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 128, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(167, 128, 255, 0.1), transparent 18rem),
    #0d0a0b;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.beacon-location-event .beacon-screenshot-placeholder figcaption span {
  color: #cda8ff;
}

.beacon-status-pill {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(105, 213, 139, 0.28);
  border-radius: 999px;
  background: rgba(105, 213, 139, 0.08);
  color: var(--beacon-green);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.beacon-trading-section {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 213, 139, 0.07), transparent 22rem),
    var(--surface);
}

.beacon-trade-flow {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(105, 213, 139, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(105, 213, 139, 0.04);
  color: #b8aca1;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.beacon-trade-flow svg {
  width: 15px;
  height: 15px;
  color: var(--beacon-green);
}

.beacon-trade-flow strong {
  color: var(--beacon-green);
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
}

.beacon-trade-card {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    linear-gradient(145deg, rgba(105, 213, 139, 0.045), transparent 48%),
    rgba(255, 255, 255, 0.014);
}

.beacon-trade-card .beacon-card-icon {
  border-color: rgba(105, 213, 139, 0.22);
  background: rgba(105, 213, 139, 0.08);
  color: var(--beacon-green);
}

.beacon-trade-card strong {
  display: block;
  margin-top: 4px;
  color: var(--beacon-green);
  font-family: "Fredoka", sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.beacon-text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #efd084;
  font-size: 10px;
  font-weight: 700;
  transition: color 160ms ease;
}

.beacon-text-link:hover {
  color: var(--beacon-bright);
}

.beacon-text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 160ms ease;
}

.beacon-text-link:hover svg {
  transform: translateX(2px);
}

.beacon-tips-section {
  border-color: rgba(106, 201, 232, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(106, 201, 232, 0.07), transparent 22rem),
    var(--surface);
}

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

.beacon-tips-grid > div {
  min-width: 0;
  min-height: 98px;
  padding: 15px;
  border: 1px solid rgba(106, 201, 232, 0.14);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  background: rgba(106, 201, 232, 0.025);
}

.beacon-tips-grid span {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(106, 201, 232, 0.08);
  color: var(--beacon-blue);
  font-size: 8px;
  font-weight: 700;
}

.beacon-tips-grid strong {
  color: #bfb6b9;
  font-size: 11px;
  line-height: 1.45;
}

.beacon-related-links {
  margin-top: 2px;
}

.beacon-related-links a:hover {
  border-color: var(--beacon-line);
  background: var(--beacon-soft);
  color: var(--beacon-bright);
}

@media (max-width: 1160px) {
  .beacon-hero,
  .beacon-overview-grid,
  .beacon-trading-layout {
    grid-template-columns: 1fr;
  }

  .beacon-page-layout {
    grid-template-columns: 1fr;
  }

  .beacon-quick-nav {
    position: sticky;
    top: calc(var(--header-height) + 94px);
  }

  .beacon-quick-nav nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .beacon-quick-nav a {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .beacon-facts {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .beacon-hero-copy {
    padding: 28px;
  }

  .beacon-hero h2 {
    font-size: 54px;
  }

  .beacon-hero-copy > p {
    font-size: 15px;
  }

  .beacon-hero-actions .button {
    width: 100%;
  }

  .beacon-facts {
    margin: 0 18px 18px;
  }

  .beacon-quick-nav {
    position: relative;
    top: auto;
  }

  .beacon-section {
    padding: 23px;
  }

  .beacon-section-heading {
    align-items: flex-start;
  }

  .beacon-section-heading h3 {
    font-size: 23px;
  }

  .beacon-location-grid,
  .beacon-event-grid,
  .beacon-meta-grid,
  .beacon-tips-grid {
    grid-template-columns: 1fr;
  }

  .beacon-summary-card,
  .beacon-trade-card {
    grid-template-columns: 1fr;
  }

  .beacon-screenshot-placeholder {
    min-height: 220px;
  }

  .beacon-location-card:hover,
  .beacon-route-strip a:hover {
    transform: none;
  }
}

@media (max-width: 460px) {
  .beacon-hero-copy {
    padding: 22px;
  }

  .beacon-hero h2 {
    font-size: 44px;
  }

  .beacon-facts {
    grid-template-columns: 1fr;
  }

  .beacon-facts > div,
  .beacon-facts > div:nth-child(odd) {
    border-right: 0;
  }

  .beacon-facts > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .beacon-facts > div:last-child {
    border-bottom: 0;
  }

  .beacon-coordinate-panel {
    grid-template-columns: 1fr;
  }

  .beacon-copy-button {
    justify-self: start;
  }

  .beacon-card-heading {
    align-items: flex-start;
  }

  .beacon-tips-grid > div {
    align-items: start;
  }
}

/* Staffs & Rare Drops guide */
.staffs-page {
  --staff: #73c9e8;
  --staff-bright: #9ee9ff;
  --staff-soft: rgba(115, 201, 232, 0.08);
  --staff-line: rgba(115, 201, 232, 0.22);
  --staff-amber: #f3b85d;
  --staff-green: #69d58b;
  --staff-purple: #a780ff;
  --staff-red: #ff7466;
}

.staffs-breadcrumbs a:hover {
  color: var(--staff-bright);
}

.staff-hero {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--staff-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 19%, rgba(115, 201, 232, 0.2), transparent 30rem),
    radial-gradient(circle at 98% 100%, rgba(243, 184, 93, 0.12), transparent 25rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.026), transparent 48%),
    var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.staff-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.staff-hero-copy {
  position: relative;
  z-index: 1;
  padding: 52px;
  align-self: center;
}

.staff-hero h2 {
  margin: 6px 0 13px;
  font-family: "Fredoka", sans-serif;
  font-size: 68px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 45px rgba(115, 201, 232, 0.2);
}

.staff-hero-copy > p {
  margin: 0;
  max-width: 590px;
  color: var(--text-soft);
  font-size: 18px;
}

.staff-hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.staff-facts {
  position: relative;
  z-index: 1;
  margin: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  background: rgba(9, 7, 8, 0.68);
  backdrop-filter: blur(14px);
}

.staff-facts > div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 3px;
}

.staff-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.staff-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.staff-facts span,
.staff-meta-grid span,
.staff-coordinate-card span,
.staff-access-card span,
.staff-tips-grid span {
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-facts strong {
  min-width: 0;
  color: #f0e8ea;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.staff-page-layout {
  min-width: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.staff-quick-nav {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 112px);
  z-index: 24;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(13, 9, 10, 0.92);
  backdrop-filter: blur(16px);
}

.staff-nav-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--staff-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-quick-nav nav {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.staff-quick-nav a {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #8e8387;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease;
}

.staff-quick-nav a:hover {
  background: var(--staff-soft);
  color: var(--staff-bright);
}

.staff-quick-nav svg {
  width: 14px;
  height: 14px;
  color: var(--staff);
}

.staff-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.staff-section,
.staff-world-detail,
.staff-item-card {
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.staff-section,
.staff-world-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
}

.staff-section {
  padding: 30px;
}

.staff-section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.staff-section-heading > div {
  min-width: 0;
}

.staff-section-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.staff-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.staff-section-number,
.staff-world-icon,
.staff-card-icon {
  width: 47px;
  height: 47px;
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--staff-soft);
  color: var(--staff-bright);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.staff-section-number,
.staff-world-icon {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
}

.staff-card-icon svg {
  width: 21px;
  height: 21px;
}

.staff-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.staff-panel,
.staff-summary-card,
.staff-access-card,
.staff-highlight-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.staff-panel {
  padding: 22px;
}

.staff-panel p,
.staff-summary-card p,
.staff-item-copy p {
  margin: 0 0 13px;
  color: #b4aaad;
  font-size: 14px;
  line-height: 1.75;
}

.staff-panel p:last-child,
.staff-summary-card p:last-child,
.staff-item-copy p:last-child {
  margin-bottom: 0;
}

.staff-panel strong,
.staff-item-copy strong {
  color: #f5eff1;
}

.staff-summary-card {
  padding: 21px;
  border-color: var(--staff-line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 201, 232, 0.08), transparent 18rem),
    rgba(115, 201, 232, 0.025);
}

.staff-summary-card strong {
  display: block;
  color: #e7dfe1;
  font-size: 13px;
}

.staff-upgrade-section {
  border-color: rgba(167, 128, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 128, 255, 0.08), transparent 22rem),
    radial-gradient(circle at 0% 100%, rgba(115, 201, 232, 0.055), transparent 20rem),
    var(--surface);
}

.staff-upgrade-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 14px;
  align-items: stretch;
}

.staff-upgrade-copy {
  display: grid;
  align-content: center;
}

.staff-upgrade-coordinate {
  margin-top: 4px;
}

.staff-upgrade-media {
  position: relative;
  min-height: 330px;
  margin: 0;
  border: 1px solid rgba(167, 128, 255, 0.18);
  border-radius: 9px;
  overflow: hidden;
  background: #0d0a0b;
}

.staff-upgrade-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.staff-upgrade-media:hover img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.06);
}

.staff-upgrade-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 6, 7, 0.72), transparent 46%),
    radial-gradient(circle at 50% 15%, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.staff-upgrade-media figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #d0c7cb;
  font-size: 10px;
  font-weight: 700;
}

.staff-upgrade-media figcaption span {
  display: block;
  color: #cda8ff;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-world-stack {
  display: grid;
  gap: 12px;
}

.staff-world-detail {
  overflow: hidden;
}

.staff-world-detail summary {
  min-height: 82px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.staff-world-detail summary::-webkit-details-marker {
  display: none;
}

.staff-world-detail summary small {
  display: block;
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.staff-world-detail summary strong {
  display: block;
  margin-top: 2px;
  color: #f0e8ea;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.staff-world-count {
  padding: 5px 8px;
  border: 1px solid var(--staff-line);
  border-radius: 999px;
  background: var(--staff-soft);
  color: var(--staff-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.staff-summary-chevron {
  width: 17px;
  height: 17px;
  color: var(--staff);
  transition: transform 180ms ease;
}

.staff-world-detail[open] .staff-summary-chevron {
  transform: rotate(90deg);
}

.staff-world-body {
  padding: 0 20px 22px;
}

.staff-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.staff-item-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(115, 201, 232, 0.06), transparent 19rem),
    rgba(255, 255, 255, 0.014);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.staff-item-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--staff), rgba(243, 184, 93, 0.82), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.staff-item-card:hover {
  border-color: var(--staff-line);
  background:
    radial-gradient(circle at 0% 0%, rgba(115, 201, 232, 0.09), transparent 19rem),
    rgba(255, 255, 255, 0.018);
  transform: translateY(-2px);
}

.staff-featured-card {
  border-color: rgba(243, 184, 93, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 184, 93, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.014);
}

.staff-item-copy {
  min-width: 0;
  padding: 22px;
}

.staff-item-top {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.staff-item-top h4 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0;
}

.staff-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.staff-rarity-badge {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--staff-bright);
  background: var(--staff-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-rare-drop { color: #ffd166; background: rgba(243, 184, 93, 0.08); }
.badge-staff { color: #9ee9ff; background: rgba(115, 201, 232, 0.08); }
.badge-cosmetic { color: #cda8ff; background: rgba(167, 128, 255, 0.09); }
.badge-food { color: #8fe6a7; background: rgba(105, 213, 139, 0.08); }
.badge-utility { color: #ffaaa2; background: rgba(231, 76, 60, 0.08); }

.staff-meta-grid {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.staff-meta-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.016);
}

.staff-meta-grid strong {
  color: #e7dfe1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.staff-meta-grid code,
.staff-item-copy code,
.staff-table code {
  color: #ccefff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
}

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

.staff-points li {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #c7bdc0;
  background: rgba(255, 255, 255, 0.016);
  font-size: 12px;
  line-height: 1.45;
}

.staff-access-card,
.staff-highlight-card,
.staff-coordinate-card {
  margin-top: 15px;
  padding: 14px;
  border-color: var(--staff-line);
  background:
    linear-gradient(145deg, rgba(115, 201, 232, 0.07), transparent 56%),
    rgba(115, 201, 232, 0.03);
}

.staff-access-card strong,
.staff-highlight-card strong {
  display: block;
  margin-top: 4px;
  color: #e7dfe1;
  font-size: 12px;
  line-height: 1.45;
}

.staff-highlight-card span {
  display: block;
  margin-top: 4px;
  color: #9f9699;
  font-size: 11px;
  line-height: 1.45;
}

.staff-coordinate-card {
  border: 1px solid var(--staff-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
}

.staff-coordinate-card > span {
  grid-column: 1 / -1;
  color: var(--staff-bright);
}

.staff-coordinate-card code {
  min-width: 0;
  color: #ccefff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.staff-copy-button {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--staff-line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(115, 201, 232, 0.04);
  color: #d3c8cb;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.staff-copy-button:hover {
  border-color: rgba(158, 233, 255, 0.36);
  background: var(--staff-soft);
  color: var(--staff-bright);
}

.staff-copy-button svg {
  width: 13px;
  height: 13px;
  color: var(--staff-bright);
}

.staff-inline-callout {
  margin: 15px 0 0;
}

.staff-table-wrap {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
}

.staff-table td:first-child {
  color: #e7dfe1;
  font-weight: 800;
}

.staff-table td:nth-child(4) {
  color: #d7cfd1;
}

.staff-tips-section {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 213, 139, 0.07), transparent 22rem),
    var(--surface);
}

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

.staff-tips-grid > div {
  min-width: 0;
  min-height: 98px;
  padding: 14px;
  border: 1px solid rgba(105, 213, 139, 0.13);
  border-radius: 7px;
  background: rgba(105, 213, 139, 0.025);
}

.staff-tips-grid span {
  color: #9fe08f;
}

.staff-tips-grid strong {
  display: block;
  color: #ddd4d7;
  font-size: 12px;
  line-height: 1.35;
}

.staff-related-links {
  margin-top: 2px;
}

.staff-related-links a:hover,
.staff-related-links .staff-related-primary {
  border-color: var(--staff-line);
  background: var(--staff-soft);
  color: var(--staff-bright);
}

.staff-related-links .staff-related-primary {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 1160px) {
  .staff-hero,
  .staff-overview-grid,
  .staff-upgrade-layout {
    grid-template-columns: 1fr;
  }

  .staff-page-layout {
    grid-template-columns: 1fr;
  }

  .staff-quick-nav {
    position: sticky;
    top: calc(var(--header-height) + 94px);
  }

  .staff-quick-nav nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .staff-quick-nav a {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .staff-facts {
    margin-top: 0;
  }

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

@media (max-width: 720px) {
  .staff-hero-copy {
    padding: 28px;
  }

  .staff-hero h2 {
    font-size: 52px;
  }

  .staff-hero-copy > p {
    font-size: 15px;
  }

  .staff-hero-actions .button {
    width: 100%;
  }

  .staff-facts {
    margin: 0 18px 18px;
  }

  .staff-quick-nav {
    position: relative;
    top: auto;
  }

  .staff-section {
    padding: 23px;
  }

  .staff-section-heading {
    align-items: flex-start;
  }

  .staff-section-heading h3 {
    font-size: 23px;
  }

  .staff-world-detail summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .staff-world-detail summary .staff-world-count {
    grid-column: 2;
    justify-self: start;
  }

  .staff-summary-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .staff-world-detail summary strong {
    font-size: 20px;
  }

  .staff-item-card,
  .staff-meta-grid,
  .staff-tips-grid,
  .staff-coordinate-card {
    grid-template-columns: 1fr;
  }

  .staff-item-top {
    display: grid;
  }

  .staff-badge-row {
    justify-content: flex-start;
  }

  .staff-item-card:hover {
    transform: none;
  }

  .staff-copy-button {
    justify-self: start;
  }

  .staff-upgrade-media {
    min-height: 260px;
  }
}

@media (max-width: 460px) {
  .staff-hero-copy {
    padding: 22px;
  }

  .staff-hero h2 {
    font-size: 44px;
  }

  .staff-facts {
    margin: 0 12px 12px;
    grid-template-columns: 1fr;
  }

  .staff-facts > div,
  .staff-facts > div:nth-child(odd),
  .staff-facts > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .staff-facts > div:last-child {
    border-bottom: 0;
  }

  .staff-section {
    padding: 18px;
  }

  .staff-world-detail summary {
    padding: 15px;
  }

  .staff-world-body {
    padding: 0 15px 18px;
  }

  .staff-item-copy {
    padding: 18px;
  }
}

/* Dungeons guide */
.dungeons-page {
  --dungeon: #e74c3c;
  --dungeon-bright: #ff7466;
  --dungeon-soft: rgba(231, 76, 60, 0.09);
  --dungeon-line: rgba(231, 76, 60, 0.22);
  --dungeon-amber: #f3b85d;
  --dungeon-green: #69d58b;
  --dungeon-blue: #73c9e8;
}

.dungeon-breadcrumbs a:hover {
  color: var(--dungeon-bright);
}

.dungeon-hero {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--dungeon-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(231, 76, 60, 0.19), transparent 29rem),
    radial-gradient(circle at 100% 100%, rgba(243, 184, 93, 0.1), transparent 25rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.026), transparent 48%),
    var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.dungeon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.dungeon-hero-copy {
  position: relative;
  z-index: 1;
  padding: 52px;
  align-self: center;
}

.dungeon-hero h2 {
  margin: 6px 0 13px;
  font-family: "Fredoka", sans-serif;
  font-size: 74px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 45px rgba(231, 76, 60, 0.22);
}

.dungeon-hero-copy > p {
  margin: 0;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 18px;
}

.dungeon-hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dungeon-facts {
  position: relative;
  z-index: 1;
  margin: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  background: rgba(9, 7, 8, 0.68);
  backdrop-filter: blur(14px);
}

.dungeon-facts > div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 3px;
}

.dungeon-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.dungeon-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dungeon-facts span,
.dungeon-meta-strip span,
.farm-stat-grid span,
.leaderboard-metrics span,
.team-token-card span {
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dungeon-facts strong {
  min-width: 0;
  color: #f0e8ea;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.dungeon-facts small {
  color: #766d70;
  font-size: 9px;
  line-height: 1.35;
}

.dungeon-page-layout {
  min-width: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.dungeon-quick-nav {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 112px);
  z-index: 24;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(13, 9, 10, 0.92);
  backdrop-filter: blur(16px);
}

.dungeon-nav-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--dungeon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dungeon-quick-nav nav {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dungeon-quick-nav a {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: #8e8387;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background 160ms ease;
}

.dungeon-quick-nav a:hover {
  background: var(--dungeon-soft);
  color: var(--dungeon-bright);
}

.dungeon-quick-nav svg {
  width: 14px;
  height: 14px;
  color: var(--dungeon);
}

.dungeon-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.dungeon-section,
.dungeon-detail {
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.dungeon-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
}

.dungeon-section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.dungeon-section-heading > div {
  min-width: 0;
}

.dungeon-section-heading h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.dungeon-section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dungeon-section-number,
.dungeon-summary-icon,
.dungeon-card-icon {
  width: 47px;
  height: 47px;
  border: 1px solid var(--dungeon-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--dungeon-soft);
  color: var(--dungeon-bright);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.dungeon-section-number {
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
}

.dungeon-summary-icon svg,
.dungeon-card-icon svg {
  width: 21px;
  height: 21px;
}

.dungeon-split,
.entry-layout,
.reward-layout,
.leaderboard-panel,
.team-level-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  gap: 14px;
  align-items: stretch;
}

.dungeon-panel,
.entry-requirement-card,
.start-method-card,
.wave-card,
.boss-card,
.farm-method-card,
.team-token-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.dungeon-panel {
  padding: 22px;
}

.dungeon-panel p,
.dungeon-detail-intro,
.wave-card p,
.farm-method-card p,
.leaderboard-panel p,
.boss-card-copy > p {
  margin: 0 0 13px;
  color: #b4aaad;
  font-size: 14px;
  line-height: 1.75;
}

.dungeon-panel p:last-child,
.wave-card p:last-child,
.farm-method-card p:last-child {
  margin-bottom: 0;
}

.team-choice-grid,
.start-method-grid,
.dungeon-nav-card-grid,
.wave-grid,
.farm-method-grid,
.farm-stat-grid,
.screenshot-grid,
.dungeon-tips-grid,
.boss-mechanic-grid,
.leaderboard-metrics {
  display: grid;
  gap: 10px;
}

.team-choice-grid {
  margin: 18px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-choice-grid > div,
.dungeon-nav-card-grid a,
.farm-stat-grid > div {
  display: grid;
  gap: 4px;
}
.farm-stat-grid strong {
  overflow-wrap: anywhere;
}
.leaderboard-metrics > div,
.dungeon-tips-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.016);
}

.team-choice-grid span,
.dungeon-tips-grid span {
  color: var(--dungeon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-choice-grid strong,
.dungeon-tips-grid strong {
  display: block;
  color: #ddd4d7;
  font-size: 12px;
  line-height: 1.35;
}

.team-choice-grid small {
  display: block;
  margin-top: 3px;
  color: #756b6e;
  font-size: 9px;
}

.dungeon-command-card {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--dungeon-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(231, 76, 60, 0.07), transparent 56%),
    rgba(231, 76, 60, 0.03);
}

.dungeon-command-card code,
.start-method-card code,
.team-level-table code {
  color: #ffd4cf;
  font-size: 12px;
  font-weight: 700;
}

.dungeon-command-card > strong {
  color: var(--dungeon-amber);
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
}

.dungeons-page .command-pill {
  min-height: 36px;
  padding: 8px 10px;
  border-color: var(--dungeon-line);
  border-radius: 6px;
  background: rgba(231, 76, 60, 0.04);
  color: #d3c8cb;
}

.dungeons-page .command-pill:hover {
  border-color: rgba(255, 116, 102, 0.36);
  background: var(--dungeon-soft);
}

.dungeons-page .command-pill svg {
  color: var(--dungeon-bright);
}

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

.dungeon-check-list.compact {
  margin-top: 12px;
}

.dungeon-check-list li {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.016);
}

.dungeon-check-list li > span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--dungeon-soft);
  color: var(--dungeon-bright);
}

.dungeon-check-list svg {
  width: 17px;
  height: 17px;
}

.dungeon-check-list strong {
  display: block;
  color: #f1e8eb;
  font-size: 11px;
}

.dungeon-check-list small {
  display: block;
  margin-top: 2px;
  color: #746a6d;
  font-size: 9px;
}

.dungeon-media-placeholder {
  position: relative;
  min-height: 360px;
  margin: 0;
  border: 1px dashed var(--dungeon-line);
  border-radius: 9px;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(231, 76, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 76, 60, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(231, 76, 60, 0.1), transparent 18rem),
    #0d0a0b;
  background-size: 30px 30px, 30px 30px, auto, auto;
  text-align: center;
}

.dungeon-media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.68), transparent 42%);
  pointer-events: none;
}

.dungeons-page .media-placeholder-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border: 1px solid var(--dungeon-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: var(--dungeon-bright);
  box-shadow: 0 0 35px rgba(231, 76, 60, 0.1);
}

.dungeons-page .media-placeholder-icon svg {
  width: 27px;
  height: 27px;
}

.dungeon-media-placeholder > strong,
.dungeon-media-placeholder > small {
  position: relative;
  z-index: 1;
}

.dungeon-media-placeholder > strong {
  color: #ded6d8;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
}

.dungeon-media-placeholder > small {
  max-width: 330px;
  margin-top: 5px;
  padding-inline: 18px;
  color: #6d6467;
  font-size: 9px;
}

.dungeon-media-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #a79da0;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.dungeon-media-placeholder figcaption span {
  display: block;
  color: var(--dungeon-bright);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dungeon-media-shot {
  border-style: solid;
  display: block;
  background: #0d0a0b;
}

.dungeon-media-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.dungeon-media-shot:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.06);
}

.dungeon-media-shot::after {
  background:
    linear-gradient(0deg, rgba(9, 6, 7, 0.74), transparent 46%),
    radial-gradient(circle at 50% 15%, transparent, rgba(0, 0, 0, 0.12));
}

.dungeon-ui-shot,
.dungeon-chat-shot,
.dungeon-item-shot {
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, rgba(255, 255, 255, 0.018) 25px 26px),
    #0c080a;
}

.dungeon-ui-shot {
  height: 360px;
  min-height: 320px;
  align-self: start;
}

.dungeon-chat-shot {
  height: 220px;
  min-height: 190px;
  align-self: start;
}

.dungeon-ui-shot img,
.dungeon-chat-shot img,
.dungeon-item-shot img {
  width: calc(100% - 34px);
  height: calc(100% - 70px);
  inset: 17px 17px 53px;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.05);
}

.dungeon-ui-shot:hover img,
.dungeon-chat-shot:hover img,
.dungeon-item-shot:hover img {
  transform: none;
}

.dungeons-page .compact-placeholder {
  min-height: 235px;
}

.dungeon-npc-shot,
.dungeon-farm-shot {
  margin-top: 14px;
}

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

.start-method-card {
  padding: 21px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.start-method-card:hover {
  border-color: var(--dungeon-line);
  background: rgba(231, 76, 60, 0.025);
  transform: translateY(-2px);
}

.start-method-card h4,
.farm-method-card h4,
.leaderboard-panel h4,
.boss-card-copy h4 {
  margin: 14px 0 7px;
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  line-height: 1.2;
}

.start-method-card p {
  margin: 0;
  color: #8c8285;
  font-size: 11px;
  line-height: 1.6;
}

.start-method-card .command-pill {
  margin-top: 14px;
}

.entry-layout {
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
}

.entry-requirement-card {
  padding: 21px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
}

.entry-requirement-card h4 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
}

.dungeon-table td:first-child {
  color: #ddd4d7;
  font-weight: 700;
}

.dungeon-table code {
  margin-right: 6px;
}

.dungeon-unlock-path,
.wave-repeat-panel,
.infinite-cycle,
.team-level-diagram {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: stretch;
  gap: 9px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.015);
  scrollbar-width: thin;
  scrollbar-color: rgba(231, 76, 60, 0.72) rgba(255, 255, 255, 0.045);
}

.dungeon-unlock-path::-webkit-scrollbar,
.wave-repeat-panel::-webkit-scrollbar,
.infinite-cycle::-webkit-scrollbar,
.team-level-diagram::-webkit-scrollbar {
  height: 9px;
}

.dungeon-unlock-path::-webkit-scrollbar-track,
.wave-repeat-panel::-webkit-scrollbar-track,
.infinite-cycle::-webkit-scrollbar-track,
.team-level-diagram::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.dungeon-unlock-path::-webkit-scrollbar-thumb,
.wave-repeat-panel::-webkit-scrollbar-thumb,
.infinite-cycle::-webkit-scrollbar-thumb,
.team-level-diagram::-webkit-scrollbar-thumb {
  border: 2px solid #151012;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(231, 76, 60, 0.95), rgba(243, 184, 93, 0.86));
}

.dungeon-unlock-path a,
.wave-repeat-panel > div,
.infinite-cycle > div,
.team-level-diagram > div {
  min-width: 142px;
  padding: 14px;
  border: 1px solid var(--dungeon-line);
  border-radius: 7px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: rgba(231, 76, 60, 0.035);
}

.dungeon-unlock-path svg,
.wave-repeat-panel > svg,
.infinite-cycle > svg,
.team-level-diagram > svg {
  width: 15px;
  height: 15px;
  align-self: center;
  flex: 0 0 auto;
  color: var(--dungeon);
}

.dungeon-unlock-path span,
.wave-repeat-panel span,
.infinite-cycle span,
.team-level-diagram span {
  color: var(--dungeon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dungeon-unlock-path strong,
.wave-repeat-panel strong,
.infinite-cycle strong,
.team-level-diagram strong {
  color: #e8dfe2;
  font-size: 11px;
  line-height: 1.3;
}

.dungeon-unlock-path small,
.wave-repeat-panel small {
  color: #756b6e;
  font-size: 9px;
  line-height: 1.4;
}

.team-level-diagram {
  overflow-x: visible;
}

.team-level-diagram > div {
  min-width: 0;
  flex: 1 1 0;
  padding-inline: 12px;
}

.team-level-diagram > svg {
  width: 13px;
  flex-basis: 13px;
}

.dungeon-nav-card-grid {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dungeon-nav-card-grid a {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dungeon-nav-card-grid a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 100% 0%, rgba(231, 76, 60, 0.09), transparent 70%);
  pointer-events: none;
}

.dungeon-nav-card-grid a:hover {
  border-color: var(--dungeon-line);
  background: rgba(231, 76, 60, 0.025);
  transform: translateY(-2px);
}

.dungeon-nav-card-grid h4 {
  margin: 12px 0 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
}

.dungeon-nav-card-grid p {
  margin: 0;
  color: #8c8285;
  font-size: 11px;
  line-height: 1.55;
}

.difficulty-badge {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--dungeon-bright);
  background: rgba(231, 76, 60, 0.08);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.difficulty-badge.very-easy { color: #8be8a3; background: rgba(105, 213, 139, 0.08); }
.difficulty-badge.easy { color: #73c9e8; background: rgba(115, 201, 232, 0.08); }
.difficulty-badge.medium { color: #f3b85d; background: rgba(243, 184, 93, 0.08); }
.difficulty-badge.hard { color: #ff7466; background: rgba(231, 76, 60, 0.1); }
.difficulty-badge.infinite { color: #cda8ff; background: rgba(167, 128, 255, 0.09); }
.difficulty-badge.farm { color: #9fe08f; background: rgba(105, 213, 139, 0.09); }

.dungeon-details-stack {
  display: grid;
  gap: 12px;
}

.dungeon-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
}

.dungeon-detail summary {
  min-height: 82px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.dungeon-detail summary::-webkit-details-marker {
  display: none;
}

.dungeon-detail summary small {
  display: block;
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dungeon-detail summary strong {
  display: block;
  margin-top: 2px;
  color: #f0e8ea;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.dungeon-summary-chevron {
  width: 17px;
  height: 17px;
  color: var(--dungeon);
  transition: transform 180ms ease;
}

.dungeon-detail[open] .dungeon-summary-chevron {
  transform: rotate(90deg);
}

.dungeon-detail-body {
  padding: 0 20px 22px;
  display: grid;
  gap: 14px;
}

.dungeon-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dungeon-meta-strip > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.016);
}

.dungeon-meta-strip strong,
.farm-stat-grid strong,
.leaderboard-metrics strong,
.team-token-card strong {
  color: #e7dfe1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

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

.wave-card,
.farm-method-card {
  padding: 20px;
}

.wave-card-heading {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.wave-card-heading span {
  color: var(--dungeon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wave-card-heading strong {
  color: #f0e8ea;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  line-height: 1.15;
  text-align: right;
}

.wave-card ul {
  margin: 0 0 14px;
  padding-left: 17px;
  color: #c7bdc0;
  font-size: 12px;
}

.boss-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 14px;
  padding: 0;
  overflow: hidden;
}

.dungeons-page .boss-card-copy {
  padding: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

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

.boss-mechanic-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.016);
}

.boss-mechanic-grid span {
  display: block;
  color: var(--dungeon-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.boss-mechanic-grid strong {
  display: block;
  margin-top: 4px;
  color: #ded6d8;
  font-size: 10px;
  line-height: 1.35;
}

.reward-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
}

.reward-shot,
.boss-shot,
.leaderboard-shot,
.camel-shot {
  min-height: 260px;
}

.leaderboard-panel {
  padding: 20px;
  border: 1px solid rgba(243, 184, 93, 0.16);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.015);
}

.leaderboard-panel h4 {
  margin-top: 4px;
}

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

.dungeon-farm-detail {
  border-color: rgba(105, 213, 139, 0.16);
}

.dungeon-farm-detail .dungeon-summary-icon,
.dungeon-farm-detail .dungeon-card-icon {
  border-color: rgba(105, 213, 139, 0.22);
  background: rgba(105, 213, 139, 0.08);
  color: #9fe08f;
}

.dungeon-farm-shot {
  min-height: 330px;
  border-color: rgba(105, 213, 139, 0.23);
  background:
    linear-gradient(rgba(105, 213, 139, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 213, 139, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(105, 213, 139, 0.1), transparent 18rem),
    #0d0a0b;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

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

.farm-method-card {
  border-color: rgba(105, 213, 139, 0.14);
  background:
    linear-gradient(145deg, rgba(105, 213, 139, 0.04), transparent 52%),
    rgba(255, 255, 255, 0.014);
}

.farm-method-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.farm-method-heading h4 {
  margin: 3px 0 0;
}

.farm-stat-grid {
  margin: 16px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-flow-card {
  margin: 15px 0;
  padding: 13px;
  border: 1px solid rgba(243, 184, 93, 0.18);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(243, 184, 93, 0.04);
  color: #b8aca1;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.trade-flow-card svg {
  width: 15px;
  height: 15px;
  color: var(--dungeon-amber);
}

.trade-flow-card strong {
  color: #f3d28f;
}

.camel-shot {
  grid-column: 1 / -1;
  border-color: rgba(243, 184, 93, 0.2);
}

.team-level-section {
  border-color: rgba(243, 184, 93, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.075), transparent 22rem),
    var(--surface);
}

.team-level-intro {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
}

.team-token-card {
  padding: 21px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border-color: rgba(243, 184, 93, 0.16);
}

.team-token-card small {
  display: block;
  margin-top: 2px;
  color: #776f68;
  font-size: 9px;
}

.team-level-diagram {
  margin: 14px 0;
}

.team-level-diagram > div {
  border-color: rgba(243, 184, 93, 0.18);
  background: rgba(243, 184, 93, 0.04);
}

.team-level-diagram span {
  color: var(--dungeon-amber);
}

.team-level-diagram > svg {
  color: var(--dungeon-amber);
}

.team-level-table td:nth-child(2) {
  color: #bfb5b8;
}

.screenshot-grid {
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-screenshot-grid {
  grid-template-columns: 1fr;
}

.tips-card-section {
  border-color: rgba(105, 213, 139, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 213, 139, 0.07), transparent 22rem),
    var(--surface);
}

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

.dungeon-tips-grid > div {
  min-height: 98px;
  border-color: rgba(105, 213, 139, 0.13);
  background: rgba(105, 213, 139, 0.025);
}

.dungeon-tips-grid span {
  color: #9fe08f;
}

.dungeon-related-links {
  margin-top: 2px;
}

@media (max-width: 1160px) {
  .dungeon-hero,
  .dungeon-split,
  .entry-layout,
  .reward-layout,
  .leaderboard-panel,
  .boss-card {
    grid-template-columns: 1fr;
  }

  .dungeon-page-layout {
    grid-template-columns: 1fr;
  }

  .dungeon-quick-nav {
    position: sticky;
    top: calc(var(--header-height) + 94px);
  }

  .dungeon-quick-nav nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .dungeon-quick-nav a {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .dungeon-facts {
    margin-top: 0;
  }

  .dungeon-nav-card-grid,
  .dungeon-tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dungeon-hero-copy {
    padding: 28px;
  }

  .dungeon-hero h2 {
    font-size: 54px;
  }

  .dungeon-hero-copy > p {
    font-size: 15px;
  }

  .dungeon-hero-actions .button {
    width: 100%;
  }

  .dungeon-facts {
    margin: 0 18px 18px;
  }

  .dungeon-quick-nav {
    position: relative;
    top: auto;
  }

  .dungeon-section {
    padding: 23px;
  }

  .dungeon-section-heading {
    align-items: flex-start;
  }

  .dungeon-section-heading h3 {
    font-size: 23px;
  }

  .team-choice-grid,
  .start-method-grid,
  .dungeon-nav-card-grid,
  .wave-grid,
  .farm-method-grid,
  .farm-stat-grid,
  .screenshot-grid,
  .dungeon-tips-grid,
  .boss-mechanic-grid,
  .leaderboard-metrics,
  .team-level-intro,
  .dungeon-meta-strip {
    grid-template-columns: 1fr;
  }

  .dungeon-command-card,
  .entry-requirement-card,
  .team-token-card {
    grid-template-columns: 1fr;
  }

  .dungeon-command-card .command-pill {
    justify-self: start;
  }

  .dungeon-detail summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .dungeon-detail summary .difficulty-badge {
    grid-column: 2;
    justify-self: start;
  }

  .dungeon-summary-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .dungeon-detail summary strong {
    font-size: 20px;
  }

  .dungeon-media-placeholder {
    min-height: 300px;
  }

  .dungeons-page .compact-placeholder,
  .reward-shot,
  .boss-shot,
  .leaderboard-shot,
  .camel-shot {
    min-height: 220px;
  }

  .dungeon-farm-shot {
    min-height: 280px;
  }

  .camel-shot {
    grid-column: auto;
  }

  .start-method-card:hover,
  .dungeon-nav-card-grid a:hover {
    transform: none;
  }
}

@media (max-width: 460px) {
  .dungeon-hero-copy {
    padding: 22px;
  }

  .dungeon-hero h2 {
    font-size: 47px;
  }

  .dungeon-facts {
    margin: 0 12px 12px;
    grid-template-columns: 1fr;
  }

  .dungeon-facts > div,
  .dungeon-facts > div:nth-child(odd),
  .dungeon-facts > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dungeon-facts > div:last-child {
    border-bottom: 0;
  }

  .dungeon-section {
    padding: 18px;
  }

  .dungeon-detail summary {
    padding: 15px;
  }

  .dungeon-detail-body {
    padding: 0 15px 18px;
  }

  .dungeon-media-placeholder {
    min-height: 260px;
  }

  .dungeons-page .compact-placeholder,
  .reward-shot,
  .boss-shot,
  .leaderboard-shot,
  .camel-shot {
    min-height: 205px;
  }

  .dungeon-unlock-path,
  .wave-repeat-panel,
  .infinite-cycle,
  .team-level-diagram {
    padding: 12px;
  }
}

@media (max-width: 1160px) {
  .header-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 50px;
  }

  .wiki-layout {
    gap: 34px;
  }

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

  .reforge-hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  }

  .reforge-hero-copy {
    padding: 36px;
  }

  .shard-points-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shard-points-panel > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .header-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 68px);
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .server-panel {
    max-width: 620px;
  }

  .wiki-toolbar {
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
    max-width: none;
  }

  .world-filters {
    width: 100%;
  }

  .filter-button {
    flex: 1;
  }

  .wiki-layout {
    display: block;
  }

  .wiki-sidebar {
    position: fixed;
    z-index: 130;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(330px, calc(100% - 42px));
    height: 100vh;
    padding: 0 0 0 18px;
    background: #0d090a;
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .nav-open .wiki-sidebar {
    transform: none;
  }

  .sidebar-inner {
    padding: 26px 18px 30px 0;
  }

  .sidebar-heading {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-close {
    display: grid;
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.64);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .nav-open .sidebar-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .content-section {
    padding-top: 65px;
  }

  .starter-step-featured,
  .split-step,
  .command-card-misc {
    grid-template-columns: 1fr;
  }

  .guide-media {
    min-height: 360px;
  }

  .guide-video-card {
    grid-template-columns: 1fr;
  }

  .command-media {
    min-height: 310px;
  }

  .compact-step {
    grid-template-columns: 1fr;
  }

  .reforge-hero,
  .reforge-purchase-layout,
  .reforge-gui-layout,
  .upgrade-process-layout,
  .protection-layout {
    grid-template-columns: 1fr;
  }

  .reforge-hero-media {
    min-height: 410px;
  }

  .reforge-hero-media::after {
    background: linear-gradient(0deg, rgba(9, 6, 7, 0.78), transparent 45%);
  }

  .reforge-contents {
    top: calc(var(--header-height) + 148px);
  }

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

@media (max-width: 720px) {
  .hide-mobile {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-bottom: 60px;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(90deg, rgba(9, 6, 7, 0.97), rgba(9, 6, 7, 0.76)),
      linear-gradient(0deg, var(--bg) 0%, transparent 50%),
      url("assets/images/spawn.jpg");
    background-position: center, center, 62% center;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .hero-subtitle {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-meta span {
    padding: 0;
    border: 0;
  }

  .server-panel {
    padding: 19px;
  }

  .server-panel-header {
    display: grid;
  }

  .online-pill {
    justify-self: start;
  }

  .copy-label {
    width: 28px;
    overflow: hidden;
  }

  .wiki-toolbar-wrap {
    position: relative;
    top: auto;
  }

  .world-filters {
    overflow-x: auto;
  }

  .filter-button {
    min-width: max-content;
  }

  .intro-grid,
  .world-grid,
  .event-grid,
  .server-event-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-count {
    margin-top: 5px;
  }

  .faq-list summary {
    padding-inline: 14px;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 14px 16px;
  }

  .faq-actions .button {
    width: 100%;
  }

  .content-section {
    padding-top: 56px;
  }

  .starter-route {
    justify-content: flex-start;
  }

  .starter-step,
  .starter-step-copy {
    padding: 22px;
  }

  .starter-step-featured,
  .split-step,
  .command-card-misc {
    padding: 0;
  }

  .command-grid,
  .mine-comparison,
  .trade-flow,
  .boss-facts {
    grid-template-columns: 1fr;
  }

  .command-card-misc {
    grid-column: auto;
  }

  .trade-flow {
    gap: 8px;
  }

  .guide-media {
    min-height: 300px;
  }

  .guide-video-card {
    padding: 18px;
  }

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

  .progression-teaser .coming-link {
    grid-column: 2;
  }

  .reforge-hero-copy {
    padding: 28px;
  }

  .reforge-hero-media {
    min-height: 340px;
  }

  .reforge-contents {
    position: relative;
    top: auto;
  }

  .reforge-section {
    padding: 23px;
  }

  .reforge-location-steps,
  .shard-source-grid,
  .shard-points-panel,
  .failure-grid,
  .stone-range-grid,
  .stone-guide-grid,
  .reroll-grid,
  .priority-roadmap {
    grid-template-columns: 1fr;
  }

  .shard-points-panel > div:first-child {
    grid-column: auto;
  }

  .gui-diagram {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .gui-plus,
  .gui-equals {
    transform: rotate(90deg);
  }

  .gui-slot {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 2px 11px;
    text-align: left;
  }

  .slot-icon {
    width: 48px;
    height: 48px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .reforge-ui-shot {
    min-height: 270px;
  }

  .failure-example {
    flex-wrap: wrap;
  }

  .rarity-timeline {
    justify-content: flex-start;
  }

  .stone-guide-card:hover {
    transform: none;
  }

  .world-card:hover,
  .event-card:hover,
  .featured-guide:hover,
  .command-card:hover {
    transform: none;
  }

  .footer-grid {
    padding: 38px 0;
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-grid > p {
    grid-column: auto;
    margin: 0;
  }
}

@media (max-width: 460px) {
  .container,
  .header-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: calc(var(--header-height) + 50px);
  }

  .eyebrow {
    font-size: 9px;
  }

  .server-address {
    padding: 12px;
  }

  .address-copy strong {
    font-size: 12px;
  }

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

  .getting-started-heading {
    display: grid;
  }

  .starter-route {
    margin-inline: -12px;
    padding-inline: 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .starter-step,
  .starter-step-copy {
    padding: 18px;
  }

  .starter-step-featured,
  .split-step,
  .command-card-misc {
    padding: 0;
  }

  .step-heading {
    align-items: flex-start;
  }

  .step-heading h3 {
    font-size: 23px;
  }

  .command-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .talisman-box {
    grid-template-columns: 1fr;
  }

  .guide-media,
  .command-media {
    min-height: 240px;
  }

  .guide-video-card {
    padding: 14px;
  }

  .guide-video-copy h3,
  .guide-video-copy h4 {
    font-size: 21px;
  }

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

  .progression-teaser .coming-link {
    grid-column: auto;
  }

  .reforge-hero-copy {
    padding: 22px;
  }

  .reforge-hero h2 {
    font-size: 46px;
  }

  .reforge-hero-copy > p {
    font-size: 15px;
  }

  .reforge-hero-media {
    min-height: 300px;
  }

  .reforge-critical-callout,
  .premium-tip {
    grid-template-columns: 1fr;
  }

  .reforge-critical-callout {
    display: grid;
  }

  .reforge-section {
    padding: 18px;
  }

  .reforge-section-heading {
    align-items: flex-start;
  }

  .reforge-section-heading h3 {
    font-size: 23px;
  }

  .stone-price-header,
  .recommendation-rank {
    align-items: flex-start;
  }

  .stone-price-header {
    display: grid;
  }

  .stone-ranges-heading {
    align-items: flex-start;
    display: grid;
  }

  .recommendation-rank {
    grid-template-columns: 34px 1fr;
  }

  .recommendation-label {
    grid-column: 2;
    justify-self: start;
  }

  .reforge-actions {
    grid-template-columns: 1fr;
  }

  .reforge-ui-shot {
    min-height: 220px;
  }

  .reforge-ui-shot img {
    max-width: calc(100% - 24px);
  }

  .failure-example {
    display: grid;
  }

  .failure-example svg {
    transform: rotate(90deg);
  }

  .failure-burst {
    justify-self: center;
  }

  .fortune-example {
    align-items: flex-start;
    flex-direction: column;
  }

  .placeholder-grid,
  .event-slots {
    grid-template-columns: 1fr;
  }

  .world-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Overworld guide */
.overworld-page {
  --overworld: #65bd69;
  --overworld-bright: #91df91;
  --overworld-soft: rgba(101, 189, 105, 0.09);
  --overworld-line: rgba(101, 189, 105, 0.23);
}

.overworld-directory-card {
  border-color: rgba(101, 189, 105, 0.16);
}

.world-guide-link {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bce7bd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.world-guide-link svg {
  width: 16px;
  height: 16px;
  color: var(--overworld);
  transition: transform 180ms ease;
}

.overworld-directory-card:hover .world-guide-link svg {
  transform: translateX(3px);
}

.overworld-breadcrumbs {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #71676a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.overworld-breadcrumbs a {
  transition: color 160ms ease;
}

.overworld-breadcrumbs a:hover {
  color: var(--overworld-bright);
}

.overworld-breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.overworld-breadcrumbs span {
  color: #c3b9bc;
}

.overworld-hero {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--overworld-line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 24%, rgba(101, 189, 105, 0.2), transparent 30rem),
    radial-gradient(circle at 88% 100%, rgba(231, 76, 60, 0.08), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
    var(--surface);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.overworld-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
  pointer-events: none;
}

.overworld-hero-copy {
  position: relative;
  z-index: 1;
  padding: 52px;
  align-self: center;
}

.overworld-hero h2 {
  margin: 6px 0 13px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(54px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: 0 0 45px rgba(101, 189, 105, 0.18);
}

.overworld-hero-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.overworld-hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.overworld-facts {
  position: relative;
  z-index: 1;
  margin: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  background: rgba(9, 7, 8, 0.66);
  backdrop-filter: blur(14px);
}

.overworld-facts > div {
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 4px;
}

.overworld-facts > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.overworld-facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.overworld-facts span {
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overworld-facts strong,
.overworld-facts a {
  min-width: 0;
  color: #e7dfe1;
  font-size: 12px;
  font-weight: 700;
}

.overworld-facts a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 160ms ease;
}

.overworld-facts a:hover {
  color: var(--overworld-bright);
}

.overworld-facts a svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--overworld);
}

.overworld-facts .difficulty-beginner {
  color: #95e3a0;
}

.overworld-contents {
  position: sticky;
  z-index: 25;
  top: calc(var(--header-height) + 94px);
  margin: 16px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  background: rgba(13, 9, 10, 0.92);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}

.overworld-contents a {
  flex: 1 0 auto;
  padding: 9px 12px;
  border-radius: 5px;
  color: #81777a;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.overworld-contents a:hover {
  background: var(--overworld-soft);
  color: var(--overworld-bright);
}

.overworld-section {
  margin-top: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 45%),
    var(--surface);
  scroll-margin-top: calc(var(--header-height) + 150px);
}

.overworld-section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.overworld-section-heading > div {
  min-width: 0;
}

.overworld-section-heading h3,
.overworld-materials-section h3 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.overworld-section-heading p,
.overworld-materials-section p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.overworld-section-number {
  width: 47px;
  height: 47px;
  border: 1px solid var(--overworld-line);
  border-radius: 8px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--overworld-soft);
  color: var(--overworld-bright);
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.overworld-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 14px;
}

.overworld-copy-grid > div:first-child {
  padding: 8px 4px;
}

.overworld-copy-grid p,
.overworld-panel > p,
.boss-card-copy > p {
  margin: 0 0 13px;
  color: #b4aaad;
  font-size: 14px;
  line-height: 1.75;
}

.overworld-copy-grid strong,
.overworld-panel strong,
.location-card strong {
  color: #f5eff1;
}

.overworld-summary-card {
  padding: 20px;
  border: 1px solid var(--overworld-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  background: var(--overworld-soft);
}

.overworld-icon,
.npc-icon,
.materials-icon,
.fishing-item-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--overworld-line);
  border-radius: 7px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(101, 189, 105, 0.1);
  color: var(--overworld-bright);
}

.overworld-icon svg,
.npc-icon svg,
.materials-icon svg,
.fishing-item-icon svg {
  width: 21px;
  height: 21px;
}

.overworld-summary-card strong {
  display: block;
  color: #dfe8df;
  font-size: 13px;
}

.overworld-summary-card p {
  margin: 4px 0 0;
  color: #7f8f80;
  font-size: 11px;
  line-height: 1.55;
}

.overworld-split,
.boss-layout,
.connections-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: 14px;
}

.overworld-panel,
.boss-card-copy {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
}

.overworld-check-list,
.boss-mechanics {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.overworld-check-list li {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.016);
}

.overworld-check-list li > span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--overworld-soft);
  color: var(--overworld-bright);
}

.overworld-check-list svg {
  width: 17px;
  height: 17px;
}

.overworld-check-list strong {
  display: block;
  font-size: 11px;
}

.overworld-check-list small {
  display: block;
  margin-top: 2px;
  color: #746a6d;
  font-size: 9px;
}

.overworld-media-placeholder {
  position: relative;
  min-height: 360px;
  margin: 0;
  border: 1px dashed var(--overworld-line);
  border-radius: 9px;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(101, 189, 105, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 189, 105, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(101, 189, 105, 0.09), transparent 19rem),
    #0d0a0b;
  background-size: 30px 30px, 30px 30px, auto, auto;
  text-align: center;
}

.overworld-media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.68), transparent 42%);
  pointer-events: none;
}

.media-placeholder-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border: 1px solid var(--overworld-line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(101, 189, 105, 0.09);
  color: var(--overworld-bright);
  box-shadow: 0 0 35px rgba(101, 189, 105, 0.08);
}

.media-placeholder-icon svg {
  width: 27px;
  height: 27px;
}

.overworld-media-placeholder > strong,
.overworld-media-placeholder > small,
.overworld-media-placeholder > .media-placeholder-icon {
  position: relative;
  z-index: 1;
}

.overworld-media-placeholder > strong {
  color: #ded6d8;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
}

.overworld-media-placeholder > small {
  max-width: 330px;
  margin-top: 5px;
  padding-inline: 18px;
  color: #6d6467;
  font-size: 9px;
}

.overworld-media-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #a79da0;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.overworld-media-placeholder figcaption span {
  display: block;
  color: var(--overworld-bright);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overworld-media-shot {
  border-style: solid;
  display: block;
  background: #0d0a0b;
}

.overworld-media-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.overworld-media-shot:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.06);
}

.overworld-media-shot::after {
  background:
    linear-gradient(0deg, rgba(9, 6, 7, 0.76), transparent 45%),
    radial-gradient(circle at 50% 15%, transparent, rgba(0, 0, 0, 0.12));
}

.overworld-media-shot.compact-placeholder::after {
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.42), transparent 58%);
}

.spawn-subsection {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.045), transparent 21rem),
    rgba(255, 255, 255, 0.014);
}

.spawn-subsection-heading {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.spawn-subsection-heading h4 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.spawn-subsection-heading p {
  margin: 4px 0 0;
  color: #8d8386;
  font-size: 12px;
}

.leaderboards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  align-items: stretch;
  gap: 12px;
}

.leaderboard-copy-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.014);
}

.leaderboard-copy-card p {
  margin: 0;
  color: #a99fa2;
  font-size: 12px;
  line-height: 1.7;
}

.leaderboard-copy-card strong {
  color: #f1e8dc;
}

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

.leaderboard-side-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(243, 184, 93, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(243, 184, 93, 0.055), transparent 54%),
    rgba(255, 255, 255, 0.013);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.leaderboard-side-label {
  display: inline-flex;
  color: #a98255;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.leaderboard-side-card h5 {
  margin: 6px 0 11px;
  color: #f1e8dc;
  font-family: "Fredoka", sans-serif;
  font-size: 17px;
  line-height: 1.12;
}

.leaderboard-category-list {
  display: grid;
  gap: 6px;
}

.leaderboard-category-list > div {
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.016);
}

.leaderboard-category-list span {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(243, 184, 93, 0.08);
  font-size: 14px;
  line-height: 1;
}

.leaderboard-category-list strong {
  min-width: 0;
  color: #d6c8ad;
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.leaderboard-copy-card .guide-callout {
  margin-top: 0;
}

.leaderboard-media-grid {
  display: grid;
  min-width: 0;
}

.leaderboard-screenshot-placeholder {
  position: relative;
  min-height: 420px;
  margin: 0;
  border: 1px dashed rgba(243, 184, 93, 0.22);
  border-radius: 9px;
  overflow: hidden;
  background:
    linear-gradient(rgba(243, 184, 93, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 184, 93, 0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(243, 184, 93, 0.09), transparent 17rem),
    #0e0a08;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.leaderboard-screenshot-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.68), transparent 42%);
  pointer-events: none;
}

.leaderboard-screenshot-placeholder > div {
  position: absolute;
  inset: 12px 12px 48px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.leaderboard-screenshot-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.leaderboard-screenshot-placeholder figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  color: #a79da0;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.leaderboard-screenshot-placeholder figcaption span {
  display: block;
  color: #efc276;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.npc-guide-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 189, 105, 0.055), transparent 24rem),
    var(--surface);
}

.npc-side-label {
  margin: 26px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.npc-side-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.npc-side-label span {
  padding: 5px 8px;
  border: 1px solid var(--overworld-line);
  border-radius: 5px;
  background: var(--overworld-soft);
  color: var(--overworld-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.npc-side-label small {
  color: #686063;
  font-size: 9px;
}

.npc-side-label.right-side span {
  border-color: rgba(106, 201, 232, 0.2);
  background: rgba(106, 201, 232, 0.065);
  color: #8edcf2;
}

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

.npc-card {
  position: relative;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.017);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.npc-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 100% 0%, rgba(101, 189, 105, 0.08), transparent 70%);
  pointer-events: none;
}

.npc-card:hover {
  border-color: var(--overworld-line);
  background: rgba(101, 189, 105, 0.025);
  transform: translateY(-2px);
}

.npc-card-wide {
  grid-column: 1 / -1;
}

.npc-icon {
  margin-bottom: 15px;
}

.npc-card-heading > span {
  color: #766d70;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.npc-card h4,
.location-card h4,
.fishing-item-card h4,
.edition-grid h4 {
  margin: 3px 0 0;
  font-family: "Fredoka", sans-serif;
  font-size: 19px;
  line-height: 1.2;
}

.npc-card > p {
  margin: 10px 0 0;
  color: #8c8285;
  font-size: 11px;
  line-height: 1.6;
}

.overworld-text-link {
  width: fit-content;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9dbaa;
  font-size: 10px;
  font-weight: 700;
  transition: color 160ms ease;
}

.overworld-text-link:hover {
  color: var(--overworld-bright);
}

.overworld-text-link svg {
  width: 13px;
  height: 13px;
  transition: transform 160ms ease;
}

.overworld-text-link:hover svg {
  transform: translateX(2px);
}

.npc-trade-highlights {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.npc-trade-highlights > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.014);
}

.npc-trade-highlights span {
  color: #72696c;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.npc-trade-highlights strong {
  color: #d0c7ca;
  font-size: 10px;
}

.notable-equipment {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.notable-equipment > div {
  padding: 12px;
  border: 1px solid rgba(231, 76, 60, 0.13);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  background: rgba(231, 76, 60, 0.035);
}

.equipment-glyph {
  width: 31px;
  height: 31px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.1);
  color: #ff8a7f;
  font-family: "Fredoka", sans-serif;
  font-size: 11px;
}

.notable-equipment p {
  margin: 0;
}

.notable-equipment strong,
.notable-equipment small {
  display: block;
}

.notable-equipment strong {
  color: #ddd4d7;
  font-size: 10px;
}

.notable-equipment small {
  margin-top: 2px;
  color: #766c70;
  font-size: 8px;
}

.npc-discovery-note {
  margin: 11px 0 0;
  padding: 11px 12px;
  border: 1px dashed rgba(243, 184, 93, 0.18);
  border-radius: 6px;
  background: rgba(243, 184, 93, 0.025);
  color: #9a8d80;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

.overworld-details {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.overworld-details summary {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b9afb2;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.overworld-details summary::-webkit-details-marker {
  display: none;
}

.overworld-details summary svg {
  width: 15px;
  height: 15px;
  color: var(--overworld);
  transition: transform 180ms ease;
}

.overworld-details[open] summary svg {
  transform: rotate(90deg);
}

.future-table-grid {
  padding: 0 14px 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.future-table-grid > div {
  padding: 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.012);
}

.future-table-grid strong {
  color: #bfb5b8;
  font-size: 9px;
}

.future-table-grid p {
  margin: 3px 0 0;
  color: #655d60;
  font-size: 8px;
}

.npc-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.command-pill,
.store-pill {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.018);
  color: #a69c9f;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.command-pill:hover,
.store-pill:hover {
  border-color: var(--overworld-line);
  background: var(--overworld-soft);
}

.command-pill code {
  color: var(--overworld-bright);
  font-size: 10px;
}

.command-pill span,
.store-pill {
  font-size: 8px;
  font-weight: 700;
}

.command-pill svg,
.store-pill svg {
  width: 13px;
  height: 13px;
  color: var(--overworld);
}

.prestige-command-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.prestige-command-grid button {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  background: rgba(255, 255, 255, 0.016);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.prestige-command-grid button:hover {
  border-color: var(--overworld-line);
  transform: translateY(-1px);
}

.prestige-command-grid code {
  color: var(--overworld-bright);
  font-size: 10px;
}

.prestige-command-grid span {
  color: #71676a;
  font-size: 8px;
}

.prestige-command-grid svg {
  width: 14px;
  height: 14px;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: #6d966f;
}

.referral-npc-card {
  border-color: rgba(243, 184, 93, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.075), transparent 20rem),
    radial-gradient(circle at 0% 100%, rgba(101, 189, 105, 0.04), transparent 18rem),
    rgba(255, 255, 255, 0.018);
}

.referral-npc-card::after {
  background: radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.11), transparent 70%);
}

.referral-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 14px;
  align-items: stretch;
}

.referral-card-copy {
  min-width: 0;
}

.referral-card-copy p {
  margin: 10px 0 0;
  color: #9d9396;
  font-size: 11px;
  line-height: 1.65;
}

.referral-card-copy p strong {
  color: #efdc9f;
}

.referral-command-strip {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.referral-menu-shot {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(243, 184, 93, 0.18);
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 8px;
  background:
    linear-gradient(145deg, rgba(243, 184, 93, 0.055), transparent 45%),
    rgba(9, 5, 10, 0.68);
}

.referral-menu-shot img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: block;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.referral-menu-shot figcaption {
  color: #8f8173;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.referral-alt-warning {
  margin-top: 14px;
}

.referral-rewards-card {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(243, 184, 93, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(243, 184, 93, 0.045), transparent 46%),
    rgba(255, 255, 255, 0.014);
}

.referral-rewards-heading {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.referral-rewards-heading span {
  color: #a98255;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.referral-rewards-heading strong {
  color: #e7d9bb;
  font-size: 11px;
}

.referral-reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 8px;
}

.referral-reward-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.014);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.referral-reward-item:hover {
  border-color: rgba(243, 184, 93, 0.25);
  background: rgba(243, 184, 93, 0.03);
  transform: translateY(-1px);
}

.referral-reward-item span {
  color: #756b64;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.referral-reward-item strong,
.referral-reward-item small {
  display: block;
}

.referral-reward-item strong {
  margin-top: 4px;
  color: #d8ced1;
  font-size: 10px;
}

.referral-price {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(243, 184, 93, 0.24);
  border-radius: 999px;
  display: inline-flex;
  background: rgba(243, 184, 93, 0.07);
  color: #efc276;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.referral-reward-item small {
  margin-top: 4px;
  color: #786f72;
  font-size: 8px;
  line-height: 1.45;
}

.referral-reward-item.is-exclusive {
  border-color: rgba(243, 184, 93, 0.33);
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 184, 93, 0.16), transparent 5.5rem),
    rgba(243, 184, 93, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
}

.referral-reward-item.is-exclusive span,
.referral-reward-item.is-exclusive strong {
  color: #efc276;
}

.referral-exclusive-callout {
  margin-top: 14px;
}

.referral-exclusive-callout .callout-icon svg {
  width: 15px;
  height: 15px;
}

.overworld-materials-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  border-color: var(--overworld-line);
  background:
    radial-gradient(circle at 0% 50%, rgba(101, 189, 105, 0.1), transparent 20rem),
    var(--surface);
}

.materials-icon {
  width: 52px;
  height: 52px;
}

.boss-section {
  border-color: rgba(231, 76, 60, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(231, 76, 60, 0.07), transparent 24rem),
    var(--surface);
}

.boss-section .overworld-section-number {
  border-color: rgba(231, 76, 60, 0.24);
  background: rgba(231, 76, 60, 0.08);
  color: #ff887d;
}

.boss-difficulty {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(105, 213, 139, 0.2);
  border-radius: 999px;
  background: rgba(105, 213, 139, 0.07);
  color: #95e3a8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-emblem {
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: #ff887d;
}

.boss-emblem svg {
  width: 27px;
  height: 27px;
}

.boss-mechanics li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  background: rgba(255, 255, 255, 0.015);
}

.boss-mechanics li > span {
  width: 29px;
  height: 29px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: #ee796f;
  font-size: 8px;
  font-weight: 700;
}

.boss-mechanics strong {
  display: block;
  color: #d5cccf;
  font-size: 10px;
}

.boss-mechanics p {
  margin: 2px 0 0;
  color: #71676a;
  font-size: 8px;
  line-height: 1.45;
}

.boss-placeholder {
  border-color: rgba(231, 76, 60, 0.2);
  background:
    linear-gradient(rgba(231, 76, 60, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 76, 60, 0.03) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(231, 76, 60, 0.08), transparent 19rem),
    #0d090a;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.boss-placeholder .media-placeholder-icon {
  border-color: rgba(231, 76, 60, 0.22);
  background: rgba(231, 76, 60, 0.08);
  color: #ff887d;
}

.boss-placeholder figcaption span {
  color: #ff887d;
}

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

.location-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.016);
  transition: transform 180ms ease, border-color 180ms ease;
}

.location-card:hover {
  border-color: var(--overworld-line);
  transform: translateY(-2px);
}

.location-card.featured-location {
  border-color: rgba(101, 189, 105, 0.16);
}

.compact-placeholder {
  min-height: 210px;
  border: 0;
  border-bottom: 1px dashed var(--overworld-line);
  border-radius: 0;
}

.compact-placeholder::after {
  background: linear-gradient(0deg, rgba(9, 6, 7, 0.35), transparent 55%);
}

.leaderboard-placeholder.compact-placeholder {
  border: 1px dashed rgba(243, 184, 93, 0.22);
  border-radius: 9px;
}

.location-card-copy {
  padding: 18px;
}

.location-label {
  color: var(--overworld-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.location-card p {
  margin: 9px 0 0;
  color: #847a7e;
  font-size: 10px;
  line-height: 1.6;
}

.location-card code,
.tips-grid code,
.fisherman-hat-note code {
  color: #a6e2a8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.misc-npc-list {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.misc-npc-list span {
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.014);
  color: #92878b;
  font-size: 8px;
  font-weight: 700;
}

.fishing-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(106, 201, 232, 0.07), transparent 25rem),
    var(--surface);
}

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

.edition-grid > section {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  background: rgba(255, 255, 255, 0.016);
}

.edition-badge {
  width: 41px;
  height: 41px;
  border: 1px solid rgba(231, 76, 60, 0.22);
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(231, 76, 60, 0.08);
  color: #ff8b81;
  font-family: "Fredoka", sans-serif;
}

.edition-badge.bedrock {
  border-color: rgba(106, 201, 232, 0.22);
  background: rgba(106, 201, 232, 0.08);
  color: #8edcf2;
}

.edition-grid section div > span {
  color: #756c6f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.edition-grid p {
  margin: 7px 0 0;
  color: #81777a;
  font-size: 10px;
  line-height: 1.55;
}

.fishing-rewards {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.fishing-item-card {
  min-width: 0;
  padding: 21px;
  border: 1px solid rgba(106, 201, 232, 0.16);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  background: rgba(106, 201, 232, 0.025);
}

.fishing-item-card > p {
  grid-column: 1 / -1;
  margin: 5px 0 0;
  color: #81777a;
  font-size: 10px;
  line-height: 1.6;
}

.fishing-item-card > p strong {
  color: #a9e5f5;
}

.fishing-item-icon {
  border-color: rgba(106, 201, 232, 0.22);
  background: rgba(106, 201, 232, 0.08);
  color: #8edcf2;
}

.armor-card {
  border-color: rgba(243, 184, 93, 0.16);
  background: rgba(243, 184, 93, 0.025);
}

.armor-card .fishing-item-icon {
  border-color: rgba(243, 184, 93, 0.2);
  background: rgba(243, 184, 93, 0.08);
  color: #efc276;
}

.fisherman-hat-note > div {
  padding: 0 14px 14px;
}

.fisherman-hat-note p {
  margin: 0 0 7px;
  color: #81777a;
  font-size: 10px;
}

.connections-layout {
  grid-template-columns: minmax(270px, 0.62fr) minmax(420px, 1.38fr);
}

.world-progression {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.world-progression > a,
.world-progression > span {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.014);
}

.world-progression > a.is-current {
  border-color: var(--overworld-line);
  background: var(--overworld-soft);
}

.world-progression > a > span,
.world-progression > span > b {
  color: #6f6669;
  font-size: 8px;
}

.world-progression > a.is-current > span {
  color: var(--overworld-bright);
}

.world-progression strong {
  color: #c6bdc0;
  font-size: 10px;
}

.world-progression small {
  color: #729174;
  font-size: 8px;
}

.world-progression > svg {
  width: 13px;
  height: 13px;
  margin-inline: auto;
  color: #5e8d60;
  transform: rotate(90deg);
}

.world-map-placeholder {
  min-height: 490px;
}

.tips-section {
  border-color: var(--overworld-line);
  background:
    radial-gradient(circle at 0% 100%, rgba(101, 189, 105, 0.07), transparent 25rem),
    var(--surface);
}

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

.tips-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.016);
}

.tips-grid > div:last-child {
  grid-column: 1 / -1;
}

.tips-grid span {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: var(--overworld-soft);
  color: var(--overworld-bright);
  font-size: 8px;
  font-weight: 700;
}

.tips-grid strong {
  color: #bfb6b9;
  font-size: 10px;
}

.overworld-closing {
  margin: 10px 0 0;
  padding: 21px;
  border: 1px solid var(--overworld-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  background: var(--overworld-soft);
}

.overworld-closing svg {
  width: 30px;
  height: 30px;
  color: var(--overworld-bright);
}

.overworld-closing p {
  margin: 0;
  color: #b8c6b9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.related-guide-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.related-guide-links a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #857b7e;
  font-size: 9px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.related-guide-links a:hover {
  border-color: var(--overworld-line);
  background: var(--overworld-soft);
  color: var(--overworld-bright);
}

.related-guide-links svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 1160px) {
  .overworld-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1.1fr);
  }

  .overworld-hero-copy {
    padding: 40px;
  }

  .npc-trade-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .location-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .overworld-hero,
  .overworld-split,
  .boss-layout,
  .connections-layout,
  .leaderboards-layout,
  .referral-card-layout {
    grid-template-columns: 1fr;
  }

  .overworld-hero {
    min-height: 0;
  }

  .overworld-facts {
    margin-top: 0;
  }

  .overworld-contents {
    top: calc(var(--header-height) + 148px);
  }

  .overworld-copy-grid {
    grid-template-columns: 1fr;
  }

  .overworld-media-placeholder {
    min-height: 340px;
  }

  .leaderboard-screenshot-placeholder {
    min-height: 280px;
  }

  .leaderboard-screenshot-placeholder > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .world-map-placeholder {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .overworld-hero-copy {
    padding: 28px;
  }

  .overworld-hero h2 {
    font-size: 54px;
  }

  .overworld-facts {
    margin: 0 18px 18px;
  }

  .overworld-contents {
    position: relative;
    top: auto;
  }

  .overworld-section {
    padding: 23px;
  }

  .npc-grid,
  .location-grid,
  .leaderboard-media-grid,
  .leaderboard-side-grid,
  .edition-grid,
  .fishing-rewards,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .npc-card-wide,
  .location-card:last-child,
  .tips-grid > div:last-child {
    grid-column: auto;
  }

  .npc-side-label {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .npc-side-label small {
    width: 100%;
  }

  .npc-side-label::after {
    display: none;
  }

  .referral-rewards-heading {
    display: block;
  }

  .referral-rewards-heading strong {
    display: block;
    margin-top: 4px;
  }

  .overworld-materials-section {
    grid-template-columns: auto 1fr;
  }

  .overworld-materials-section .button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .overworld-media-placeholder {
    min-height: 300px;
  }

  .compact-placeholder {
    min-height: 220px;
  }

  .leaderboard-screenshot-placeholder {
    min-height: 430px;
  }

  .leaderboard-screenshot-placeholder > div {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .world-map-placeholder {
    min-height: 340px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .overworld-hero-copy {
    padding: 22px;
  }

  .overworld-hero h2 {
    font-size: 47px;
  }

  .overworld-hero-copy > p {
    font-size: 15px;
  }

  .overworld-hero-actions .button {
    width: 100%;
  }

  .overworld-facts {
    margin: 0 12px 12px;
    grid-template-columns: 1fr;
  }

  .overworld-facts > div,
  .overworld-facts > div:nth-child(odd),
  .overworld-facts > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .overworld-facts > div:last-child {
    border-bottom: 0;
  }

  .overworld-section {
    padding: 18px;
  }

  .overworld-section-heading {
    align-items: flex-start;
  }

  .overworld-section-heading h3,
  .overworld-materials-section h3 {
    font-size: 23px;
  }

  .boss-difficulty {
    margin-left: 0;
  }

  .overworld-section-heading:has(.boss-difficulty) {
    flex-wrap: wrap;
  }

  .npc-trade-highlights,
  .notable-equipment,
  .future-table-grid,
  .prestige-command-grid,
  .misc-npc-list {
    grid-template-columns: 1fr;
  }

  .referral-command-strip .command-pill {
    width: 100%;
  }

  .overworld-materials-section {
    grid-template-columns: 1fr;
  }

  .overworld-materials-section .button {
    grid-column: auto;
  }

  .edition-grid > section,
  .overworld-closing {
    grid-template-columns: 1fr;
  }

  .overworld-media-placeholder {
    min-height: 260px;
  }

  .compact-placeholder {
    min-height: 200px;
  }

  .world-progression {
    padding: 12px;
  }

  .world-map-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 1160px) {
  .rules-hero {
    grid-template-columns: 1fr;
  }

  .rules-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
  }

  .rules-notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-quick-nav {
    position: relative;
    top: auto;
  }

  .rules-quick-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-rule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rules-hero {
    padding: 26px;
  }

  .rules-notice {
    grid-template-columns: 1fr;
  }

  .rules-quick-nav nav {
    grid-template-columns: 1fr;
  }

  .rules-category summary {
    min-height: 70px;
    padding: 16px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .rules-category-icon {
    width: 38px;
    height: 38px;
  }

  .rules-category summary strong {
    font-size: 20px;
  }

  .rule-list,
  .account-rule-grid {
    padding-inline: 16px;
    padding-bottom: 16px;
  }
}

@media (max-width: 460px) {
  .rules-hero {
    padding: 21px;
  }

  .rules-hero h2 {
    font-size: 46px;
  }

  .rules-hero-copy > p {
    font-size: 15px;
  }

  .rules-category summary {
    align-items: start;
  }

  .rule-item {
    padding: 12px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    font-size: 13px;
  }

  .rule-item > span {
    width: 26px;
    height: 26px;
  }

  .rules-note-card summary {
    align-items: start;
  }

  .account-limit-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 1160px) {
  .commands-hero {
    grid-template-columns: 1fr;
  }

  .commands-overview-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .commands-overview-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .commands-overview-card span {
    text-align: left;
  }
}

@media (max-width: 960px) {
  .commands-layout {
    grid-template-columns: 1fr;
  }

  .commands-toc {
    position: relative;
    top: auto;
  }

  .commands-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-bonus-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .commands-hero {
    padding: 26px;
  }

  .commands-hero h2 {
    font-size: 44px;
  }

  .command-page-search {
    max-width: none;
  }

  .commands-overview-card,
  .commands-toc nav,
  .discord-bonus-actions {
    grid-template-columns: 1fr;
  }

  .command-category-header,
  .command-card-heading {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .command-category-count {
    grid-column: 2;
    justify-self: start;
  }

  .command-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 9px 12px;
  }

  .command-row p {
    grid-column: 1 / -1;
  }

  .discord-bonus-actions .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .commands-hero {
    padding: 21px;
  }

  .commands-hero h2 {
    font-size: 38px;
  }

  .commands-hero-copy > p {
    font-size: 15px;
  }

  .command-page-search {
    min-height: 50px;
    padding-inline: 13px;
  }

  .command-category-header,
  .command-card-heading,
  .discord-bonus-card {
    padding: 16px;
  }

  .command-row {
    min-height: 0;
    padding: 12px;
  }

  .command-row code,
  .commands-tips-card code,
  .discord-bonus-card code {
    font-size: 12px;
  }

  .command-copy {
    width: 34px;
    height: 34px;
  }

  .command-tip-list {
    padding-inline: 16px;
  }
}
