:root {
  color-scheme: dark;
  --bg: #030302;
  --panel: #0b0a08;
  --panel-soft: #11100c;
  --line: rgba(229, 173, 71, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #f5b238;
  --gold-strong: #ffcc55;
  --green: #10d99c;
  --green-deep: #06392e;
  --text: #f6f2e8;
  --muted: #aaa59b;
  --muted-2: #777166;
  --danger: #ff4d54;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 8px;
  --content: min(1120px, calc(100vw - 40px));
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(245, 178, 56, 0.16), transparent 34rem),
    linear-gradient(180deg, #030302 0%, #060504 48%, #020202 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 80%, transparent);
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

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

#view {
  position: relative;
  isolation: isolate;
}

#view.has-page-banner::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 440px;
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 3, 2, 0.82), rgba(3, 3, 2, 0.18) 48%, rgba(3, 3, 2, 0.72)),
    linear-gradient(0deg, #030302 0%, rgba(3, 3, 2, 0.48) 34%, rgba(3, 3, 2, 0.12) 100%),
    url("/assets/dragon-page-banner.png") center 43% / cover no-repeat;
}

#view:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(2, 2, 2, 0.88);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 174px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: 190px;
  object-fit: contain;
}

.brand:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 16px rgba(245, 178, 56, 0.28));
}

.brand-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-strong);
  text-shadow: 0 0 18px rgba(245, 178, 56, 0.45);
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.brand-sub {
  margin-top: 6px;
  color: #8e8778;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.48em;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.brand:hover .brand-main {
  color: #ffe391;
  text-shadow:
    0 0 18px rgba(245, 178, 56, 0.62),
    0 0 30px rgba(245, 178, 56, 0.28);
}

.brand:hover .brand-sub {
  color: #d8bd74;
  text-shadow: 0 0 12px rgba(245, 178, 56, 0.24);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.nav a {
  color: #e8e3d9;
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--gold-strong);
  text-shadow: 0 0 18px rgba(255, 204, 85, 0.35);
}

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

.server-pill,
.status-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.server-pill {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(16, 217, 156, 0.22);
  border-radius: 4px;
  color: #9ef0d4;
  background: rgba(6, 57, 46, 0.4);
  font-size: 0.72rem;
}

.server-pill i,
.status-card i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.small-button,
.outline-button,
.primary-button,
.ghost-button,
.gold-button,
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    text-shadow 0.18s ease;
}

.small-button:hover,
.outline-button:hover,
.primary-button:hover,
.ghost-button:hover,
.gold-button:hover {
  transform: translateY(-2px);
}

.small-button:active,
.outline-button:active,
.primary-button:active,
.ghost-button:active,
.gold-button:active {
  transform: translateY(0);
}

.small-button {
  min-height: 34px;
  padding: 0 15px;
  font-size: 0.86rem;
}

.outline-button {
  border: 1px solid rgba(245, 178, 56, 0.6);
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.07);
  box-shadow: inset 0 0 22px rgba(245, 178, 56, 0.1);
}

.outline-button:hover {
  border-color: rgba(255, 215, 115, 0.95);
  color: #fff1c7;
  background: rgba(245, 178, 56, 0.15);
  box-shadow:
    inset 0 0 22px rgba(245, 178, 56, 0.14),
    0 12px 26px rgba(245, 178, 56, 0.16);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: var(--gold);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 820px;
  display: grid;
  place-items: center;
  padding: 100px 20px 58px;
  overflow: hidden;
  background-image: var(--hero-image);
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid rgba(245, 178, 56, 0.08);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(245, 178, 56, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.18) 45%, #030302 100%),
    linear-gradient(90deg, #030302 0%, transparent 18%, transparent 82%, #030302 100%);
}

.hero::after {
  background: linear-gradient(180deg, transparent 70%, #030302 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-logo {
  display: block;
  width: min(380px, 68vw);
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.72));
  animation: hero-logo-float 3.8s ease-in-out infinite;
}

@keyframes hero-logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-title {
  margin: 0;
  color: #fff4dc;
  font-family: "Noto Serif TC", "PMingLiU", serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.92), 0 0 34px rgba(245, 178, 56, 0.2);
}

