:root {
  --bg: #090909;
  --bg-soft: #121212;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-strong: rgba(26, 26, 26, 0.96);
  --line: rgba(212, 173, 86, 0.28);
  --line-strong: rgba(212, 173, 86, 0.52);
  --gold: #d4ad56;
  --gold-soft: #f0d493;
  --text: #f4efe2;
  --muted: #baa982;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --nav-height: 84px;
  --shell-gap: 20px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(130, 92, 24, 0.24), transparent 28%),
    linear-gradient(180deg, #040404 0%, #0a0a0a 45%, #060606 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 95%);
}

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

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

.site-shell {
  width: 100%;
  margin: 0;
  height: calc(100vh - var(--nav-height));
  padding: var(--shell-gap) 0;
  overflow: hidden;
}

.main-nav-wrap,
.page-header,
.hero,
.portal-layout {
  position: relative;
  z-index: 1;
}

.main-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #4c2414;
  border-bottom: 1px solid rgba(232, 190, 102, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.main-nav {
  width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 20px;
  background: #4c2414;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.server-brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.server-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.server-brand-copy {
  min-width: 0;
}

.brand-kicker {
  margin: 0 0 3px;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e2bf71;
}

.server-brand h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: #f5e8c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(113, 175, 255, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3de286;
  box-shadow: 0 0 12px rgba(61, 226, 134, 0.8);
}

.main-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.main-menu a {
  min-width: 122px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Cinzel", serif;
  font-size: 0.84rem;
  color: #f4dda7;
  background:
    linear-gradient(180deg, rgba(71, 29, 19, 0.96), rgba(34, 12, 12, 0.96));
  border: 1px solid rgba(214, 157, 62, 0.46);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 150, 0.06),
    0 10px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.main-menu a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 126, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 150, 0.14),
    0 14px 24px rgba(0, 0, 0, 0.35);
}

.nav-emoji {
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.social-menu {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.social-menu a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 173, 86, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #f3e6c3;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-menu a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 142, 0.6);
  background: rgba(212, 173, 86, 0.16);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 0 6px 22px;
}

.page-header h1,
.hero h2,
.panel h3,
.guide-card h4,
.timeline-item h4,
.inner-guide h4,
.mini-panel h4,
.info-box h5 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.03em;
}

.page-header h1 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

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

.top-actions a,
.button {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212, 173, 86, 0.1), rgba(212, 173, 86, 0.02));
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gold-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-actions a:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(212, 173, 86, 0.18), rgba(212, 173, 86, 0.06));
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 100px),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 28px;
  margin-bottom: 24px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 35%;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 173, 86, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-copy p:last-of-type {
  max-width: 75ch;
}

.hero-copy,
.hero-panel,
.sidebar,
.content-column,
.rightbar {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  margin-bottom: 14px;
}

.hero p,
.mini-panel p,
.inner-guide p,
.guide-card p,
.timeline-item p {
  margin: 0;
  color: #ddd2b6;
  line-height: 1.7;
}

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

.button-primary {
  color: #17120a;
  background: linear-gradient(180deg, #f0d493, #c89838);
  border-color: rgba(255, 229, 160, 0.6);
  font-weight: 700;
}

.button-secondary {
  font-weight: 600;
}

.hero-panel {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(212, 173, 86, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(212, 173, 86, 0.2);
}

.check-list,
.compact-list,
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li,
.compact-list li {
  position: relative;
  padding-left: 18px;
  color: #e7dbc0;
}

.check-list li + li,
.compact-list li + li {
  margin-top: 10px;
}

.check-list li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 173, 86, 0.6);
}

.portal-layout {
  display: grid;
  grid-template-columns: clamp(360px, 31vw, 480px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

.sidebar {
  padding: 0;
  position: relative;
  top: auto;
  height: 100%;
  max-height: 100%;
  border-left: 0;
  border-radius: 0 22px 22px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 18, 18, 0.92) rgba(0, 0, 0, 0.12);
}

.panel-header {
  margin-bottom: 18px;
}

.panel-header h3 {
  font-size: 1.32rem;
}

.mini-panel {
  padding: 16px 18px;
  margin-top: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 173, 86, 0.16);
}

