/* Welcome page custom styles */
html,
body.welcome-page {
  min-height: 100%;
  min-height: 100vh;
  margin: 0;
  background-color: #070b15;
  background: radial-gradient(circle at top left, #0a1222 0%, #101a36 35%, #070b15 100%);
  background-attachment: fixed;
  color: #f4f7ff;
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.welcome-shell {
  width: min(1580px, 95%);
  max-width: 1620px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr);
  gap: 2rem;
}

.welcome-card,
.welcome-aside {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 20, 42, 0.92);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.welcome-card {
  padding: 3rem;
}

.welcome-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.brand-label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #8ca7ff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.welcome-header h1 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 1.02;
  max-width: 16ch;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.guide-hero .welcome-actions {
  justify-content: flex-end;
  padding-top: 1.1rem;
  min-width: 230px;
}

.guide-hero .button {
  min-width: 190px;
  text-align: center;
}

.button {
  padding: 1rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #ff5f44 0%, #ffb04f 100%);
  color: #08101d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8edf8;
}

.guide-hero .button.secondary {
  background: rgba(255, 255, 255, 0.055);
}

.welcome-intro {
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(244, 247, 255, 0.82);
  margin-bottom: 2rem;
}

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

.hero-card,
.hero-card-alt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 1.75rem;
}

.hero-card-alt {
  background: rgba(80, 95, 150, 0.12);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(248, 248, 255, 0.08);
  color: #bac6ff;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card strong,
.hero-card-alt strong {
  display: block;
  margin: 0.65rem 0 1rem;
  font-size: 1.8rem;
  color: #ffffff;
}

.hero-card p,
.hero-card-alt p,
.intro-panel p,
.feature-card p,
.review-list span,
.note-block p {
  margin: 0;
  color: rgba(244, 247, 255, 0.75);
  line-height: 1.75;
}

.intro-panel {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}

.intro-panel h2 {
  margin: 0 0 0.9rem;
  color: #f6f9ff;
  font-size: 1.35rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.6rem;
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  color: #f5f7ff;
}

.game-cover-card {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
}

.game-cover-figure {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: #07101f;
}

.game-cover-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.05), rgba(7, 11, 21, 0.75));
  z-index: 1;
}

.game-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-cover-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f7ff;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-cover-figure > * {
  position: relative;
  z-index: 2;
}

.persona3-cover .game-cover-figure {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1) 0%, rgba(6, 9, 22, 0.92) 100%),
    radial-gradient(circle at 20% 25%, rgba(71, 131, 255, 0.28), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(46, 95, 255, 0.24), transparent 18%),
    #070b16;
}

.game-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-card-link article {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card-link:hover article {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.guide-nav-logout {
  margin: 0;
}

.guide-nav-logout button {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(244, 247, 255, 0.82);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.guide-nav-logout button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.game-cover-card {
  position: relative;
  overflow: hidden;
}

.game-cover-card .h-40,
.game-cover-card .game-cover-figure {
  min-height: 10rem;
}

.game-cover-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.08), rgba(6, 9, 22, 0.92));
}

.game-cover-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(81, 148, 255, 0.22), transparent 28%),
              radial-gradient(circle at 75% 10%, rgba(52, 114, 255, 0.14), transparent 16%),
              radial-gradient(circle at 50% 120%, rgba(6, 9, 22, 0.88), transparent 35%);
}

.game-cover-figure > * {
  position: relative;
  z-index: 1;
}

.game-cover-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e9f4ff;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.elden-cover .h-40,
.dark-souls-cover .h-40,
.persona4-cover .h-40 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(13, 18, 35, 0.96));
}

.persona3-cover .game-cover-figure {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1) 0%, rgba(6, 9, 22, 0.92) 100%),
    radial-gradient(circle at 20% 25%, rgba(71, 131, 255, 0.28), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(46, 95, 255, 0.24), transparent 18%),
    #070b16;
}

.game-page-hero {
  border-radius: 30px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
}

.game-hero-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.game-hero-top h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0;
  color: #f7f5f0;
}

.game-hero-top p {
  margin: 0;
  color: rgba(244, 247, 255, 0.78);
}

.game-detail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.game-detail-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
}

.game-detail-card h3 {
  margin: 0 0 0.8rem;
  color: #f5f7ff;
}

