/* ==========================================================================
   WAIC 2026 日程助手 · 超脑孵化器
   Aesthetic: editorial civic gazette × AI conference
   语义配色即板块：官方=深蓝 / 边会=琥珀 / 参展商=青绿 / 情报=紫红
   ========================================================================== */

:root {
  /* base neutrals — cool institutional paper */
  --paper:      #f2f3f1;
  --paper-2:    #eaece9;
  --surface:    #ffffff;
  --surface-2:  #f7f8f6;
  --ink:        #12151b;
  --ink-soft:   #3a3f48;
  --ink-mute:   #757b85;
  --rule:       rgba(18, 21, 27, 0.09);
  --rule-2:     rgba(18, 21, 27, 0.15);

  /* semantic — 板块配色 */
  --official:      #1d5178;
  --official-deep: #123c5c;
  --official-tint: #e7eef4;
  --official-line: rgba(29, 81, 120, 0.85);

  --side:      #9a6516;
  --side-deep: #744c11;
  --side-tint: #f4ecdd;
  --side-line: rgba(154, 101, 22, 0.85);

  --exh:      #157567;
  --exh-deep: #0e564b;
  --exh-tint: #e0efec;
  --exh-line: rgba(21, 117, 103, 0.85);

  --intel:      #8a3d63;
  --intel-deep: #692c4a;
  --intel-tint: #f3e6ee;
  --intel-line: rgba(138, 61, 99, 0.85);

  --zone:      #4a5568;
  --zone-tint: #e9ecef;

  --live:  #bf3d2b;
  --ok:    #1f8a52;

  --font-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-sans:  "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono:  "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;

  --max-w: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --shadow-card: 0 10px 30px -18px rgba(18, 21, 27, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16.5px; -webkit-text-size-adjust: 100%; }
@media (max-width: 640px) { html { font-size: 15.5px; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 88% -8%, rgba(29, 81, 120, 0.06), transparent 42%),
    radial-gradient(circle at 6% 4%, rgba(21, 117, 103, 0.04), transparent 34%);
  background-attachment: fixed;
}

a { color: var(--official-deep); text-decoration: none; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.01em; }
.serif { font-family: var(--font-serif); }

/* ============================ Nav ============================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(242, 243, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem; font-size: 0.9rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif); font-weight: 700;
  font-size: 1.04rem; color: var(--ink); letter-spacing: 0.01em;
}
.nav-brand .mark {
  width: 22px; height: 22px; flex: none; border-radius: 5px;
  background: linear-gradient(135deg, var(--official) 0%, var(--official-deep) 60%, #0d2c45 100%);
  position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}
.nav-brand .mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(255,255,255,0.85); border-radius: 2px;
  border-right-color: var(--side); border-bottom-color: var(--side);
}
.nav-brand small {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.7rem;
  color: var(--ink-mute); letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); transition: color 0.18s; }
.nav-links a:hover { color: var(--official); }
.nav-cta {
  color: #fff !important; background: var(--official-deep);
  padding: 0.42rem 0.95rem !important; border-radius: 4px; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--official-deep); transition: background 0.18s, transform 0.18s;
}
.nav-cta:hover { background: var(--official); transform: translateY(-1px); }
@media (max-width: 720px) {
  .nav-inner { gap: 0.9rem; }
  .nav-brand small { display: none; }
  .nav-links { gap: 1rem; font-size: 0.85rem; }
  .nav-hide-mobile { display: none; }
}

/* ============================ Layout ============================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
main { min-height: 60vh; }

.eyebrow {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--side); }

/* ============================ Hero ============================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--paper) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, #000 0%, transparent 70%);
  opacity: 0.5;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.6rem, 5vw, 4rem); align-items: end;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; align-items: start; } }

.hero-kicker {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; align-items: center;
  font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink-soft);
  margin-bottom: 1.4rem; letter-spacing: 0.02em;
}
.hero-kicker .flag {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--official-deep); background: var(--official-tint);
  padding: 0.18rem 0.6rem; border-radius: 3px;
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.95rem, 5vw, 3.3rem);
  line-height: 1.16; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1.15rem;
}
.hero h1 em { font-style: normal; color: var(--official-deep); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.08em;
  height: 0.32em; background: rgba(154, 101, 22, 0.26); z-index: -1;
}
.hero-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem); color: var(--ink-soft);
  max-width: 48ch; line-height: 1.72; margin-bottom: 1.6rem;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.62rem 1.25rem; font-family: var(--font-sans); font-size: 0.92rem; font-weight: 500;
  border: 1.5px solid var(--official-deep); border-radius: 4px;
  background: transparent; color: var(--official-deep); cursor: pointer; transition: all 0.18s;
}
.btn:hover { background: var(--official-deep); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--official-deep); color: #fff; }
.btn-primary:hover { background: var(--official); border-color: var(--official); }
.btn-ghost { border-color: var(--rule-2); color: var(--ink-soft); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* countdown */
.countdown {
  background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--official);
  border-radius: 8px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card);
}
.countdown .cd-label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
  display: flex; align-items: center; gap: 0.5rem;
}
.countdown .cd-label .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(191,61,43,0.5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(191,61,43,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(191,61,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(191,61,43,0); }
}
.countdown .cd-main { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.5rem 0 0.15rem; }
.countdown .cd-num { font-family: var(--font-serif); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--official-deep); }
.countdown .cd-unit { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.countdown .cd-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.4rem; }