.mini-panel h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.content-column {
  display: grid;
  gap: 24px;
  padding-right: 24px;
  height: 100%;
  min-height: 0;
}

.section-block {
  padding: 24px;
}

.category-list {
  display: grid;
  gap: 0;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(6, 39, 67, 0.96), rgba(5, 27, 50, 0.98));
}

.accordion-item {
  border-bottom: 1px solid rgba(145, 189, 255, 0.08);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item.is-open {
  background: linear-gradient(180deg, rgba(27, 58, 68, 0.92), rgba(7, 34, 58, 0.92));
}

.accordion-trigger {
  width: 100%;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: transparent;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}

.accordion-trigger:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.035);
}

.accordion-trigger img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.category-copy h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.category-copy p {
  margin: 0;
  color: #8ca7c7;
  font-size: 0.76rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.category-arrow {
  color: #a8a1bf;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.accordion-item.is-open .category-arrow {
  transform: rotate(0deg);
}

.accordion-panel {
  display: none;
  padding: 0 0 10px;
  background: rgba(3, 28, 50, 0.72);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel[hidden] {
  display: none !important;
}

.subcategory-link {
  display: block;
  padding: 16px 22px 16px 52px;
  font-size: 1rem;
  font-weight: 600;
  color: #f3efe4;
  transition: background 0.2s ease, color 0.2s ease;
}

.subcategory-link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.subcategory-link.is-active {
  background: linear-gradient(90deg, rgba(255, 172, 51, 0.18), rgba(255, 172, 51, 0.04));
  color: #ffffff;
  box-shadow: inset 4px 0 0 #ffb236;
}

.content-column {
  min-width: 0;
}

.content-panel {
  min-height: 0;
  height: 100%;
  margin-right: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 18, 18, 0.92) rgba(0, 0, 0, 0.12);
}

.sidebar::-webkit-scrollbar,
.content-panel::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sidebar::-webkit-scrollbar-track,
.content-panel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.12);
}

.sidebar::-webkit-scrollbar-thumb,
.content-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(8, 8, 8, 0.96));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar::-webkit-scrollbar-thumb:hover,
.content-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(14, 14, 14, 0.98));
}

.sidebar::-webkit-scrollbar-corner,
.content-panel::-webkit-scrollbar-corner {
  background: transparent;
}

.content-header {
  margin-bottom: 16px;
}

.content-panel.is-class-guide .content-header {
  display: none;
}

.content-panel.is-class-guide .content-body {
  padding-top: 4px;
}

.content-body {
  color: #ddd2b6;
  line-height: 1.8;
}

.home-video-hero {
  min-height: 560px;
}

.home-video-frame {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 14px;
  background: #000000;
}

.content-body p {
  margin: 0 0 16px;
}

.content-body ul {
  margin: 0;
  padding-left: 20px;
}

.content-body li + li {
  margin-top: 8px;
}

.guide-entry {
  display: grid;
  gap: 22px;
}

.guide-media-card {
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(212, 173, 86, 0.28);
  background: rgba(255, 255, 255, 0.02);
}

.guide-cover-image {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 173, 86, 0.24);
  background: linear-gradient(180deg, rgba(6, 39, 67, 0.96), rgba(5, 27, 50, 0.98));
}

.guide-text-block {
  color: #ddd2b6;
}

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

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

.server-info-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 173, 86, 0.16);
  background: linear-gradient(180deg, rgba(12, 43, 73, 0.94), rgba(7, 28, 49, 0.98));
}

.server-info-card h4 {
  margin: 0 0 14px;
  text-align: center;
  color: #ffc74f;
  font-family: "Cinzel", serif;
  font-size: 1rem;
}

.server-info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.server-info-card li {
  color: #dfe7f3;
  text-align: center;
}

.server-info-card li + li {
  margin-top: 6px;
}

.character-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.character-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.guide-section-title h2,
.guide-data-block h3,
.guide-media-card h3 {
  margin: 0 0 12px;
  color: #ffc74f;
  font-family: "Cinzel", serif;
}