.game-detail-card p {
  margin: 0;
  color: rgba(244, 247, 255, 0.76);
  line-height: 1.8;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(244, 247, 255, 0.82);
  line-height: 1.8;
}

.detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #7cb2ff;
}

.feature-card p {
  font-size: 0.95rem;
}

.welcome-aside {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
}

.aside-block {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
}

.section-label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: #98a5e4;
  margin-bottom: 1.2rem;
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.review-list li {
  display: grid;
  gap: 0.5rem;
}

.review-list strong {
  color: #f5f8ff;
  font-size: 1rem;
}

.stats-block {
  display: grid;
  gap: 1rem;
}

.stats-block div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-block span {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
}

.stats-block p {
  margin: 0;
  color: rgba(244, 247, 255, 0.75);
  font-size: 0.95rem;
}

.note-block {
  background: rgba(255, 255, 255, 0.06);
}

.note-title {
  display: block;
  margin-bottom: 0.8rem;
  color: #dfe4ff;
  font-weight: 700;
}

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

@media (max-width: 640px) {
  .welcome-shell {
    padding: 1.5rem 1rem;
  }

  .welcome-header,
  .welcome-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .welcome-header h1 {
    font-size: 2.4rem;
  }
}

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

.guide-sidebar {
  position: sticky;
  top: 2rem;
  min-height: calc(100vh - 6rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 27, 51, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  padding: 1.6rem;
}

.guide-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.8rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  text-decoration: none;
  padding: 0.75rem;
  margin-bottom: 0.95rem;
}

.guide-logo-mark {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #ffffff;
  overflow: hidden;
}

.guide-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.28rem;
}

.guide-logo-text {
  display: grid;
  gap: 0.08rem;
  color: #ffffff;
  line-height: 1.1;
}

.guide-logo-text strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.guide-logo-text small {
  color: rgba(214, 225, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-nav {
  display: grid;
  gap: 0.45rem;
}

.guide-nav a {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 10px;
  color: rgba(244, 247, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
}

.guide-nav a:hover,
.guide-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

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

.guide-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.guide-hero h1 {
  margin: 0;
  max-width: 16ch;
  color: #ffffff;
  font-size: 4.65rem;
  line-height: 1.03;
  font-weight: 700;
}

.spotlight-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 16, 32, 0.88) 0%, rgba(10, 16, 32, 0.64) 46%, rgba(10, 16, 32, 0.18) 100%),
    var(--spotlight-image) right center / auto 125% no-repeat,
    #121b34;
  transition: background-image 0.35s ease;
}

.spotlight-strip > * {
  position: relative;
  z-index: 1;
}

.spotlight-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 26, 0.08), rgba(8, 13, 26, 0.36));
  transform: translateX(-100%);
  pointer-events: none;
}

.spotlight-strip.is-changing::after {
  animation: spotlightSweep 0.82s ease both;
}

.spotlight-strip.is-changing > div,
.spotlight-strip.is-changing > a {
  animation: spotlightSlideRight 0.82s ease both;
}

.spotlight-strip h2 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.spotlight-strip p {
  max-width: 620px;
  margin: 0;
  color: rgba(244, 247, 255, 0.78);
  line-height: 1.7;
}

.spotlight-strip a {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ffffff;
  color: #111a31;
  text-decoration: none;
  font-weight: 900;
  padding: 0.95rem 1.3rem;
}

@keyframes spotlightSweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes spotlightSlideRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  50% {
    opacity: 0;
    transform: translateX(2.2rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: #ffffff;
}

.section-heading span {
  color: rgba(244, 247, 255, 0.68);
  font-weight: 700;
}

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

.guide-game-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(10, 17, 34, 0.72);
  color: inherit;
  text-decoration: none;
}

.guide-game-media {
  position: relative;
  width: 100%;
  height: 250px;
  min-height: 250px;
  overflow: hidden;
  background: #080d19;
}

.guide-game-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: #111a31;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.guide-game-card:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.guide-game-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1rem;
}

.guide-game-card strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.25;
}

.guide-game-card span {
  color: rgba(244, 247, 255, 0.75);
  font-size: 0.95rem;
}

.guide-game-card .guide-status {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-game-card .guide-status.upcoming,
.game-status-badge.upcoming {
  border: 1px solid rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.13);
  color: #fde047;
}