/* stats strip */
.stats { position: relative; z-index: 1; max-width: var(--max-w); margin: clamp(1.6rem, 4vw, 2.6rem) auto 0; padding: 0 var(--gutter); }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--surface);
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 1.05rem 1.2rem; border-right: 1px solid var(--rule); border-bottom: 1px solid transparent; position: relative; }
.stat:last-child { border-right: none; }
.stat::before { content: ""; position: absolute; left: 0; top: 1.1rem; bottom: 1.1rem; width: 3px; background: var(--sc, var(--official)); }
.stat.s-official { --sc: var(--official); }
.stat.s-zone     { --sc: var(--zone); }
.stat.s-side     { --sc: var(--side); }
.stat.s-exh      { --sc: var(--exh); }
.stat.s-intel    { --sc: var(--intel); }
.stat .n { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1; color: var(--ink); }
.stat .l { font-family: var(--font-sans); font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.4rem; letter-spacing: 0.02em; }

/* ============================ Panel + view tabs ============================ */
.panel-section { padding: clamp(2.4rem, 5vw, 3.6rem) 0 4rem; }
.section-head { margin-bottom: 1.2rem; }
.section-head h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0.6rem; letter-spacing: -0.005em; }
.section-head p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.35rem; max-width: 60ch; }

.view-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1.4rem 0 1.4rem; }
@media (max-width: 760px) { .view-tabs { grid-template-columns: repeat(2, 1fr); } }
.view-tab {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  align-items: center; gap: 0.1rem 0.5rem; text-align: left; cursor: pointer;
  padding: 0.85rem 1.05rem; background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--rule); border-top: 3px solid var(--vc, var(--rule-2));
  border-radius: 7px; font-family: var(--font-sans); transition: all 0.16s;
}
.view-tab:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.view-tab .vt-t { font-weight: 600; font-size: 1rem; color: var(--ink); }
.view-tab .vt-n {
  grid-row: 1; grid-column: 2; justify-self: end; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.1rem 0.5rem; border-radius: 100px; background: var(--vtint, var(--paper-2)); color: var(--vc, var(--ink-soft));
}
.view-tab .vt-d { grid-column: 1 / -1; font-size: 0.76rem; color: var(--ink-mute); margin-top: 0.15rem; }
.view-tab.active { background: var(--vtint); border-color: var(--vc); border-top-color: var(--vc); }
.view-tab.active .vt-n { background: var(--vc); color: #fff; }
.view-tab.s-official { --vc: var(--official); --vtint: var(--official-tint); }
.view-tab.s-side     { --vc: var(--side);     --vtint: var(--side-tint); }
.view-tab.s-exh      { --vc: var(--exh);      --vtint: var(--exh-tint); }
.view-tab.s-intel    { --vc: var(--intel);    --vtint: var(--intel-tint); }

/* ============================ Controls (per view) ============================ */
.controls-note { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; padding: 0.8rem 1rem; background: var(--surface-2); border-left: 3px solid var(--vc, var(--official)); border-radius: 5px; }
.controls-note strong { color: var(--ink); }

.day-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 1rem; }
.day-tab {
  padding: 0.5rem 1rem; border: 1px solid var(--rule); background: var(--surface);
  color: var(--ink-soft); font-family: var(--font-sans); font-size: 0.88rem;
  cursor: pointer; border-radius: 100px; transition: all 0.16s;
}
.day-tab .dw { color: var(--ink-mute); font-size: 0.82em; margin-left: 0.3rem; }
.day-tab:hover { border-color: var(--vc, var(--official)); color: var(--vc, var(--official)); }
.day-tab.active { background: var(--vc, var(--official)); border-color: var(--vc, var(--official)); color: #fff; font-weight: 500; }
.day-tab.active .dw { color: rgba(255,255,255,0.75); }

.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; font-family: var(--font-sans); }
.filters .search-wrap { flex: 1; min-width: 200px; position: relative; }
.filters .search-wrap svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-mute); pointer-events: none; }
.filters input[type="search"] {
  width: 100%; padding: 0.62rem 0.9rem 0.62rem 2.4rem; border: 1px solid var(--rule-2);
  border-radius: 6px; font-size: 0.92rem; font-family: var(--font-sans); background: var(--surface); color: var(--ink);
}
.filters input[type="search"]:focus { outline: none; border-color: var(--vc, var(--official)); box-shadow: 0 0 0 3px var(--vtint, var(--official-tint)); }
.filters select {
  padding: 0.62rem 0.85rem; border: 1px solid var(--rule-2); border-radius: 6px;
  background: var(--surface); font-size: 0.86rem; font-family: var(--font-sans);
  color: var(--ink-soft); cursor: pointer; max-width: 44vw;
}
.filters select:focus, .filters select:hover { border-color: var(--vc, var(--official)); outline: none; }
#count { color: var(--ink-mute); font-size: 0.84rem; margin-left: auto; white-space: nowrap; }