.guide-helper-text {
  margin: 12px 0 0;
  color: #b9c4d4;
  font-size: 0.92rem;
}

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

.guide-video-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  background: #061321;
}

.guide-video-large {
  gap: 14px;
}

.guide-video-embed-large {
  min-height: 500px;
}

.mu-helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.mu-helper-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 173, 86, 0.16);
  background: linear-gradient(180deg, rgba(10, 34, 58, 0.95), rgba(5, 25, 45, 0.98));
  text-align: center;
}

.mu-helper-grid-plain .mu-helper-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mu-helper-card h3 {
  margin: 0 0 12px;
  color: #ffc74f;
  font-family: "Cinzel", serif;
}

.mu-helper-image {
  display: block;
  width: 100%;
  max-width: 366px;
  margin: 0 auto 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 173, 86, 0.16);
}

.mu-helper-image-menu {
  width: auto;
  max-width: none;
  max-height: 420px;
  object-fit: contain;
  transform: scaleX(1.28);
  transform-origin: center top;
}

.mu-helper-step-section {
  display: grid;
  gap: 20px;
  padding-top: 6px;
}

.mu-helper-step-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.mu-helper-step-header span {
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 173, 86, 0), rgba(212, 173, 86, 0.55), rgba(212, 173, 86, 0));
}

.mu-helper-step-header h3 {
  margin: 0;
  color: #ffc74f;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
}

.mu-helper-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.mu-helper-step-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mu-helper-step-card {
  color: #e5edf8;
}

.mu-helper-step-card p {
  margin: 0 0 12px;
}

.mu-helper-accent {
  color: #ff8c2b;
}

.mu-helper-step-text {
  min-height: 74px;
  color: #ff8c2b;
  font-size: 1rem;
  line-height: 1.45;
}

.mu-helper-step-image {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 173, 86, 0.16);
}

.mu-helper-step-list {
  margin: 0;
  padding-left: 22px;
}

.mu-helper-step-list li {
  color: #e5edf8;
}

.mu-helper-step-list li::marker {
  color: #b89967;
}

.guide-data-block {
  display: grid;
  gap: 12px;
}

.guide-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(212, 173, 86, 0.16);
  background: linear-gradient(180deg, rgba(10, 34, 58, 0.95), rgba(5, 25, 45, 0.98));
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.guide-table-wide {
  min-width: 920px;
}

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

.guide-table th {
  color: #ffc74f;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  background: rgba(212, 173, 86, 0.06);
}

.guide-table td {
  color: #e5edf8;
  font-size: 0.95rem;
}

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

.guide-highlight-box {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 173, 86, 0.16);
  background: linear-gradient(180deg, rgba(12, 43, 73, 0.94), rgba(7, 28, 49, 0.98));
}

.guide-highlight-box p {
  margin: 0;
}

.guide-highlight-box p + p {
  margin-top: 8px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 173, 86, 0.18);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: #1c1308;
  background: linear-gradient(180deg, #f0d493, #c99735);
}

.timeline-item h4 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.inner-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}

.inner-guide-main,
.inner-guide-side {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 173, 86, 0.18);
}

.inner-guide-main h4,
.inner-guide-side h4 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.info-box {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(212, 173, 86, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(212, 173, 86, 0.18);
}

.info-box h5 {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.class-guide {
  display: grid;
  gap: 24px;
}

.class-guide-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: start;
}

.class-guide-figure,
.class-guide-panel {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.class-guide-figure {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 0;
}

.class-guide-character-image {
  width: 100%;
  max-width: 430px;
  object-fit: contain;
  object-position: center bottom;
}

.class-guide-panel {
  padding: 0;
}

.class-guide-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

.class-guide-header::before,
.class-guide-header::after {
  content: "";
  flex: 1;
  min-width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 173, 86, 0), rgba(212, 173, 86, 0.55), rgba(212, 173, 86, 0));
}

.class-guide-header h2 {
  margin: 0;
  color: #ffc74f;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  white-space: nowrap;
}

