/* One continuous conference environment, rather than backgrounds per section. */
.event-v8 {
  --hero-night: #080f20;
  --hero-rise: clamp(80px, 11svh, 100px);
  --scene-text: #f1f5ff;
  --scene-muted: #a8b6ce;
  --scene-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  isolation: isolate;
  background: var(--hero-night);
  color: var(--scene-text);
}
.conference-atmosphere {
  position: fixed;
  inset: -8vh 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 29% 90% at -12% 50%, #315dc9a0, transparent 100%),
    radial-gradient(ellipse 29% 90% at 112% 50%, #9b3c3d90, transparent 100%);
}
.event-v8 main { position: relative; isolation: isolate; }
.event-v8 .hero-continuum,
.event-v8 .experience,
.event-v8 .speakers,
.event-v8 .agenda,
.event-v8 .partners,
.event-v8 .event-closing { background: transparent; }
.event-v8 .experience:before { content: none; }
.event-v8 .speakers { border: 0; color: var(--scene-text); }
.event-v8 .speakers, .event-v8 .agenda, .event-v8 .partners {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 7vw, 112px);
}
.event-v8 .section-heading h2 { font-weight: 600; }
@media (min-width: 901px) {
  .event-v8 .speaker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .event-v8 .speaker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
}
.event-v8 .portrait-pending {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: linear-gradient(145deg, #172843, #0d172b);
}
.event-v8 .portrait-monogram {
  display: grid; place-items: center; width: 36%; aspect-ratio: 1;
  border: 1px solid #a9c1e638; border-radius: 50%; color: #b9c7dd;
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 400;
}
.event-v8 .portrait-pending-label { color: #93a4c0; font-size: 12px; letter-spacing: .08em; }
.event-v8 .agenda-row-mobile:before {
  background-color: #080f20; background-size: auto 100%;
  background-repeat: no-repeat; background-position: right center;
}
.event-v8 .avatar-sangfor-speaker { object-position: center 24%; }
.event-v8 .registration-action .button-register,
.event-v8 .registration-action .button-register:hover { color: #2059d4; }
.event-v8 .speakers .eyebrow, .event-v8 .partners .eyebrow, .event-v8 .agenda .eyebrow { color: #8ba9d9; }
.event-v8 .muted, .event-v8 .speaker-copy p { color: #b9c7dd; }
.event-v8 .speaker-copy p span { color: #93a4c0; }
.event-v8 .portrait { border-radius: 12px; border: 1px solid #a9c1e62b; background: #13203a; }
.event-v8 .portrait img { transition: transform .7s var(--scene-ease); }
.event-v8 .speaker-card:hover { transform: none; }
.event-v8 .speaker-card:hover img { transform: scale(1.035); }
.event-v8 .speaker-card:hover .portrait-huang-jiuyuan img { transform: scale(1.11); }
.event-v8 .partners { padding-bottom: 116px; }
.event-v8 .partner-logos { gap: clamp(48px, 7vw, 100px); }
.event-v8 .partner-logos img { filter: brightness(0) invert(1); opacity: .9; }
.event-v8 .partner-logos .partner-jingzhou { width: 164px; height: auto; filter: none; opacity: 1; }
.event-v8 .event-footer { color: #9baccc; position: relative; }
.event-v8 .event-footer:before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, #93afff28, transparent); }

/* Move the complete hero composition without rescaling its original KV. */
.event-v8 .hero-continuum > .kv-hero-visual,
.event-v8 .hero-continuum > .hero-scrim {
  top: calc(-1 * var(--hero-rise));
  height: calc(var(--hero-height) + var(--water-tail) + var(--hero-rise));
}
/* Keep the source KV luminous. Contrast belongs behind text, not over the whole film. */
.event-v8 .hero-continuum > .kv-hero-visual { filter: brightness(1.06) saturate(1.04); --water-tail: 420px; }
.event-v8 .hero-continuum > .hero-scrim {
  --water-tail: 420px;
  mask-image: linear-gradient(#000 0%, #000 55%, #000b 72%, #0003 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 55%, #000b 72%, #0003 88%, transparent 100%);
  background: radial-gradient(ellipse 40% 22% at 50% 30%, #02071350, transparent 100%),
    linear-gradient(180deg, #080f201c, transparent 22%, transparent 53%, #080f2030 73%, var(--hero-night));
}
.event-v8 .hero-copy h1 { text-shadow: 0 3px 36px #02071370; }
.event-v8 .hero-stage {
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  gap: 24px;
  min-height: calc(clamp(680px, 80svh, 880px) - var(--hero-rise));
  padding-top: calc(clamp(270px, 33svh, 360px) - var(--hero-rise));
  padding-bottom: 140px;
}
/* A single typographic lockup: statement left, conference and ending right. */
.event-v8 .hero-copy {
  --hero-statement-size: clamp(48px, 6.3vw, 108px);
  display: grid; grid-template-columns: max-content max-content; grid-template-rows: auto auto;
  align-items: end; justify-content: center; column-gap: clamp(20px, 2.2vw, 36px); text-align: left;
}
.event-v8 .hero-copy h1 { display: contents; white-space: nowrap; }
.event-v8 .hero-copy h1 .hero-line {
  display: block; grid-column: 1; grid-row: 1 / 3; margin: 0;
  font-size: var(--hero-statement-size); line-height: 1.1; letter-spacing: -.065em;
}
.event-v8 .hero-copy h1 .hero-ending {
  display: block; grid-column: 2; grid-row: 2; margin: 0;
  font-size: clamp(32px, 4.2vw, 68px); line-height: 1.05; letter-spacing: -.035em;
  transform: translateY(calc(var(--hero-statement-size) * -.06));
}
.event-v8 .hero-eyebrow {
  grid-column: 2; grid-row: 1; margin: 0 0 12px; align-self: start;
  font-size: clamp(13px, 1.25vw, 21px); line-height: 1.4; letter-spacing: .035em; white-space: nowrap;
  /* Optical alignment compensates for different CJK glyph bearings, not only line boxes. */
  transform: translateY(calc(var(--hero-statement-size) * .15));
}


/* Force-inspired unboxed navigation: brand, compact links, one registration action. */
.event-v8 .event-nav {
  top: 0; left: 0; right: 0; max-width: none; height: 88px;
  display: grid; grid-template-columns: auto 1fr auto;
  padding: 0 clamp(24px, 3.1vw, 56px); gap: 40px;
  border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none;
  background: linear-gradient(180deg, #080f2070, #080f2000);
  transition: background .5s var(--scene-ease), box-shadow .5s var(--scene-ease);
}
.event-v8 .event-nav.is-scrolled { background: #080f20e8; backdrop-filter: blur(18px); box-shadow: 0 1px 0 #b7ccff15; }
.event-v8 .event-brand { gap: 18px; }
.event-v8 .event-brand img { width: 136px; height: auto; }
.event-v8 .event-brand > span { font-size: 14px; padding-left: 18px; font-weight: 500; letter-spacing: .015em; white-space: nowrap; border-color: #c4d1ef40; }
.event-v8 .event-nav nav { margin: 0; justify-content: center; gap: clamp(20px, 2.2vw, 36px); font-size: 14px; }
.event-v8 .event-nav nav a { color: #c0cae0; transition: color .3s, text-shadow .3s; padding: 25px 0; }
.event-v8 .event-nav nav a:hover, .event-v8 .event-nav nav a[aria-current=location] { color: #fff; text-shadow: 0 0 20px #90c6ff99; }
.event-v8 .nav-register { min-width: 126px; min-height: 44px; padding: 10px 25px; border: 1px solid transparent; border-radius: 999px; color: #f5f8ff; font-size: 14px; background: linear-gradient(#101932, #101932) padding-box, linear-gradient(110deg, #78baff, #9c93e1 60%, #eda99a) border-box; transition: box-shadow .3s, transform .3s; }
.event-v8 .nav-register:hover { box-shadow: 0 0 24px #79aaff40; transform: translateY(-1px); }
.event-v8 .nav-register:active { transform: translateY(0); }

/* Pixel light blooms out of the same navy, then recedes into the closing scene. */
.event-v8 .wonder-night { background: transparent; isolation: auto; overflow: visible; padding: 116px 0 140px; }
.event-v8 .wonder-night:before, .event-v8 .wonder-night:after { content: none; }
.night-atmosphere {
  position: absolute; inset: -130px 0 -150px; z-index: -1; overflow: clip; pointer-events: none;
  mask-image: linear-gradient(transparent, #000 28%, #000 69%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 69%, transparent);
}
.night-atmosphere:before { content: ''; position: absolute; inset: -10%; background:
  radial-gradient(ellipse 36% 34% at 9% 44%, #32d4f6a6, transparent 90%),
  radial-gradient(ellipse 35% 38% at 85% 46%, #b49cff82, transparent 85%),
  radial-gradient(ellipse 75% 45% at 45% 50%, #1859f2dd, #1746b855 75%, transparent 100%);
  animation: night-aurora 16s ease-in-out infinite alternate paused;
}
.event-v8 .night-pixels { z-index: 0; opacity: .7; mask-image: linear-gradient(transparent 5%, #000 30%, #000 72%, transparent 96%); }
.event-v8 .wonder-night.is-animating .night-atmosphere:before { animation-play-state: running; }
.event-v8 .night-panel { background: #0b1554dc; box-shadow: 0 24px 80px #030c2d55; }
.event-v8 .night-panel:before, .event-v8 .night-panel:after { opacity: .94; }
/* Closing invitation paired with a practical venue guide. */
.event-v8 .event-closing { padding: 112px 0 104px; overflow: clip; text-align: left; }
.event-v8 .event-closing:before, .event-v8 .event-closing:after { content: none; }
.closing-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(40px, 5vw, 76px); }
.closing-invitation { min-width: 0; }
.venue-guide { min-width: 0; }
.venue-map { display: block; position: relative; overflow: hidden; border-radius: 12px; background: #dce4eb; }
.venue-map img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; filter: saturate(.65); transition: filter .4s var(--scene-ease); }
.venue-map:hover img { filter: saturate(1); }
.venue-map-action { position: absolute; top: 16px; right: 16px; padding: 10px 14px; border: 1px solid #ffffff35; border-radius: 7px; color: #f5f8ff; background: #101c32eb; font-size: 13px; line-height: 1.5; transition: background .3s; }
.venue-map:hover .venue-map-action { background: #254da3; }
.venue-map:focus-visible { outline-offset: -4px; outline-color: #87d9ff; }
.venue-map-credit { position: absolute; bottom: 0; right: 0; padding: 3px 7px; font-size: 9px; color: #435268; background: #f7faffd9; }
.venue-details { padding: 26px 0 0; }
.venue-details h3 { color: #eff5ff; font-size: 23px; font-weight: 550; letter-spacing: .01em; }
.venue-address { color: #aebdd4; font-size: 14px; margin-top: 8px; line-height: 1.7; }
.venue-routes { margin: 24px 0 0; padding-top: 23px; border-top: 1px solid #a9c1e629; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.venue-routes > div { min-width: 0; font-size: 13px; line-height: 1.9; }
.venue-routes dt { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #e0eaff; font-size: 15px; font-weight: 500; }
.venue-routes dt svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: #9ccaff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.venue-route-break { display: none; }
.venue-routes dd { margin: 0; color: #aebdd4; text-wrap: pretty; }

.closing-masthead { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 48px; }
.closing-event-name { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: .06em; color: #dbe5fa; }
.closing-venue { display: grid; gap: 10px; text-align: right; font-size: 17px; color: #dbe5fa; line-height: 1.4; letter-spacing: .04em; }
.closing-venue time { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 21px; letter-spacing: .08em; }
.event-v8 .event-closing h2 { max-width: 100%; font-size: clamp(46px, 5.1vw, 78px); line-height: 1.28; font-weight: 550; letter-spacing: -.045em; }
.closing-title-line { display: block; width: fit-content; max-width: 100%; color: #9ebfff; background: linear-gradient(110deg, #b9f3ff 5%, #87d9ff 25%, #d4bdff 54%, #f3d4e9 72%, #fff0d2 96%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.event-v8 .event-closing h2 + p { color: #b9c5df; margin-top: 26px; font-size: 16px; line-height: 1.9; }
.event-v8 .closing-buttons { flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 28px; margin-top: 42px; }
.event-v8 .closing-register { min-height: 56px; padding: 16px 36px; border-radius: 9px; color: #294cbd; background: #f4f6ff; font-size: 16px; box-shadow: none; }
.event-v8 .closing-register:hover { background: #fff; box-shadow: 0 0 28px #90a9ff30; transform: translateY(-2px); }
.event-v8 .closing-register:active { transform: translateY(0); }
.closing-free { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 4px; font-size: 15px; color: #c7d5f7; transition: color .25s; }
.closing-free:hover { color: #fff; }
.closing-free:focus-visible { outline: 2px solid #98bcff; outline-offset: 5px; border-radius: 4px; }

/* Scroll progress, not independent on/off reveals. No opacity or transform on whole sections. */
.event-v8 [data-scene-enter] {
  opacity: var(--scene-opacity, 1);
  transform: translate3d(0, var(--scene-lift, 0px), 0);
  transition: none;
}
.event-v8 .section-heading[data-scene-enter] { transform: translate3d(0, var(--scene-lift, 0px), 0); }
@media (max-width: 1150px) {
  .event-v8 .event-brand > span { display: none; }
  .event-v8 .event-nav { gap: 30px; }
  .event-v8 .hero-stage { grid-template-columns: 100px minmax(0, 1fr) 100px; gap: 16px; }
  .event-v8 .hero-side { font-size: 13px; }
  .closing-event-name { font-size: 18px; }
}
@media (max-width: 1000px) {
  .closing-layout { grid-template-columns: 1fr; gap: 44px; }
  .event-v8 .event-closing h2 { font-size: clamp(46px, 6.2vw, 66px); }
  .venue-guide { max-width: 650px; width: 100%; }
  .venue-map img { aspect-ratio: 2 / 1; object-position: center; }
}
@media (max-width: 700px) {
  .event-v8 { --hero-rise: 48px; }
  .conference-atmosphere { background: radial-gradient(ellipse 42% 90% at -25% 50%, #315dc985, transparent), radial-gradient(ellipse 42% 90% at 125% 50%, #9b3c3d7a, transparent); }
  .event-v8 .hero-continuum > .kv-hero-visual { filter: brightness(1) saturate(1.02); --water-tail: 320px; }
  .event-v8 .hero-continuum > .hero-scrim { --water-tail: 320px; background: radial-gradient(ellipse 76% 22% at 50% 25%, #02071355, transparent 100%), linear-gradient(180deg, #080f201a, transparent 35%, #080f2020 65%, var(--hero-night)); }
  .event-v8 .event-nav { height: 72px; padding: 0 20px; display: flex; gap: 16px; }
  .event-v8 .event-brand img { width: 110px; }
  .event-v8 .nav-register { min-width: 92px; min-height: 40px; padding: 8px 18px; font-size: 12px; }
  .event-v8 .menu-toggle { padding: 8px 0 8px 8px; }
  .event-v8 .event-nav nav { top: 72px; left: 0; right: 0; background: #080f20f5; border: 0; border-bottom: 1px solid #a3b9ff25; border-radius: 0; padding: 10px 20px 24px; gap: 0; }
  .event-v8 .event-nav nav a { padding: 14px 10px; font-size: 16px; }
  .event-v8 .speakers, .event-v8 .agenda, .event-v8 .partners { padding-block: 64px; }
  .event-v8 .partners { padding-bottom: 76px; }
  .event-v8 .partner-logos { gap: 28px; }
  .event-v8 .partner-logos .partner-jingzhou { width: 96px; }
  .event-v8 .wonder-night { padding: 70px 0 90px; }
  .night-atmosphere { inset-block: -90px -100px; }
  .event-v8 .hero-stage { min-height: calc(500px - var(--hero-rise)); padding-top: calc(220px - var(--hero-rise)); padding-bottom: 92px; grid-template-columns: 1fr 1fr; gap: 25px 10px; }
  .event-v8 .hero-copy { grid-column: 1 / -1; grid-row: 1; }
  .event-v8 .hero-copy { --hero-statement-size: clamp(26px, 8.7vw, 54px); column-gap: 12px; }
  .event-v8 .hero-copy h1 .hero-ending { font-size: clamp(16px, 4.8vw, 30px); }
  .event-v8 .hero-eyebrow { font-size: 10px; letter-spacing: 0; margin-bottom: 6px; }
  .event-v8 .hero-side { font-size: 12px; }
  .event-v8 .event-closing { padding: 80px 0 86px; }
  .closing-masthead { align-items: flex-start; gap: 20px; margin-bottom: 48px; }
  .closing-event-name { font-size: 13px; max-width: 11em; line-height: 1.6; }
  .closing-venue { font-size: 11px; gap: 8px; padding-top: 4px; }
  .closing-venue time { font-size: 14px; }
  .event-v8 .event-closing h2 { font-size: clamp(34px, 9.4vw, 62px); }
  .event-v8 .event-closing h2 + p { margin-top: 24px; font-size: 13px; }
  .event-v8 .closing-buttons { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
  .event-v8 .closing-register { width: auto; max-width: 100%; font-size: 14px; min-height: 52px; padding: 14px 24px; }
  .closing-free { font-size: 14px; padding-left: 0; }
  .closing-layout { gap: 36px; }
  .venue-map img { aspect-ratio: 8 / 5; }
  .venue-details { padding: 23px 0 0; }
  .venue-details h3 { font-size: 21px; }
  .venue-routes { gap: 20px; margin-top: 22px; padding-top: 22px; }
  .venue-routes > div { font-size: 13px; }
  .venue-routes dt { font-size: 14px; gap: 8px; }
  .venue-route-break { display: none; }
  .venue-map-action { top: 12px; right: 12px; font-size: 12px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-v8 [data-scene-enter] { opacity: 1 !important; transform: none !important; }
  .night-atmosphere:before { animation: none !important; }
  .event-v8 .event-nav, .event-v8 .nav-register { transition: none; }
  html { scroll-behavior: auto; }
}

.event-v8 .portrait-xu-kai img{object-position:52% 24%}
.event-v8 .avatar-xu-kai{object-position:54% 25%}

/* Agenda times are a primary scanning anchor, including on phones. */
.event-v8 .agenda-time{font-size:22px;font-weight:600;line-height:1.4;letter-spacing:-.025em;color:#f1f5ff;font-variant-numeric:tabular-nums}
.event-v8 .agenda-row.is-active .agenda-time{color:#fff}
@media(min-width:1151px){.event-v8 .agenda-row{grid-template-columns:192px minmax(0,1fr) 272px}}
@media(min-width:901px) and (max-width:1150px){.event-v8 .agenda-row{grid-template-columns:176px minmax(0,1fr) 230px}.event-v8 .agenda-time{font-size:20px}}
@media(min-width:701px) and (max-width:900px){.event-v8 .agenda-row{grid-template-columns:156px minmax(0,1fr) 185px}.event-v8 .agenda-time{font-size:18px}}
@media(max-width:700px){.event-v8 .agenda-time{font-size:20px;letter-spacing:0}}

/* Keep speaker roles legible and use the KV palette for title emphasis. */
.event-v8 .agenda-person>span:last-child{min-width:0}
.event-v8 .agenda-person>span:last-child>span{font-size:16px;line-height:1.6;color:#c0cbe0;margin-top:7px}
.event-v8 .agenda-row.is-active .agenda-person>span:last-child>span{color:#edf3ff}
.event-v8 .agenda-keyword{color:#ade8ff;white-space:nowrap}
@supports (background-clip:text){
  .event-v8 .agenda-keyword{background:linear-gradient(105deg,#9ceaff 0%,#b7c5ff 52%,#efd1ee 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
}
@media(min-width:701px) and (max-width:900px){.event-v8 .agenda-person>span:last-child>span{font-size:14px}}
@media(max-width:700px){
  .event-v8 .agenda-person>span:last-child>strong{font-size:17px}
  .event-v8 .agenda-person>span:last-child>span{font-size:15px;margin-top:5px}
}
