/* Blue-hour Changsha: supplied key visual, electric track lines, editorial cards.
   Frontend only: admin styles, authentication and personal data stay untouched. */
:root {
  --forest-950:#041b40; --forest-900:#092d61; --forest-800:#104780;
  --forest-700:#145ca5; --forest-600:#1a66bc;
  --mint-100:#eaf3ff; --mint-200:#d8eaff; --mint-300:#b7d7fa;
  --lime:#64e2ff; --lime-soft:#d7f6ff;
  --orange:#aa631b; --orange-soft:#fff1dc;
  --blue:#176bce; --blue-soft:#e8f2ff;
  --ink:#102a4c; --muted:#5b6f89; --line:#d8e4f2;
  --surface:#fff; --surface-2:#f3f7fd; --background:#edf3fb;
  --surface-soft:var(--surface-2); --text:var(--ink); --border:var(--line);
  --shadow-sm:0 5px 20px #173f7010; --shadow-lg:0 24px 80px #071d4630;
  --overlay:#02132dbc; --radius:18px; --event-gold:#f7ca7a;
  --event-cyan:#74e5ff; --event-blue:#0b53b1; --event-dark:#061e43;
}
:root[data-theme="dark"] {
  --forest-950:#04142f; --forest-900:#0b2d61; --forest-800:#8bc2ff;
  --forest-700:#93c7ff; --forest-600:#8ebeff;
  --mint-100:#102d50; --mint-200:#183c66; --mint-300:#28527c;
  --lime:#78e7ff; --lime-soft:#123c57;
  --ink:#f0f6ff; --muted:#a3b5ce; --line:#233d5e;
  --surface:#102846; --surface-2:#0b203c; --background:#071a33;
  --orange:#f1c078; --orange-soft:#392f25;
  --blue:#8bbfff; --blue-soft:#132f50;
  --shadow-sm:0 6px 22px #00000020; --shadow-lg:0 24px 80px #00000050;
}
html { background:var(--background); }
body { background:radial-gradient(ellipse at 15% 5%,#178ee822,transparent 45%),radial-gradient(ellipse at 90% 65%,#d69c3820,transparent 48%),var(--background); }
.desktop-toolbar { max-width:980px; border-radius:14px; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; }
.connection-badge.online { color:var(--forest-700); }
.phone-shell { width:min(480px,100vw); border-color:var(--line); border-radius:26px; }
.mini-header { color:#fff; background:#082753; border-bottom:1px solid #7cb9fa24; }
.header-copy strong { font-size:16px; letter-spacing:.035em; }
.header-copy span { color:#acc7e7; font-size:12px; }
.header-more { color:#aeddff; }
.tabbar { background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -5px 24px #03254b09; }
.tab-item { color:var(--muted); font-size:12px; gap:4px; }
.tab-item.active { color:var(--forest-700); }
:root[data-theme="dark"] .tab-item.active { color:var(--event-cyan); }
.tab-item.active::after { width:18px; height:3px; bottom:5px; border-radius:8px; background:currentColor; }
.tab-item svg { width:22px; height:22px; }
.chamber-tab .chamber-tab-logo { box-shadow:0 3px 12px #12376720; }
.content { padding:20px 18px; }
.section { margin-bottom:26px; }
.section-head { margin:0 0 14px; gap:10px; }
.section-head h2 { font-size:20px; letter-spacing:-.04em; line-height:1.4; }
.section-head button,.section-head a { color:var(--forest-700); font-size:13px; white-space:nowrap; }
.section-head h2 small { display:block; margin-bottom:3px; font-size:11px; letter-spacing:.15em; color:var(--muted); font-weight:500; }
.card { box-shadow:var(--shadow-sm); }
.button { font-size:14px; min-height:46px; border-radius:12px; }
.button.primary { background:linear-gradient(125deg,#89ecff,#4bcbff); color:#072c50; box-shadow:0 5px 16px #13a3d420; }
.button.secondary { color:var(--forest-700); }
.page-intro { padding:24px 20px 12px; }
.page-intro h1 { font-size:28px; letter-spacing:-.045em; margin:8px 0; }
.page-intro p { font-size:14px; line-height:1.8; }
.eyebrow { color:var(--forest-700); letter-spacing:.15em; font-size:11px; }
.field label { font-size:15px; }
.input,.select,.textarea { font-size:16px; border-color:var(--line); background:var(--surface-2); border-radius:12px; }
.input:focus,.select:focus,.textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px #43a2f521; }
.account-purpose { background:var(--surface-2); color:var(--ink); border-color:var(--line); font-size:14px; }
.auth-panel-switch button { font-size:14px; }
.auth-panel-switch button.active { color:#082c57; background:var(--lime); }
.auth-privacy-note { font-size:13px; line-height:1.8; }
.choice input { accent-color:#176bce; }
.account-privacy-dialog { color:var(--ink); background:var(--surface); }
.account-privacy-dialog::backdrop { background:var(--overlay); }
.timeline-item { padding-top:14px; padding-bottom:22px; }
.timeline-time { color:var(--forest-700); font-size:15px; font-variant-numeric:tabular-nums; }
.timeline-title { font-size:17px; line-height:1.65; }
.timeline-meta { font-size:13px; line-height:1.8; }
.service-card strong,.notice-copy strong,.resource-card strong { font-size:16px; line-height:1.55; }
.service-card p,.notice-copy p,.resource-card p { font-size:14px; line-height:1.7; }
.guide-card small { font-size:13px; line-height:1.75; }
.guide-card { gap:12px; }
.guide-card .button { min-width:48px; padding-inline:8px; }
.empty-state { font-size:14px; line-height:1.8; }
.status-badge,.team-tag { font-size:12px; }
.ees-dialog::backdrop,.ees-dialog.ees-fallback { background:#02122fc2; }
.ees-dialog :focus-visible { outline-color:#308fe7; }
.toast { background:#123764f5; font-size:14px; }
.chamber-hero { background:radial-gradient(ellipse at 80% 0,#1d85d9,transparent 65%),linear-gradient(145deg,#061d44,#134d80); }
.chamber-hero p { font-size:14px; color:#c5dbf2; }
.chamber-hero .eyebrow { color:#a3cfee; font-size:11px; }
.chamber-hero h1 { font-size:26px; }
.detail-block p { font-size:15px; line-height:1.85; }
.detail-block h2 { font-size:18px; }
.modal > p { font-size:14px; line-height:1.8; }
.splash-screen { color:#fff; background:radial-gradient(ellipse at 30% 85%,#147bc5,transparent 60%),#071f49; }
.splash-skip { color:#c7e6ff; }
.splash-screen > p { font-size:13px; color:#bad5ec; }
.splash-orbit { border-top-color:#79dfff; }
.splash-progress { background:#ffffff25; }
.splash-progress i { background:var(--event-gold); }
.splash-progress i { animation-duration:1.1s; }

/* The key visual stays intact, with light trails confined to a separate strip. */
.event-hero { isolation:isolate; border:0; box-shadow:none; background:#092953; }
.event-hero .hero-visual { width:100%; aspect-ratio:16/9; object-fit:contain; height:auto; background:#074b9c; }
.event-hero .hero-details { padding:20px 20px 22px; background:linear-gradient(115deg,#082852,#08336a); border:0; position:relative; }
.event-hero .hero-details::after { content:""; position:absolute; inset:auto 20px 0; height:1px; background:linear-gradient(90deg,#69dcff99,#85c6ff22,transparent); }
.event-edition { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:10px; color:#b5d5f5; font-size:11px; letter-spacing:.13em; }
.event-edition > span:first-child { display:inline-flex; align-items:center; gap:7px; }
.edition-dot { width:5px; height:5px; background:#87eaff; box-shadow:0 0 10px #5ad4ff; border-radius:50%; }
.event-date { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin:0; color:#fff; font-size:clamp(30px,8.2vw,42px); font-weight:800; letter-spacing:-.055em; line-height:1.25; font-variant-numeric:tabular-nums; }
.event-date .event-year { color:#8dc9ff; font-size:14px; font-weight:500; letter-spacing:.03em; margin-right:1px; }
.event-date .date-dash { color:#72b8e4; font-weight:300; }
.event-location { margin:9px 0 0; display:flex; align-items:center; justify-content:space-between; gap:10px; color:#c0d5ea; font-size:13px; }
.event-location span { display:inline-flex; align-items:center; gap:6px; }
.event-location svg { width:14px; height:14px; }
.event-date-note { margin:5px 0 0; color:#a6c2e2; font-size:11px; line-height:1.5; }
.event-location > a { display:flex; align-items:center; gap:4px; color:var(--event-gold); min-height:30px; }
.event-tracks { position:relative; height:10px; overflow:hidden; background:#082953; pointer-events:none; }
.event-tracks i { position:absolute; width:38%; height:1px; top:4px; left:-40%; background:linear-gradient(90deg,transparent,#8ce9ff,transparent); transform:translateX(0); opacity:.7; }
.event-tracks i:nth-child(2) { top:8px; width:55%; background:linear-gradient(90deg,transparent,#efc984,transparent); }
.event-tracks i:nth-child(3) { top:1px; width:24%; }
.home-content { padding:18px 18px 24px; }
.home-content > .section { margin-bottom:26px; }
.event-primary-links { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:10px; margin:0 0 22px; }
.event-primary-link { min-height:94px; padding:16px; position:relative; text-align:left; border:1px solid var(--line); border-radius:16px; background:var(--surface); display:flex; flex-direction:column; align-items:flex-start; color:var(--ink); overflow:hidden; }
.event-primary-link.is-featured { color:#fff; background:linear-gradient(125deg,#1059b3,#0b3c7e); border-color:#155db2; }
.event-primary-link .entry-icon { position:absolute; right:12px; bottom:14px; color:#4ab4ff; width:29px; height:29px; background:transparent; border-radius:0; opacity:.8; }
.event-primary-link:not(.is-featured) .entry-icon { color:var(--forest-700); }
.event-primary-link strong { font-size:19px; line-height:1.5; position:relative; }
.event-primary-link small { font-size:12px; margin-top:5px; color:var(--muted); }
.event-primary-link small { padding-right:22px; line-height:1.65; }
.event-primary-link.is-featured small { color:#c3def5; }
.event-primary-link.is-featured::before { content:""; position:absolute; width:100px; height:100px; border:1px solid #5ab9ff55; border-radius:50%; right:-38px; top:-45px; box-shadow:0 0 0 14px #5ab9ff0b,0 0 0 28px #5ab9ff08; }
.event-quick-label { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:13px; }
.event-quick-label h2 { font-size:15px; margin:0; font-weight:600; }
.event-quick-label > span { font-size:11px; color:var(--muted); letter-spacing:.13em; }
.event-service-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px 8px; }
.event-service-grid .service-entry { gap:8px; padding:0; min-height:76px; border:0; background:none; }
.event-service-grid .entry-icon { width:44px; height:44px; border-radius:14px; background:var(--surface); border:1px solid var(--line); color:var(--forest-700); box-shadow:0 3px 10px #14396606; }
.event-service-grid .entry-icon svg { width:22px; height:22px; }
.event-service-grid .service-entry > span:last-child { font-size:13px; color:var(--ink); }
.home-content .campaign-section { margin-top:8px; }
.event-film { min-height:130px; padding:18px; grid-template-columns:66px minmax(0,1fr) 16px; gap:14px; border:0; color:white; border-radius:18px; background:linear-gradient(90deg,#051b3beb,#062b54b8),url('/assets/event-key-visual-20260908.jpg') center 73%/cover; position:relative; box-shadow:0 10px 25px #06316825; }
.event-film::after { content:""; position:absolute; inset:0; border:1px solid #93d9ff2c; border-radius:inherit; pointer-events:none; }
.event-film .campaign-cover { width:58px; aspect-ratio:1; border:1px solid #9bdcff88; border-radius:50%; background:#81dfff0d; box-shadow:0 0 0 7px #75c5ff09; }
.event-film .campaign-cover svg { width:28px; height:28px; padding:6px; background:none; filter:none; border:0; }
.event-film .campaign-copy > small { display:block; margin-bottom:6px; color:#a6d5ec; font-size:11px; letter-spacing:.16em; }
.event-film .campaign-copy strong { font-size:20px; line-height:1.5; }
.event-film .campaign-copy span { color:#ccdeef; font-size:12px; margin-top:6px; }
.event-film .chevron { color:#c2e6ff; }
.event-film .film-duration { color:var(--event-gold); padding-right:7px; font-variant-numeric:tabular-nums; }
.event-empty-copy { margin:0; font-size:14px; line-height:1.8; color:var(--muted); }
.event-notice { width:100%; padding:16px; display:grid; grid-template-columns:33px minmax(0,1fr) 12px; gap:10px; background:var(--surface); border-radius:16px; text-align:left; }
.event-notice .notice-icon { width:30px; height:30px; color:var(--forest-700); background:var(--mint-100); }
.event-notice .notice-copy strong { font-size:15px; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.event-notice .notice-copy p { font-size:13px; margin:5px 0 0; line-height:1.65; }
.event-notice .notice-label { font-size:10px; color:var(--forest-700); letter-spacing:.08em; margin-bottom:5px; display:block; }
.event-challenge-section { position:relative; padding:20px; background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.event-challenge-section .section-head { align-items:flex-start; margin:0 0 17px; }
.event-challenge-section h2 { font-size:22px; }
.event-challenge-stat { display:flex; align-items:baseline; color:var(--forest-700); gap:4px; flex-shrink:0; }
.event-challenge-stat b { font-size:36px; line-height:1; font-weight:300; letter-spacing:-.06em; }
.event-challenge-stat small { font-size:12px; }
.event-checkpoints { display:flex; align-items:center; margin:12px 0 22px; gap:0; position:relative; }
.event-checkpoints span { display:flex; align-items:center; gap:8px; flex:1; font-size:10px; color:var(--muted); }
.event-checkpoints span::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--forest-700); box-shadow:0 0 0 4px var(--mint-100); }
.event-checkpoints span:not(:last-child)::after { content:""; height:1px; background:var(--line); flex:1; margin:0 12px 0 0; }
.event-checkpoints span:last-child { flex:0; }
.event-challenges { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.event-challenge { display:block; min-width:0; border-radius:12px; border:1px solid var(--line); overflow:hidden; background:var(--surface-2); }
.event-challenge figure { margin:0; position:relative; aspect-ratio:1.55; overflow:hidden; background:var(--mint-100); }
.event-challenge img { width:100%; height:100%; object-fit:cover; display:block; }
.event-challenge figure::after { content:""; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,#04152c55); pointer-events:none; }
.event-challenge figure > span { position:absolute; left:8px; top:8px; min-width:24px; height:22px; display:grid; place-items:center; color:#fff; background:#092b57e8; border-radius:5px; font-size:11px; font-variant-numeric:tabular-nums; }
.event-challenge-copy { padding:11px; }
.event-challenge-copy strong { display:block; font-size:15px; line-height:1.4; }
.event-challenge-copy small { display:block; font-size:11px; color:var(--muted); line-height:1.7; margin-top:4px; }
.event-challenge-section > p { font-size:12px; margin:15px 0 0; line-height:1.75; color:var(--muted); }
.event-guide-link { margin-top:14px; width:100%; }
.event-showcase-empty { display:flex; align-items:center; gap:16px; padding:20px; min-height:116px; background:var(--surface); border:1px solid var(--line); border-radius:16px; }
.event-showcase-empty > span { color:var(--forest-700); padding:12px; background:var(--mint-100); border-radius:50%; }
.event-showcase-empty svg { width:24px; height:24px; }
.event-showcase-empty strong { font-size:16px; }
.event-showcase-empty p { font-size:13px; color:var(--muted); line-height:1.7; margin:7px 0 0; }
.home-content .showcase-card { min-width:230px; }
.showcase-info strong { font-size:16px; }
.showcase-info > span { font-size:12px; }
.home-content .partner-logo { background:var(--mint-100); color:var(--forest-700); border:1px solid var(--line); border-radius:50%; }
.home-content .partner-card strong { font-size:15px; line-height:1.55; }
.home-content .partner-card p { font-size:13px; line-height:1.65; }
.event-share-card { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; color:#e7f3ff; background:#092c56; border:1px solid #2b4d76; border-radius:18px; }
.event-share-card strong { display:block; font-size:18px; letter-spacing:.03em; }
.event-share-card p { margin:7px 0 0; font-size:12px; color:#b2cce6; line-height:1.75; }
.event-share-card > button { display:grid; place-items:center; gap:5px; padding:8px; min-width:72px; background:white; color:#0b3262; border:0; border-radius:10px; }
.event-share-card img { width:58px; height:58px; display:block; image-rendering:pixelated; }
.event-share-card button span { font-size:10px; }
.event-footer { padding:5px 0 18px; color:var(--muted); text-align:center; }
.event-footer-brand { font-size:12px; letter-spacing:.13em; margin:0 0 8px; }
.event-footer p { font-size:12px; line-height:1.8; }
.event-footer-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:3px 12px; }
.event-footer-actions a,.event-footer-actions button { display:inline-flex; align-items:center; min-height:44px; background:none; border:0; color:var(--forest-700); font-size:12px; padding:4px; }
.event-footer-actions button:disabled { color:var(--muted); }
.event-primary-link,.event-challenge,.event-film,.service-entry .entry-icon { transition:transform .2s ease,border-color .2s ease; }
@media(hover:hover) and (pointer:fine) {
  .event-primary-link:hover,.event-challenge:hover { transform:translateY(-3px); border-color:var(--forest-700); }
  .service-entry:hover .entry-icon { transform:translateY(-3px); border-color:var(--forest-700); }
}
.event-primary-link:active,.event-challenge:active,.event-film:active { transform:scale(.98); }
:where(button,a,input,select,textarea):focus-visible { outline:3px solid #2096ee; outline-offset:3px; }
[data-event-reveal] { opacity:1; }
html[data-event-motion="on"] .event-revealed { animation:event-arrive .6s cubic-bezier(.18,.72,.24,1) both; }
html[data-event-motion="on"] .event-tracks i { animation:event-stream 6s ease-in-out infinite; }
html[data-event-motion="on"] .event-tracks i:nth-child(2) { animation-delay:2s; animation-duration:8s; }
html[data-event-motion="on"] .event-tracks i:nth-child(3) { animation-delay:3.2s; animation-duration:7s; }
html[data-event-motion="on"] .event-film .campaign-cover { animation:event-breathe 4s ease-in-out infinite; }
html[data-event-motion="off"] .event-tracks i { left:10%; transform:none; animation:none; }
html[data-event-motion="off"] .event-tracks i:nth-child(2) { left:50%; }
html:not([data-event-motion]) .event-tracks i { left:15%; }
html.event-page-hidden *,html.event-page-hidden *::before,html.event-page-hidden *::after { animation-play-state:paused !important; }
@keyframes event-arrive { from { opacity:.5; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes event-stream { 0%,10% { transform:translateX(0); opacity:0; } 35% { opacity:.85; } 85%,100% { transform:translateX(450%); opacity:0; } }
@keyframes event-breathe { 0%,100% { transform:scale(1); } 50% { transform:scale(1.06); } }
@media(max-width:520px) {
  .phone-shell { width:100%; border-radius:0; }
  .mini-header { height:calc(62px + var(--safe-top)); padding-top:calc(10px + var(--safe-top)); }
  .app-view { height:calc(100% - 134px - var(--safe-top) - var(--safe-bottom)); }
  .app-view.no-tabs { height:calc(100% - 62px - var(--safe-top)); }
  .header-copy strong { font-size:16px; }
  .header-copy span { font-size:11px; }
}
@media(min-width:760px) {
  .phone-shell { width: min(600px,calc(100vw - 80px)); }
  .event-date { font-size:44px; }
  .home-content { padding-inline:24px; }
  .event-hero .hero-details { padding-inline:24px; }
}
@media(max-width:359px) {
  .content { padding-inline:14px; }
  .event-hero .hero-details { padding:17px 16px 18px; }
  .event-date { font-size:29px; gap:6px; }
  .event-primary-link { padding:13px; }
  .event-primary-link strong { font-size:17px; }
  .event-challenge-section { padding:15px; }
  .event-challenges { gap:8px; }
  .event-film { padding:15px; grid-template-columns:56px minmax(0,1fr) 12px; gap:10px; }
  .event-film .campaign-copy strong { font-size:18px; }
  .event-film .campaign-cover { width:50px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; animation-delay:0s !important; transition:none !important; scroll-behavior:auto !important; }
  [data-event-reveal] { opacity:1 !important; transform:none !important; }
}
@media(prefers-contrast:more) {
  .card,.event-primary-link,.event-challenge { border:2px solid currentColor; }
  .event-edition,.event-location { color:#fff; }
}
