

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

@media (prefers-reduced-motion: reduce) {
  .nav-tab { transition: none; }
  #lang-fade-overlay { transition: none; }
  #lang-fade-overlay .lfx-token, #lang-fade-overlay .lfx-arrow { animation: none; }
}




:root {
  color-scheme: dark;
  --bg:             #080807;
  --surface:        #141412;
  --surface-raised: #1c1c19;
  --border:         #2c2c29;
  --text:           #fdfcf9;
  --muted:          #b8b4ae;
  --faint:          #3a3a37;
  --gold:           #c9a84c;
  --green:          #00c896;
  --red:            #ff4d4d;
  --nav-bg:         rgba(10,10,9,0.92);
  --overlay-bg:     rgba(0,0,0,0.7);

  --nav-h: 64px;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', 'Noto Serif TC', 'Source Han Serif TC', 'Songti TC', 'PMingLiU', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Arial, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
}


html.light {
  --bg:             #faf9f6;
  --surface:        #ffffff;
  --surface-raised: #f0ede6;
  --border:         #dbd8d0;
  --text:           #0a0a09;
  --muted:          #524f4a;
  --faint:          #c8c4bb;
  --gold:           #8a5f0e;
  --green:          #00956e;
  --red:            #d93535;
  --nav-bg:         rgba(245,243,238,0.92);
  --overlay-bg:     rgba(0,0,0,0.5);
}

:lang(zh) body :is(h1, h2)[class] { letter-spacing: normal !important; }
:lang(zh) [data-zh] { text-transform: none !important; }


html.light body {
  text-shadow: none;
}
html.light h1.hero-title, html.light h1.display, html.light h2.section-heading,
html.light .timeline-title, html.light .featured-title, html.light .shop-card-name,
html.light .points-value, html.light .shop-card-pts, html.light .stat-value,
html.light .modal-title, html.light .form-success-title,
html.light .nav-logo, html.light .footer-logo {
  text-shadow: none;
}
html.light .kpi-value {
  text-shadow: none;
  color: var(--text);
}
html.light .kpi-label {
  color: rgba(60,55,48,0.75);
}
html.light .points-value, html.light .shop-card-pts, html.light .promo-code,
html.light .data-table td.pts, html.light .nav-tab.active,
html.light input.gold-code {
  text-shadow: none;
}

html.light .kpi-value,
html.light .kpi-value.gold,
html.light .kpi-value.profit,
html.light .kpi-value.loss {
  text-shadow: none;
}


.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: none; border: 1px solid var(--border);
  border-radius: 3px; cursor: pointer; color: var(--muted);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle svg { width: 15px; height: 15px; pointer-events: none; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html.light .theme-toggle .icon-sun  { display: block; }
html.light .theme-toggle .icon-moon { display: none; }
.currency-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 9px;
  background: none; border: 1px solid var(--border);
  border-radius: 3px; cursor: pointer; color: var(--muted);
  font-family: var(--sans, sans-serif); flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.currency-toggle:hover { color: var(--text); border-color: var(--muted); }
.currency-toggle .currency-toggle-sym  { font-size: 13px; font-weight: 700; color: var(--gold); line-height: 1; }
.currency-toggle .currency-toggle-code { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; line-height: 1; }


body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  text-shadow: 0 0 1px rgba(250,248,244,0.15);
}


h1.hero-title, h1.display, h2.section-heading,
.timeline-title, .featured-title, .shop-card-name,
.points-value, .shop-card-pts, .stat-value, .kpi-value,
.modal-title, .form-success-title, .nav-logo, .footer-logo {
  text-shadow:
    0 0 1px currentColor,
    0 0 5px rgba(250,248,244,0.2);
}


.points-value, .shop-card-pts, .promo-code,
.data-table td.pts, .nav-tab.active,
.kpi-value.gold, input.gold-code {
  text-shadow:
    0 0 2px currentColor,
    0 0 8px rgba(201,168,76,0.35);
}
td, th, .kpi-value, .points-value, .shop-card-pts, .stat-value, .num { font-variant-numeric: tabular-nums; }
::selection { background: var(--text); color: var(--bg); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }


.serif { font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-weight: 400; font-style: normal; }

h1.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.015em; }
h1.hero-title > span { display: block; }
h1.display    { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.01em; }
h2.section-heading { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; }
p  { font-family: var(--sans); font-weight: 400; font-size: 0.9375rem; color: var(--text); }
.muted { color: var(--muted); }
.serif-italic.large { font-family: var(--serif); font-style: normal; font-size: clamp(1.125rem, 1.6vw, 1.5rem); color: var(--muted); line-height: 1.35; }