.guide-game-card .guide-status.ongoing,
.game-status-badge.ongoing {
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

.guide-game-card .guide-status.complete,
.game-status-badge.complete {
  border: 1px solid rgba(74, 222, 128, 0.42);
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
}

.guide-game-card .guide-status.favorite {
  width: fit-content;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-status-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0.45rem 0 0.4rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rating-display {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
}

.rating-stars {
  position: relative;
  display: inline-block;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1;
}

.rating-stars-track,
.rating-stars-fill {
  display: block;
  white-space: nowrap;
}

.rating-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #facc15;
}

.guide-game-card .rating-stars {
  color: #475569;
  font-size: 1.05rem;
}

.guide-game-card .rating-stars-fill {
  color: #facc15;
}

.rating-value {
  color: rgba(244, 247, 255, 0.75);
  font-size: 0.88rem;
}

.guide-game-card.is-upcoming img {
  filter: saturate(0.72);
}

.guide-game-card.is-upcoming:hover img {
  filter: saturate(0.82) brightness(1.06);
}

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

.video-guide-card {
  display: grid;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
}

.video-guide-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  background: #111a31;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.video-guide-card strong {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 1.4rem 0 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 247, 255, 0.72);
}

.site-footer div {
  display: grid;
  gap: 0.25rem;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer span,
.site-footer a {
  color: rgba(244, 247, 255, 0.68);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.video-guide-card span {
  color: rgba(244, 247, 255, 0.75);
  font-size: 0.95rem;
}

.video-guide-card:hover img {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.wiki-route-page {
  margin-top: 2rem;
  border: 1px solid rgba(185, 160, 99, 0.28);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(8, 8, 8, 0.9) 55%, rgba(10, 10, 10, 0.8) 100%),
    url('/coverimg/DS2/background.jpg') center top / cover fixed no-repeat,
    #080808;
  color: #c9c9c9;
  font-family: Arial, Helvetica, sans-serif;
}

.wiki-route-header {
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(185, 160, 99, 0.24);
  background: #101010;
}

.wiki-route-header p {
  margin: 0 0 0.45rem;
  color: #a7925b;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-route-header h2 {
  margin: 0;
  color: #d7c28b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
}

.wiki-route-header span {
  display: block;
  margin-top: 0.55rem;
  color: #a8a8a8;
}

.wiki-route-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0c0c;
}

.wiki-route-toc a {
  color: #d4bd79;
  text-decoration: none;
  border: 1px solid rgba(185, 160, 99, 0.32);
  background: rgba(185, 160, 99, 0.08);
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
}

.wiki-route-entry {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.45fr);
  gap: 2.5rem;
  padding: 2rem;
  border-top: 1px solid rgba(185, 160, 99, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

.wiki-route-entry:first-of-type {
  border-top: 0;
}

.wiki-route-media h3 {
  margin: 0 0 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 3px solid rgba(185, 160, 99, 0.8);
  color: #d7c28b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-variant: small-caps;
  font-weight: 500;
  text-align: center;
}

.wiki-route-media img {
  display: block;
  width: min(100%, 390px);
  margin: 0 auto;
  max-height: 230px;
  object-fit: cover;
  border: 1px solid rgba(185, 160, 99, 0.18);
}

.wiki-route-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 390px);
  min-height: 210px;
  margin: 0 auto;
  border: 1px solid rgba(185, 160, 99, 0.22);
  background:
    linear-gradient(135deg, rgba(185, 160, 99, 0.08), rgba(255, 255, 255, 0.02)),
    #050505;
  color: rgba(215, 194, 139, 0.72);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-variant: small-caps;
  text-align: center;
  padding: 1rem;
}

.wiki-route-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.wiki-route-copy p {
  margin: 0;
  color: #bfbfbf;
  font-size: 1rem;
  line-height: 1.7;
}

.wiki-route-copy strong {
  color: #d4bd79;
  font-weight: 500;
}

