@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f3f5f1;
  --surface: #fffefa;
  --ink: #20231f;
  --muted: #687068;
  --line: #e1e6df;
  --accent: #236b4c;
  --accent-soft: #e6efe7;
  --deep-green: #203c32;
  --deeper-green: #172d25;
  --on-green: #f6f8f4;
  --on-green-muted: #c6d5c9;
  --highlight: #d5ebbb;
  --background-dot: #5f806812;
  --spotlight-wash: #fbfff8b3;
  --spotlight-dot: #63856880;
  /* Match forum/src/styles/base.css. */
  --card-radius: 2px;
  --control-radius: .5px;
  --shadow-card: 0 1px 2px rgb(20 32 24 / .04), 0 12px 32px rgb(20 32 24 / .05);
  --gutter: clamp(16px, 4vw, 48px);
  --header-height: 72px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--paper); }
/* Match annual's fine dot texture and pointer spotlight, below opaque sections. */
.home-dotted-background { position: relative; isolation: isolate; background-color: var(--paper); background-image: radial-gradient(var(--background-dot) .6px, transparent .8px); background-size: 5px 5px; background-attachment: fixed; }
.home-dotted-background::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--spotlight-wash); background-image: radial-gradient(var(--spotlight-dot) .7px, transparent 1px); background-size: 5px 5px; background-attachment: fixed; -webkit-mask-image: radial-gradient(circle clamp(180px, 26vw, 360px) at var(--spotlight-x, 50%) var(--spotlight-y, 30%), #000 0%, #0009 42%, transparent 100%); mask-image: radial-gradient(circle clamp(180px, 26vw, 360px) at var(--spotlight-x, 50%) var(--spotlight-y, 30%), #000 0%, #0009 42%, transparent 100%); opacity: 0; transition: opacity 240ms ease; }
.home-dotted-background.is-spotlight-active::before { opacity: 1; }
.home-dotted-dark { --background-dot: #b8d7bd26; --spotlight-wash: #b6dca814; --spotlight-dot: #d6edbd99; background-color: var(--deep-green); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .55; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p, dl, dd { margin: 0; }
button, fieldset { border: 0; }
fieldset { padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page-width { width: min(100%, 1216px); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 16px; padding: 14px 20px; color: white; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--deep-green); color: var(--on-green); box-shadow: 0 1px 0 #ffffff14; }
.site-header :focus-visible, .hero :focus-visible, .annual :focus-visible, .site-footer :focus-visible { outline-color: var(--highlight); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 0; }
.brand img { object-fit: contain; flex-shrink: 0; }
.brand-name { font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; color: var(--on-green-muted); border-radius: var(--control-radius); white-space: nowrap; }
.site-nav a:hover { color: #fff; background: #ffffff12; }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; font-size: 14px; }
.forum-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--control-radius); color: var(--deep-green); background: #e0eddb; font-weight: 500; white-space: nowrap; }
.forum-link:hover { background: #f0f6ec; }
.header-actions .home-session { gap: 16px; color: var(--on-green-muted); }
.header-actions .home-session a:hover, .header-actions .home-session button:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.header-actions .home-session-name { max-width: 120px; }
.header-actions .home-session-error { max-width: 170px; color: #ffbcb1; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: var(--control-radius); font-size: 15px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.button-primary { color: var(--deep-green); background: var(--highlight); }
.button-primary:hover { background: #ecf7df; }
.button-ghost { color: var(--on-green); border: 1px solid #ffffff8c; }
.button-ghost:hover { background: #ffffff1f; border-color: #fff; }

/* Hero */
.hero { position: relative; height: clamp(440px, calc(100svh - var(--header-height)), 780px); overflow: hidden; background: var(--deeper-green); color: var(--on-green); }
.hero-slides, .promotion-slide { position: absolute; inset: 0; }
.promotion-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.promotion-slide:not([hidden]) img { animation: hero-fade .9s ease both; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.hero-slides { cursor: zoom-in; }
.hero.is-full .hero-slides { cursor: zoom-out; }
.hero.is-full .promotion-slide img { object-fit: contain; animation: none; }
.hero.is-full .hero-slides { bottom: 68px; }
.hero::after, .hero-content { transition: opacity .3s ease, visibility .3s; }
.hero.is-full::after, .hero.is-full .hero-content { opacity: 0; visibility: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #0c1a14e6 0%, #0c1a1499 30%, #0c1a1426 62%, #0c1a1400 80%), linear-gradient(to right, #0c1a1466, #0c1a1400 60%); }
.image-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--on-green-muted); font-size: 14px; }
.promotion-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--on-green-muted); background: var(--deep-green); font-size: 14px; }
.hero-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 104px; pointer-events: none; }
.hero-actions a { pointer-events: auto; }
.hero-title { display: flex; flex-direction: column; gap: .15em; font-size: clamp(30px, 5vw, 60px); font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-shadow: 0 2px 24px #0c1a1466; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-bar { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 12px; border-top: 1px solid #ffffff21; }
.promotion-caption { min-width: 0; font-size: 13px; line-height: 1.6; color: var(--on-green-muted); overflow-wrap: anywhere; }
.promotion-caption:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.promotion-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px; flex-shrink: 0; }
.promotion-controls { display: flex; align-items: center; gap: 4px; }
.promotion-count { font-variant-numeric: tabular-nums; color: var(--on-green-muted); font-size: 12px; min-width: 50px; text-align: center; }
.promotion-count > span:first-child { color: var(--on-green); }
.promotion-full { width: 40px; height: 44px; padding: 0; background: transparent; font-size: 20px; border-radius: var(--control-radius); }
.promotion-full:hover, .promotion-full[aria-pressed="true"] { background: #ffffff1f; }
.promotion-controls button { background: transparent; width: 40px; height: 44px; padding: 0; font-size: 20px; border-radius: var(--control-radius); }
.promotion-controls button:hover { background: #ffffff1f; }
.promotion-controls [data-image-autoplay] { font-size: 15px; }
.promotion-manage { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--on-green-muted); }
.hero .text-button { color: var(--on-green-muted); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { padding-top: clamp(16px, 3vw, 40px); }
.section.annual, .section.annual + .section { padding-top: clamp(56px, 8vw, 96px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 32px; }
h2 { position: relative; padding-top: 18px; font-size: 28px; font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
h2::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; background: var(--accent); }
.section-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--accent); }
.text-link:hover, .promotion-manage:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.section-status { color: var(--muted); font-size: 14px; line-height: 1.7; padding-top: 16px; }
.text-button { background: transparent; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; padding: 0 2px; font-size: 13px; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-card { display: flex; flex-direction: column; min-width: 0; padding: 32px 30px 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-card); }
.about-index { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.about-card h3 { margin: 10px 0 16px; font-size: 21px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }
.about-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; color: #4b564e; font-size: 15px; line-height: 1.9; text-align: justify; }
.about-card p strong { font-weight: 500; color: var(--ink); }
.about-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* Annual */
.annual { color: var(--on-green); }
.annual h2::before { background: var(--highlight); }
.annual-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.annual-cover { display: block; width: clamp(150px, 18vw, 220px); transform: rotate(-2deg); transition: transform .3s ease; }
.annual-cover:hover { transform: rotate(0); }
.annual-cover img { width: 100%; height: auto; aspect-ratio: 2490 / 3375; object-fit: cover; background: #2b493c; box-shadow: 0 2px 6px #0003, 0 24px 48px #0c1a1480; }
.annual-text h3 { margin-top: 22px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
.annual-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.video-link { display: block; min-width: 0; }
.video-link:first-child { grid-column: span 2; grid-row: span 2; }
.video-cover { display: grid; place-items: center; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--card-radius); background: linear-gradient(135deg, #2f5546, var(--deep-green)); }
.video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-link:hover .video-cover img { transform: scale(1.04); }
.video-play { display: grid; place-items: center; position: relative; width: 42px; height: 42px; padding-left: 2px; border-radius: 50%; background: #fffef2eb; color: var(--accent); font-size: 16px; box-shadow: 0 1px 8px #182d221a; transition: transform .2s; }
.video-link:first-child .video-play { width: 64px; height: 64px; font-size: 22px; }
.video-link:hover .video-play { transform: scale(1.1); }
.video-caption { padding-top: 14px; }
.video-caption h3 { font-size: 15px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.video-link:first-child .video-caption h3 { font-size: 19px; font-weight: 600; }
.video-link:hover .video-caption h3 { color: var(--accent); }

/* Contact */
.contact-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 48px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-card); }
.contact-card > .section-status, .contact-card > .text-button { grid-column: 1 / -1; justify-self: start; }
.contact-table > div { display: grid; grid-template-columns: minmax(84px, 7.5em) minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.contact-table > div:first-child { padding-top: 0; }
.contact-table > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-table dt { color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-table dd { color: var(--ink); font-size: 15px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.contact-notes { align-self: start; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); color: #3d4a41; font-size: 15px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Sponsor and footer */
.sponsor-strip { display: flex; justify-content: center; padding: 36px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
.sponsor-strip img { width: 200px; height: auto; }
.site-footer { padding-block: 44px 28px; background: var(--deeper-green); color: var(--on-green-muted); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--on-green); font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.footer-qr-list { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-qr { display: grid; justify-items: center; gap: 8px; font-size: 12px; }
.footer-qr img { width: 96px; height: 96px; padding: 5px; object-fit: contain; background: #fff; border-radius: var(--card-radius); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; border-top: 1px solid #ffffff1a; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; font-size: 12px; }

/* Full introduction page */
.intro-main { padding-block: clamp(40px, 6vw, 72px); }
.intro-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; align-items: start; }
.intro-toc { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 2px; border-left: 1px solid var(--line); }
.intro-toc a { display: flex; align-items: center; min-height: 44px; padding-left: 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 15px; }
.intro-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.intro-articles { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); box-shadow: var(--shadow-card); }
.about-panel { max-width: 780px; margin-inline: auto; font-size: 16px; line-height: 1.95; color: #445048; overflow-wrap: break-word; }
.about-panel + .about-panel { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 48px; }
.about-panel h3 { color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.5; letter-spacing: .025em; margin-bottom: 24px; }
.about-panel h4 { border-left: 3px solid var(--accent); padding-left: 14px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.7; margin-bottom: 20px; }
.about-panel h5 { color: var(--accent); font-size: 16px; font-weight: 600; line-height: 1.7; margin: 24px 0 12px; }
.about-panel strong { font-weight: 600; color: var(--ink); }
.about-panel p { margin-bottom: 1.15em; text-indent: 2em; text-align: justify; }
.about-panel p:last-child { margin-bottom: 0; }
.about-panel .about-lead { color: var(--ink); text-indent: 0; font-size: 17px; line-height: 1.95; margin-bottom: 26px; }
.about-panel .about-highlight { padding: 18px 22px; margin-block: 26px; border-left: 3px solid var(--accent); background: #f0f6f1; text-indent: 0; }
.about-topic { margin-top: 32px; }
.about-topic + .about-topic { padding-top: 28px; border-top: 1px solid var(--line); }
.about-panel ul, .about-panel ol { padding-left: 1.5em; margin: 18px 0 24px; }
.about-panel li { padding-left: 4px; margin-block: 12px; }
.about-panel li::marker { color: var(--accent); }
.about-panel .about-milestones { margin-left: 2em; padding-left: 1.25em; font-size: 15px; }
.about-panel .about-training li { margin-block: 16px; }
.about-panel .about-group { text-indent: 0; }
.about-group > strong:first-child { color: var(--accent); }

/* Login dialog */
.login-dialog { width: min(440px, calc(100% - 32px)); border: 0; border-radius: var(--card-radius); padding: 38px; color: var(--ink); background: var(--surface); max-height: calc(100dvh - 32px); overflow-y: auto; }
.login-dialog::backdrop { background: #14282099; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; background: transparent; font-size: 30px; }
.login-dialog h2 { margin: 10px 0 30px; }
.login-dialog label { display: block; font-size: 14px; margin-bottom: 9px; }
.login-dialog input { width: 100%; padding: 13px; margin-bottom: 22px; border: 1px solid #a8b6ad; border-radius: var(--control-radius); background: white; color: var(--ink); }
.login-submit { display: flex; justify-content: space-between; width: 100%; padding: 16px 20px; color: white; background: var(--accent); border-radius: var(--control-radius); }
.login-error { color: #9c3325; margin-bottom: 20px; line-height: 1.5; font-size: 14px; }
.login-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 13px; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card p { -webkit-line-clamp: 5; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-link:first-child { grid-row: auto; }
  .intro-layout { grid-template-columns: 1fr; gap: 20px; }
  .intro-toc { position: static; display: flex; border-left: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .intro-toc a { padding: 0 16px; margin: 0 0 -1px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .intro-toc a:hover { border-bottom-color: var(--accent); }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .brand { flex: 1; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .header-actions { gap: 14px; }
  .forum-link { display: none; }
  .header-actions .home-session-name { max-width: 30vw; }
  .site-nav { order: 3; flex-basis: 100%; margin-inline: -14px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 760px) {
  .hero { height: clamp(420px, 78svh, 620px); }
  .hero-content { bottom: 96px; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 44px; padding: 10px 22px; font-size: 14px; }
  .hero.is-full .hero-slides { bottom: 60px; }
  .hero-bar { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-block: 8px; }
  .promotion-caption { font-size: 12px; }
  .promotion-actions { margin-left: auto; }
  .promotion-count { min-width: 42px; }
  h2 { font-size: 23px; }
  .section-heading { margin-bottom: 22px; }
  .about-card { padding: 24px 20px 16px; }
  .annual-inner { grid-template-columns: 1fr; justify-items: start; }
  .annual-cover { width: 150px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-qr-list { gap: 14px; }
  .footer-qr img { width: 84px; height: 84px; }
  .footer-meta { flex-direction: column; }
  .about-panel { font-size: 15px; }
  .about-panel h3 { font-size: 20px; }
  .about-panel .about-lead { font-size: 16px; }
  .about-panel .about-highlight { padding: 16px; }
  .about-panel .about-milestones { margin-left: 0; }
  .about-panel h4 { font-size: 16px; }
}
@media (max-width: 520px) {
  .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-link:first-child { grid-column: auto; }
  .video-link:not(:first-child) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
  .video-link:not(:first-child) .video-caption { padding-top: 0; }
  .video-link:not(:first-child) .video-play { width: 32px; height: 32px; font-size: 12px; }
  .contact-table > div { grid-template-columns: 1fr; gap: 2px; }
  .login-dialog { padding: 28px; }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .home-dotted-background::before { display: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