.label, .eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}


.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

main { padding-top: var(--nav-h); min-height: 100vh; }
.page-section { padding: 72px 0; }
.page-section.narrow { padding: 48px 0; }
#dashboard .page-section.narrow { padding: 24px 0; }


.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 calc(env(safe-area-inset-right, 0px) + 20px) 0 20px;
  gap: 16px;
}
@media (min-width: 768px) { .navbar { padding: 0 calc(env(safe-area-inset-right, 0px) + 40px) 0 40px; gap: 32px; } }

.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  color: var(--text); letter-spacing: -0.02em;
  flex-shrink: 0; cursor: pointer;
}
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 3px;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.05);
  display: block;
}
.nav-logo span { line-height: 1; }


.nav-socials {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 4px;
}
@media (min-width: 1100px) { .nav-socials { display: inline-flex; } }
.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--muted);
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.nav-social:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-social .icon { width: 15px; height: 15px; }

.nav-tabs {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px;
  overflow: visible;
  min-width: 0;
}
.nav-drawer { flex: 1; min-width: 0; display: flex; align-items: center; }
.nav-mobile-auth { display: none; }
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  padding: 22px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
@media (min-width: 1100px) { .nav-tabs { gap: 16px; } .nav-tab { letter-spacing: 0.05em; } }

@media (min-width: 1181px) {
  .navbar .nav-tabs { gap: 6px; }
  .navbar .nav-tab,
  .navbar .nav-more-toggle { font-size: 10px; letter-spacing: .02em; }
  .navbar .lang-toggle { gap: 2px; padding: 4px 6px; }
}
/* The "More" dropdown must be collapsed on the first frame. app.html does not
   load public-header.css, and the drawer stylesheet that carries this rule only
   arrives deep in the body — until then the links painted across the header. */
.nav-secondary { display: none; }
.nav-more.open .nav-secondary { display: grid; gap: 4px; }
.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-trailing { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-chip {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-chip:hover { color: var(--text); border-color: var(--text); }
.nav-chip.term { display: none; }
@media (min-width: 900px) { .nav-chip.term { display: inline-block; } }


.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
}
.lang-toggle .lang-opt {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px;
  font: inherit;
  cursor: pointer;
  transition: color 0.15s;
  color: var(--muted);
}
@media (max-width: 760px), (pointer: coarse) {
  .lang-toggle { gap: 2px; padding: 4px 6px; }
  .lang-toggle .lang-opt {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 3px;
  }
}
.lang-toggle .lang-opt.active {
  color: var(--gold);
  font-weight: 600;
}
.lang-toggle .lang-divider {
  color: var(--faint);
  font-weight: 400;
}
.lang-toggle:hover .lang-opt:not(.active) {
  color: var(--text);
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 3px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.08s;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: var(--bg); border: 1px solid var(--text); }
.btn-primary:hover { filter: brightness(0.92); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 9px 14px; font-size: 10.5px; }
.btn .icon { width: 14px; height: 14px; }


@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.7s ease-out forwards;
}
.hero-animate:nth-child(1) { animation-delay: 0.05s; }
.hero-animate:nth-child(2) { animation-delay: 0.18s; }
.hero-animate:nth-child(3) { animation-delay: 0.30s; }
.hero-animate:nth-child(4) { animation-delay: 0.42s; }
.hero-animate:nth-child(5) { animation-delay: 0.54s; }