.hero-subtitle {
  margin: 0 0 4px;
  color: rgba(246, 242, 232, 0.86);
  font-size: clamp(0.9rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.version-badge,
.eyebrow,
.tag,
.hot {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.version-badge {
  padding: 0 22px;
  color: var(--gold-strong);
  background: rgba(111, 77, 16, 0.7);
  border: 1px solid rgba(245, 178, 56, 0.45);
  box-shadow: 0 0 24px rgba(245, 178, 56, 0.16);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(390px, 100%);
}

.primary-button,
.ghost-button {
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(16, 217, 156, 0.34);
  font-size: 1.08rem;
}

.primary-button {
  color: #caffed;
  background: linear-gradient(180deg, rgba(12, 108, 78, 0.9), rgba(6, 57, 46, 0.9));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42), inset 0 0 26px rgba(16, 217, 156, 0.14);
}

.primary-button:hover {
  color: #f2fff9;
  border-color: rgba(16, 217, 156, 0.72);
  background: linear-gradient(180deg, rgba(16, 132, 96, 0.96), rgba(7, 73, 58, 0.96));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.46),
    0 0 26px rgba(16, 217, 156, 0.18),
    inset 0 0 28px rgba(16, 217, 156, 0.2);
}

.ghost-button {
  color: var(--green);
  background: rgba(5, 10, 8, 0.68);
}

.ghost-button:hover {
  color: #eafff7;
  border-color: rgba(245, 178, 56, 0.45);
  background: rgba(245, 178, 56, 0.1);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.status-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  min-height: 54px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.58);
}

.status-card span {
  min-height: 54px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-card span + span {
  border-left: 1px solid var(--line-soft);
}

.status-card span:nth-child(2) {
  color: var(--text);
}

.section-narrow {
  width: var(--content);
  margin: 0 auto;
  padding: 68px 0;
}

.spotlight {
  margin-top: 0;
  padding: 38px 32px 32px;
  border: 1px solid rgba(245, 178, 56, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 30%, rgba(245, 178, 56, 0.14), transparent 20rem),
    #120c06;
  box-shadow: var(--shadow);
}

.section-head {
  margin-bottom: 28px;
}

.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h1,
.section-head h2,
.page-hero h1,
.article-card h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  font-weight: 950;
}

.section-head h1 {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 3.1rem);
}

.section-head h1::first-letter,
.section-head h2::first-letter,
.page-hero h1 span,
.spotlight h1 {
  color: var(--gold-strong);
}

.section-head p,
.page-hero p,
.news-item p,
.feature-card p,
.quick-card p,
.system-card p,
.site-footer p,
.article-body {
  color: var(--muted);
  line-height: 1.75;
}

.section-head p,
.page-hero p {
  margin: 10px 0 0;
}

.page-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sponsor-link-button {
  min-width: 168px;
}

.eyebrow {
  margin-bottom: 14px;
  padding: 0 15px;
  color: #ffb09b;
  background: rgba(151, 50, 34, 0.4);
}

.gold-button {
  padding: 0 24px;
  color: #160f04;
  background: linear-gradient(180deg, #ffd15f, #f39a15);
  box-shadow: 0 16px 36px rgba(245, 178, 56, 0.22);
}

.gold-button:hover {
  color: #080501;
  background: linear-gradient(180deg, #ffe48f, #f6aa24);
  box-shadow:
    0 18px 42px rgba(245, 178, 56, 0.34),
    0 0 22px rgba(255, 204, 85, 0.22);
}

.green-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(92, 218, 141, 0.65);
  border-radius: 999px;
  color: #06190d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #62df92, #22a85a);
  box-shadow: 0 16px 36px rgba(34, 168, 90, 0.2);
}

.green-button:hover {
  color: #041309;
  background: linear-gradient(180deg, #7af0a8, #2cc96e);
  box-shadow:
    0 18px 42px rgba(34, 168, 90, 0.3),
    0 0 22px rgba(101, 232, 151, 0.2);
}

.text-link,
.back-link {
  min-height: auto;
  color: var(--gold-strong);
}

.text-link:hover,
.back-link:hover {
  color: #fff0bd;
  text-shadow: 0 0 18px rgba(255, 204, 85, 0.36);
  transform: translateX(3px);
}

.package-strip,
.package-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

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

.package-card {
  position: relative;
  display: grid;
  min-height: 235px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050403;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 178, 56, 0.62);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(245, 178, 56, 0.12);
}

.package-card img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.package-card span {
  position: absolute;
  inset: auto 8px 8px;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 6px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.76);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.sponsorship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.sponsorship-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 178, 56, 0.08), transparent 18rem),
    rgba(10, 9, 7, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sponsorship-card.text-only-card {
  grid-template-rows: 1fr;
}

.sponsorship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 178, 56, 0.62);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(245, 178, 56, 0.12);
}