/* day group headers */
.day-group-head { display: flex; align-items: baseline; gap: 0.8rem; margin: 2rem 0 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule-2); }
.day-group-head:first-child { margin-top: 0.4rem; }
.day-group-head .dnum { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.day-group-head .ddate { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-mute); }
.day-group-head .dcount { margin-left: auto; font-size: 0.8rem; color: var(--ink-mute); }

/* ============================ Zones band ============================ */
.zones-block { margin-bottom: 2rem; }
.zones-label { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.zones-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
@media (max-width: 860px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .zones-grid { grid-template-columns: 1fr; } }
.zone-card {
  display: block; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--rule);
  border-top: 3px solid var(--zone); border-radius: 7px; color: var(--ink); transition: all 0.16s;
}
.zone-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-top-color: var(--official); }
.zone-card .z-role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--exh-deep); background: var(--exh-tint); display: inline-block; padding: 0.1rem 0.45rem; border-radius: 3px; margin-bottom: 0.5rem; }
.zone-card .z-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.zone-card .z-desc { font-size: 0.82rem; color: var(--ink-mute); margin-top: 0.25rem; line-height: 1.5; }

/* ============================ Cards (activities) ============================ */
#view-content { display: flex; flex-direction: column; gap: 0.7rem; }
#view-content.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.7rem; }
.card {
  position: relative; display: block; cursor: pointer;
  padding: 1.05rem 1.3rem 1.05rem 1.4rem; background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--c-line, var(--official-line)); border-radius: 7px;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--rule-2); border-left-color: var(--c-strong, var(--official)); }
.card.k-official { --c-line: var(--official-line); --c-strong: var(--official); }
.card.k-side     { --c-line: var(--side-line);     --c-strong: var(--side); }

.card .card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.85rem; font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 0.5rem; }
.card .card-meta .time { font-family: var(--font-mono); color: var(--ink-soft); font-weight: 500; }
.card .card-meta .venue { color: var(--ink-soft); }
.card .kind-chip { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.13rem 0.5rem; border-radius: 3px; }
.card.k-official .kind-chip { background: var(--official-tint); color: var(--official-deep); }
.card.k-side     .kind-chip { background: var(--side-tint);     color: var(--side-deep); }