.class-guide-copy {
  color: #dce8f8;
  font-size: 0.98rem;
  line-height: 1.55;
}

.class-guide-copy p {
  margin: 0 0 12px;
}

.class-guide-inline-link {
  color: #ff9b2f;
  text-decoration: none;
}

.class-guide-inline-link:hover {
  color: #ffbf73;
}

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

.class-guide-info-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(88, 132, 171, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(39, 45, 60, 0.84), rgba(29, 33, 45, 0.84));
}

.class-guide-info-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.class-guide-info-card h3,
.class-guide-info-card p {
  margin: 0;
}

.class-guide-info-card h3 {
  color: #f0d493;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  line-height: 1.3;
}

.class-guide-info-card p {
  color: #dce8f8;
  font-size: 0.88rem;
  line-height: 1.35;
}

.class-guide-info-card-wide {
  grid-column: span 2;
}

.class-guide-info-card-wide img {
  align-self: start;
}

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

.class-guide-profession-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.class-guide-profession-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin: 0 auto;
}

.class-guide-profession-card {
  display: grid;
  gap: 10px;
  text-align: center;
}

.class-guide-profession-card h3,
.class-guide-profession-card p {
  margin: 0;
}

.class-guide-profession-card h3 {
  color: #f0d493;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
}

.class-guide-profession-card p {
  color: #dce8f8;
  font-size: 1rem;
}

.class-guide-profession-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 18px;
  background: #000000;
}

.class-guide-profession-image {
  width: 100%;
  max-width: 220px;
  max-height: 360px;
  object-fit: contain;
}

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

.class-guide-skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 38px;
  align-items: start;
}

.class-guide-skills-copy {
  text-align: center;
  color: #dce8f8;
}

.class-guide-skills-copy p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.class-guide-skills-stack {
  display: grid;
  gap: 14px;
}

.class-guide-skills-image {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 18px auto 0;
  object-fit: contain;
}

.class-guide-combo-preview {
  padding: 1px;
  background: rgba(212, 173, 86, 0.7);
  line-height: 0;
}

.class-guide-combo-video {
  display: block;
  width: 100%;
  background: #000000;
}

.profession-quest-guide {
  display: grid;
  gap: 0;
}

.profession-quest-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 173, 86, 0.14);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(21, 52, 84, 0.9), rgba(16, 43, 70, 0.92));
}

.profession-quest-tab {
  padding: 7px 14px;
  border: 1px solid rgba(212, 173, 86, 0.14);
  border-radius: 10px;
  background: rgba(3, 22, 41, 0.88);
  color: #b9c6d8;
  font-size: 0.86rem;
  cursor: pointer;
}

.profession-quest-tab.is-active {
  color: #f5f0df;
  box-shadow: inset 0 -2px 0 #ff8c2b;
}

.profession-quest-panel {
  padding: 24px 18px 22px;
  border: 1px solid rgba(212, 173, 86, 0.14);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(8, 39, 66, 0.96), rgba(5, 27, 46, 0.98));
}

.profession-quest-panel[hidden] {
  display: none !important;
}

.profession-quest-header {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.26);
}

.profession-quest-header h2 {
  margin: 0;
  color: #ffc74f;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
}

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

.profession-quest-layout-wide {
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 30px;
}

.profession-quest-image-frame {
  padding: 8px 8px 6px;
  border: 1px solid #b48b1d;
  background: #02060b;
  text-align: center;
}

.profession-quest-image-title {
  margin-bottom: 8px;
  color: #d667ff;
  font-weight: 700;
  font-size: 0.92rem;
}

.profession-quest-image {
  display: block;
  width: 100%;
  max-width: 170px;
  margin: 0 auto;
  image-rendering: auto;
}

.profession-quest-image-tall {
  max-width: 220px;
}

.profession-quest-image-caption {
  margin-top: 10px;
  color: #ffc74f;
  font-size: 0.88rem;
  font-weight: 700;
}

.profession-quest-image-frame-third {
  padding: 10px 10px 8px;
}

