:root {
  --ink: #2a4460;
  --gold: #e0a42a;
  --gold-dim: #c48b18;
  --mist: #f4fbff;
  --nav: rgba(236, 248, 255, 0.72);
  --footer: rgba(236, 248, 255, 0.78);
  --footer-ink: #4a6784;
  --glass: rgba(24, 48, 72, 0.52);
  --glass-border: color-mix(in srgb, var(--gold) 34%, transparent);
  --btn-top: #5dadde;
  --btn-bot: #3d8fc8;
  --nav-h: 88px;
  --foot-h: 56px;
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: Kanit, Sarabun, "Segoe UI", sans-serif;
  color: var(--mist);
  background: #9fd4f5;
  font-weight: 400;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #f2c14a;
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: -999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background layers */
.bg-stage {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  height: min(110vh, 1120px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #8ec8ee;
}

.bg-poster {
  position: absolute;
  inset: 0;
}

.bg-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: url("../assets/bg-sky.jpg?v=20260919ad");
  background-repeat: no-repeat;
  background-position: center calc(var(--nav-h) + var(--safe-top));
  background-size: cover;
}

.bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.22) calc(var(--nav-h) + var(--safe-top)),
      rgba(255, 255, 255, 0) calc(var(--nav-h) + var(--safe-top) + 20px),
      rgba(159, 212, 245, 0.06) 52%,
      #9fd4f5 100%
    );
}

