.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.banner-tile {
  min-height: 168px;
  background-size: cover;
  background-position: center;
}

.official-news {
  gap: 16px;
}

.news-card {
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.new-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  color: #1a1208;
  background: var(--gold-bright);
  font-weight: 700;
}

.read-more {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold-bright);
  font-weight: 700;
}

.activity-band .section-heading {
  align-items: end;
}

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

.activity-list .banner-tile {
  width: 100%;
  min-height: 168px;
}

@media (max-width: 860px) {
  .activity-list {
    grid-template-columns: 1fr;
  }
}
/* activity layout fix 20260706 */
.activity-band {
  overflow: hidden;
}

.activity-band .activity-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.activity-band .activity-list > .banner-tile {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 180px;
  padding: 24px;
  align-items: flex-end;
  justify-content: flex-start;
  border: 1px solid var(--line);
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}

.activity-band .activity-list > .banner-tile strong {
  display: block;
  margin-top: 0;
  width: 100%;
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

@media (max-width: 860px) {
  .activity-band .activity-list {
    grid-template-columns: 1fr;
  }
}
/* activity final layout fix 20260706 */
.activity-band .activity-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

.activity-band .activity-list > a.feature-tile.banner-tile {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 180px !important;
  padding: 24px !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  border: 1px solid var(--line) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}

.activity-band .activity-list > a.feature-tile.banner-tile strong {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--gold-bright) !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85) !important;
}

@media (max-width: 860px) {
  .activity-band .activity-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .activity-band .activity-list > a.feature-tile.banner-tile {
    min-height: auto !important;
    padding: 14px 16px !important;
    background-image: linear-gradient(180deg, rgba(37, 29, 17, 0.94), rgba(10, 9, 8, 0.94)) !important;
  }

  .activity-band .activity-list > a.feature-tile.banner-tile strong {
    font-size: 18px !important;
    text-shadow: none !important;
  }
}
/* game guide cms v2.0 */
.nav-guide {
  position: relative;
  display: inline-flex;
}

.nav-guide-trigger::after {
  content: " ▾";
  color: var(--gold-bright);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  width: min(980px, calc(100vw - 48px));
  transform: translateX(-50%);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-guide:hover .mega-menu,
.nav-guide:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(10, 8, 6, 0.97);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.mega-group h3 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 17px;
}

