:root {
  --bg-ink: #070b14;
  --bg-deep: #0b1220;
  --bg-card: rgba(14, 21, 36, 0.78);
  --bg-card-solid: #101829;
  --border-gold: rgba(226, 189, 108, 0.24);
  --border-gold-strong: rgba(240, 206, 126, 0.52);
  --gold-200: #fbe7b5;
  --gold-300: #ecc978;
  --gold-500: #c89b44;
  --jade-300: #6ee7c8;
  --jade-500: #1f8a70;
  --cinnabar: #a62b22;
  --ivory-100: #f4ead6;
  --ivory-300: #c6bda8;
  --ivory-500: #8e96a6;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-card: 0 22px 54px rgba(0, 0, 0, 0.52);
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-calli: "Ma Shan Zheng", "Noto Serif SC", cursive;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-ink);
  color: var(--ivory-100);
  font-family: var(--font-serif);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 72% 8%, rgba(30, 74, 98, 0.26), transparent 65%),
    radial-gradient(ellipse 60% 45% at 15% 18%, rgba(166, 43, 34, 0.12), transparent 60%),
    linear-gradient(180deg, #060a12 0%, #09101d 48%, #070b14 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

#ember-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(236, 201, 120, 0.10);
  color: var(--gold-200);
  padding: 0.12em 0.42em;
  border-radius: 5px;
  border: 1px solid rgba(236, 201, 120, 0.18);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 189, 108, 0.16);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-calli);
  font-size: 1.55rem;
  color: var(--gold-200);
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ivory-500);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--ivory-300);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-200);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.7);
  color: var(--ivory-300);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 8px var(--gold-300);
}

.status-pill.is-online {
  border-color: rgba(110, 231, 200, 0.36);
  color: var(--jade-300);
}

.status-pill.is-online .status-dot {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.9);
}

.status-pill.is-offline {
  border-color: rgba(248, 113, 113, 0.42);
  color: #fca5a5;
}

.status-pill.is-offline .status-dot {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.8);
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  flex-direction: row;
  padding: 9px 16px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 13px 22px;
  min-width: 178px;
}

.btn-block {
  width: 100%;
  padding: 12px 18px;
  flex-direction: row;
  font-size: 0.96rem;
}

.btn-main {
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.84;
}