.profession-quest-image-third {
  max-width: 210px;
  min-height: 390px;
  object-fit: contain;
}

.profession-quest-content {
  color: #dce8f8;
}

.profession-quest-content p {
  margin: 0 0 10px;
}

.profession-quest-third-content {
  padding-top: 106px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.profession-quest-third-list {
  margin: 18px 0 0;
  padding-left: 22px;
}

.profession-quest-third-list li {
  margin-bottom: 10px;
  color: #dce8f8;
}

.profession-quest-third-list div {
  margin-left: 18px;
}

.profession-quest-third-final {
  margin-top: 22px !important;
  font-size: 1.04rem;
}

.profession-quest-third-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
  text-align: center;
}

.profession-quest-third-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.profession-quest-third-step-title {
  margin: 0;
  color: #ffc74f;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
}

.profession-quest-third-step-copy {
  margin: 0;
  min-height: 72px;
  color: #eef5ff;
  font-size: 0.98rem;
  line-height: 1.35;
}

.profession-quest-third-item-table {
  min-width: 0;
  table-layout: fixed;
}

.profession-quest-third-item-table td {
  width: 33.33%;
  padding: 14px 10px;
  vertical-align: middle;
}

.profession-quest-third-item-table img {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  object-fit: contain;
}

.profession-quest-third-location {
  display: block;
  margin-top: 6px;
  color: #ffc74f;
  font-weight: 700;
  line-height: 1.2;
}

.profession-quest-third-monster-table {
  min-width: 0;
  table-layout: fixed;
}

.profession-quest-third-monster-table td:first-child {
  color: #ffc74f;
  font-weight: 700;
}

.profession-quest-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.profession-quest-list li {
  margin-bottom: 6px;
  color: #dce8f8;
}

.profession-quest-list li::marker {
  color: #b89967;
}

.profession-quest-sequence {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 173, 86, 0.18);
  text-align: center;
  color: #dce8f8;
}

.profession-quest-sequence h3 {
  margin: 0 0 14px;
  color: #ffc74f;
  font-family: "Cinzel", serif;
  font-size: 2rem;
}

.profession-quest-sequence p {
  margin: 0 0 12px;
}

.profession-quest-sequence-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}

.profession-quest-sequence-line img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  vertical-align: middle;
}

.profession-quest-sequence-item {
  color: #f2f2f2;
}

.profession-quest-table-wrap {
  margin-top: 18px;
}

.profession-quest-table td:first-child {
  color: #3ea4ff;
  font-weight: 500;
}

.profession-quest-table td:last-child {
  color: #ffe08a;
}

.profession-quest-item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.profession-quest-item-card {
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(212, 173, 86, 0.16);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.profession-quest-item-card img {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.profession-quest-item-card h4 {
  margin: 0 0 8px;
  color: #ffc74f;
  font-family: "Cinzel", serif;
  font-size: 1rem;
}

.profession-quest-item-card p {
  margin: 0;
}

.profession-quest-second-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 0.92fr);
  gap: 18px;
  margin-top: 10px;
  text-align: left;
}

.profession-quest-second-card {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profession-quest-second-lead {
  min-height: 72px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #eef5ff;
}

.profession-quest-second-lead img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 8px;
  vertical-align: middle;
  object-fit: contain;
}

.profession-quest-second-note {
  max-width: none;
  margin: 6px auto 0;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.55;
}

.profession-quest-item-table {
  min-width: 0;
}

.profession-quest-second-card .guide-table-wrap {
  border-radius: 0;
  overflow: hidden;
}

.profession-quest-second-card .guide-table {
  min-width: 0;
  table-layout: fixed;
}

.profession-quest-second-card .guide-table th,
.profession-quest-second-card .guide-table td {
  padding: 12px 10px;
  font-size: 0.92rem;
  word-break: normal;
  overflow-wrap: normal;
}

.profession-quest-item-table th,
.profession-quest-item-table td {
  padding: 12px 6px;
}

.profession-quest-item-table td:first-child {
  color: #3ea4ff;
}