.mega-group a,
.mega-empty {
  display: block;
  min-width: 0;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.mega-group a:hover,
.mega-group a:focus-visible {
  color: var(--gold-bright);
}

.guide-page {
  padding-top: 48px;
}

.guide-hero h1,
.guide-article h1 {
  color: var(--gold-bright);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

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

.guide-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.guide-sidebar h2 {
  font-size: 22px;
}

.guide-category-link {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.16);
  color: var(--muted);
}

.guide-category-link.active,
.guide-category-link:hover {
  color: var(--gold-bright);
  background: rgba(215, 180, 106, 0.08);
}

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

.guide-category-card,
.guide-card {
  padding: 22px;
  border: 1px solid rgba(215, 180, 106, 0.22);
  background: var(--panel-strong);
}

.guide-category-card h3,
.guide-card h3 {
  margin-bottom: 10px;
  color: var(--gold-bright);
}

.guide-category-card p,
.guide-card p {
  color: var(--muted);
  line-height: 1.7;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.guide-cover {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 24px 0;
  border: 1px solid var(--line);
}

.guide-body {
  color: #eadfcd;
  font-size: 18px;
  line-height: 1.9;
}

.guide-body h2,
.guide-body h3,
.guide-body h4 {
  color: var(--gold-bright);
  margin-top: 28px;
}

.guide-body a {
  color: var(--gold-bright);
  text-decoration: underline;
}

.guide-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-guide:hover .mega-menu,
  .nav-guide:focus-within .mega-menu {
    display: block;
  }

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

  .guide-layout,
  .guide-category-grid,
  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 18px;
  }
}
/* guide article readable content fix 20260707 */
.guide-body {
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-body p,
.guide-body ul,
.guide-body ol,
.guide-body blockquote,
.guide-body table {
  margin-bottom: 16px;
}

.guide-body table {
  width: 100%;
  border-collapse: collapse;
  white-space: normal;
}

.guide-body th,
.guide-body td {
  padding: 10px;
  border: 1px solid var(--line);
}
/* guide article text tools 20260707 */
.guide-body .text-gold { color: var(--gold-bright); font-weight: 700; }
.guide-body .text-red { color: #ff8f8f; font-weight: 700; }
.guide-body .text-green { color: #91e6a6; font-weight: 700; }
.guide-body .text-sm { font-size: .9em; color: var(--muted); }
.guide-body .text-normal { font-size: 1em; }
.guide-body .text-lg { font-size: 1.18em; font-weight: 700; }
.guide-body .text-xl { font-size: 1.38em; font-weight: 800; color: var(--gold-bright); }
.guide-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
/* guide article color palette classes 20260707 */
.guide-body .text-blue { color: #86b7ff; font-weight: 700; }
.guide-body .text-purple { color: #c9a5ff; font-weight: 700; }
.guide-body .text-orange { color: #ffb36b; font-weight: 700; }
.guide-body .text-white { color: #f6efe2; font-weight: 700; }
.guide-body .text-gray { color: var(--muted); font-weight: 700; }
.guide-body .text-cyan { color: #7ee7e7; font-weight: 700; }
.guide-body .text-pink { color: #ff9ed1; font-weight: 700; }
/* mega menu alignment fix 20260707 v2 */
.site-header {
  overflow: visible;
}

.nav-guide {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 100;
  width: min(980px, calc(100vw - 48px));
  padding-top: 0;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .nav-guide {
    position: relative;
  }

  .mega-menu {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    padding-top: 10px;
    transform: none;
  }
}
/* home status and news row 20260708 */
.home-top-row {
  position: relative;
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
}

.home-top-row .content-band {
  width: 100%;
  margin: 0;
  min-width: 0;
}

.compact-heading {
  margin-bottom: 16px;
}

.compact-heading h2 a:hover,
.compact-heading h2 a:focus-visible {
  color: var(--text);
}

.status-display {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 180, 106, 0.26);
  background: rgba(0, 0, 0, 0.28);
  color: var(--gold-bright);
  font-size: 22px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #48d27b;
  box-shadow: 0 0 18px rgba(72, 210, 123, 0.8);
  flex: 0 0 auto;
}

.status-maintenance .status-dot {
  background: #f2d38a;
  box-shadow: 0 0 18px rgba(242, 211, 138, 0.72);
}

.status-offline .status-dot {
  background: #e05a48;
  box-shadow: 0 0 18px rgba(224, 90, 72, 0.72);
}

.status-message {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(215, 180, 106, 0.14);
}

.home-news-row {
  display: grid;
  grid-template-columns: 92px 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(215, 180, 106, 0.14);
  color: var(--muted);
}

.home-news-row:hover,
.home-news-row:focus-visible {
  color: var(--gold-bright);
}

.home-news-row time,
.home-news-row span {
  color: var(--gold);
  font-size: 13px;
}

.home-news-row strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-more {
  margin-top: 14px;
}

.announcement-list-page .home-news-row {
  grid-template-columns: 110px 76px minmax(0, 1fr);
  min-height: 54px;
  padding: 14px 0;
}

.announcement-list-page .home-news-row strong {
  font-size: 18px;
}

@media (max-width: 860px) {
  .home-top-row {
    grid-template-columns: 1fr;
  }

  .home-news-row,
  .announcement-list-page .home-news-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .home-news-row span {
    display: none;
  }
}
/* home-top-row final enforce 20260708 */
main > .home-top-row {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr) !important;
  width: min(1180px, calc(100% - 10vw)) !important;
  margin: 56px auto 56px !important;
  gap: 18px !important;
}

main > .home-top-row > .content-band {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 860px) {
  main > .home-top-row {
    grid-template-columns: 1fr !important;
    margin-top: 32px !important;
  }
}
/* mobile guide menu direct link fix 20260717 */
@media (max-width: 980px) {
  .nav-guide .mega-menu,
  .nav-guide:hover .mega-menu,
  .nav-guide:focus-within .mega-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-guide,
  .nav-guide-trigger {
    display: inline-flex;
  }
}

/* home guide text list 20260717 */
.home-guide-band {
  margin-top: -8px;
}

.home-guide-list {
  display: grid !important;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(215, 180, 106, 0.14);
}

.home-guide-list a {
  display: block !important;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(215, 180, 106, 0.14);
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-guide-list a:hover,
.home-guide-list a:focus-visible {
  color: var(--gold-bright);
}

@media (max-width: 860px) {
  .home-guide-list {
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0 18px;
  }
}

@media (max-width: 520px) {
  .home-guide-list {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
}