.hero {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding: 64px 0 80px; align-items: center;
}
@media (min-width: 640px) {
  .hero { grid-template-columns: 1.2fr 0.8fr; gap: 32px; padding: 72px 0 88px; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding: 96px 0 120px; }
}
.hero-text > * + * { margin-top: 24px; }
.hero-titles h1 { color: var(--text); }
.hero-titles .subline { color: var(--muted); }
.hero-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.125rem, 1.75vw, 1.5rem);
  color: var(--muted); line-height: 1.3; max-width: 520px;
}
.stat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  transition: color 0.15s, border-color 0.15s;
}
.stat-pill:hover { color: var(--text); border-color: var(--muted); }
.stat-pill .dot { width: 5px; height: 5px; background: var(--muted); border-radius: 999px; display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#home .hero-utility-actions{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:8px}
#home .hero-utility-actions .btn{min-height:44px}
@media(max-width:640px){#home .hero-utility-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}#home .hero-utility-actions .btn{min-width:0;padding-inline:9px;font-size:.75rem;white-space:normal;line-height:1.2}#home .hero-utility-actions .icon{display:none}}

.hero-image {
  position: relative; aspect-ratio: 420 / 520;
  overflow: hidden; border-radius: 2px;
}
.hero-image {
  background: transparent;
}
.hero-image picture { display: block; width: 100%; height: 100%; }
.hero-image img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(0.25) contrast(1.02);
}

#home .hero-image { perspective: 900px; }
html.a2-hero-tilt-ready #home .hero-image img { will-change: transform; transition: transform .18s ease-out; }

html:not(.light) #home .hero-image::before,
html:not(.light) #home .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
  -webkit-mask-image: url('/assets/a2ky9-hero-statue-cutout.f66d42e558aa3b04.webp');
  mask-image: url('/assets/a2ky9-hero-statue-cutout.f66d42e558aa3b04.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
html:not(.light) #home .hero-image::after {
  background: radial-gradient(240px circle at var(--a2-hero-mx, 50%) var(--a2-hero-my, 40%),
    rgba(233,217,168,.50),
    rgba(201,168,76,.32) 45%,
    transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
}
html:not(.light) #home .hero-image.is-a2-lit::after { opacity: 1; }
html:not(.light) #home .hero-image::before {
  background-image: linear-gradient(105deg,
    transparent 0%, transparent 44%,
    rgba(201,168,76,.40) 48%,
    rgba(233,217,168,.65) 50%,
    rgba(201,168,76,.40) 52%,
    transparent 56%, transparent 100%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: 120% 0;
}
html:not(.light) #home .hero-image.is-a2-shimmer::before {
  animation: a2HeroStatueShimmer 1.6s ease-out 1 both;
}
@keyframes a2HeroStatueShimmer {
  from { background-position: 120% 0; }
  to   { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-image::before,
  #home .hero-image::after { content: none; }
}
@media (max-width: 639px) {
  .hero-image {
    max-width: 280px;
    aspect-ratio: 280 / 340;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-showcase {
  width: 100%;
  max-width: 760px;
  margin: 8px auto clamp(56px, 7vw, 72px);
  text-align: center;
}
.hero-showcase-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-showcase-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.12;
  color: var(--text);
}
.hero-showcase-sub {
  max-width: 520px;
  margin: 12px auto 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-showcase-card {
  margin: 28px auto 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  animation: heroShowcaseIn .6s cubic-bezier(.22,.61,.36,1) both;
}
.hero-showcase-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold) 30%, var(--border));
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.7);
}
@keyframes heroShowcaseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-showcase-grid .hero-showcase-item {
  transition: opacity .22s ease, filter .22s ease;
}
.hero-showcase-grid:hover .hero-showcase-item {
  opacity: .4;
  filter: saturate(.6) brightness(.88);
}
.hero-showcase-grid:hover .hero-showcase-item:hover {
  opacity: 1;
  filter: saturate(1.15) brightness(1.06);
}
.hero-showcase-item .hero-showcase-value {
  transition: text-shadow .22s ease, color .22s ease;
}
.hero-showcase-grid:hover .hero-showcase-item:hover .hero-showcase-value {
  text-shadow:
    0 0 1px var(--gold),
    0 0 16px rgba(201,168,76,.40),
    0 0 30px rgba(201,168,76,.18);
}
.hero-showcase-grid:hover .hero-showcase-item:hover .hero-showcase-value.profit {
  text-shadow:
    0 0 1px var(--green),
    0 0 16px rgba(0,200,150,.42),
    0 0 30px rgba(0,200,150,.20);
}
.hero-showcase-grid:hover .hero-showcase-item:hover .hero-showcase-label {
  color: var(--gold);
}
.hero-showcase-shot {
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.hero-showcase-shot picture { display: block; }
.hero-showcase-shot-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}
.hero-showcase-grid:hover .hero-showcase-shot-item:hover .hero-showcase-shot {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--gold) 12%, transparent),
    0 0 26px color-mix(in srgb, var(--gold) 14%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .hero-showcase-card { animation: none; transition: none; }
  .hero-showcase-card:hover { transform: none; }
  .hero-showcase-grid .hero-showcase-item,
  .hero-showcase-item .hero-showcase-value,
  .hero-showcase-shot { transition: none; }
}
.hero-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.hero-showcase-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.hero-showcase-demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-showcase-sym { font-weight: 800; letter-spacing: 0.04em; }
.hero-showcase-sep { color: var(--muted); }
.hero-showcase-date { color: var(--muted); font-weight: 500; }
.hero-showcase-pnl {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero-showcase-pnl.profit { color: var(--green); }
.hero-showcase-pnl.loss { color: var(--red); }
.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  padding: 22px 26px;
}
.hero-showcase-label {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-showcase-value {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.hero-showcase-value.profit { color: var(--green); font-weight: 800; }
.hero-showcase-stars { color: var(--gold); letter-spacing: 2px; }
.hero-showcase-item.wide { grid-column: 1 / -1; }
.hero-showcase-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.hero-showcase-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .hero-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .hero-showcase-grid { grid-template-columns: 1fr; padding: 20px 18px; }
  .hero-showcase-head { padding: 16px 18px; }
}


.about-section {
  max-width: 760px;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.about-col h2 {
  margin-bottom: 20px; color: var(--text);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400; font-style: normal;
}
.about-col p { color: var(--muted); line-height: 1.75; font-size: 0.95rem; }


.timeline { padding: 80px 0; border-top: 1px solid var(--border); }
.timeline-heading { margin-bottom: 48px; }
.timeline-list {
  position: relative; display: flex; flex-direction: column; gap: 40px;
  padding-left: 28px; max-width: 780px;
}
.timeline-list::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 1px; background: var(--border);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 8px;
  width: 13px; height: 13px;
  border: 1px solid var(--muted);
  background: var(--bg); border-radius: 999px;
}
.timeline-item.current::before { border-color: var(--text); background: var(--text); }
.timeline-date {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--serif); font-size: 1.375rem; color: var(--text);
  font-weight: 400; line-height: 1.25; margin-bottom: 8px;
}
.timeline-desc { color: var(--muted); line-height: 1.65; font-size: 0.9375rem; max-width: 620px; }