.package-card:hover img,
.sponsorship-card:hover img {
  transform: scale(1.035);
}

.sponsorship-card img,
.sponsorship-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #050403;
  transition: transform 0.32s ease;
}

.sponsorship-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--gold-strong);
  font-weight: 950;
  text-align: center;
}

.sponsorship-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.sponsorship-card h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.3;
}

.sponsorship-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.sponsorship-card b {
  margin-top: 6px;
  color: var(--gold-strong);
  font-size: 0.88rem;
}

.article-summary {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 178, 56, 0.18);
  border-radius: var(--radius);
  color: #d7d0c2;
  background: rgba(245, 178, 56, 0.06);
  line-height: 1.75;
}

.feature-grid,
.quick-grid,
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.feature-card,
.quick-card,
.system-card,
.news-item,
.article-card,
.settings-table {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(10, 9, 7, 0.82);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.feature-card,
.quick-card,
.system-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card span,
.quick-card span,
.system-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3,
.quick-card h3,
.system-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.quick-card,
.system-card,
.news-item {
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.quick-card:hover,
.system-card:hover,
.news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 178, 56, 0.45);
  background: rgba(16, 13, 9, 0.95);
}

.quick-card b,
.system-card b {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.84rem;
}

.page-hero {
  width: var(--content);
  min-height: 286px;
  margin: 0 auto;
  padding: 76px 40px 44px;
  background: transparent;
}

.page-hero h1 {
  max-width: 860px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list.compact {
  gap: 12px;
}

.news-item {
  display: block;
  padding: 24px 26px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 800;
}

.tag {
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(85, 149, 255, 0.38);
  color: #9ec7ff;
  background: rgba(25, 67, 129, 0.28);
  border-radius: 4px;
}

.hot {
  min-height: 22px;
  padding: 0 9px;
  color: #fff;
  background: var(--danger);
  border-radius: 4px;
  font-size: 0.68rem;
}

.news-item h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.38;
}

.news-item p {
  margin: 0;
}

.article-shell {
  padding-top: 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.breadcrumb a,
.breadcrumb b {
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

.breadcrumb a:hover {
  color: var(--gold-strong);
  text-shadow: 0 0 14px rgba(255, 204, 85, 0.24);
  transform: translateY(-1px);
}

.article-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px);
}

.article-card h1 {
  margin: 18px 0 28px;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
}

.article-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  margin-bottom: 28px;
}

.article-body p {
  margin: 0 0 20px;
}

.back-link {
  width: fit-content;
  margin: 26px auto 0;
}

.settings-table {
  overflow: hidden;
}

.settings-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 58px;
  border-bottom: 1px solid var(--line-soft);
}

.settings-table div:last-child {
  border-bottom: 0;
}

.settings-table b,
.settings-table span {
  display: flex;
  align-items: center;
  padding: 0 22px;
}

.settings-table b {
  color: var(--gold);
  background: rgba(245, 178, 56, 0.05);
}

.settings-table span {
  color: var(--muted);
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.detail-hero .eyebrow {
  margin-bottom: 18px;
}

.detail-page {
  padding-top: 34px;
}

.anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(4, 4, 3, 0.9);
}

.anchor-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(245, 178, 56, 0.16);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 900;
}

.anchor-tabs a:hover {
  color: var(--gold-strong);
  border-color: rgba(245, 178, 56, 0.46);
}

.equipment-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(245, 178, 56, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 5, 4, 0.74);
}

.equipment-tool-block {
  display: grid;
  gap: 12px;
}

.equipment-tool-block + .equipment-tool-block {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.equipment-tool-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.equipment-tool-head .card-kicker {
  margin-bottom: 0;
}

.equipment-tool-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.25;
}

.equipment-job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.equipment-job-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(16, 217, 156, 0.18);
  border-radius: 6px;
  color: #c9c2b6;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 900;
}