.card .card-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--ink); margin-bottom: 0.4rem; }
.card .card-title a { color: inherit; }
.card:hover .card-title { color: var(--c-strong, var(--official-deep)); }
.card .card-desc { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .card-tags { margin-top: 0.55rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card .tag { font-family: var(--font-sans); font-size: 0.72rem; color: var(--ink-mute); padding: 0.1rem 0.5rem; border: 1px solid var(--rule); border-radius: 100px; background: var(--surface-2); }

/* relation / track badges (side events) */
.rel-badge, .track-badge { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; padding: 0.12rem 0.5rem; border-radius: 3px; }
.rel-badge.affiliated { background: var(--side-tint); color: var(--side-deep); }
.rel-badge.co-located { background: var(--zone-tint); color: var(--zone); }
.rel-badge.official   { background: var(--official-tint); color: var(--official-deep); }
.track-badge { background: var(--intel-tint); color: var(--intel-deep); }

/* side event registration/price row (prominent) */
.reg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin-top: 0.7rem; padding-top: 0.65rem; border-top: 1px dashed var(--rule); }
.reg-tag { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 4px; }
.reg-tag.need { background: var(--side-tint); color: var(--side-deep); }
.reg-tag.free { background: rgba(31,138,82,0.12); color: var(--ok); }
.reg-tag.price { background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--rule); }
.reg-tag.multi { background: var(--intel-tint); color: var(--intel-deep); }
.reg-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.9rem;
  background: var(--side); color: #fff !important; border-radius: 5px; font-size: 0.82rem; font-weight: 600;
  border: none; transition: background 0.16s, transform 0.16s;
}
.reg-btn:hover { background: var(--side-deep); transform: translateY(-1px); }
.reg-btn svg { width: 12px; height: 12px; }