.bg-dust {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg-dust {
    display: none;
  }

  .hero h1 {
    animation: none;
    background-position: 40% 50%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  overflow: visible;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(214, 238, 255, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-start {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-end {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.play-bar {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(40, 90, 140, 0.22));
}

.brand-icon,
.brand-name {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #2d5f88;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  touch-action: manipulation;
}

.nav-toggle-bars {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 5px 6px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(70, 140, 190, 0.16);
}

.nav-links a {
  display: block;
  color: #2d5f88;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  color: #16324c;
  background: rgba(125, 196, 236, 0.28);
}

.nav-links a[aria-current="page"] {
  color: #fff;
  background-image: linear-gradient(to bottom, #6cbce8, #3d8fc8);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(61, 143, 200, 0.28);
}

.nav-links .play {
  margin-left: 28px;
  color: #fff;
  background-image: linear-gradient(to bottom, #6cbce8, #3d8fc8);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(70, 140, 190, 0.28);
}

.nav-links .play:hover {
  color: #fff8e8;
  background-image: linear-gradient(to bottom, #7ec8f0, #4599d2);
}

.nav-links .play[aria-current="page"] {
  color: #fff8e8;
}

.nav-drop {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  color: #2d5f88;
  background: none;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-drop-btn::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
}

.nav-drop-btn:hover {
  color: #1e6fad;
}

.nav-drop.is-current .nav-drop-btn {
  color: #fff;
  background-image: linear-gradient(to bottom, #6cbce8, #3d8fc8);
  border-color: rgba(255, 255, 255, 0.55);
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13.5rem;
  margin: 0;
  padding: 10px 8px 8px;
  list-style: none;
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(180, 210, 235, 0.9);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(70, 140, 190, 0.22);
  z-index: 50;
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 14px;
}

.nav-drop.is-open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  display: block;
}

.nav-drop-menu a {
  border-radius: 10px;
  color: #355a78;
}

.nav-drop-menu a[aria-current="page"] {
  color: #c98512;
  background: none;
}

/* Main layout */
.wrap {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - var(--nav-h) - var(--foot-h) - var(--safe-top) - var(--safe-bot));
  padding: 28px 16px calc(var(--foot-h) + var(--safe-bot) + 24px);
}

.hero {
  min-height: calc(100dvh - var(--nav-h) - var(--foot-h) - var(--safe-top) - var(--safe-bot) - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
}

.hero h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.15;
  background-image: linear-gradient(
    105deg,
    #8f7d5c 0%,
    #e8d5a8 22%,
    #f8f0d8 38%,
    #cbb489 52%,
    #fff6e4 64%,
    #cbb489 78%,
    #9a8664 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 244, 220, 0.28)) drop-shadow(0 8px 18px rgba(18, 12, 8, 0.55));
  animation: hero-title-sheen 9s ease-in-out infinite;
}

.hero h1::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #e8d5a8 30%, var(--gold) 50%, #e8d5a8 70%, transparent);
  box-shadow: 0 0 10px rgba(203, 180, 137, 0.45);
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(20, 14, 10, 0.45);
}

.hero-copy {
  padding: 18px 32px 20px;
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.07), transparent 28%),
    rgba(28, 24, 22, 0.58);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, 0.14),
    0 10px 28px rgba(20, 14, 10, 0.28);
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero p.lead {
  margin: 10px 0 0;
  max-width: 36rem;
  line-height: 1.75;
  color: #efe8dc;
  font-weight: 400;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(18, 12, 8, 0.55);
}

@keyframes hero-title-sheen {
  0%,
  100% {
    background-position: 8% 50%;
  }
  50% {
    background-position: 92% 50%;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  font-size: 1.15rem;
  color: #f4efe6;
  background-image: linear-gradient(to bottom, var(--btn-top), var(--btn-bot));
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: 0.25s ease-out;
  box-shadow: 0 8px 18px rgba(20, 14, 10, 0.25);
  touch-action: manipulation;
}

.btn:hover {
  color: #fff8ee;
  background-image: linear-gradient(to bottom, #6cbce8, #2f7fb8);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  color: #ccc;
}

.btn-lg {
  font-size: 1.7rem;
  padding: 14px 40px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 210, 235, 0.95);
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: #fff;
}

.home-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.news-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: left;
  background: linear-gradient(180deg, rgba(32, 28, 26, 0.62) 0%, rgba(22, 20, 18, 0.55) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(20, 14, 10, 0.28);
  padding: 12px 14px 14px;
}

.news-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-head h2 {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-head-line {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.news-item {
  margin: 0;
  padding: 8px 10px 10px;
  border: 1px solid rgba(203, 180, 137, 0.18);
  border-radius: 12px;
  background: rgba(255, 248, 236, 0.06);
}

.news-item.has-thumb {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
}

.news-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.news-item h3 a {
  color: inherit;
}

.news-item h3 a:hover {
  color: var(--gold);
}

.news-item time {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--gold);
  padding: 1px 8px;
  border: 1px solid rgba(203, 180, 137, 0.28);
  border-radius: 999px;
}

.news-item h3 {
  margin: 6px 0 4px;
  color: #f4f1ea;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0.88;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, white);
  background: rgba(255, 248, 236, 0.1);
}

.home-board-more {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.home-board-more:hover {
  color: #f0d89a;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  flex: 1;
  min-height: 0;
}

.home-guide-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(203, 180, 137, 0.28);
  background: rgba(18, 14, 12, 0.45);
  text-decoration: none;
  color: #f4f1ea;
  box-shadow:
    0 1px 0 rgba(255, 244, 220, 0.08),
    0 10px 22px rgba(12, 8, 6, 0.32);
}

.home-guide-card img,
.home-guide-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-guide-empty {
  background: linear-gradient(145deg, rgba(80, 68, 52, 0.45), rgba(28, 24, 22, 0.8));
}

.home-guide-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 2px 8px;
  border: 1px solid rgba(203, 180, 137, 0.38);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  background: rgba(12, 10, 8, 0.72);
}

.home-guide-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 6, 0.82) 70%);
  text-align: left;
}

.home-guide-card strong {
  display: -webkit-box;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-guide-card:hover {
  border-color: color-mix(in srgb, var(--gold) 60%, white);
  box-shadow: 0 10px 22px rgba(20, 14, 10, 0.38);
}

.home-guide-card:hover img {
  transform: scale(1.04);
}

.news-hero {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin: 12px 0 18px;
}

.news-cat {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
}

.news-body {
  color: var(--ink);
  line-height: 1.7;
}

.news-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}

.news-body h2 {
  font-size: 1.15rem;
  color: var(--gold-dim);
  margin: 18px 0 8px;
  scroll-margin-top: 88px;
}

.news-body ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.news-body .char-table-wrap {
  margin: 12px 0 22px;
}

.news-body .char-table {
  min-width: 640px;
}

.news-body .char-table td.is-safe,
.news-body .char-table td.is-safe.num {
  color: #1f8a52;
  font-weight: 600;
}

.news-body .refine-wrap {
  margin: 16px 0 26px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(70, 140, 190, 0.1);
}

.news-body .refine-caption {
  margin: 0;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.news-body .refine-wrap.is-normal .refine-caption {
  background: linear-gradient(180deg, #3ec8dc, #1789a6);
}

.news-body .refine-wrap.is-enriched .refine-caption {
  background: linear-gradient(180deg, #55c462, #2b8f38);
}

.news-body .refine-wrap.is-mats .refine-caption {
  background: linear-gradient(180deg, #d4c09a, #9a8354);
  color: #1a1714;
}

.news-body .refine-wrap .char-table-wrap,
.news-body .refine-wrap {
  overflow-x: auto;
}

.news-body .refine-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.news-body .refine-table th,
.news-body .refine-table td {
  padding: 9px 8px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(180, 210, 235, 0.55);
}

.news-body .refine-table thead th {
  font-weight: 600;
  color: var(--ink);
  background: #e8f4fc;
  font-size: 0.8rem;
}

.news-body .refine-table thead th:first-child,
.news-body .refine-table tbody th {
  text-align: left;
  padding-left: 14px;
}

.news-body .refine-table tbody th {
  color: var(--ink);
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f4fbff;
  box-shadow: 6px 0 10px rgba(70, 140, 190, 0.08);
}

.news-body .refine-table tbody tr:nth-child(even) td {
  background: rgba(232, 244, 252, 0.55);
}

.news-body .refine-table tbody tr:nth-child(even) th {
  background: #eef7fd;
}

.news-body .refine-table tbody tr:hover td {
  background: rgba(224, 164, 42, 0.1);
}

.news-body .refine-table tbody tr:hover th {
  background: #fff8e8;
}

.news-body .refine-table tbody tr:last-child td,
.news-body .refine-table tbody tr:last-child th {
  border-bottom: 0;
}

.news-body .refine-table td.is-safe {
  color: #1f6b38;
  font-weight: 600;
  background: rgba(140, 210, 150, 0.28);
}

.news-body .refine-table tbody tr:nth-child(even) td.is-safe {
  background: rgba(140, 210, 150, 0.22);
}

.news-body .refine-table td.is-high {
  color: var(--gold-dim);
}

.news-body .refine-table td.is-mid {
  color: var(--ink);
}

.news-body .refine-table td.is-low {
  color: #c45a68;
}

.news-body .refine-table.is-mats {
  min-width: 0;
}

.news-body .refine-table.is-mats thead th {
  text-align: center;
}

.news-body .refine-table.is-mats td {
  text-align: center;
}

.news-body .refine-table.is-mats td.mat,
.news-body .refine-table.is-mats thead th.mat {
  text-align: left;
  padding-left: 14px;
  white-space: normal;
  line-height: 1.45;
}

.news-body .opt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.news-body .opt-nav a {
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}

.news-body .opt-nav a:hover {
  color: #16324c;
  border-color: var(--gold);
  background: #fff8e8;
}

.news-body .opt-intro {
  margin: 4px 0 20px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(70, 140, 190, 0.1);
}

.news-body .opt-intro-head {
  margin: 0;
  padding: 11px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1a1714;
  background: linear-gradient(180deg, #e8d5a8, #c4a35a);
}

.news-body .opt-intro-body {
  padding: 14px 16px 16px;
}

.news-body .opt-intro-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.news-body .opt-intro-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(180, 210, 235, 0.85);
}

.news-body .opt-intro-list strong {
  color: var(--gold-dim);
  font-size: 0.86rem;
  font-weight: 600;
}

.news-body .opt-intro-list span {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.news-body .opt-intro-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.news-body .opt-intro-slots.is-two {
  grid-template-columns: repeat(2, 1fr);
}

.news-body .opt-intro-slot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  min-height: 64px;
}

.news-body .opt-intro-slot-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-body .opt-intro-slot-val {
  font-size: 0.84rem;
  line-height: 1.35;
}

.news-body .opt-intro-slot.is-slot1 {
  background: linear-gradient(180deg, #3ec8dc, #1789a6);
  color: #fff;
}

.news-body .opt-intro-slot.is-slot2 {
  background: linear-gradient(180deg, #d4c09a, #9a8354);
  color: #1a1714;
}

.news-body .opt-intro-slot.is-slot3 {
  background: linear-gradient(180deg, #e07a6a, #a33d3d);
  color: #fff;
}

@media (max-width: 720px) {
  .news-body .opt-intro-list,
  .news-body .opt-intro-slots {
    grid-template-columns: 1fr;
  }
}

.news-body .opt-wrap {
  margin: 16px 0 26px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(70, 140, 190, 0.1);
}

.news-body .opt-caption {
  margin: 0;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.news-body .opt-wrap.is-slot1 .opt-caption {
  background: linear-gradient(180deg, #3ec8dc, #1789a6);
}

.news-body .opt-wrap.is-slot2 .opt-caption {
  background: linear-gradient(180deg, #d4c09a, #9a8354);
  color: #1a1714;
}

.news-body .opt-wrap.is-slot3 .opt-caption {
  background: linear-gradient(180deg, #e07a6a, #a33d3d);
}

.news-body .opt-wrap .char-table-wrap {
  margin: 0;
  overflow-x: auto;
}

.news-body .opt-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.news-body .opt-table th,
.news-body .opt-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(180, 210, 235, 0.55);
  text-align: center;
}

.news-body .opt-table thead th {
  background: #e8f4fc;
  font-weight: 600;
  color: var(--ink);
}

.news-body .opt-table td.opt-name,
.news-body .opt-table thead th.opt-name,
.news-body .opt-table thead th:first-child {
  text-align: left;
}

.news-body .rs-bonus-table thead th.rs-tier,
.news-body .rs-bonus-table td.rs-tier {
  text-align: center;
  vertical-align: top;
}

.news-body .hunt-table thead th.hunt-icon,
.news-body .hunt-table td.hunt-icon {
  width: 48px;
  min-width: 48px;
  text-align: center;
}

.news-body .hunt-table thead th.hunt-num,
.news-body .hunt-table td.hunt-num {
  text-align: right;
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 14px;
}

.news-body .hunt-table thead th.hunt-spec,
.news-body .hunt-table td.hunt-spec {
  text-align: left;
}

.news-body .ss-plats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.news-body a.ss-plat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(70, 140, 190, 0.16);
}

.news-body a.ss-plat:hover {
  filter: brightness(1.04);
}

.news-body a.ss-plat strong {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.news-body a.ss-plat small {
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.9;
}

.news-body a.ss-plat.is-android {
  background: linear-gradient(180deg, #6fd48a, #2f9a4c);
  color: #fff;
}

.news-body a.ss-plat.is-ios {
  background: linear-gradient(180deg, #8eb8ea, #3d6fb4);
  color: #fff;
}

.news-body a.ss-plat.is-pc {
  background: linear-gradient(180deg, #ead7aa, #c4a35a);
  color: #1a1714;
}

.news-body .ss-step {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(70, 140, 190, 0.08);
}

.news-body .ss-step-copy p {
  margin: 0 0 8px;
}

.news-body .ss-step-copy p:last-child {
  margin-bottom: 0;
}

.news-body .ss-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ead7aa, #c4a35a);
  color: #1a1714;
  font-size: 0.84rem;
  font-weight: 700;
  vertical-align: middle;
}

.news-body .ss-shot {
  margin: 0;
}

.news-body .ss-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 1px dashed rgba(70, 140, 190, 0.42);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(180deg, #eef8ff, #d5e8f6);
}

.news-body .ss-frame::before {
  content: attr(data-wait);
  color: #4a6784;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.news-body .ss-frame:has(img)::before {
  display: none;
}

.news-body .ss-frame img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.news-body .ss-shot figcaption {
  margin-top: 8px;
  color: #4a6784;
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .news-body .ss-plats,
  .news-body .ss-step {
    grid-template-columns: 1fr;
  }
}

.news-body .hunt-table.hunt-cols-lv,
.news-body .hunt-table.hunt-cols-mobs,
.news-body .hunt-table.hunt-cols-items,
.news-body .hunt-table.hunt-cols-boss,
.news-body .hunt-table.hunt-cols-shop,
.news-body .hunt-table.hunt-cols-band,
.news-body .hunt-table.hunt-cols-slots {
  table-layout: fixed;
}

.news-body .hunt-cols-lv th:nth-child(1),
.news-body .hunt-cols-lv td:nth-child(1) {
  width: 32%;
}

.news-body .hunt-cols-lv th:nth-child(2),
.news-body .hunt-cols-lv td:nth-child(2) {
  width: 68%;
}

.news-body .hunt-cols-mobs th:nth-child(1),
.news-body .hunt-cols-mobs td:nth-child(1) {
  width: 8%;
}

.news-body .hunt-cols-mobs th:nth-child(2),
.news-body .hunt-cols-mobs td:nth-child(2) {
  width: 44%;
}

.news-body .hunt-cols-mobs th:nth-child(3),
.news-body .hunt-cols-mobs td:nth-child(3) {
  width: 12%;
}

.news-body .hunt-cols-mobs th:nth-child(4),
.news-body .hunt-cols-mobs td:nth-child(4) {
  width: 18%;
}

.news-body .hunt-cols-mobs th:nth-child(5),
.news-body .hunt-cols-mobs td:nth-child(5) {
  width: 18%;
}

.news-body .hunt-cols-items th:nth-child(1),
.news-body .hunt-cols-items td:nth-child(1) {
  width: 78%;
  text-align: left;
}

.news-body .hunt-cols-items th:nth-child(2),
.news-body .hunt-cols-items td:nth-child(2) {
  width: 22%;
}

.news-body .hunt-cols-items td:nth-child(1) .hunt-chips,
.news-body .hunt-cols-items td:nth-child(1) .hunt-chip {
  display: flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: 100%;
}

.news-body .hunt-cols-boss th:nth-child(1),
.news-body .hunt-cols-boss td:nth-child(1) {
  width: 14%;
}

.news-body .hunt-cols-boss th:nth-child(2),
.news-body .hunt-cols-boss td:nth-child(2) {
  width: 10%;
}

.news-body .hunt-cols-boss th:nth-child(3),
.news-body .hunt-cols-boss td:nth-child(3) {
  width: 18%;
}

.news-body .hunt-cols-boss th:nth-child(4),
.news-body .hunt-cols-boss td:nth-child(4),
.news-body .hunt-cols-boss th:nth-child(5),
.news-body .hunt-cols-boss td:nth-child(5) {
  width: 10%;
}

.news-body .hunt-cols-boss th:nth-child(6),
.news-body .hunt-cols-boss td:nth-child(6) {
  width: 38%;
}

.news-body .hunt-pool-label {
  margin: 14px 0 8px;
  font-weight: 600;
}

.news-body .hunt-cols-shop th:nth-child(1),
.news-body .hunt-cols-shop td:nth-child(1) {
  width: 56px;
}

.news-body .hunt-cols-shop th:nth-child(2),
.news-body .hunt-cols-shop td:nth-child(2) {
  width: auto;
}

.news-body .hunt-cols-shop th:nth-child(3),
.news-body .hunt-cols-shop td:nth-child(3) {
  width: 14%;
}

.news-body .hunt-cols-shop th:nth-child(4),
.news-body .hunt-cols-shop td:nth-child(4) {
  width: 24%;
}

.news-body .hunt-cols-band th:nth-child(1),
.news-body .hunt-cols-band td:nth-child(1) {
  width: 48px;
}

.news-body .hunt-cols-band th:nth-child(2),
.news-body .hunt-cols-band td:nth-child(2) {
  width: 18%;
}

.news-body .hunt-cols-band th:nth-child(3),
.news-body .hunt-cols-band td:nth-child(3) {
  width: 7%;
}

.news-body .hunt-cols-band th:nth-child(4),
.news-body .hunt-cols-band td:nth-child(4) {
  width: 26%;
}

.news-body .hunt-cols-band th:nth-child(5),
.news-body .hunt-cols-band td:nth-child(5),
.news-body .hunt-cols-band th:nth-child(6),
.news-body .hunt-cols-band td:nth-child(6) {
  width: 8%;
}

.news-body .hunt-cols-band th:nth-child(7),
.news-body .hunt-cols-band td:nth-child(7),
.news-body .hunt-cols-band th:nth-child(8),
.news-body .hunt-cols-band td:nth-child(8) {
  width: 12%;
}

.news-body .hunt-cols-band td.hunt-maps {
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  white-space: normal;
  word-break: break-word;
}

.news-body .hunt-cols-slots th:nth-child(1),
.news-body .hunt-cols-slots td:nth-child(1) {
  width: 70%;
}

.news-body .hunt-cols-slots th:nth-child(2),
.news-body .hunt-cols-slots td:nth-child(2),
.news-body .hunt-cols-slots th:nth-child(3),
.news-body .hunt-cols-slots td:nth-child(3) {
  width: 15%;
}

.news-body .hunt-wlv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 26px;
}

.news-body .hunt-wlv-grid .opt-wrap {
  margin: 0;
}

@media (max-width: 900px) {
  .news-body .hunt-wlv-grid {
    grid-template-columns: 1fr;
  }
}

.news-body .opt-table tbody tr:nth-child(even) td {
  background: rgba(232, 244, 252, 0.45);
}

.news-body .opt-table tbody tr:hover td {
  background: rgba(224, 164, 42, 0.1);
}

.news-body .opt-table td.opt-chance {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.news-body .opt-table td.opt-chance.is-easy {
  color: #1f8a52;
}

.news-body .opt-table td.opt-chance.is-mid {
  color: #b07a12;
}

.news-body .opt-table td.opt-chance.is-hard {
  color: #c46a20;
}

.news-body .opt-table td.opt-chance.is-vhard {
  color: #c45a68;
}

.news-body .opt-table-plain {
  min-width: 0;
}

.news-body .hunt-rules {
  margin: 0 0 16px;
  padding: 0 0 0 1.15em;
  line-height: 1.65;
}

.news-body .hunt-rules li {
  margin: 0 0 8px;
}

.news-body .hunt-note {
  margin: 0 0 16px;
  color: var(--muted, #cbb489);
  line-height: 1.6;
}

.news-body ol.ac-steps {
  list-style: decimal;
}

.news-body .ac-rate-table {
  min-width: 0;
}

.news-body .ac-rate-table td:nth-child(2),
.news-body .ac-rate-table td:nth-child(3),
.news-body .ac-rate-table thead th:nth-child(2),
.news-body .ac-rate-table thead th:nth-child(3) {
  text-align: center;
  white-space: nowrap;
  width: 7.5rem;
}

.news-body .icol-table {
  min-width: 52rem;
}

.news-body .icol-table td.icol-set {
  width: 18%;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
  padding-top: 14px;
}

.news-body .icol-table td.icol-need {
  width: 38%;
  vertical-align: top;
}

.news-body .icol-table td.icol-bonus {
  width: 44%;
  vertical-align: top;
  color: var(--footer-ink);
  line-height: 1.45;
}

.news-body .icol-cards {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

.news-body .icol-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(180, 210, 235, 0.9);
  white-space: nowrap;
  font-size: 0.92em;
}

.news-body .icol-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.news-body .icol-bonus-item {
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(232, 244, 252, 0.72);
  border-left: 3px solid var(--gold);
}

.news-body .icol-card img.spr {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.news-body .hunt-draft {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--muted, #cbb489) 45%, transparent);
  background: color-mix(in srgb, var(--muted, #cbb489) 12%, transparent);
  line-height: 1.6;
}

.news-body .hunt-draft strong {
  display: block;
  margin: 0 0 6px;
}

.news-body .hunt-promo {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, #7dcea0 55%, transparent);
  background: color-mix(in srgb, #7dcea0 14%, transparent);
  line-height: 1.6;
}

.news-body .hunt-promo strong {
  display: block;
  margin: 0 0 6px;
}

.news-body .hunt-dialog {
  margin: 0;
  padding: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  line-height: 1.45;
}

.news-body .hunt-table.hunt-table-plan {
  min-width: 0;
}

.news-body .hunt-table.hunt-table-plan thead th:last-child,
.news-body .hunt-table.hunt-table-plan tbody td:last-child {
  text-align: left;
}

.news-body .hunt-table {
  min-width: 0;
  width: 100%;
}

.news-body .hunt-table td.hunt-icon {
  width: 48px;
  min-width: 48px;
  text-align: center;
}

.news-body .hunt-table img.spr {
  height: 24px;
  max-height: 24px;
}

.news-body .hunt-table img.spr[data-kind='monsters'] {
  height: 32px;
  max-height: 32px;
}

.news-body .hunt-id {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--muted, #cbb489) 85%, #fff 15%);
}

.news-body .hunt-num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.news-body .hunt-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.news-body .hunt-chips-stack {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 6px;
}

.news-body .hunt-table td.hunt-spec .hunt-chips {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.news-body .hunt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  white-space: nowrap;
}

.news-body .hunt-chip img.spr {
  height: 24px;
  max-height: 24px;
}

.news-body .hunt-boss-block {
  margin: 0 0 20px;
  padding: 16px 16px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.news-body .hunt-boss-block.is-mini {
  border: 1px solid color-mix(in srgb, #3ec8dc 38%, transparent);
}

.news-body .hunt-boss-block.is-mvp {
  border: 1px solid color-mix(in srgb, #cbb489 42%, transparent);
}

.news-body .hunt-boss-block h3 {
  margin: 0 0 6px;
}

.news-body .hunt-boss-cond {
  margin: 0 0 12px;
  color: var(--mist, #c9c2b6);
  line-height: 1.5;
}

.news-body .hunt-boss-reward {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.news-body .hunt-boss-block.is-mini .hunt-boss-reward {
  background: color-mix(in srgb, #3ec8dc 20%, transparent);
  color: #9ee8f2;
}

.news-body .hunt-boss-block.is-mvp .hunt-boss-reward {
  background: color-mix(in srgb, #cbb489 22%, transparent);
  color: #f0d89a;
}

.news-body .hunt-boss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}

.news-body .hunt-boss-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.news-body .hunt-boss-card img.spr {
  height: 56px;
  max-height: 56px;
  width: auto;
  image-rendering: pixelated;
}

.news-body .hunt-boss-card figcaption {
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--ink);
}

.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.guide-table td.guide-thumb-cell {
  width: 220px;
  padding: 12px 16px 12px 10px;
  vertical-align: middle;
}

.guide-thumb {
  display: block;
  width: 200px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  background: #d7ecfa;
  box-shadow: 0 6px 18px rgba(70, 140, 190, 0.16);
}

.guide-thumb-empty {
  display: block;
  width: 200px;
  height: 128px;
  border-radius: 12px;
  background: rgba(232, 244, 252, 0.85);
  border: 1px dashed rgba(180, 210, 235, 0.95);
}

@media (max-width: 720px) {
  .guide-table td.guide-thumb-cell {
    width: 148px;
    padding-right: 12px;
  }

  .guide-thumb,
  .guide-thumb-empty {
    width: 132px;
    height: 84px;
  }
}

.guide-table tbody tr {
  cursor: pointer;
}

.guide-table td.guide-title a {
  color: inherit;
  text-decoration: none;
}

.guide-table td.guide-title a:hover {
  color: var(--gold-dim);
}

.guide-cat {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold-dim);
  border: 1px solid rgba(232, 196, 120, 0.7);
  border-radius: 999px;
  padding: 2px 10px;
  background: rgba(255, 248, 230, 0.72);
}

.admin-table img.thumb {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

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

.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #2d5f88;
  background: rgba(255, 255, 255, 0.78);
}

.social a:hover {
  color: #16324c;
  background: #fff;
}

.social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-nav {
  justify-content: flex-start;
  flex-shrink: 0;
}

.social-nav a {
  width: 34px;
  height: 34px;
}

.social-nav svg {
  width: 16px;
  height: 16px;
}

body.page-home {
  height: auto;
  min-height: 100dvh;
  overflow: auto;
  background: #9fd4f5;
}

body.page-home .site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(214, 238, 255, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

body.page-home .bg-stage {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  height: min(110vh, 1120px);
  z-index: 0;
}

body.page-home .bg-poster::before {
  width: 100%;
  height: 100%;
  transform: none;
  left: 0;
  background-size: cover;
  background-position: center calc(var(--nav-h) + var(--safe-top));
  -webkit-mask-image: none;
  mask-image: none;
}

body.page-home .bg-veil {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72) 0,
      rgba(255, 255, 255, 0.22) calc(var(--nav-h) + var(--safe-top)),
      rgba(255, 255, 255, 0) calc(var(--nav-h) + var(--safe-top) + 20px),
      rgba(159, 212, 245, 0.06) 52%,
      #9fd4f5 100%
    );
}

body.page-home .bg-dust {
  display: none;
}

body.page-home .home-shell {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 calc(var(--foot-h) + var(--safe-bot) + 88px);
}

body.page-home .home-hero-space {
  height: clamp(640px, 84vh, 920px);
}

body.page-home .home-stage {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

body.page-home .home-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

body.page-home .home-feature {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 22px;
  border: 1px solid rgba(232, 206, 150, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 244, 220, 0.12),
    0 24px 48px rgba(8, 6, 4, 0.45);
  color: #f7f2ea;
}

body.page-home .home-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

body.page-home .home-feature::before,
body.page-home .home-feature::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

body.page-home .home-feature::before {
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 252, 240, 0.7) 50%,
    rgba(255, 255, 255, 0.32) 54%,
    rgba(255, 255, 255, 0.06) 72%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: home-feature-sheen 4.6s ease-in-out infinite;
}

body.page-home .home-feature::after {
  top: 10%;
  left: 0;
  width: 22%;
  height: 46%;
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(0.5px);
  opacity: 0;
  animation: home-feature-glint 4.6s ease-in-out infinite;
}

@keyframes home-feature-sheen {
  0%,
  48% {
    transform: translateX(-160%) skewX(-18deg);
  }
  72%,
  100% {
    transform: translateX(340%) skewX(-18deg);
  }
}

@keyframes home-feature-glint {
  0%,
  50% {
    opacity: 0;
    transform: translateX(20%) scale(0.9);
  }
  58% {
    opacity: 0.9;
    transform: translateX(90%) scale(1);
  }
  70% {
    opacity: 0;
    transform: translateX(180%) scale(1.08);
  }
  100% {
    opacity: 0;
  }
}

body.page-home .home-feature-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 206, 150, 0.38);
  background: rgba(12, 10, 8, 0.72);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

body.page-home .home-cta-col {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
}

body.page-home .home-cta-main {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(210, 236, 255, 0.86));
  box-shadow: 0 10px 22px rgba(70, 140, 190, 0.22);
  color: #2a4460;
}

body.page-home .home-cta-main:hover {
  color: #16324c;
  border-color: #f0c14a;
}

body.page-home .home-cta-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3d9a4, #b8893a);
  color: #3a2a16;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body.page-home .home-cta-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

body.page-home .home-cta-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

body.page-home .home-cta-copy strong {
  font-size: 1.12rem;
  font-weight: 600;
}

body.page-home .home-cta-copy small {
  color: #3d8fc8;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

body.page-home .home-cta-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.page-home .home-cta-mini a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 70px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  color: #2a4460;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: center;
}

body.page-home .home-cta-mini-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #3d8fc8;
}

body.page-home .home-cta-mini-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

body.page-home .home-cta-mini a:hover .home-cta-mini-ico {
  color: var(--gold-dim);
}

body.page-home .home-cta-mini a small {
  color: #3d8fc8;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

body.page-home .home-cta-mini a:hover {
  border-color: #f0c14a;
  color: #16324c;
}

body.page-home .home-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.page-home .home-block-head h2 {
  margin: 0;
  color: #2a4460;
  font-size: 1.2rem;
  font-weight: 600;
}

body.page-home .home-block-head h2 span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

body.page-home .home-news-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 16px;
  align-items: stretch;
}

body.page-home .home-news-carousel {
  position: relative;
  min-width: 0;
}

body.page-home .home-news-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 12px;
  -webkit-overflow-scrolling: touch;
}

body.page-home .home-news-track::-webkit-scrollbar {
  display: none;
}

body.page-home .home-news-carousel::before,
body.page-home .home-news-carousel::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 12px;
  width: 42px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.page-home .home-news-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(159, 212, 245, 0.95), transparent);
}

body.page-home .home-news-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(159, 212, 245, 0.95), transparent);
}

body.page-home .home-news-carousel.is-scrollable:not(.is-start)::before,
body.page-home .home-news-carousel.is-scrollable:not(.is-end)::after {
  opacity: 1;
}

body.page-home .home-news-arrow {
  position: absolute;
  top: calc(50% - 4px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #2a4460;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(70, 140, 190, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 0.8, 0.32, 1), background 0.2s ease;
}

body.page-home .home-news-carousel.is-scrollable .home-news-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

body.page-home .home-news-arrow.is-prev {
  left: -8px;
}

body.page-home .home-news-arrow.is-next {
  right: -8px;
}

body.page-home .home-news-arrow svg {
  width: 18px;
  height: 18px;
}

body.page-home .home-news-arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

body.page-home .home-news-arrow:disabled,
body.page-home .home-news-carousel.is-scrollable .home-news-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

body.page-home .home-news-grid {
  display: flex;
}

body.page-home .home-poster {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 24px) / 3);
  overflow: hidden;
  height: 230px;
  aspect-ratio: auto;
  min-height: 230px;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  border: 1px solid rgba(203, 180, 137, 0.26);
  background: rgba(18, 14, 12, 0.5);
  color: #f4f1ea;
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.32, 1), box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .home-news-track {
    scroll-behavior: auto;
  }

  body.page-home .home-poster,
  body.page-home .home-news-arrow {
    transition: none;
  }

  body.page-home .home-poster:hover {
    transform: none;
  }

  body.page-home .home-feature::before,
  body.page-home .home-feature::after {
    animation: none;
    opacity: 0;
  }
}

body.page-home .home-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

body.page-home .home-poster-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 6, 0.88) 68%);
}

body.page-home .home-poster-cap strong {
  display: -webkit-box;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-home .home-poster-cap small {
  display: -webkit-box;
  margin-top: 4px;
  color: #cfc3b0;
  font-size: 0.72rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-home .home-poster.is-text {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(28, 58, 88, 0.72)),
    url("../assets/bg-sky.jpg?v=20260919ad") center / cover;
}

body.page-home .home-poster.is-text .home-poster-cap {
  position: static;
  padding: 0;
  background: none;
}

body.page-home .home-map-card {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 2;
  min-height: 252px;
  border-radius: 18px;
  border: 2px solid rgba(232, 196, 120, 0.72);
  background: rgba(18, 14, 12, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 244, 220, 0.28),
    0 12px 28px rgba(40, 70, 120, 0.28),
    0 0 24px rgba(232, 180, 80, 0.28);
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.32, 1), box-shadow 0.28s ease;
}

body.page-home .home-map-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 244, 220, 0.45),
    0 18px 34px rgba(40, 70, 120, 0.34),
    0 0 32px rgba(232, 180, 80, 0.4);
}

body.page-home .home-map-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .home-map-card,
  body.page-home .home-map-card img {
    transition: none;
  }

  body.page-home .home-map-card:hover,
  body.page-home .home-map-card:hover img {
    transform: none;
  }
}

body.page-home .home-map-kicker {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

body.page-home .home-map-title {
  margin-top: 4px;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
}

body.page-home .home-map-sub {
  margin-top: 4px;
  color: #d8c9b0;
  font-size: 0.78rem;
}

body.page-home .home-guide-grid {
  flex: none;
  overflow: visible;
}

body.page-home .home-guide-card {
  aspect-ratio: 16 / 9;
}

@media (max-width: 1180px) {
  body.page-home .home-shell {
    width: min(920px, calc(100% - 28px));
  }

  body.page-home .home-hero-space {
    height: min(100dvh - 8px, 1080px);
  }

  body.page-home .home-spotlight {
    grid-template-columns: minmax(0, 1fr) 252px;
    align-items: start;
    gap: 16px;
  }

  body.page-home .home-cta-col {
    position: relative;
    z-index: 2;
    min-width: 0;
  }

  body.page-home .home-feature {
    z-index: 1;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.page-home .home-news-row {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
  }

  body.page-home .home-map-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 720px) {
  body.page-home .home-hero-space {
    height: 12px;
  }

  body.page-home .home-spotlight {
    grid-template-columns: 1fr;
  }

  body.page-home .home-news-row {
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
  }

  body.page-home .home-news-track {
    gap: 12px;
  }

  body.page-home .home-poster {
    flex-basis: calc((100% - 12px) / 2);
  }

  body.page-home .home-guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.page-home .home-feature {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  body.page-home .home-shell {
    width: calc(100% - 20px);
  }

  body.page-home .home-cta-main {
    min-height: 64px;
  }

  body.page-home .home-poster {
    flex-basis: 84%;
    height: 190px;
    min-height: 190px;
  }

  body.page-home .home-news-row {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 10px;
  }

  body.page-home .home-map-card {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.page-home .home-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) and (orientation: portrait) {
  body.page-home .home-news-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-home .home-map-card {
    width: min(360px, 100%);
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    justify-self: center;
    margin-inline: auto;
  }
}

/* Cards / forms */
.panel {
  width: min(640px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px 32px 32px;
  box-shadow: 0 12px 32px rgba(70, 140, 190, 0.16);
  color: var(--ink);
}

.panel-wide {
  width: min(960px, 100%);
}

.panel h1,
.panel h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.page-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.muted {
  color: var(--footer-ink);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-row {
  margin: 14px 0;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(70, 140, 190, 0.08);
}

.otp-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.otp-actions input {
  flex: 1;
  min-width: 0;
}

.otp-actions .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.form-row input.flatpickr-input {
  cursor: pointer;
}

.flatpickr-calendar {
  font-family: Kanit, Sarabun, sans-serif;
  background: #fff;
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(40, 90, 140, 0.22);
  overflow: hidden;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-weekday {
  color: var(--ink);
  fill: var(--ink);
  background: transparent;
  font-weight: 500;
}

.flatpickr-weekdays {
  background: transparent;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  fill: var(--gold);
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: var(--ink);
}

.flatpickr-day {
  color: var(--ink);
  border-radius: 10px;
  border-color: transparent;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(224, 164, 42, 0.18);
  border-color: transparent;
  color: var(--ink);
}

.flatpickr-day.today {
  border-color: var(--gold);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a2218;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #9ab0c4;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  border-bottom-color: #fff;
}

.check input {
  width: auto;
  flex-shrink: 0;
  margin-top: 4px;
}

.check input:disabled {
  opacity: 0.45;
}

.tos-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.tos-modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(36rem, calc(100vw - 24px));
}

.tos-modal::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.tos-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 244, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(40, 90, 140, 0.28);
}

.tos-card h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.1rem;
}

.tos-body {
  max-height: min(50vh, 22rem);
  overflow-y: auto;
  line-height: 1.65;
  font-size: 0.92rem;
}

.tos-body p {
  margin: 0 0 10px;
}

.tos-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.tos-warn {
  color: #b54747;
}

.notice.is-ok {
  border-color: rgba(120, 180, 110, 0.55);
  background: rgba(210, 245, 210, 0.55);
}

.hint {
  font-size: 0.85rem;
  margin-top: 6px;
  color: var(--gold-dim);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.notice {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  display: none;
}

.notice.is-on {
  display: block;
}

.banner {
  font-size: 0.88rem;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 248, 230, 0.72);
  color: var(--ink);
}

.char-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.member-shell {
  width: min(1080px, 100%);
  padding: 24px 28px 28px;
}

.member-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(180, 210, 235, 0.85);
}

.member-head h1 {
  margin-bottom: 4px;
}

.member-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
}

.member-id strong {
  color: var(--ink);
  letter-spacing: 0.02em;
}

.member-subnav {
  display: flex;
  gap: 4px;
  margin: 0 0 22px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(180, 210, 235, 0.9);
}

.member-tab {
  appearance: none;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  color: var(--footer-ink);
  font: inherit;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 11px;
  cursor: pointer;
}

.member-tab.is-on {
  color: #1a1714;
  background: linear-gradient(180deg, #f3de9a, var(--gold));
  box-shadow: 0 4px 12px rgba(70, 140, 190, 0.18);
}

.member-pane[hidden] {
  display: none;
}

.member-pane h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.char-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.7);
}

.char-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.char-table th,
.char-table td {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}

.char-table th {
  color: var(--ink);
  font-weight: 500;
  background: #e8f4fc;
  border-bottom: 1px solid rgba(180, 210, 235, 0.95);
}

.char-table tbody tr {
  border-bottom: 1px solid rgba(180, 210, 235, 0.55);
}

.char-table tbody tr:last-child {
  border-bottom: 0;
}

.char-table tbody tr:hover {
  background: rgba(232, 244, 252, 0.7);
}

.char-table td.name {
  color: var(--ink);
  font-weight: 500;
}

.char-table th.num,
.char-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.catalog-sort.num button {
  width: 100%;
  text-align: right;
}

.catalog-sort {
  cursor: pointer;
  user-select: none;
}

.catalog-sort button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.catalog-sort.is-on,
.catalog-sort:hover {
  color: var(--gold-dim);
}

.catalog-tools {
  margin: 16px 0 10px;
}

.catalog-search input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(70, 140, 190, 0.08);
}

.catalog-search input::placeholder {
  color: #7a97b0;
}

.catalog-table {
  min-width: 0;
}

.catalog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.catalog-pager[hidden] {
  display: none;
}

.catalog-pager .btn {
  padding: 8px 16px;
  font-size: 0.95rem;
}

.catalog-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.catalog-chip {
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.catalog-chip.is-on,
.catalog-chip:hover {
  color: #16324c;
  border-color: var(--gold);
  background: #fff8e8;
}

.catalog-icon {
  width: 40px;
  min-width: 40px;
  padding-right: 8px;
  vertical-align: middle;
}

.catalog-icon img {
  display: inline-block;
  width: auto;
  height: 24px;
  max-height: 24px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
  vertical-align: middle;
}

.char-table th.catalog-dropby,
.char-table td.catalog-dropby {
  width: 1%;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.catalog-drop-btn {
  font-size: 0.82rem;
  padding: 6px 12px;
  min-width: 5.5rem;
  margin: 0 auto;
}

.drop-by {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(420px, calc(100vw - 24px));
}

.drop-by::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.drop-by-box {
  position: relative;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 244, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(40, 90, 140, 0.28);
  color: var(--ink);
}

.drop-by-box h2 {
  margin: 0 36px 12px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.drop-by-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font: inherit;
  font-size: 0.82rem;
  color: var(--footer-ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.drop-by-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: min(60vh, 420px);
  overflow: auto;
}

.drop-by-box li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 210, 235, 0.55);
}

.drop-by-box li a:hover {
  color: var(--gold-dim);
}

.drop-by-box li img {
  width: auto;
  height: 24px;
  max-height: 24px;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
}

.drop-by-box li span:nth-child(2) {
  flex: 1;
}

.drop-mvp {
  font-size: 0.72rem;
  color: var(--gold-dim);
}

.mob-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
  line-height: 1.4;
}

.mob-badge-mvp {
  color: #2a1a08;
  background: linear-gradient(180deg, #ffe9a8, #d4a84a);
  box-shadow: 0 0 8px rgba(255, 210, 120, 0.45);
}

.mob-badge-mini {
  color: #f4e8ff;
  background: linear-gradient(180deg, #7a4ad4, #4a2a88);
  box-shadow: 0 0 8px rgba(150, 100, 255, 0.35);
}

.mob-name-mvp,
.mob-name-link .mob-name-mvp,
.mob-name-text.mob-name-mvp,
.mob-detail-head .mob-name-mvp {
  color: var(--gold-dim);
  font-weight: 600;
}

.mob-name-mini,
.mob-name-link .mob-name-mini,
.mob-name-text.mob-name-mini,
.mob-detail-head .mob-name-mini {
  color: #6b3db8;
  font-weight: 600;
}

.mob-name-link .mob-badge {
  flex-shrink: 0;
  margin-left: 0;
}

.mob-name-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.mob-detail {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(880px, calc(100vw - 24px));
}

.mob-detail::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.mob-detail-box {
  position: relative;
  padding: 22px 24px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 244, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(40, 90, 140, 0.28);
  color: var(--ink);
  max-height: min(86vh, 760px);
  overflow: auto;
}

.mob-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: linear-gradient(180deg, #fff, #d7ecfa);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(70, 140, 190, 0.16);
}

.mob-detail-close span {
  margin-top: -1px;
}

.mob-detail-close:hover,
.mob-detail-close:focus-visible {
  color: #16324c;
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff, #fff0c8);
  outline: none;
}

.mob-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 36px 16px 0;
}

.mob-detail-art {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #d7ecfa;
  border-radius: 10px;
}

.mob-detail-box h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mob-detail-box h3 {
  margin: 16px 0 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

.mob-detail-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
}

.mob-detail-cols > section:first-child h3,
.mob-detail-cols > section:last-child h3 {
  margin-top: 0;
}

.mob-detail-maps h3 {
  margin-top: 18px;
}

.mob-kv,
.mob-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mob-kv {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.mob-kv th {
  width: 22%;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 10px;
  background: #e8f4fc;
  border-bottom: 1px solid rgba(180, 210, 235, 0.7);
}

.mob-kv th:nth-child(3) {
  border-left: 1px solid rgba(180, 210, 235, 0.7);
}

.mob-kv td,
.mob-list td,
.mob-list th {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(180, 210, 235, 0.55);
}

.mob-list th {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  background: #e8f4fc;
}

.mob-list td.num,
.mob-list th.num,
.mob-kv td {
  font-variant-numeric: tabular-nums;
}

.mob-list td.num,
.mob-list th.num {
  text-align: right;
  width: 5.5rem;
  white-space: nowrap;
}

.mob-list td.mob-spawn-time,
.mob-list th.mob-spawn-time {
  text-align: left;
  width: 7.5rem;
  white-space: nowrap;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.drop-name.is-etc {
  color: #5a6a78;
}

.drop-name.is-equip {
  color: #1f8a52;
}

.drop-name.is-weapon {
  color: #b07a12;
}

.drop-name.is-card {
  color: #2f7ab8;
}

.drop-name.is-heal {
  color: #c45a68;
}

.drop-name.is-usable {
  color: #6b4caf;
}

.drop-name.is-cash {
  color: #c46a20;
}

.mob-drop-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mob-drop-row.is-clickable {
  cursor: pointer;
}

.mob-drop-row.is-clickable:hover td {
  background: rgba(224, 164, 42, 0.12);
}

.mob-drop-item img,
.mob-drop-ph {
  width: auto;
  height: 24px;
  max-height: 24px;
  max-width: none;
  min-width: 0;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
}

.mob-drop-ph {
  display: inline-block;
  width: 24px;
  min-width: 24px;
}

img.spr,
.map-mobs-box .mob-list img {
  width: auto;
  height: 24px;
  max-height: 24px;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
  vertical-align: middle;
}

.map-mobs .mob-list td,
.map-mobs .mob-list th {
  vertical-align: middle;
}

.mob-name-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  color: inherit;
  text-decoration: none;
}

.mob-name-icon {
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
}

.mob-name-icon img {
  max-width: 32px;
}

.mob-name-text {
  min-width: 0;
  line-height: 1.3;
}

.mob-spawn-map {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mob-spawn-map img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  min-width: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(8, 7, 10, 0.35);
  flex-shrink: 0;
  image-rendering: pixelated;
}

.mob-spawn-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mob-table-wrap {
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.mob-detail-maps .mob-table-wrap {
  max-height: min(48vh, 440px);
  overflow: auto;
}

.catalog-table td.name {
  white-space: normal;
}

.catalog-table td.name .mob-badge {
  margin-left: 6px;
  vertical-align: middle;
}

.catalog-row {
  cursor: pointer;
}

.catalog-card {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 24px);
  font-family: Tahoma, "MS Sans Serif", Sarabun, sans-serif;
}

.catalog-card::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.ro-iteminfo {
  width: 280px;
  max-width: 92vw;
}

.ro-iteminfo-box {
  position: relative;
  height: 140px;
  background: #fff url("/api/tex?kind=ui&file=collection_bg") no-repeat;
  border-radius: 5px;
  box-shadow:
    #fff 0 0 0 3px inset,
    rgb(192, 192, 192) 0 0 0 4px inset,
    0 12px 28px rgba(0, 0, 0, 0.4);
}

.ro-iteminfo-art {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 75px;
  height: 100px;
  object-fit: contain;
  background: transparent;
}

.ro-iteminfo-art.is-missing {
  visibility: visible;
  object-fit: contain;
  image-rendering: auto;
  background: #2a241c;
}

.ro-iteminfo-title {
  position: absolute;
  top: 3px;
  left: 86px;
  right: 18px;
  height: 20px;
  padding: 6px 4px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: bold;
  color: #000;
  text-shadow: 1px 1px 0 #fff;
}

.ro-iteminfo-close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 11px;
  height: 11px;
  border: 0;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: url("/api/tex?kind=ui&file=sys_close_off") no-repeat;
  cursor: pointer;
}

.ro-iteminfo-close:hover {
  background-image: url("/api/tex?kind=ui&file=sys_close_on");
}

.ro-iteminfo-desc {
  position: absolute;
  top: 35px;
  left: 100px;
  width: 170px;
  height: 75px;
  overflow-y: auto;
  line-height: 18px;
  font-size: 11px;
  color: #000;
}

.ro-iteminfo-desc-inner {
  width: 150px;
  white-space: pre-wrap;
  word-break: break-word;
}

.ro-iteminfo-desc-inner p {
  margin: 0;
}

.ro-iteminfo-cardlist {
  margin-top: 3px;
  padding: 2px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ro-iteminfo-cardlist[hidden] {
  display: none;
}

.ro-iteminfo-cardlist .border {
  display: flex;
  gap: 2px;
  border: 1px solid #c1c6c2;
  border-radius: 5px;
  padding: 2px 5px;
}

.ro-slot {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ro-slot img {
  display: block;
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

.ro-iteminfo-meta {
  display: none;
}

.card-drops {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.card-drops li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(80, 70, 55, 0.12);
  padding: 4px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge-on {
  color: #1f6b38;
  background: rgba(140, 210, 150, 0.32);
}

.badge-on::before {
  background: #2fbf5a;
  box-shadow: 0 0 8px rgba(47, 191, 90, 0.45);
}

.badge-off {
  color: var(--footer-ink);
  background: rgba(180, 210, 235, 0.45);
}

.badge-off::before {
  background: #8a8378;
}

.char-empty {
  margin: 12px 4px 0;
}

.member-form {
  max-width: 420px;
}

.vip-perks {
  margin: 18px 0 22px;
  padding: 20px 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(232, 196, 120, 0.45);
  background: linear-gradient(165deg, rgba(255, 248, 230, 0.92), rgba(232, 246, 255, 0.72));
  box-shadow: 0 8px 20px rgba(70, 140, 190, 0.1);
}

.vip-perks h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

.vip-perks-lead {
  margin: 0 0 14px;
  color: var(--footer-ink);
  font-size: 0.92rem;
}

.vip-perks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vip-perks li {
  display: grid;
  gap: 2px;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 210, 235, 0.85);
  position: relative;
}

.vip-perks li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe9a8;
  box-shadow: 0 0 10px rgba(255, 233, 168, 0.75);
}

.vip-perk-label {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.vip-perks li span:last-child {
  color: var(--footer-ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.vip-packs {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  align-items: stretch;
  gap: 14px;
  margin: 16px 0 18px;
}

.vip-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px 16px 18px;
  border-radius: 16px;
  border: 2px solid rgba(180, 210, 235, 0.9);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.vip-pack-15 {
  justify-content: center;
  padding: 18px 14px 18px 18px;
}

.vip-pack-30 {
  padding: 22px 16px 18px 18px;
}

.vip-pack-30 .vip-pack-days {
  font-size: 1.2rem;
}

.vip-pack-30 .vip-pack-price {
  font-size: 1.35rem;
}

.vip-pack:not(:has(input:checked)) {
  opacity: 0.62;
  box-shadow: none;
}

.vip-pack:has(input:checked) {
  opacity: 1;
  border-color: var(--gold);
  background: linear-gradient(165deg, rgba(255, 248, 230, 0.98), rgba(232, 246, 255, 0.9));
  box-shadow:
    0 0 0 1px rgba(232, 196, 120, 0.85),
    0 12px 24px rgba(70, 140, 190, 0.16);
  transform: translateY(-2px);
}

.vip-pack-30:has(input:checked) {
  border-color: #e0a42a;
  background: linear-gradient(165deg, rgba(255, 244, 214, 1), rgba(232, 246, 255, 0.95));
  box-shadow:
    0 0 0 2px rgba(224, 164, 42, 0.55),
    0 12px 32px rgba(70, 140, 190, 0.18);
}

.vip-pack input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vip-pack::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(140, 180, 210, 0.85);
  background: transparent;
}

.vip-pack:has(input:checked)::before {
  border-color: #ffe9a8;
  background: #ffe9a8;
  box-shadow: 0 0 10px rgba(255, 233, 168, 0.8);
}

.vip-pack:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1714;
}

.vip-pack-days {
  color: var(--ink);
  font-weight: 600;
  padding-left: 12px;
}

.vip-pack-price {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 600;
  padding-left: 12px;
}

.vip-pack-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1714;
  background: linear-gradient(180deg, #f3de9a, var(--gold));
}

.vip-pack-save {
  color: #1f6b38;
  font-weight: 600;
  font-size: 0.95rem;
  padding-left: 12px;
}

.vip-pack-note {
  color: var(--gold-dim);
  font-size: 0.8rem;
  padding-left: 12px;
}

.vip-dialog {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 244, 255, 0.96));
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(40, 90, 140, 0.28);
}

.vip-dialog::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.vip-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.vip-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.vip-qr-img {
  display: block;
  width: min(280px, 100%);
  margin: 12px auto;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
}

.vip-qr-img.is-wait {
  display: none;
}

.vip-dialog-qr {
  text-align: center;
}

.vip-pay-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.vip-history-block {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(180, 210, 235, 0.85);
}

.vip-history-title {
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--gold-dim);
}

.vip-history-wrap {
  border-radius: 10px;
}

.vip-history {
  min-width: 0;
  font-size: 0.78rem;
}

.vip-history th,
.vip-history td {
  padding: 6px 8px;
}

.login-panel .btn {
  margin-top: 6px;
}

table.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.rates th,
table.rates td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 179, 106, 0.2);
}

table.rates th {
  color: var(--gold);
  font-weight: 500;
}

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

.stack-gap {
  margin-top: 20px;
}

.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.chip {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 210, 235, 0.95);
  border-radius: 999px;
  cursor: pointer;
}

.chip.is-on {
  border-color: var(--gold);
  color: var(--gold-dim);
  background: #fff8e8;
}

.info-blocks {
  display: grid;
  gap: 18px;
}

.info-blocks article {
  padding-bottom: 8px;
}

.info-blocks h2 {
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 0 8px;
}

.info-blocks p,
.info-blocks li {
  line-height: 1.7;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: calc(var(--foot-h) + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  background: var(--footer);
  color: var(--footer-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 860px) {
  .mob-detail-cols {
    grid-template-columns: 1fr;
  }

  :root {
    --nav-h: 56px;
    --foot-h: 40px;
  }

  .nav-end {
    display: flex;
  }

  .play-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-image: linear-gradient(to bottom, #6cbce8, #3d8fc8);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(70, 140, 190, 0.28);
  }

  .play-bar:hover,
  .play-bar[aria-current="page"] {
    color: #fff8e8;
  }

  .nav-play {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: #2d5f88;
    border-radius: 12px;
  }

  .nav-toggle-bars {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .brand-logo {
    height: 42px;
    max-width: 150px;
  }

  .brand-name {
    display: none;
  }

  .brand-icon {
    display: none;
  }

  .nav-inner {
    padding: 0 8px 0 12px;
    gap: 8px;
  }

  .social-nav {
    gap: 6px;
  }

  .social-nav a {
    width: 40px;
    height: 40px;
  }

  .social-nav svg {
    width: 18px;
    height: 18px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(236, 248, 255, 0.98);
    border: 0;
    border-radius: 0;
    padding: 8px 12px 16px;
    z-index: 40;
    box-shadow: 0 16px 32px rgba(70, 140, 190, 0.22);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .nav-links .play {
    margin: 8px 4px 4px;
    text-align: center;
  }

  .nav-links .play[aria-current="page"] {
    color: #fff8e8;
  }

  .nav-drop-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
    justify-content: space-between;
  }

  .nav-drop-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 8px 8px;
    padding: 0 0 4px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-drop-menu::before {
    content: none;
  }

  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu {
    display: none;
  }

  .nav-drop.is-open .nav-drop-menu {
    display: block;
  }

  .panel {
    padding: 20px 16px 24px;
  }

  .member-head {
    flex-wrap: wrap;
  }

  .member-subnav {
    flex-direction: column;
  }

  .member-shell {
    padding: 18px 14px 22px;
  }

  .vip-packs {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: fit-content;
    max-width: min(20.5rem, calc(100vw - 48px));
    margin-inline: auto;
    padding: 10px 16px 12px;
    text-align: center;
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
  }

  .hero h1 {
    letter-spacing: 0.08em;
  }

  .hero h1::after {
    width: 2.4rem;
    margin-top: 8px;
  }

  .hero p.lead {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: none;
  }

  .hero-actions {
    width: auto;
    max-width: calc(100vw - 32px);
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .hero-actions .btn {
    width: auto;
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .btn-lg,
  body.page-home .btn-lg {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  body.page-home .home-shell {
    width: calc(100% - 24px);
  }

  .news-item h3 {
    font-size: 0.84rem;
  }

  .news-item p {
    font-size: 0.72rem;
  }

  .bg-poster::before {
    inset: 0;
    background-size: cover;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .site-footer {
    font-size: 0.7rem;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
  }

  .flatpickr-calendar {
    max-width: calc(100vw - 24px);
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  :root {
    --nav-h: 44px;
    --foot-h: 28px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #2d5f88;
    border-radius: 12px;
  }

  .nav-end {
    display: flex;
  }

  .play-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-image: linear-gradient(to bottom, #6cbce8, #3d8fc8);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(70, 140, 190, 0.28);
  }

  .play-bar[aria-current="page"] {
    color: #fff8e8;
  }

  .nav-play {
    display: none;
  }

  .nav-toggle-bars {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .brand-logo {
    height: 36px;
    max-width: 128px;
  }

  .brand-name {
    display: none;
  }

  .brand-icon {
    display: none;
  }

  .nav-inner {
    padding: 0 8px 0 12px;
    gap: 8px;
  }

  .social-nav {
    gap: 6px;
  }

  .social-nav a {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow-y: auto;
    background: rgba(236, 248, 255, 0.98);
    border: 0;
    border-radius: 0;
    padding: 8px 12px 16px;
    z-index: 40;
    box-shadow: 0 16px 32px rgba(70, 140, 190, 0.22);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-drop-btn {
    width: 100%;
    padding: 10px 14px;
    justify-content: space-between;
  }

  .nav-drop-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 8px 8px;
    padding: 0 0 4px 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-drop-menu::before {
    content: none;
  }

  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu {
    display: none;
  }

  .nav-drop.is-open .nav-drop-menu {
    display: block;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    width: fit-content;
    max-width: min(20.5rem, calc(100vw - 48px));
    margin-inline: auto;
    padding: 8px 12px 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
  }

  .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    margin-bottom: 4px;
  }

  .hero h1::after {
    width: 2rem;
    height: 1px;
    margin-top: 6px;
  }

  .hero p.lead {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-actions {
    width: auto;
    max-width: none;
    justify-content: center;
    gap: 8px;
  }

  .btn-lg,
  body.page-home .btn-lg {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

}

@media (max-width: 420px) {
  .news-item p {
    -webkit-line-clamp: 2;
  }

  .play-bar {
    padding: 6px 9px;
    font-size: 0.74rem;
  }
}

.worldmap-pan-hint {
  display: none;
  margin: 8px 0 0;
}

.worldmap-scroller {
  position: relative;
  width: 100%;
  margin: 12px auto 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  border-radius: 16px;
  border: 2px solid rgba(232, 196, 120, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 244, 220, 0.28),
    0 12px 28px rgba(40, 90, 140, 0.2);
  background: #8ec8ee;
}

.worldmap-stage {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 1280 / 1024;
  margin: 0;
  overflow: hidden;
  background: #8ec8ee;
}

.worldmap-scroller.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  border: 4px solid rgba(255, 236, 170, 0.22);
  border-top-color: #ffe9a8;
  border-radius: 50%;
  animation: ru-spin 0.65s linear infinite;
  z-index: 2;
}

.worldmap-scroller.is-loading img {
  opacity: 0;
}

.worldmap-stage img,
#worldmap-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.worldmap-regions {
  position: absolute;
  inset: 0;
}

@media (max-width: 860px) {
  .worldmap-pan-hint {
    display: block;
  }

  body.page-worldmap .panel-wide {
    width: 100%;
    padding: 16px 10px 20px;
  }

  .worldmap-scroller {
    max-height: calc(100dvh - var(--nav-h) - var(--safe-top) - 13rem);
  }

  .worldmap-stage {
    width: 1280px;
    height: 1024px;
    max-width: none;
    aspect-ratio: auto;
  }

  .worldmap-stage img,
  #worldmap-img {
    width: 1280px;
    height: 1024px;
    max-width: none;
  }
}

.worldmap-cell {
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.worldmap-cell:hover:not(.is-closed):not(.is-dungeon),
.worldmap-cell:focus-visible:not(.is-closed):not(.is-dungeon) {
  outline: 2px solid rgba(255, 236, 170, 0.95);
  outline-offset: -2px;
  background: rgba(255, 236, 170, 0.14);
  z-index: 2;
}

.worldmap-line {
  position: absolute;
  height: 1px;
  background: rgba(255, 0, 0, 0.55);
  pointer-events: none;
  transform-origin: 0 50%;
  z-index: 3;
}

.worldmap-cell.is-dungeon {
  z-index: 4;
  overflow: visible;
  box-sizing: content-box;
  min-width: 6.4em;
  margin-left: -10px;
  padding: 1px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 2px;
  background: rgba(255, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(180, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}

.worldmap-cell.is-dungeon:hover:not(.is-closed),
.worldmap-cell.is-dungeon:focus-visible:not(.is-closed) {
  outline: none;
  background: rgba(255, 50, 50, 0.55);
  z-index: 6;
}

.worldmap-dungeon-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: none;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  pointer-events: none;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.worldmap-cell.is-dungeon.is-closed {
  background: rgba(80, 70, 60, 0.42);
  cursor: default;
}

.worldmap-cell.is-dungeon.is-closed:hover,
.worldmap-cell.is-dungeon.is-closed:focus-visible {
  background: rgba(80, 70, 60, 0.42);
}

.worldmap-cell.is-dungeon .worldmap-lock {
  display: none;
}

.worldmap-cell.is-dungeon.is-closed .worldmap-lock {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(12, 10, 8, 0.42);
}

.worldmap-cell.is-dungeon.is-closed .worldmap-dungeon-name {
  opacity: 0.35;
}

.worldmap-tip {
  position: fixed;
  z-index: 80;
  min-width: 160px;
  max-width: 240px;
  padding: 6px 8px;
  border: 1px solid #666;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.worldmap-tip strong {
  display: block;
  margin-bottom: 4px;
  color: #ffe9a8;
}

.worldmap-tip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.worldmap-tip li {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: baseline;
}

.worldmap-tip code {
  color: #c9c3ba;
  font-size: 11px;
}

.worldmap-cell.is-dim {
  opacity: 0.18;
  pointer-events: none;
}

@keyframes worldmap-found {
  0%,
  100% {
    box-shadow:
      0 0 0 2px #ffe9a8,
      0 0 0 5px rgba(160, 110, 32, 0.55),
      0 0 16px rgba(255, 214, 120, 0.75);
  }
  50% {
    box-shadow:
      0 0 0 2px #fff6d0,
      0 0 0 6px rgba(203, 180, 137, 0.85),
      0 0 26px rgba(255, 230, 160, 0.95);
  }
}

.worldmap-cell.is-found {
  z-index: 8;
  opacity: 1;
  outline: none;
  box-shadow:
    0 0 0 2px #ffe9a8,
    0 0 0 5px rgba(160, 110, 32, 0.55),
    0 0 16px rgba(255, 214, 120, 0.75);
  animation: worldmap-found 1.6s ease-in-out infinite;
}

.worldmap-cell.is-dungeon.is-found {
  border-color: #ffe9a8;
  background: rgba(255, 176, 48, 0.5);
}

.worldmap-cell.is-found:hover,
.worldmap-cell.is-found:focus-visible,
.worldmap-cell.is-dungeon.is-found:hover,
.worldmap-cell.is-dungeon.is-found:focus-visible {
  outline: none;
}

.worldmap-cell.is-closed {
  background: rgba(18, 14, 10, 0.62);
  cursor: default;
  outline: none;
}

.worldmap-cell.is-closed:hover,
.worldmap-cell.is-closed:focus-visible {
  outline: none;
  background: rgba(18, 14, 10, 0.62);
}

.worldmap-cell.is-closed .worldmap-lock {
  display: flex;
}

.worldmap-lock {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2px;
  color: #fff6e8;
  font-size: clamp(9px, 1.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow:
    0 1px 2px #000,
    0 0 8px rgba(0, 0, 0, 0.85);
  line-height: 1.15;
  overflow: hidden;
}

.worldmap-cell.is-tiny.is-closed .worldmap-lock {
  display: flex;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.map-mobs {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(640px, calc(100vw - 24px));
  max-width: min(640px, calc(100vw - 24px));
  max-height: min(90dvh, calc(100vh - 16px));
  overflow: hidden;
}

.map-mobs::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.map-mobs-box {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, calc(100vh - 16px));
  padding: 20px 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(42, 34, 26, 0.92), rgba(22, 18, 14, 0.94));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: #f4efe6;
  overflow: hidden;
}

.map-mobs-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-right: 28px;
  flex-shrink: 0;
}

.map-mobs-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

@keyframes ru-spin {
  to {
    transform: rotate(360deg);
  }
}

.ru-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 236, 170, 0.22);
  border-top-color: #ffe9a8;
  border-radius: 50%;
  animation: ru-spin 0.65s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}

.map-loading-row {
  text-align: center;
  padding: 16px 8px;
}

.map-preview,
.map-thumb {
  position: relative;
  display: grid;
  place-items: center;
  background: #1a1612;
  overflow: hidden;
}

.map-preview {
  width: 128px;
  height: 128px;
  flex: 0 0 128px;
  border-radius: 8px;
}

.map-preview-tip {
  width: 150px;
  height: 150px;
  margin: 0 auto 6px;
}

.map-thumb {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1;
  border-radius: 4px;
}

.mob-spawn-map img.is-missing,
.catalog-icon img.is-missing,
img.spr.is-missing,
.map-preview img.is-missing,
.map-thumb img.is-missing,
.worldmap-tip-map.is-missing {
  image-rendering: auto;
  background: #2a241c;
}

.map-preview:has(img[hidden]) {
  display: none;
}

.map-preview img,
.map-thumb img,
.worldmap-tip-map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.map-preview img.is-loading,
.map-thumb img.is-loading,
.worldmap-tip-map.is-loading {
  opacity: 0;
}

.map-preview:has(img.is-loading)::after,
.map-thumb:has(img.is-loading)::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
  margin: auto;
  border: 3px solid rgba(255, 236, 170, 0.22);
  border-top-color: #ffe9a8;
  border-radius: 50%;
  animation: ru-spin 0.65s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.map-mobs-art[hidden],
.map-mobs-back[hidden] {
  display: none;
}

.map-mobs-back {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #ffe9a8;
  font: inherit;
  cursor: pointer;
}

.map-mobs-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  flex-shrink: 0;
  max-height: min(42vh, 380px);
  overflow: auto;
}

.map-mobs-gallery[hidden] {
  display: none;
}

.map-mobs-floor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #f4efe6;
  cursor: pointer;
}

.map-mobs-floor:hover,
.map-mobs-floor:focus-visible {
  border-color: rgba(255, 236, 170, 0.8);
  background: rgba(255, 236, 170, 0.08);
}

.map-mobs-floor-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.map-mobs-floor code {
  color: #c9c3ba;
  font-size: 11px;
}

.worldmap-tip-map.is-missing {
  display: block;
}

.map-mobs .mob-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(48dvh, calc(100dvh - 16rem));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.map-mobs .mob-list thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #2c241c;
}

.map-mobs .mob-table-wrap[hidden] {
  display: none;
}

/* Worldmap — match bright sky chrome */
body.page-worldmap .panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 246, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(70, 140, 190, 0.16);
  color: var(--ink);
}

body.page-worldmap .panel-wide {
  width: min(1080px, 100%);
}

body.page-worldmap .worldmap-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

body.page-worldmap .panel h1 {
  color: var(--ink);
}

body.page-worldmap .muted {
  color: var(--footer-ink);
}

body.page-worldmap .catalog-search input {
  background: #fff;
  border: 1px solid rgba(180, 210, 235, 0.95);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(70, 140, 190, 0.08);
}

body.page-worldmap .catalog-search input::placeholder {
  color: #7a97b0;
}

body.page-worldmap .ru-spinner {
  border-color: rgba(61, 143, 200, 0.22);
  border-top-color: var(--gold);
}

.worldmap-tip {
  border: 1px solid rgba(232, 196, 120, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(40, 70, 120, 0.18);
}

.worldmap-tip strong {
  color: var(--gold-dim);
}

.worldmap-tip code {
  color: var(--footer-ink);
}

.map-mobs::backdrop {
  background: rgba(40, 90, 130, 0.38);
}

.map-mobs-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 244, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(40, 90, 140, 0.28);
  color: var(--ink);
}

.map-mobs-head h2 {
  color: var(--ink);
}

.map-mobs-box .mob-detail-close {
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: linear-gradient(180deg, #fff, #d7ecfa);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(70, 140, 190, 0.16);
}

.map-mobs-box .mob-detail-close:hover,
.map-mobs-box .mob-detail-close:focus-visible {
  color: #16324c;
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff, #fff0c8);
}

.map-mobs-back {
  color: #3d8fc8;
}

.map-preview,
.map-thumb {
  background: #d7ecfa;
  border-radius: 12px;
}

.map-mobs-floor {
  border: 1px solid rgba(180, 210, 235, 0.95);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.map-mobs-floor:hover,
.map-mobs-floor:focus-visible {
  border-color: color-mix(in srgb, var(--gold) 70%, white);
  background: rgba(255, 248, 230, 0.9);
}

.map-mobs-floor code {
  color: var(--footer-ink);
}

.map-mobs .mob-list thead th {
  background: #e8f4fc;
  color: var(--ink);
}

.map-mobs .mob-list td,
.map-mobs .mob-list th {
  color: var(--ink);
}