.stats-row {
  display: grid; gap: 1px; background: var(--border);
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border); margin-top: 40px;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-box {
  background: var(--bg); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 150px; justify-content: space-between;
}
.stat-value {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--text); line-height: 1;
}
.stat-label {
  font-family: var(--sans); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}


.community-section {
  padding: 96px 0 40px;
}
.community-header { margin-bottom: 48px; max-width: 720px; }

.community-feed {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 780px;
}

.chat-msg {
  display: flex; gap: 14px; align-items: flex-start;
}
.chat-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0;
}
.chat-bubble {
  flex: 1; min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 18px;
}
.chat-meta {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.chat-user {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
}
.chat-badge {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 5px;
  border-radius: 2px;
  font-weight: 500;
}
.chat-time {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.chat-body {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.community-cta {
  margin-top: 48px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.community-note {
  font-family: var(--serif); font-style: normal;
  color: var(--muted); font-size: 0.95rem;
}


.edu-header { margin-bottom: 64px; max-width: 720px; }
.edu-header h1 { margin-bottom: 16px; }

.edu-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 80px;
}
@media (min-width: 768px) { .edu-grid { grid-template-columns: 1fr 1fr; } }

.edu-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 0;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.edu-card:hover { border-color: var(--muted); }
.edu-card > :not(.edu-thumb) { margin-left: 28px; margin-right: 28px; }
.edu-card > .edu-card-zh { margin-top: 24px; }
.edu-card > .edu-card-link { margin-bottom: 28px; }
.edu-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 20px;
}
.edu-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.25s, transform 0.4s;
}
.edu-thumb:hover img { filter: brightness(1); transform: scale(1.03); }
.edu-thumb-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--overlay-bg);
  border: 1px solid var(--text);
  border-radius: 50%;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.edu-thumb:hover .edu-thumb-play {
  background: var(--text);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.05);
}
.edu-card-zh { font-family: var(--serif); font-size: 1.375rem; color: var(--text); font-weight: 400; line-height: 1.2; margin-bottom: 0; }
.edu-card-en { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; margin-top: 6px; }
.edu-card-body { color: var(--muted); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-top: 10px; }
.edu-card-link {
  margin-top: 12px; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--text); border-top: 1px solid var(--border);
  transition: color 0.15s; width: fit-content;
}
.edu-card-link:hover { color: var(--muted); }
.edu-card-link .icon { width: 14px; height: 14px; }
.edu-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}


.featured-videos {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
}
@media (min-width: 900px) { .featured-videos { grid-template-columns: 1fr 1fr; gap: 28px; } }
.video-embed {
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
.video-embed:hover { opacity: 0.95; }
.video-embed:hover .video-embed-play {
  background: var(--text);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-embed:hover .video-embed-frame img {
  transform: scale(1.02);
  filter: brightness(1);
}
.video-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.video-embed-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s, transform 0.5s;
}
.video-embed-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: var(--overlay-bg);
  border: 1.5px solid var(--text);
  border-radius: 50%;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  padding-left: 4px;
  transition: background 0.2s, transform 0.25s, color 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.video-embed-meta { display: flex; flex-direction: column; gap: 6px; }
.video-embed-title {
  font-family: var(--serif); font-size: 1.5rem; color: var(--text);
  font-weight: 400; line-height: 1.2;
}
.video-embed-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }



.promos-section h2 { margin-bottom: 20px; }
.promo-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px)  { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.promo-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
  transition: border-color 0.2s;
}
.promo-disc {
  display: inline-flex; align-items: center;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  background: rgba(201,168,76,0.12); color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  width: fit-content;
}
.promo-disc.green {
  background: rgba(0,200,150,0.1); color: var(--green);
  border-color: rgba(0,200,150,0.3);
}
.promo-disc.muted {
  background: rgba(146,143,137,0.1); color: var(--muted);
  border-color: rgba(146,143,137,0.25);
}
.promo-disc.danger {
  background: rgba(242,78,78,0.1); color: var(--red);
  border-color: rgba(242,78,78,0.28);
}
.promo-card:hover { border-color: var(--muted); }
.promo-name { font-family: var(--serif); font-size: 1.25rem; color: var(--text); font-weight: 400; line-height: 1.15; }
.promo-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.promo-label { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.promo-code  { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold); white-space: nowrap; }
.promo-code-block { display: flex; flex-direction: column; gap: 4px; }
.promo-code-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.promo-copy-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:32px; padding:6px 10px; border-radius:10px; border:1px solid var(--border); background:var(--surface); color:var(--text); font-family:var(--sans); font-size:12px; font-weight:600; cursor:pointer; transition:transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease; }
.promo-copy-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.promo-copy-btn:active { transform: translateY(0); }
.promo-copy-btn.is-copied { background: rgba(0,200,150,.10); border-color: rgba(0,200,150,.45); color: var(--green); }
.promo-copy-btn .copy-icon { font-size:13px; line-height:1; }
.promo-note {
  font-family: var(--serif);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.promo-cta {
  margin-top: auto;
  width: 100%;
}



input[type=text], input[type=number], input[type=date],
input[type=email], input[type=password], input[type=file], select, textarea {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 11px 13px; font-family: var(--sans); font-size: 0.9rem;
  transition: border-color 0.15s; width: 100%;
  font-variant-numeric: tabular-nums;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--text); }
input[readonly] { color: var(--muted); background: var(--bg); cursor: not-allowed; }
input[readonly].gold-code { color: var(--gold); font-weight: 500; letter-spacing: 0.08em; }


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
  background-color: var(--surface) !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}


input[readonly]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
  background-color: var(--bg) !important;
  -webkit-text-fill-color: var(--muted) !important;
}
input[readonly].gold-code:-webkit-autofill {
  -webkit-text-fill-color: var(--gold) !important;
}
select {
  appearance: none; -webkit-appearance: none;
  background-image:
    linear-gradient(45deg,  transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
input[type=file] { padding: 9px 13px; font-size: 0.85rem; }

input[type="time"] { color-scheme: dark; }


.nav-trailing { position: relative; }




body:is(.nav-open,:has(#pause-modal:not([hidden]))) :is(#a2-v199-quick-dock,#a2-safe-sync-badge,#a2-v314g-launch) { visibility:hidden!important; opacity:0!important; pointer-events:none!important; }
@keyframes a2-pause-pulse { 0%,100%{transform:scale(1)}50%{transform:scale(1.35)} }


footer { border-top: 1px solid var(--border); padding: 48px 0 40px; margin-top: 80px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--text); font-weight: 400; margin-bottom: 8px; }
.footer-quote { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.45; max-width: 520px; }
.footer-copy { font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; margin-top: 16px; }
.footer-social { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 768px) { .footer-social { align-items: flex-end; } }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); border: 1px solid var(--border); border-radius: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.social-link:hover { color: var(--text); border-color: var(--muted); }
.social-link .icon { width: 16px; height: 16px; }


[hidden] { display: none !important; }



footer .footer-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
footer .footer-link{color:var(--muted,rgba(235,226,210,.68));font-family:var(--sans,Inter);font-size:13px;text-decoration:none;transition:color .18s ease}
footer .footer-link:hover,footer .footer-link:focus-visible{color:var(--gold,#c9a84c);text-decoration:underline}
footer .footer-link-sep{color:var(--muted,rgba(235,226,210,.4));font-size:13px}
html.light footer .footer-link,html[data-theme="light"] footer .footer-link,body.light footer .footer-link{color:rgba(35,28,20,.6)}