/* source line */
.card .card-src { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px dashed var(--rule); font-family: var(--font-sans); font-size: 0.78rem; color: var(--ink-mute); }
.src-badge { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.08rem 0.42rem; border-radius: 3px; flex: none; }
.src-badge.ch-official { background: var(--official); color: #fff; }
.src-badge.ch-wechat   { background: #1aad19; color: #fff; }
.src-badge.ch-web      { background: var(--zone); color: #fff; }
.card .src-pub { color: var(--ink-soft); }
.src-link { margin-left: auto; color: var(--official); display: inline-flex; align-items: center; gap: 0.25rem; border-bottom: 1px solid transparent; white-space: nowrap; }
.src-link:hover { border-bottom-color: var(--official); }
.src-link svg { width: 12px; height: 12px; }

/* ============================ Exhibitor cards ============================ */
.exh-card { position: relative; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--exh-line); border-radius: 7px; transition: box-shadow 0.16s, border-color 0.16s; }
.exh-card:hover { box-shadow: var(--shadow-card); border-left-color: var(--exh); }
.exh-head { display: flex; align-items: flex-start; gap: 0.8rem; cursor: pointer; }
.exh-logo { width: 40px; height: 40px; flex: none; border-radius: 6px; background: var(--exh-tint); color: var(--exh-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; overflow: hidden; }
.exh-logo img { width: 100%; height: 100%; object-fit: contain; }
.exh-main { flex: 1; min-width: 0; }
.exh-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.35; }
.exh-name .en { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.1rem; }
.exh-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.exh-booth { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; padding: 0.12rem 0.5rem; border-radius: 3px; background: var(--exh-tint); color: var(--exh-deep); }
.exh-hall { font-size: 0.74rem; padding: 0.12rem 0.5rem; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--rule); color: var(--ink-soft); }
.exh-industry { font-size: 0.74rem; padding: 0.12rem 0.5rem; border-radius: 100px; background: rgba(21,117,103,0.08); color: var(--exh-deep); }
.exh-role { font-size: 0.72rem; color: var(--intel-deep); background: var(--intel-tint); padding: 0.12rem 0.5rem; border-radius: 3px; }
.exh-intro { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; margin-top: 0.55rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exh-toggle { flex: none; align-self: center; color: var(--ink-mute); font-size: 0.78rem; display: flex; align-items: center; gap: 0.2rem; }
.exh-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.exh-card.expanded .exh-toggle svg { transform: rotate(180deg); }
.exh-card.expanded .exh-intro { -webkit-line-clamp: unset; }
.exh-detail { display: none; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px dashed var(--rule); font-size: 0.85rem; }
.exh-card.expanded .exh-detail { display: block; }
.exh-detail .row { margin-bottom: 0.5rem; }
.exh-detail .k { color: var(--ink-mute); font-size: 0.76rem; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.exh-detail .booths { display: flex; flex-direction: column; gap: 0.3rem; }
.exh-detail .booth-line { font-size: 0.82rem; color: var(--ink-soft); }
.exh-detail .booth-line .no { font-family: var(--font-mono); color: var(--exh-deep); font-weight: 500; }

/* load more */
.load-more-wrap { display: flex; justify-content: center; padding: 1.6rem 0 0.5rem; }
.load-more { padding: 0.7rem 1.8rem; border: 1.5px solid var(--exh); color: var(--exh-deep); background: transparent; border-radius: 6px; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.16s; }
.load-more:hover { background: var(--exh); color: #fff; }

/* ============================ Intel list ============================ */
.intel-item { display: block; padding: 1.05rem 1.3rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--intel-line); border-radius: 7px; transition: box-shadow 0.16s, border-color 0.16s; }
.intel-item:hover { box-shadow: var(--shadow-card); border-left-color: var(--intel); }
.intel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.8rem; font-size: 0.78rem; color: var(--ink-mute); margin-bottom: 0.4rem; }
.intel-meta .date { font-family: var(--font-mono); color: var(--intel-deep); font-weight: 500; }
.intel-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.4; margin-bottom: 0.35rem; }
.intel-summary { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.intel-foot { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.65rem; padding-top: 0.55rem; border-top: 1px dashed var(--rule); font-size: 0.78rem; color: var(--ink-mute); }
.intel-foot .src-link { color: var(--intel); }
.intel-foot .src-link:hover { border-bottom-color: var(--intel); }

.list-note, .loading { text-align: center; color: var(--ink-mute); padding: 2.4rem 1rem; font-family: var(--font-sans); font-size: 0.9rem; }

/* ============================ Footer ============================ */
.site-footer { border-top: 1px solid var(--rule); background: var(--surface-2); padding: 2.6rem 0 2.2rem; font-family: var(--font-sans); font-size: 0.85rem; color: var(--ink-mute); margin-top: 2rem; }
.site-footer .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 720px) { .site-footer .container { grid-template-columns: 1fr; gap: 1.4rem; } }
.site-footer a { color: var(--official); }
.site-footer .col-title { font-family: var(--font-serif); font-weight: 700; color: var(--ink); font-size: 0.94rem; margin-bottom: 0.5rem; }
.site-footer .fnote { line-height: 1.75; }
.site-footer .mono, .site-footer strong { color: var(--ink-soft); }

/* ============================ Detail page ============================ */
.detail-hero { border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--surface-2), var(--paper)); padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2rem); }
.detail-hero .container { max-width: 940px; }
.detail-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.k-flag { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 0.2rem 0.6rem; border-radius: 4px; }
.k-flag.k-official { background: var(--official); color: #fff; }
.k-flag.k-side     { background: var(--side);     color: #fff; }
.k-flag.k-zone     { background: var(--zone);     color: #fff; }
.detail-eyebrow .cat { font-size: 0.8rem; color: var(--ink-mute); letter-spacing: 0.02em; }
.detail-hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.5rem; }
.detail-hero .title-en { font-family: var(--font-sans); color: var(--ink-mute); font-size: 0.98rem; font-style: italic; margin-bottom: 1.2rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 0.8rem; font-family: var(--font-sans); font-size: 0.88rem; color: var(--ink-soft); }
.detail-meta .m { display: inline-flex; align-items: center; gap: 0.4rem; }
.detail-meta .m .k { color: var(--ink-mute); }
.detail-meta .m .v { font-family: var(--font-mono); color: var(--ink); }
.detail-meta .m .v.plain { font-family: var(--font-sans); }

.detail-body { padding: clamp(1.8rem, 4vw, 2.8rem) 0 3.5rem; }
.detail-body .container { max-width: 940px; }
.cover { width: 100%; max-height: 320px; object-fit: cover; border-radius: 8px; border: 1px solid var(--rule); margin-bottom: 1.8rem; background: var(--surface-2); }

.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.3rem 1.5rem; margin-bottom: 1.4rem; }
.panel.source-panel { border-left: 3px solid var(--official); }
.panel.source-panel.k-side { border-left-color: var(--side); }
.panel-label { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.panel-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* registration panel (side events, prominent) */
.reg-panel { border-left: 3px solid var(--side); }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.9rem; }
.reg-cell { }
.reg-cell .k { font-size: 0.74rem; color: var(--ink-mute); letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.reg-cell .v { font-size: 0.98rem; color: var(--ink); font-weight: 500; }
.reg-cell .v.hl { color: var(--side-deep); }
.reg-panel .reg-cta { margin-top: 1.1rem; }
.reg-panel .reg-cta a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.3rem; background: var(--side); color: #fff; border-radius: 6px; font-weight: 600; font-size: 0.92rem; }
.reg-panel .reg-cta a:hover { background: var(--side-deep); }

.source-panel .src-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.source-panel .src-pub { font-weight: 600; color: var(--ink); font-size: 1rem; }
.source-panel .src-link { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 1rem; border: 1.5px solid var(--official); color: var(--official-deep); border-radius: 5px; font-size: 0.88rem; font-weight: 500; transition: all 0.18s; }
.source-panel .src-link:hover { background: var(--official); color: #fff; }
.source-panel.k-side .src-link { border-color: var(--side); color: var(--side-deep); }
.source-panel.k-side .src-link:hover { background: var(--side); color: #fff; }
.source-panel .src-meta { margin-top: 0.7rem; font-size: 0.82rem; color: var(--ink-mute); font-family: var(--font-mono); }
.source-panel .add-src { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px dashed var(--rule); font-size: 0.84rem; }
.source-panel .add-src .k { color: var(--ink-mute); font-size: 0.74rem; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.source-panel .add-src a { display: block; margin-bottom: 0.25rem; color: var(--intel-deep); }

.prose-block { line-height: 1.85; color: var(--ink-soft); font-size: 1rem; }
.prose-block p { margin-bottom: 0.9rem; }
.prose-block p:last-child { margin-bottom: 0; }

.org-group { margin-bottom: 1rem; }
.org-group:last-child { margin-bottom: 0; }
.org-group .role { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.org-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.org-item { padding: 0.4rem 0.8rem; background: var(--surface-2); border: 1px solid var(--rule); border-radius: 5px; font-size: 0.88rem; color: var(--ink); }
.org-item .en { color: var(--ink-mute); font-size: 0.78rem; margin-left: 0.35rem; }

.sched { display: flex; flex-direction: column; gap: 0; }
.sched-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.sched-row:last-child { border-bottom: none; }
.sched-time { font-family: var(--font-mono); font-size: 0.85rem; color: var(--official-deep); font-weight: 500; padding-top: 0.1rem; }
.sched-body .theme { font-weight: 600; color: var(--ink); font-size: 0.98rem; line-height: 1.5; }
.sched-body .sess { display: inline-block; font-family: var(--font-sans); font-size: 0.72rem; color: var(--ink-mute); background: var(--surface-2); border: 1px solid var(--rule); padding: 0.05rem 0.45rem; border-radius: 3px; margin-bottom: 0.35rem; }
.sched-body .speakers { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
.sched-body .speakers .sp-label { color: var(--ink-mute); }
@media (max-width: 560px) { .sched-row { grid-template-columns: 1fr; gap: 0.3rem; } .sched-time { color: var(--side-deep); } }

.guest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.8rem; }
.guest { padding: 0.9rem 1rem; background: var(--surface-2); border: 1px solid var(--rule); border-radius: 6px; }
.guest .g-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.guest .g-name .en { font-family: var(--font-sans); font-weight: 400; font-size: 0.8rem; color: var(--ink-mute); margin-left: 0.4rem; }
.guest .g-role { font-size: 0.82rem; color: var(--official-deep); margin-top: 0.25rem; }
.guest .g-bio { font-size: 0.8rem; color: var(--ink-mute); margin-top: 0.4rem; line-height: 1.55; }

.detail-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.4rem; font-family: var(--font-sans); font-size: 0.88rem; color: var(--ink-soft); }
.detail-back:hover { color: var(--official); }

.ai-hint { background: var(--official-tint); border: 1px solid rgba(29,81,120,0.2); border-radius: 8px; padding: 1.1rem 1.3rem; margin-top: 1.6rem; font-size: 0.9rem; color: var(--official-deep); line-height: 1.7; }
.ai-hint b { font-weight: 600; }
.ai-hint a { text-decoration: underline; }

/* ============================ Animations ============================ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise   { animation: rise 0.6s ease-out both; }
.rise-1 { animation: rise 0.6s ease-out 0.06s both; }
.rise-2 { animation: rise 0.6s ease-out 0.12s both; }
.rise-3 { animation: rise 0.6s ease-out 0.18s both; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 600px) {
  .filters { gap: 0.5rem; }
  .filters select { max-width: 100%; flex: 1; }
  #count { margin-left: 0; width: 100%; }
  .reg-btn { margin-left: 0; }
}
