:root {
  color-scheme: dark;
  --bg: #101012;
  --bg-soft: #151517;
  --panel: #202022;
  --panel-hover: #282828;
  --line: #343438;
  --line-soft: #29292d;
  --text: #f1f0ed;
  --muted: #929196;
  --gold: #f2bf38;
  --gold-bright: #ffda62;
  --gold-dim: #aa7f20;
  --green: #27c988;
  --red: #ed6262;
  --blue: #70b5ff;
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(63, 54, 27, .16), transparent 34rem),
    linear-gradient(180deg, #111113 0%, #101012 52%, #0c0c0e 100%);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
svg { display: block; }
.page-width { width: min(1110px, calc(100% - 48px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: var(--gold); color: #17130a; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  background: rgba(14, 14, 15, .96);
  border-bottom: 1px solid #2a2928;
  backdrop-filter: blur(16px);
}
.header-inner { max-width: 1110px; height: 100%; margin: auto; padding: 0 0; display: flex; align-items: center; gap: 25px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.045em; }
.brand-name { font-size: 20px; }
.brand-mark { width: 38px; height: 34px; display: grid; place-items: center; font-size: 11px; letter-spacing: -.07em; font-weight: 1000; color: #14110a; transform: skew(-8deg); background: linear-gradient(145deg, #ffe987, #ed9826 45%, #cd372b 74%, #168ed0); clip-path: polygon(50% 0, 100% 22%, 86% 82%, 50% 100%, 11% 78%, 0 24%); text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(13px, 1.6vw, 24px); flex: 1; min-width: 0; white-space: nowrap; }
.main-nav a { color: #c6c5c3; font-size: 14px; font-weight: 700; transition: color .18s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.icon-button { border: 0; color: var(--text); background: transparent; padding: 7px; cursor: pointer; }
.search-toggle svg, .search-field svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.search-toggle:hover { color: var(--gold); }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 104px; padding: 10px 18px; border: 1px solid #ffd652; border-radius: 24px; color: #17130a; background: linear-gradient(180deg, #ffdf67, #efb923); box-shadow: 0 0 19px rgba(242, 191, 56, .18); font-size: 14px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.download-button:hover { transform: translateY(-1px); box-shadow: 0 0 25px rgba(242, 191, 56, .34); }
.download-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.search-panel { position: absolute; top: 68px; left: 50%; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); padding: 14px; border: 1px solid #48433a; border-top: 2px solid var(--gold); border-radius: 0 0 12px 12px; background: #171719; box-shadow: 0 22px 55px rgba(0,0,0,.45); }
.search-panel[hidden] { display: none; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid #3c3a36; border-radius: 8px; background: #101012; color: var(--gold); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-field input::placeholder { color: #77767b; }
kbd { color: #aaa8a2; font-size: 11px; border: 1px solid #48464a; border-radius: 4px; padding: 1px 5px; }
.search-results { display: grid; gap: 5px; margin-top: 10px; }
.search-result { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 7px; background: transparent; text-align: left; cursor: pointer; }
.search-result:hover { background: #242326; }
.search-result-title { flex: 1; font-weight: 700; }
.search-result-meta { color: var(--muted); font-size: 12px; }
.search-hint { margin: 8px 10px 3px; color: var(--muted); font-size: 13px; }

.hero { text-align: center; padding-top: 24px; }
.hero-overline, .section-kicker { color: #9d8c61; letter-spacing: .19em; text-transform: uppercase; font-size: 10px; font-weight: 800; }
.hero-overline { display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(39,201,136,.9); }
.hero h1 { margin: 7px 0 1px; color: #f6f0d9; font-size: clamp(42px, 5vw, 58px); font-weight: 1000; letter-spacing: .025em; line-height: 1.28; text-shadow: 0 0 24px rgba(255, 218, 98, .21); }
.hero h1 span { color: #fff9e6; }
.hero-subtitle { margin: 5px 0 18px; color: #9e9da2; font-size: 14px; letter-spacing: .1em; }
.hero-rule { display: flex; justify-content: center; align-items: center; gap: 11px; width: 142px; margin: 0 auto 35px; color: var(--gold); font-size: 13px; }
.hero-rule span { height: 1px; width: 55px; background: linear-gradient(90deg, transparent, #8f6d27); }
.hero-rule span:last-child { transform: rotate(180deg); }

.server-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { min-height: 175px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px 15px; border: 1px solid #36363a; border-radius: 12px; background: linear-gradient(145deg, rgba(39,39,41,.92), rgba(29,29,31,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); transition: transform .2s ease, border-color .2s ease; }
.stat-card:hover { transform: translateY(-3px); border-color: #71613b; }
.stat-icon { height: 37px; margin-bottom: 7px; color: var(--gold); font-family: Georgia, serif; font-size: 37px; font-weight: 700; line-height: 1; text-shadow: 0 0 15px rgba(242,191,56,.35); }
.diamond-icon { font-size: 43px; line-height: .8; }
.coin-icon { font-size: 33px; }
.refresh-icon { font-size: 41px; }
.stat-card strong { color: #f8f7f5; font-size: 34px; font-weight: 950; line-height: 1.22; letter-spacing: -.03em; }
.stat-card .unit { margin-left: 4px; color: #eee9dc; font-size: 16px; font-weight: 800; }
.stat-label { margin-top: 3px; color: #a7a5a6; font-size: 13px; font-weight: 800; }

.news-section { margin-top: 58px; padding-top: 39px; border-top: 1px solid #2e2d2b; text-align: center; }
.section-heading { margin-bottom: 27px; }
.section-heading h2 { margin: 4px 0 3px; color: #f1f0ed; font-size: 25px; font-weight: 900; letter-spacing: .1em; }
.section-heading h2 span { color: var(--gold); }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.section-kicker { display: block; font-size: 9px; color: #8e7a4b; }
.news-toolbar { display: flex; align-items: center; justify-content: space-between; width: min(920px, 100%); margin: 0 auto 10px; }
.filter-tabs { display: flex; gap: 5px; }
.filter-tab { border: 1px solid transparent; border-radius: 6px; padding: 6px 12px; background: transparent; color: #9d9ba0; font-size: 12px; cursor: pointer; transition: .18s ease; }
.filter-tab:hover { color: var(--gold); }
.filter-tab.selected { border-color: #5c4d2b; color: var(--gold-bright); background: rgba(242,191,56,.08); }
.news-count { color: #77767a; font-size: 12px; }
.news-table-wrap { width: min(920px, 100%); margin: 0 auto; overflow: hidden; border: 1px solid #4a4028; border-top: 2px solid var(--gold); border-radius: 7px; background: rgba(17,17,18,.65); text-align: left; }
.news-table { width: 100%; border-collapse: collapse; }
.news-table th { padding: 13px 22px; color: #c49a3b; background: rgba(174,130,31,.12); font-size: 13px; font-weight: 900; }
.news-table th:first-child { width: 130px; text-align: center; }
.news-table th:last-child { width: 125px; text-align: center; }
.news-table td { height: 51px; padding: 8px 22px; border-top: 1px solid #28282b; color: #c8c7c8; font-size: 13px; }
.news-table td:first-child, .news-table td:last-child { text-align: center; }
.news-table tr { transition: background .17s ease; }
.news-table tbody tr:hover { background: rgba(255,255,255,.045); }
.news-title-button { display: block; width: 100%; padding: 5px 0; border: 0; background: transparent; color: #e7e5e3; font-weight: 750; text-align: left; cursor: pointer; }
.news-title-button:hover { color: var(--gold-bright); }
.category-badge { display: inline-flex; justify-content: center; min-width: 64px; padding: 4px 9px; border: 1px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 800; }
.category-badge.activity { color: var(--green); background: rgba(39,201,136,.1); }
.category-badge.system { color: var(--red); background: rgba(237,98,98,.09); }
.category-badge.update { color: var(--blue); background: rgba(112,181,255,.1); }
.news-date { color: #929095; font-variant-numeric: tabular-nums; }
.empty-state { padding: 28px; color: var(--muted); text-align: center; }
.history-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; border: 0; background: transparent; color: #aaa8a1; font-size: 13px; cursor: pointer; }
.history-link span { color: var(--gold); transition: transform .2s ease; }
.history-link:hover { color: var(--gold-bright); }
.history-link:hover span { transform: translate(2px,-2px); }

.quick-links { margin-top: 72px; padding-top: 38px; border-top: 1px solid #2e2d2b; }
.compact-heading { text-align: center; }
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { position: relative; min-height: 158px; display: flex; flex-direction: column; padding: 20px; overflow: hidden; border: 1px solid #343438; border-radius: 10px; background: linear-gradient(145deg, #1c1c1f, #171719); transition: .2s ease; }
.info-card:hover { transform: translateY(-3px); border-color: #79602a; background: linear-gradient(145deg, #242326, #19191b); }
.info-number { color: #77716a; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.info-symbol { position: absolute; top: 17px; right: 18px; color: #ad842b; font-size: 22px; }
.info-title { margin-top: 17px; font-size: 17px; font-weight: 900; }
.info-copy { margin-top: 3px; color: #8f8d92; font-size: 12px; }
.card-arrow { position: absolute; right: 18px; bottom: 15px; color: #89703b; font-size: 15px; }

.bottom-panels { display: grid; grid-template-columns: 1.35fr 1fr; gap: 15px; margin-top: 54px; }
.download-panel, .statement-panel { position: relative; min-height: 205px; padding: 28px 30px; overflow: hidden; border: 1px solid #39353a; border-radius: 12px; background: linear-gradient(125deg, #211f1c, #171719 78%); }
.download-panel { border-color: #5a4824; }
.download-panel h2, .statement-panel h2 { position: relative; margin: 8px 0 3px; font-size: 22px; font-weight: 900; }
.download-panel p, .statement-panel p { position: relative; max-width: 440px; margin: 4px 0 14px; color: #a6a3a4; font-size: 13px; }
.download-button.large { position: relative; min-width: 132px; padding: 9px 15px; }
.panel-orb { position: absolute; width: 260px; height: 260px; right: 7px; top: -95px; border: 1px solid rgba(242,191,56,.13); border-radius: 50%; box-shadow: 0 0 0 20px rgba(242,191,56,.018), 0 0 0 44px rgba(242,191,56,.018), inset 0 0 50px rgba(242,191,56,.06); }
.panel-orb::before, .panel-orb::after { content: ""; position: absolute; inset: 31px; border: 1px solid rgba(242,191,56,.1); border-radius: 50%; transform: rotate(25deg) scaleY(.42); }
.panel-orb::after { transform: rotate(-25deg) scaleY(.42); }
.text-link { position: relative; color: var(--gold); font-size: 12px; font-weight: 800; }
.text-link:hover { color: var(--gold-bright); }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 20px 22px; border: 1px solid #323236; border-radius: 10px; background: #171719; }
.contact-strip > div:first-child { display: grid; grid-template-columns: 1fr; }
.contact-strip strong { font-size: 17px; }
.contact-strip > div:first-child > span:last-child { color: var(--muted); font-size: 12px; }
.contact-actions { display: flex; gap: 9px; }
.contact-actions a { padding: 8px 13px; border: 1px solid #49433a; border-radius: 6px; color: #d5c08b; font-size: 12px; font-weight: 800; }
.contact-actions a:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.site-footer { margin-top: 55px; border-top: 1px solid #29292c; background: rgba(10,10,11,.72); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand .brand-mark { width: 31px; height: 28px; font-size: 9px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-inner p { color: #77767a; font-size: 11px; }
.back-top { color: #9d9a92; font-size: 12px; }
.back-top span { margin-left: 5px; color: var(--gold); }

.detail-dialog { width: min(560px, calc(100% - 30px)); max-height: min(80vh, 700px); padding: 0; overflow: auto; border: 1px solid #52462d; border-radius: 13px; color: var(--text); background: #19191b; box-shadow: 0 25px 100px rgba(0,0,0,.7); }
.detail-dialog::backdrop { background: rgba(5,5,6,.78); backdrop-filter: blur(4px); }
.detail-dialog form { position: sticky; top: 0; display: flex; justify-content: flex-end; height: 0; z-index: 1; }
.dialog-close { width: 37px; height: 37px; margin: 12px; border: 1px solid #464449; border-radius: 50%; background: #222225; color: #d8d6d2; font-size: 23px; line-height: 1; cursor: pointer; }
.dialog-close:hover { color: var(--gold); border-color: var(--gold-dim); }
.dialog-body { padding: 35px 34px 24px; }
.dialog-eyebrow { display: flex; align-items: center; gap: 10px; color: #99959a; font-size: 12px; }
.dialog-body h2 { margin: 10px 35px 18px 0; font-size: 23px; line-height: 1.35; }
.dialog-copy { color: #c0bdc0; white-space: pre-line; font-size: 14px; }
.dialog-copy p { margin: 0 0 12px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 24px; border-top: 1px solid #303034; background: #151517; }
.dialog-footer button { padding: 8px 14px; border: 1px solid #47454a; border-radius: 6px; background: transparent; color: #c9c7c7; font-size: 12px; font-weight: 800; cursor: pointer; }
.dialog-footer button:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 15px); opacity: 0; padding: 10px 16px; border: 1px solid #5d4b26; border-radius: 8px; background: #211e17; color: #f4d47a; font-size: 13px; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1120px) {
  .header-inner { padding-inline: 20px; gap: 15px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 13px; }
}
@media (max-width: 900px) {
  .site-header { height: auto; }
  .header-inner { min-height: 62px; flex-wrap: wrap; gap: 12px; padding: 0 18px 8px; }
  .brand { margin-right: auto; }
  .main-nav { order: 2; flex-basis: 100%; justify-content: flex-start; gap: 22px; padding: 4px 1px 2px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .search-panel { top: 100%; }
  .server-stats { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .stat-card { min-height: 145px; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-panels { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-width { width: min(100% - 28px, 1110px); }
  .header-inner { padding-inline: 14px; }
  .brand-name { font-size: 18px; }
  .download-button { min-width: unset; padding: 9px 13px; }
  .download-button span { display: inline; }
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 12px; }
  .hero { padding-top: 31px; }
  .hero h1 { margin-top: 12px; font-size: 42px; }
  .hero-subtitle { font-size: 12px; letter-spacing: .04em; }
  .hero-rule { margin-bottom: 25px; }
  .server-stats { gap: 9px; }
  .stat-card { min-height: 131px; padding: 12px 5px; }
  .stat-icon { font-size: 31px; height: 31px; }
  .stat-card strong { font-size: 29px; }
  .stat-label { font-size: 11px; }
  .news-section { margin-top: 39px; padding-top: 30px; }
  .section-heading h2 { font-size: 22px; }
  .news-toolbar { align-items: flex-end; }
  .filter-tabs { gap: 1px; }
  .filter-tab { padding: 5px 8px; font-size: 11px; }
  .news-table th { padding: 11px 8px; font-size: 11px; }
  .news-table th:first-child { width: 76px; }
  .news-table th:last-child { width: 72px; }
  .news-table td { height: 49px; padding: 7px 8px; font-size: 11px; }
  .category-badge { min-width: 53px; padding: 3px 6px; font-size: 10px; }
  .news-title-button { font-size: 11px; }
  .quick-links { margin-top: 52px; padding-top: 30px; }
  .link-grid { gap: 9px; }
  .info-card { min-height: 143px; padding: 14px; }
  .info-title { font-size: 15px; }
  .info-copy { max-width: 130px; font-size: 11px; }
  .bottom-panels { margin-top: 37px; }
  .download-panel, .statement-panel { min-height: unset; padding: 23px 20px; }
  .download-panel h2, .statement-panel h2 { font-size: 19px; }
  .contact-strip { align-items: flex-start; flex-direction: column; padding: 18px; }
  .contact-actions { width: 100%; }
  .contact-actions a { flex: 1; text-align: center; }
  .footer-inner { min-height: 70px; flex-wrap: wrap; justify-content: center; gap: 3px 16px; padding-block: 12px; }
  .footer-inner p { order: 3; flex-basis: 100%; margin: 0; text-align: center; }
  .dialog-body { padding: 32px 21px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Fantasy portal theme inspired by the supplied Moroco reference. */
body > main > .page-width { width: min(980px, calc(100% - 48px)); }
body {
  background-color: #090806;
  background-image: linear-gradient(rgba(10, 8, 7, .9), rgba(10, 8, 7, .94)), url("hero-art.png");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.site-header { position: relative; height: 34px; background: #090909; border-bottom: 1px solid #4c402b; backdrop-filter: none; }
.topbar-inner { width: min(1280px, calc(100% - 24px)); height: 100%; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #b0a276; font-size: 11px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-left button { padding: 0; border: 0; background: none; color: #b0a276; font-size: inherit; cursor: pointer; }
.topbar-left a:hover, .topbar-left button:hover, .topbar-right a:hover { color: var(--gold-bright); }
.topbar-divider { color: #51462e; }
.topbar-brand { display: inline-flex; align-items: center; gap: 7px; color: #e8ddbd; font-weight: 900; letter-spacing: .07em; }
.topbar-brand .brand-mark { width: 24px; height: 22px; font-size: 7px; }
.topbar-right { justify-content: flex-end; }
.topbar-right a { color: var(--gold); font-weight: 800; }

.hero { position: relative; isolation: isolate; width: 100%; height: min(690px, calc(100vh - 34px)); min-height: 560px; margin: 0; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: #100d0b; border-bottom: 1px solid #71511d; }
.hero-art { position: absolute; z-index: -2; inset: 0; background-image: url("hero-art.png"); background-position: center 43%; background-size: cover; background-repeat: no-repeat; transform: scale(1.01); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8,7,7,.08) 0%, rgba(10,7,5,.07) 37%, rgba(10,7,5,.32) 65%, rgba(9,7,5,.92) 100%), linear-gradient(90deg, rgba(5,4,4,.54), transparent 23%, transparent 77%, rgba(5,4,4,.52)); }
.hero-content { position: relative; z-index: 2; width: min(760px, calc(100% - 300px)); margin-top: 32px; padding-bottom: 76px; transform: translateY(58px); }
.hero-overline { display: inline-flex; justify-content: center; align-items: center; gap: 9px; margin-bottom: 6px; color: #f3d47d; text-shadow: 0 1px 5px #000; letter-spacing: .23em; font-size: 10px; }
.hero-emblem { display: flex; justify-content: center; align-items: center; gap: 11px; margin: 0 auto -7px; color: #ffe58a; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(48px, 7vw, 76px); font-weight: 1000; letter-spacing: -.065em; line-height: .95; text-shadow: 0 3px 1px #291704, 0 0 15px rgba(249,184,35,.56), 2px 7px 12px #000; }
.hero-emblem small { padding: 4px 0 0 9px; border-left: 1px solid rgba(255,225,140,.65); font-size: .42em; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero h1 { margin: 8px 0 5px; color: #fff8e5; font-family: "Noto Serif TC", "Microsoft JhengHei", serif; font-size: clamp(32px, 4vw, 47px); font-weight: 1000; letter-spacing: .17em; line-height: 1.2; text-shadow: 0 2px 1px #21180b, 0 4px 18px #000; }
.hero h1 span { color: #f5c857; }
.hero-subtitle { margin: 8px 0 19px; color: #f5eee0; font-size: 14px; font-weight: 750; letter-spacing: .12em; text-shadow: 0 2px 5px #000; }
.hero-actions { display: flex; justify-content: center; gap: 10px; }
.hero-action { display: inline-flex; align-items: center; gap: 12px; min-width: 142px; justify-content: center; padding: 10px 16px; border: 1px solid rgba(238,196,102,.78); background: rgba(20,15,10,.72); color: #f4e5c6; font-size: 12px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: .2s ease; }
.hero-action.primary { background: linear-gradient(180deg, #d7ab4c, #8e5d1e); color: #1b1307; border-color: #f4d37d; }
.hero-action:hover { transform: translateY(-2px); border-color: #fff1b9; filter: brightness(1.12); }
.hero-action span { font-size: 15px; }
.hero-navigation { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; min-height: 59px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 7px max(16px, calc((100vw - 1080px) / 2)); border-top: 1px solid rgba(237,187,70,.78); border-bottom: 3px solid #3c2915; background: linear-gradient(180deg, rgba(53,36,20,.95), rgba(19,14,10,.97)); box-shadow: 0 -9px 24px rgba(0,0,0,.28); }
.main-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(13px, 2.05vw, 29px); min-width: 0; white-space: nowrap; }
.main-nav a { padding: 6px 0; color: #e0d1aa; font-size: 13px; font-weight: 900; text-shadow: 0 1px 2px #000; }
.main-nav a:hover, .main-nav a.active { color: #ffd46c; }
.search-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #e3d2a7; font-size: 11px; font-weight: 800; }
.search-toggle svg { width: 17px; height: 17px; }
.nav-download { flex: 0 0 auto; padding: 8px 14px; border: 1px solid #f4ce6b; background: linear-gradient(#e9c36d,#9c6b22); color: #1b1307; font-size: 12px; font-weight: 1000; box-shadow: inset 0 1px 0 rgba(255,255,255,.44); }
.nav-download:hover { filter: brightness(1.12); }
.search-panel { top: auto; bottom: 69px; left: 50%; transform: translateX(-50%); z-index: 8; border-color: #b18535; border-top: 2px solid #e6bd5b; background: rgba(20,17,14,.97); }

.floating-rail { position: fixed; z-index: 9; top: 74px; width: 142px; display: grid; gap: 11px; }
.left-rail { left: max(10px, calc((100vw - 1260px) / 2)); }
.right-rail { right: max(10px, calc((100vw - 1260px) / 2)); }
.rail-plaque { position: relative; min-height: 122px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 13px 10px; overflow: hidden; border: 3px solid #6f4b22; outline: 1px solid rgba(255,216,122,.32); outline-offset: -7px; background: linear-gradient(145deg, rgba(33,23,14,.96), rgba(78,40,18,.93) 53%, rgba(20,15,12,.97)); color: #f3ddae; text-align: center; box-shadow: 0 7px 17px rgba(0,0,0,.58), inset 0 0 20px rgba(227,166,55,.1); }
.rail-plaque::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(212,166,81,.34); pointer-events: none; }
.rail-logo { min-height: 96px; gap: 3px; background: radial-gradient(ellipse at 50% 20%, rgba(225,172,63,.24), transparent 54%), linear-gradient(145deg,#302217,#100e0c); }
.rail-sigil { color: #f2cf72; font-size: 22px; text-shadow: 0 0 11px rgba(255,202,74,.65); }
.rail-logo strong { color: #ffdb75; font-family: "Noto Serif TC", serif; font-size: 18px; font-weight: 1000; text-shadow: 0 2px 3px #000; }
.rail-logo small { color: #c8b896; font-size: 9px; letter-spacing: .15em; }
.rail-label { margin-bottom: 6px; color: #d2a94f; font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.rail-promo strong { color: #fff0d2; font-family: "Noto Serif TC", serif; font-size: 19px; font-weight: 950; line-height: 1.25; text-shadow: 0 2px 4px #000; }
.rail-promo small, .rail-support small { margin-top: 5px; color: #c2b6a0; font-size: 9px; }
.rail-arrow { margin-top: 9px; padding: 4px 8px; border: 1px solid rgba(229,183,83,.5); color: #f5d57d; font-size: 9px; font-weight: 900; }
.gold-promo { background: radial-gradient(ellipse at 50% 18%, rgba(231,185,77,.25), transparent 54%), linear-gradient(145deg,rgba(70,45,17,.97),rgba(28,18,10,.97)); }
.rail-support { min-height: 106px; align-items: flex-start; padding-left: 17px; }
.rail-support strong { color: #fff0d2; font-family: "Noto Serif TC", serif; font-size: 18px; }
.support-orb { position: absolute; right: 13px; bottom: 18px; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #d1a544; border-radius: 50%; color: #f4d378; font-weight: 900; }

.server-stats { position: relative; z-index: 5; grid-template-columns: repeat(4, 1fr); gap: 0; width: min(920px, calc(100% - 40px)); min-height: 87px; margin: -20px auto 0; overflow: hidden; border: 1px solid #7b5b2b; border-radius: 3px; background: linear-gradient(180deg, rgba(47,34,19,.97), rgba(21,17,14,.98)); box-shadow: 0 12px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,234,177,.16); }
.stat-card { min-height: 85px; padding: 8px; flex-direction: row; gap: 10px; border: 0; border-right: 1px solid rgba(189,147,66,.25); border-radius: 0; background: transparent; box-shadow: none; }
.stat-card:last-child { border-right: 0; }
.stat-card:hover { transform: none; border-color: rgba(189,147,66,.25); background: rgba(231,183,74,.07); }
.stat-icon { height: auto; margin: 0; font-size: 27px; }
.diamond-icon { font-size: 34px; }
.coin-icon { font-size: 25px; }
.refresh-icon { font-size: 33px; }
.stat-card strong { font-size: 24px; }
.stat-card .unit { font-size: 13px; }
.stat-label { margin: 0; max-width: 75px; font-size: 10px; line-height: 1.25; text-align: left; }

.news-section, .quick-links { border-color: rgba(152,111,45,.53); }
.news-section { margin-top: 40px; padding: 29px 23px 21px; border: 1px solid rgba(146,104,39,.58); background: linear-gradient(120deg, rgba(13,12,11,.95), rgba(25,21,17,.91)); box-shadow: 0 13px 26px rgba(0,0,0,.29), inset 0 1px 0 rgba(255,225,155,.07); }
.section-heading h2 { text-shadow: 0 1px 4px #000; }
.news-toolbar { margin-top: 21px; }
.news-table-wrap { border-radius: 0; border-color: rgba(145,108,47,.66); border-top-width: 2px; background: rgba(10,10,10,.66); }
.news-table th { background: rgba(105,72,25,.31); color: #e0bd70; }
.news-table td { border-color: rgba(160,145,121,.16); }
.news-table tbody tr:hover { background: rgba(213,168,72,.08); }
.news-title-button { font-weight: 760; }
.category-badge { border-radius: 2px; }
.history-link { color: #d7c496; }
.history-link:hover { color: #ffe38b; }
.quick-links { margin-top: 45px; padding: 31px 24px 25px; border: 1px solid rgba(146,104,39,.58); background: linear-gradient(120deg, rgba(13,12,11,.93), rgba(25,21,17,.91)); box-shadow: 0 13px 26px rgba(0,0,0,.28); }
.compact-heading { margin-bottom: 23px; }
.forum-groups { display: grid; gap: 23px; }
.forum-group { overflow: hidden; border: 1px solid rgba(136,98,42,.6); background: rgba(15,13,12,.54); box-shadow: inset 0 0 25px rgba(0,0,0,.28); }
.forum-group-heading { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 11px 17px; border-bottom: 1px solid rgba(143,105,47,.48); background: linear-gradient(90deg, rgba(85,58,27,.65), rgba(32,24,18,.45)); }
.forum-crest { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #a47c36; transform: rotate(45deg); color: #f1ce73; background: rgba(24,18,13,.83); font-size: 17px; }
.forum-crest::first-letter { transform: rotate(-45deg); }
.forum-group-heading h3 { margin: 0; color: #f3d385; font-family: "Noto Serif TC", serif; font-size: 18px; font-weight: 950; text-shadow: 0 1px 3px #000; }
.forum-group-heading p { margin: 1px 0 0; color: #aba18e; font-size: 11px; }
.forum-board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; padding: 15px; }
.forum-board { position: relative; min-height: 75px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(130,104,65,.42); background: linear-gradient(115deg,rgba(48,38,28,.87),rgba(19,18,17,.94)); transition: .18s ease; }
.forum-board:hover { transform: translateY(-2px); border-color: #a27c3f; background: linear-gradient(115deg,rgba(74,54,30,.92),rgba(24,21,17,.97)); }
.board-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(205,161,75,.55); background: rgba(9,9,9,.56); color: #e5c570; font-size: 17px; }
.forum-board > span:nth-child(2) { display: grid; min-width: 0; }
.forum-board strong { color: #e9e2d4; font-size: 13px; font-weight: 900; }
.forum-board small { margin-top: 2px; overflow: hidden; color: #9f9a92; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.forum-board > b { margin-left: auto; color: #c9a24b; font-size: 14px; }
.bottom-panels { margin-top: 28px; }
.download-panel, .statement-panel { border-radius: 2px; border-color: rgba(143,104,44,.61); background: linear-gradient(120deg,rgba(24,19,15,.94),rgba(15,14,13,.93)); }
.contact-strip { border-radius: 2px; border-color: rgba(143,104,44,.55); background: rgba(17,15,13,.94); }
.site-footer { border-color: #4b3820; background: rgba(8,8,8,.92); }
.rail-plaque:hover { filter: brightness(1.12); }

@media (max-width: 1240px) {
  .floating-rail { display: none; }
  .hero-content { width: min(760px, calc(100% - 40px)); }
}
@media (max-width: 850px) {
  .hero { height: 640px; min-height: 540px; }
  .hero-art { background-position: center 40%; }
  .hero-navigation { justify-content: flex-start; gap: 11px; overflow: hidden; padding-inline: 12px; }
  .main-nav { justify-content: flex-start; gap: 19px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-download { display: none; }
}
@media (max-width: 560px) {
  .topbar-inner { width: calc(100% - 18px); grid-template-columns: 1fr auto; }
  .topbar-brand { display: none; }
  .topbar-right { gap: 7px; }
  .hero { height: 580px; min-height: 540px; }
  .hero-art { background-position: 47% center; }
  .hero-content { width: calc(100% - 28px); margin-top: 0; padding-bottom: 76px; }
  .hero-content { transform: translateY(28px); }
  .hero-emblem { font-size: 57px; }
  .hero h1 { font-size: 30px; letter-spacing: .1em; }
  .hero-subtitle { font-size: 11px; letter-spacing: .04em; }
  .hero-action { min-width: 124px; padding: 9px 10px; font-size: 10px; }
  .hero-navigation { min-height: 54px; gap: 9px; }
  .search-toggle { padding: 5px; }
  .search-toggle span { display: none; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11px; }
  .server-stats { width: calc(100% - 24px); grid-template-columns: repeat(2,1fr); margin-top: -14px; }
  .stat-card { min-height: 61px; gap: 7px; padding: 7px; }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(n+3) { border-top: 1px solid rgba(189,147,66,.25); }
  .stat-icon { font-size: 22px; }
  .diamond-icon { font-size: 27px; }
  .refresh-icon { font-size: 27px; }
  .stat-card strong { font-size: 21px; }
  .stat-label { max-width: 70px; font-size: 9px; }
  .news-section, .quick-links { padding: 23px 12px 17px; }
  .news-toolbar { margin-top: 17px; }
  .forum-board-grid { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .forum-board { min-height: 66px; }
  .forum-group-heading { padding-inline: 13px; }
  .forum-group-heading h3 { font-size: 16px; }
  .news-table th:first-child { width: 72px; }
  .news-table th:last-child { width: 68px; }
  .contact-strip { padding: 15px; }
}