.profession-quest-item-table th {
  font-size: 0.82rem;
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: normal;
}

.profession-quest-item-table td img {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  object-fit: contain;
}

.profession-quest-item-table-wrap {
  overflow: visible !important;
}

.profession-quest-item-hover {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.profession-quest-item-hover > img {
  cursor: pointer;
}

.profession-quest-item-tooltip {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 6;
  width: 272px;
  padding: 18px 18px 16px;
  display: grid;
  gap: 8px;
  justify-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 35, 61, 0.98), rgba(2, 24, 42, 0.99));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.profession-quest-item-hover:hover .profession-quest-item-tooltip {
  opacity: 1;
  visibility: visible;
}

.profession-quest-item-tooltip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.profession-quest-item-tooltip strong {
  color: #f4f6fb;
  font-size: 0.96rem;
  text-align: center;
}

.profession-quest-item-tooltip span {
  color: #f4f6fb;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.profession-quest-item-tooltip em {
  color: #ff4242;
  font-size: 0.96rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.profession-quest-faq {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 173, 86, 0.18);
}

.profession-quest-faq h3 {
  margin: 0 0 18px;
  color: #ffc74f;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
}

.profession-quest-faq-item {
  padding: 12px 0 16px;
  border-top: 1px solid rgba(212, 173, 86, 0.16);
}

.profession-quest-faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.profession-quest-faq-item h4 {
  margin: 0 0 10px;
  color: #3ea4ff;
  font-size: 1.08rem;
  font-weight: 500;
}

.profession-quest-faq-item p {
  margin: 0;
  color: #eef5ff;
  line-height: 1.65;
}

.profession-quest-placeholder {
  text-align: center;
  color: #dce8f8;
}

.profession-quest-placeholder p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: 0;
    border-left: 1px solid var(--line);
    border-radius: 22px;
  }

  .category-list {
    min-height: 0;
  }

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

  .server-info-grid {
    grid-template-columns: 1fr;
  }

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

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

  .class-guide-figure {
    min-height: 0;
  }

  .class-guide-profession-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .class-guide-skills-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profession-quest-layout {
    grid-template-columns: 1fr;
  }

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

  .profession-quest-second-grid {
    grid-template-columns: 1fr;
  }

  .profession-quest-third-grid {
    grid-template-columns: 1fr;
  }

  .profession-quest-second-lead,
  .profession-quest-second-note {
    min-height: 0;
    max-width: none;
  }

  .profession-quest-third-step-copy {
    min-height: 0;
  }

  .mu-helper-grid {
    grid-template-columns: 1fr;
  }

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

  .mu-helper-step-grid-three {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-shell {
    width: 100%;
  }

  .page-header,
  .hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .page-header {
    align-items: start;
  }

  .main-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 14px 16px;
  }

  .server-brand,
  .social-menu {
    justify-self: center;
  }

  .social-menu {
    justify-content: center;
  }

  .info-grid,
  .info-boxes {
    grid-template-columns: 1fr;
  }

  .guide-video-embed-large {
    min-height: 320px;
  }

  .class-guide-card-grid {
    grid-template-columns: 1fr;
  }

  .class-guide-info-card-wide {
    grid-column: span 1;
  }

  .mu-helper-step-grid {
    grid-template-columns: 1fr;
  }

  .mu-helper-step-header {
    grid-template-columns: 1fr;
  }

  .mu-helper-step-header span {
    display: none;
  }

  .mu-helper-step-text {
    min-height: 0;
  }

  .content-column {
    padding-right: 0;
  }

  .content-panel {
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  .main-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profession-quest-item-grid {
    grid-template-columns: 1fr;
  }

  .profession-quest-tabs {
    justify-content: start;
    overflow-x: auto;
  }

  .main-menu a {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hero,
  .section-block,
  .sidebar,
  .rightbar {
    padding: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    margin-bottom: 4px;
  }

  .main-nav {
    padding: 14px;
  }

  .server-brand {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .server-brand img {
    width: 48px;
    height: 48px;
  }

  .server-brand h2 {
    font-size: 1rem;
  }
}