.equipment-job-tabs button.active {
  color: #11251d;
  border-color: transparent;
  background: linear-gradient(180deg, #b8f6e1, #47dba9);
}

.equipment-search-row {
  display: grid;
  grid-template-columns: 126px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.equipment-search-row label {
  color: var(--gold-strong);
  font-size: 0.88rem;
  font-weight: 950;
}

.equipment-search-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.44);
  padding: 0 13px;
  outline: none;
}

.equipment-search-row input:focus {
  border-color: rgba(245, 178, 56, 0.62);
  box-shadow: 0 0 0 3px rgba(245, 178, 56, 0.12);
}

.equipment-search-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(245, 178, 56, 0.28);
  border-radius: 999px;
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.08);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.equipment-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 8px;
  max-height: 250px;
  overflow: auto;
  padding-right: 4px;
}

.equipment-index a {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.equipment-index a:hover {
  border-color: rgba(245, 178, 56, 0.42);
  background: rgba(245, 178, 56, 0.07);
}

.equipment-index b {
  color: var(--text);
  line-height: 1.35;
}

.equipment-index span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.equipment-empty {
  margin: 0;
}

.class-grid,
.equipment-layout,
.guide-grid,
.guide-steps,
.notice-grid {
  display: grid;
  gap: 18px;
}

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

.class-card,
.detail-section,
.notice-card,
.guide-step {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 178, 56, 0.08), transparent 18rem),
    rgba(10, 9, 7, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.class-card {
  scroll-margin-top: 160px;
  padding: 26px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

.class-title-row h2,
.detail-section h2,
.guide-step h2,
.notice-card h3 {
  margin: 0;
  line-height: 1.25;
}

.class-title-row span {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.class-card p,
.detail-section p,
.notice-card p,
.guide-step p {
  color: var(--muted);
  line-height: 1.75;
}

.stat-bars {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.stat-line {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
}

.stat-line span {
  color: #d7d0c2;
  font-size: 0.84rem;
  font-weight: 900;
}

.stat-line b {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-line i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold-strong));
  box-shadow: 0 0 18px rgba(245, 178, 56, 0.18);
}

.class-meta-grid,
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.class-meta-grid h3,
.detail-columns h3 {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 0.96rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(16, 217, 156, 0.2);
  border-radius: 999px;
  color: #b8f6e1;
  background: rgba(6, 57, 46, 0.34);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.detail-list li::marker {
  color: var(--gold);
}

.class-guide-page {
  padding-top: 74px;
}

.class-page-head {
  margin-bottom: 34px;
}

.class-page-head h1 {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  line-height: 1.08;
}

.class-page-head h1 span {
  color: var(--gold-strong);
}

.class-page-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.class-page-head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(245, 178, 56, 0.52), transparent 72%);
}

.class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.class-tabs button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.class-tabs button:hover,
.class-tabs button.active {
  color: var(--gold-strong);
  border-color: rgba(245, 178, 56, 0.62);
  background: rgba(245, 178, 56, 0.11);
  box-shadow: 0 0 18px rgba(245, 178, 56, 0.08);
}

.class-tabs button:hover {
  transform: translateY(-1px);
}

.class-tabs i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 178, 56, 0.5);
}

.class-showcase {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 120px;
}

.class-showcase[hidden] {
  display: none;
}

.class-showcase-head {
  padding: 26px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, rgba(245, 178, 56, 0.12), transparent);
}

.class-showcase-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.class-showcase-head div div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.class-showcase-head span {
  color: #888175;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.class-showcase-head b {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(245, 178, 56, 0.42);
  border-radius: 999px;
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
}

.class-showcase-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.class-info-pane,
.class-skill-pane {
  display: grid;
  align-content: start;
  gap: 26px;
  padding: 30px;
}

.class-info-pane {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.class-info-pane h3,
.class-skill-pane h3,
.class-switch-block h3 {
  margin: 0 0 13px;
  color: #8b8478;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.class-info-pane p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.class-portrait {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 178, 56, 0.22);
  border-radius: var(--radius);
  background: #050403;
  box-shadow: 0 0 30px rgba(245, 178, 56, 0.08);
}

.class-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s ease;
}

.class-portrait:hover img {
  transform: scale(1.035);
}

.class-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.class-portrait figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: rgba(245, 178, 56, 0.82);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

.class-feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.class-feature-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 178, 56, 0.32);
  border-radius: 6px;
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.1);
  font-size: 0.68rem;
  font-weight: 950;
}