.btn-gold {
  background: linear-gradient(135deg, #e7c16c 0%, #c6953b 100%);
  color: #161006;
  border-color: rgba(255, 236, 186, 0.55);
  box-shadow: 0 10px 26px rgba(200, 155, 68, 0.26);
}

.btn-gold:hover {
  box-shadow: 0 14px 32px rgba(231, 193, 108, 0.38);
}

.btn-jade {
  background: linear-gradient(135deg, #279479 0%, #155e50 100%);
  color: #ecfdf5;
  border-color: rgba(110, 231, 200, 0.42);
  box-shadow: 0 10px 26px rgba(21, 94, 80, 0.34);
}

.btn-jade:hover {
  box-shadow: 0 14px 32px rgba(39, 148, 121, 0.44);
}

.btn-ghost {
  background: rgba(17, 25, 42, 0.72);
  color: var(--ivory-100);
  border-color: var(--border-gold);
}

.btn-ghost:hover {
  border-color: var(--border-gold-strong);
  background: rgba(26, 36, 58, 0.86);
}

.btn-outline-gold {
  background: rgba(200, 155, 68, 0.12);
  color: var(--gold-200);
  border-color: var(--border-gold-strong);
}

.btn-outline-gold:hover {
  background: rgba(200, 155, 68, 0.22);
}

.btn-subtle {
  width: 100%;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory-300);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-subtle:hover {
  color: var(--gold-200);
  border-color: var(--border-gold);
}

/* Hero */
.hero {
  position: relative;
  padding: 66px 0 74px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 42%, rgba(44, 114, 134, 0.22), transparent 52%),
    radial-gradient(circle at 22% 72%, rgba(200, 155, 68, 0.10), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.seal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.cinnabar-seal {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #b32f24, #841c17);
  color: #fdebd2;
  border: 1px solid rgba(246, 206, 128, 0.65);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.meta-chip {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(236, 201, 120, 0.09);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-size: 0.78rem;
}

.hero-title {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-title .calli {
  font-family: var(--font-calli);
  font-size: clamp(3.1rem, 5.8vw, 4.7rem);
  font-weight: 400;
  line-height: 1.02;
  background: linear-gradient(180deg, #fff2cf 0%, #e5be6b 65%, #b98934 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(229, 190, 107, 0.22));
}

.hero-subtitle-line {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 700;
  color: var(--ivory-100);
  letter-spacing: 0.08em;
}

.hero-desc {
  margin: 0 0 28px;
  color: var(--ivory-300);
  font-size: 0.98rem;
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(13, 20, 34, 0.68);
  border: 1px solid var(--border-gold);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item strong {
  color: var(--gold-200);
  font-size: 1.02rem;
}

.stat-item span {
  color: var(--ivory-500);
  font-size: 0.78rem;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(226, 189, 108, 0.22);
}

/* Hero Stage Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.frame-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 232, 175, 0.08) inset;
  background: #080d17;
  cursor: zoom-in;
}

.frame-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.frame-card:hover img {
  transform: scale(1.025);
}

.stage-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 9, 16, 0.88) 78%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.stage-badge {
  font-size: 0.76rem;
  color: var(--gold-200);
  background: rgba(14, 21, 36, 0.82);
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  border-radius: 999px;
}

.stage-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ivory-100);
}

.mini-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-shot {
  position: relative;
  padding: 0;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #09101c;
  cursor: zoom-in;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini-shot:hover {
  border-color: var(--border-gold-strong);
  transform: translateY(-2px);
}

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

.mini-shot span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 8px 6px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.90));
  color: var(--ivory-100);
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 21, 37, 0.48) 0%, rgba(8, 13, 24, 0.22) 100%);
  border-top: 1px solid rgba(226, 189, 108, 0.12);
  border-bottom: 1px solid rgba(226, 189, 108, 0.12);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.80rem;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  color: var(--gold-200);
  letter-spacing: 0.05em;
}

.section-desc {
  margin: 0;
  color: var(--ivory-300);
  font-size: 0.96rem;
}

/* Cards */
.lacquer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dl-card.featured {
  border-color: rgba(110, 231, 200, 0.42);
  background: linear-gradient(180deg, rgba(17, 36, 44, 0.84) 0%, rgba(12, 20, 34, 0.86) 100%);
}

.dl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-gold {
  background: rgba(231, 193, 108, 0.16);
  color: var(--gold-200);
  border: 1px solid rgba(231, 193, 108, 0.4);
}

.badge-jade {
  background: rgba(52, 211, 153, 0.16);
  color: var(--jade-300);
  border: 1px solid rgba(110, 231, 200, 0.4);
}

.badge-cinnabar {
  background: rgba(185, 50, 40, 0.22);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.38);
}

.ver-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ivory-500);
}

.dl-card h3 {
  margin: 0;
  font-size: 1.24rem;
  color: var(--ivory-100);
}

.dl-summary {
  margin: 0;
  font-size: 0.90rem;
  color: var(--ivory-300);
}

.meta-list {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(5, 9, 16, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.meta-list dt {
  color: var(--ivory-500);
  flex-shrink: 0;
}

.meta-list dd {
  margin: 0;
  color: var(--ivory-100);
  text-align: right;
  word-break: break-all;
}

.sha-code {
  font-size: 0.74rem;
}

.dl-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-tip {
  font-size: 0.80rem;
  color: var(--ivory-500);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.install-tip summary {
  cursor: pointer;
  color: var(--ivory-300);
}

.install-tip p {
  margin: 8px 0 0;
  line-height: 1.6;
}

/* Hot-Update Live Console */
.hotupdate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.hu-live-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hu-label {
  display: block;
  font-size: 0.76rem;
  color: var(--ivory-500);
}

.hu-endpoint {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--gold-200);
}

.hu-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hu-metric {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(5, 9, 16, 0.56);
  border: 1px solid rgba(226, 189, 108, 0.16);
}

.metric-k {
  display: block;
  font-size: 0.76rem;
  color: var(--ivory-500);
}

.hu-metric strong {
  font-size: 1.15rem;
  color: var(--gold-200);
}

.hu-packs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hu-pack-item {
  padding: 16px;
  border-radius: 12px;
  background: rgba(8, 15, 28, 0.78);
  border: 1px solid rgba(226, 189, 108, 0.24);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hu-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hu-pack-name {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  color: var(--gold-200);
  font-weight: 700;
}

.hu-pack-notes {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ivory-100);
}

.hu-pack-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ivory-500);
}

.hu-pack-skeleton {
  padding: 20px;
  border-radius: 12px;
  background: rgba(5, 9, 16, 0.45);
  color: var(--ivory-500);
  text-align: center;
}

.hu-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--gold-300);
}

.hu-footer-links a:hover {
  text-decoration: underline;
}

.hu-flow-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hu-flow-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  cursor: zoom-in;
}

.hu-flow-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pipeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(231, 193, 108, 0.16);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-200);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.pipeline-steps strong {
  display: block;
  font-size: 0.94rem;
  color: var(--ivory-100);
}

.pipeline-steps p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--ivory-500);
}

/* Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(14, 21, 36, 0.65);
  color: var(--ivory-300);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: linear-gradient(135deg, rgba(231, 193, 108, 0.24), rgba(198, 149, 59, 0.16));
  border-color: var(--border-gold-strong);
  color: var(--gold-200);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #0c1424;
  cursor: zoom-in;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}

.gallery-card.is-hidden {
  display: none;
}

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

.gallery-card figcaption {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-card strong {
  font-size: 0.90rem;
  color: var(--ivory-100);
}

.gallery-card span {
  font-size: 0.76rem;
  color: var(--ivory-500);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-seal {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(166, 43, 34, 0.28);
  border: 1px solid rgba(231, 193, 108, 0.45);
  color: var(--gold-200);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feat-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--gold-200);
}

.feat-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--ivory-300);
}

/* Footer */
.site-footer {
  padding: 36px 0 46px;
  border-top: 1px solid rgba(226, 189, 108, 0.14);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ivory-500);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory-300);
}

.footer-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--gold-200);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lb-stage {
  margin: 0;
  max-width: min(1120px, 92vw);
  text-align: center;
}

.lb-stage img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.lb-stage figcaption {
  margin-top: 14px;
  color: var(--ivory-100);
  font-size: 0.95rem;
}

.lb-close,
.lb-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  background: rgba(12, 19, 34, 0.85);
  color: var(--gold-200);
  font-size: 1.45rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-close {
  top: 22px;
  right: 24px;
  font-size: 1.1rem;
}

.lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(16, 26, 44, 0.96);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-200);
  font-size: 0.86rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid,
  .hotupdate-layout {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
  .hero {
    padding: 36px 0 48px;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .mini-strip,
  .gallery-grid,
  .feature-grid,
  .hu-summary-grid {
    grid-template-columns: 1fr;
  }
  .status-pill .status-text {
    display: none;
  }
}