.wiki-map-section {
  padding: 2rem;
  border-top: 1px solid rgba(185, 160, 99, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.wiki-map-section h2 {
  margin: 0 0 1.4rem;
  color: #cfcfcf;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-variant: small-caps;
  font-weight: 500;
}

.wiki-map-section p {
  margin: 0 0 0.45rem;
  color: #bfbfbf;
  font-size: 1rem;
}

.wiki-map-section a {
  display: block;
}

.wiki-map-section img {
  display: block;
  width: min(100%, 1024px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #eeeeee;
}

.quick-walkthrough-section {
  padding: 2rem;
  border-top: 1px solid rgba(185, 160, 99, 0.22);
  background: rgba(0, 0, 0, 0.26);
}

.quick-walkthrough-section h2 {
  margin: 0 0 1.6rem;
  color: #cfcfcf;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-variant: small-caps;
  font-weight: 500;
}

.quick-walkthrough-section h3 {
  margin: 1.8rem 0 0.8rem;
  color: #d2d2d2;
  font-size: 1.05rem;
}

.quick-walkthrough-section p,
.quick-walkthrough-section li {
  color: #bfbfbf;
  font-size: 1rem;
  line-height: 1.65;
}

.quick-walkthrough-section p {
  margin: 0 0 1.1rem;
}

.quick-walkthrough-section ol {
  margin: 0;
  padding-left: 2rem;
}

.quick-walkthrough-section strong {
  color: #d4bd79;
  font-weight: 500;
}

.persona-story-page {
  width: min(100%, 980px);
  margin-top: 2rem;
  margin-inline: auto;
  padding: 0 0 1rem;
  background: #1d2634;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.persona-story-header {
  padding: 1.35rem 0 0;
}

.persona-story-header h2 {
  margin: 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(214, 224, 238, 0.28);
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.persona-story-header p {
  margin: 2.3rem 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.persona-month-list {
  display: grid;
  gap: 0;
  margin-top: 2.3rem;
}

.persona-month-section {
  padding: 0 0 2.35rem;
}

.persona-month-section h3 {
  margin: 0;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(214, 224, 238, 0.28);
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
}

.persona-month-section ul {
  display: grid;
  gap: 0.72rem;
  margin: 2.3rem 0 0;
  padding-left: 2.85rem;
  list-style-type: square;
}

.persona-month-section li {
  color: #ffffff;
  font-size: clamp(1.02rem, 1.9vw, 1.42rem);
  line-height: 1.35;
}

.persona-month-section a {
  color: #0aa5ff;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
  text-decoration-thickness: 1px;
}

.persona-month-section a:hover {
  color: #70caff;
}

.persona-status {
  display: inline-flex;
  align-items: center;
  margin-left: 0.7rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

.persona-status.ready {
  border-color: rgba(42, 210, 128, 0.55);
  background: rgba(42, 210, 128, 0.14);
  color: #91f0bd;
}

.persona-status.draft {
  border-color: rgba(10, 165, 255, 0.5);
  background: rgba(10, 165, 255, 0.13);
  color: #91d8ff;
}

.persona-month-section li p {
  max-width: 680px;
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.persona-story-body {
  background: #1d2634;
}

.persona-story-body .welcome-shell {
  width: min(100% - 2rem, 960px);
  max-width: 960px;
  padding: 1.25rem 0 3rem;
}

.persona-story-detail {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: 1.25rem 0 2.4rem;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.persona-back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: #0aa5ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.persona-story-detail header {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(214, 224, 238, 0.28);
}

.persona-story-detail header p {
  display: none;
}

.persona-story-detail h1,
.persona-story-detail h2 {
  margin: 0;
  color: #ffffff;
}

.persona-story-detail h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.12;
  font-weight: 800;
}

.persona-story-detail section {
  padding-top: 2rem;
}

.persona-story-detail section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.8;
}

.persona-guide-article {
  padding-top: 1.65rem;
}

.persona-guide-article > p {
  max-width: none;
  margin: 0 0 1.65rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.82;
}

.persona-guide-article strong {
  color: #ffffff;
  font-weight: 800;
}

.persona-article-heading {
  margin: 2.2rem 0 1.55rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(214, 224, 238, 0.28);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.persona-guide-image {
  margin: 0 0 2rem;
  border: 1px solid rgba(214, 224, 238, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
}

.persona-guide-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.persona-guide-image figcaption {
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.persona-guide-note {
  margin: 0 0 2rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(10, 165, 255, 0.3);
  border-radius: 14px;
  background: rgba(10, 165, 255, 0.08);
}

.persona-guide-note h2 {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
}

.persona-guide-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.68;
}

.persona-guide-note ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.persona-guide-note li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.persona-guide-article section {
  padding: 1.7rem 0;
  border-top: 1px solid rgba(214, 224, 238, 0.18);
}

.persona-guide-article section h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.persona-guide-article section p {
  margin: 0 0 1rem;
}

.persona-guide-article section p:last-child {
  margin-bottom: 0;
}

.persona-guide-checklist,
.persona-guide-table {
  margin: 0 0 2rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(214, 224, 238, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.persona-guide-checklist h2,
.persona-guide-table h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.persona-guide-checklist ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding-left: 1.2rem;
}

.persona-guide-checklist li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.6;
}

.persona-guide-table > div {
  overflow-x: auto;
}

.persona-guide-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #ffffff;
  font-size: 0.92rem;
}

.persona-guide-table th,
.persona-guide-table td {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(214, 224, 238, 0.18);
  text-align: left;
  vertical-align: top;
}

.persona-guide-table th {
  background: rgba(10, 165, 255, 0.12);
  color: #d7f0ff;
  font-weight: 800;
}

.persona-walkthrough-image {
  display: block;
  width: min(100%, 720px);
  margin: 1.5rem auto 1.75rem;
  background: #101827;
}

.persona-walkthrough-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.persona-image-placeholder {
  display: grid;
  place-items: end start;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  padding: 1.25rem 1.4rem;
  background:
    linear-gradient(180deg, rgba(18, 38, 26, 0.2), rgba(4, 18, 10, 0.78)),
    linear-gradient(115deg, rgba(36, 129, 52, 0.35), rgba(0, 0, 0, 0.35)),
    url('/coverimg/Persona_3.webp') center / cover no-repeat,
    #14221d;
  color: #ffffff;
}

.persona-image-placeholder span {
  display: inline-flex;
  min-width: 10.5rem;
  padding: 0.48rem 0.8rem;
  background: #233da9;
  color: #ffffff;
  font-weight: 800;
}

.persona-story-pager {
  margin-top: 2rem;
  padding-top: 2.3rem;
  border-top: 1px solid rgba(214, 224, 238, 0.28);
}

.persona-story-pager h2 {
  margin: 0 0 1.8rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.persona-story-pager > div {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.6fr);
  gap: 1.5rem;
}

.persona-pager-card {
  display: grid;
  gap: 0.8rem;
  min-height: 5.1rem;
  padding: 1rem 1.7rem;
  border: 1px solid rgba(214, 224, 238, 0.34);
  border-radius: 18px;
  color: #ffffff;
  text-decoration: none;
}

.persona-pager-card span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.persona-pager-card span::before {
  content: '';
  width: 0.65rem;
  height: 0.65rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.persona-pager-card.next span {
  justify-content: flex-end;
}

.persona-pager-card.next span::before {
  order: 2;
  transform: rotate(225deg);
}

.persona-pager-card strong {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.persona-pager-card.next strong {
  text-align: right;
}

.persona-pager-card:hover {
  border-color: rgba(10, 165, 255, 0.85);
  background: rgba(10, 165, 255, 0.08);
}

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

  .guide-sidebar {
    position: static;
    min-height: 0;
  }

  .guide-hero h1 {
    font-size: 4rem;
  }

  .guide-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .guide-hero,
  .spotlight-strip,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-hero h1 {
    font-size: 3.25rem;
  }

  .game-guide-grid,
  .video-guide-grid,
  .wiki-route-entry {
    grid-template-columns: 1fr;
  }

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

  .guide-game-media {
    height: 280px;
    min-height: 280px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .wiki-route-entry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.4rem;
  }

  .wiki-route-media h3 {
    text-align: center;
  }

  .wiki-route-media img {
    width: min(100%, 310px);
  }

  .wiki-route-copy p {
    font-size: 1.02rem;
    line-height: 1.75;
  }
}

@media (max-width: 540px) {
  .guide-sidebar,
  .spotlight-strip {
    border-radius: 18px;
  }

  .guide-hero h1 {
    font-size: 2.45rem;
  }

  .guide-game-media {
    height: 220px;
    min-height: 220px;
  }

  .persona-story-page,
  .persona-story-detail {
    padding-inline: 1.1rem;
  }

  .persona-month-section ul {
    padding-left: 1.55rem;
  }

  .persona-story-pager > div {
    grid-template-columns: 1fr;
  }

  .persona-pager-card.next span,
  .persona-pager-card.next strong {
    justify-content: flex-start;
    text-align: left;
  }
}