.class-feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.class-mini-block {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.class-switch-block {
  margin-top: 42px;
}

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

.class-quick-grid button {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.class-quick-grid button:hover,
.class-quick-grid button.active {
  border-color: rgba(245, 178, 56, 0.52);
  background: rgba(245, 178, 56, 0.08);
  transform: translateY(-1px);
}

.class-quick-grid b {
  line-height: 1.3;
}

.class-quick-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.guide-manual-page {
  padding-top: 74px;
}

.guide-manual-head {
  margin-bottom: 42px;
}

.guide-manual-head h1 {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  line-height: 1.08;
}

.guide-manual-head h1 span {
  color: var(--gold-strong);
}

.guide-manual-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.guide-manual-head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(245, 178, 56, 0.52), transparent 72%);
}

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

.guide-side {
  min-width: 0;
}

.guide-side nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 8px;
}

.guide-side button {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 950;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.guide-side button:hover,
.guide-side button.active {
  color: var(--gold-strong);
  border-color: rgba(245, 178, 56, 0.32);
  background: rgba(245, 178, 56, 0.1);
}

.guide-side button span {
  width: 24px;
  flex: 0 0 auto;
  text-align: center;
}

.guide-group[hidden] {
  display: none;
}

.guide-group h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.guide-group h2 span {
  font-size: 1.5rem;
}

.guide-group-divider {
  height: 1px;
  margin-bottom: 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.guide-article-list {
  display: grid;
  gap: 18px;
}

.guide-article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 178, 56, 0.07), transparent 16rem),
    rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-article:hover {
  border-color: rgba(245, 178, 56, 0.24);
  background: rgba(245, 178, 56, 0.04);
}

.guide-article h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.guide-article h3 span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 178, 56, 0.32);
  border-radius: 50%;
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.1);
  font-size: 0.72rem;
  font-weight: 950;
}

.guide-article p {
  margin: 0 0 14px 38px;
  color: var(--muted);
  line-height: 1.8;
}

.guide-article .pill-list {
  margin-left: 38px;
}

.guide-footnote {
  margin: 48px 0 0;
  color: #726b60;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.detail-section {
  scroll-margin-top: 160px;
  padding: 26px;
}

.compact-head {
  margin-bottom: 18px;
}

.equipment-table {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.equipment-row {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 0.82fr 1.42fr 1.05fr;
  min-height: 62px;
  border-bottom: 1px solid var(--line-soft);
}

.equipment-row:last-child {
  border-bottom: 0;
}

.equipment-row > * {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--muted);
  line-height: 1.55;
}

.equipment-source {
  align-self: center;
  min-height: 42px;
  margin: 10px 12px;
  padding: 9px 12px;
  border: 1px solid rgba(231, 69, 69, 0.75);
  border-radius: 6px;
  background: rgba(142, 24, 24, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 185, 185, 0.08);
  color: #ffbcbc;
}

.equipment-name {
  gap: 12px;
  min-width: 0;
}

.equipment-name img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #050403;
}

.equipment-row strong {
  color: var(--text);
  line-height: 1.35;
}

.equipment-row.table-head {
  min-height: 44px;
  background: rgba(245, 178, 56, 0.08);
}

.equipment-row.table-head span {
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 950;
}

.equipment-row.highlight {
  animation: equipment-highlight 1.35s ease;
}

@keyframes equipment-highlight {
  0%,
  100% {
    background: transparent;
  }

  35% {
    background: rgba(245, 178, 56, 0.15);
  }
}

.notice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.notice-card {
  padding: 22px;
}

.notice-card span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
}

.guide-steps {
  margin-bottom: 18px;
}

.guide-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
}

.guide-step > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 178, 56, 0.38);
  border-radius: 50%;
  color: var(--gold-strong);
  background: rgba(245, 178, 56, 0.08);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 950;
}

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

.system-detail-sections {
  max-width: 960px;
  margin: 18px auto 0;
}

.route-table {
  display: grid;
  gap: 10px;
}

.route-row {
  display: grid;
  grid-template-columns: 110px 220px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
}

.route-row b {
  color: var(--gold-strong);
}

.route-row span {
  color: var(--text);
  font-weight: 900;
}

.route-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  margin-top: 46px;
  padding: 54px max(24px, calc((100vw - 1120px) / 2)) 28px;
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 2, 2, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 42px;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-strong);
  font-family: Georgia, serif;
  font-weight: 900;
  background: rgba(245, 178, 56, 0.07);
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
}

.site-footer h4 {
  color: var(--gold);
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

.site-footer a:hover {
  color: var(--gold-strong);
  text-shadow: 0 0 14px rgba(255, 204, 85, 0.22);
  transform: translateX(3px);
}

.copyright {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: center;
}

.admin-link {
  position: fixed;
  right: 16px;
  bottom: 16px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .nav {
    position: fixed;
    inset: 82px 14px auto 14px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 5, 4, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-soft);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
  }

  .header-actions {
    display: none;
  }

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

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

  .quick-grid,
  .system-grid,
  .footer-inner,
  .class-grid,
  .class-quick-grid,
  .guide-grid,
  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-showcase-body {
    grid-template-columns: 1fr;
  }

  .guide-manual-layout {
    grid-template-columns: 1fr;
  }

  .guide-side nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-info-pane {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .equipment-row {
    grid-template-columns: 1.05fr 0.68fr 0.75fr 1.18fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(640px, calc(100vw - 28px));
  }

  .site-header {
    min-height: 76px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-main {
    font-size: 1.45rem;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.34em;
  }

  .nav {
    inset: 76px 14px auto 14px;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
    padding: 88px 16px 44px;
    background-position: center top;
  }

  .hero-logo {
    width: min(300px, 72vw);
    max-height: 150px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.35rem, 5.2vw, 2.1rem);
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 34ch;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .primary-button,
  .ghost-button {
    min-height: 54px;
    font-size: 1rem;
  }

  .status-card {
    width: 100%;
  }

  .status-card span {
    min-height: 44px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .section-narrow {
    padding: 46px 0;
  }

  .spotlight {
    width: calc(100vw - 28px);
    margin-top: 0;
    padding: 24px 16px;
  }

  .split-head {
    display: grid;
    align-items: start;
  }

  .gold-button {
    width: 100%;
  }

  .package-strip,
  .package-grid,
  .feature-grid,
  .quick-grid,
  .system-grid,
  .footer-inner,
  .class-grid,
  .class-quick-grid,
  .class-meta-grid,
  .detail-columns,
  .guide-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .class-guide-page {
    padding-top: 52px;
  }

  .class-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-tabs button {
    justify-content: center;
    padding: 0 10px;
  }

  .class-showcase-head,
  .class-info-pane,
  .class-skill-pane {
    padding: 22px 18px;
  }

  .class-portrait {
    min-height: 220px;
  }

  .guide-manual-page {
    padding-top: 52px;
  }

  .guide-side nav {
    grid-template-columns: 1fr;
  }

  .guide-side button {
    min-height: 46px;
  }

  .guide-article {
    padding: 20px 16px;
  }

  .guide-article p,
  .guide-article .pill-list {
    margin-left: 0;
  }

  .equipment-tool-head {
    display: grid;
    align-items: start;
  }

  .equipment-search-row,
  .equipment-index {
    grid-template-columns: 1fr;
  }

  .equipment-index {
    max-height: none;
  }

  .package-card,
  .package-card img {
    min-height: 320px;
  }

  .feature-card,
  .quick-card,
  .system-card {
    min-height: auto;
  }

  .page-hero {
    min-height: 250px;
    padding: 66px 20px 32px;
  }

  #view.has-page-banner::before {
    height: 370px;
    background-position: center, center, 52% center;
  }

  .news-item {
    padding: 20px;
  }

  .article-shell {
    padding-top: 34px;
  }

  .article-card {
    padding: 24px 18px;
  }

  .settings-table div {
    grid-template-columns: 1fr;
  }

  .settings-table b,
  .settings-table span {
    min-height: 44px;
  }

  .equipment-row,
  .equipment-row.table-head,
  .route-row,
  .guide-step {
    grid-template-columns: 1fr;
  }

  .equipment-row.table-head {
    display: none;
  }

  .equipment-row {
    padding: 12px 0;
  }

  .equipment-row > * {
    padding: 6px 16px;
  }

  .equipment-row > *::before {
    content: attr(data-label);
    width: 80px;
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
  }

  .equipment-source {
    margin: 8px 16px 10px;
    padding: 9px 10px;
  }

  .equipment-source::before {
    color: #ff9a9a;
  }

  .equipment-name {
    align-items: flex-start;
  }

  .guide-step > span {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
  }
}
