:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #6e675f;
  --soft: #f5f1ea;
  --paper: #fffaf0;
  --line: rgba(23, 21, 18, 0.12);
  --line-strong: rgba(23, 21, 18, 0.2);
  --gold: #f6b642;
  --coral: #ee6f4b;
  --green: #2c8a63;
  --blue: #3564d8;
  --violet: #7c55c7;
  --shadow: 0 18px 48px rgba(25, 18, 8, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #151412;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(21, 20, 18, 0) 0, rgba(21, 20, 18, 0.08) 100%),
    var(--soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  position: relative;
  min-height: 100svh;
  max-width: 520px;
  margin: 0 auto;
  background: var(--soft);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 360px;
  color: #fffaf0;
  background: #151412;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(246, 182, 66, 0.28), rgba(53, 100, 216, 0.18)),
    url("https://downloadprod.worldaic.com.cn/static/4e1ab0df/025f6c26-3239-4bf3-84d5-da589dbdc3e2_WAIC%E5%B0%81%E9%9D%A2.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: background-image 220ms ease;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.22) 0%, rgba(14, 13, 12, 0.5) 48%, rgba(245, 241, 234, 1) 100%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding: max(18px, env(safe-area-inset-top)) 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.topbar {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-chip,
.counter-pill,
.profile-button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 250, 240, 0.45);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.14);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.profile-button {
  max-width: 118px;
  border-color: rgba(255, 250, 240, 0.58);
  background: rgba(20, 19, 17, 0.42);
  color: #fffaf0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.counter-pill {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(246, 182, 66, 0.22);
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 240, 0.45);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.15);
  color: #fffaf0;
  font-size: 20px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.eyebrow,
.section-title p {
  margin: 0 0 6px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 330px;
  margin: 0;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.stat-card {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.14);
  backdrop-filter: blur(16px);
}

.stat-card strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.stat-card span {
  color: rgba(255, 250, 240, 0.78);
  font-size: 11px;
  line-height: 1.25;
}

.main {
  position: relative;
  z-index: 2;
  margin-top: -10px;
  padding: 0 14px calc(92px + env(safe-area-inset-bottom));
  border-radius: 8px 8px 0 0;
  background: var(--soft);
}

.view {
  display: none;
  padding-top: 14px;
}

.view.is-active {
  display: block;
}

.search-block {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 10px 0 8px;
  background: linear-gradient(180deg, var(--soft) 0%, rgba(245, 241, 234, 0.9) 100%);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(25, 18, 8, 0.08);
  backdrop-filter: blur(14px);
}

.search-box span {
  color: var(--coral);
  font-size: 22px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.rail,
.route-strip,
.preference-cloud,
.lane-switch {
  display: flex;
  gap: 8px;
  margin: 6px -14px 0;
  padding: 0 14px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar,
.route-strip::-webkit-scrollbar,
.preference-cloud::-webkit-scrollbar,
.lane-switch::-webkit-scrollbar {
  display: none;
}

.date-chip,
.filter-chip,
.lane-chip,
.quiet-button,
.card-action,
.full-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.date-chip {
  min-width: 82px;
  padding: 10px 12px;
  text-align: left;
}

.date-chip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.date-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.date-chip.is-active,
.filter-chip.is-active,
.lane-chip.is-active {
  border-color: rgba(238, 111, 75, 0.5);
  background: #211915;
  color: #fffaf0;
  box-shadow: 0 12px 26px rgba(238, 111, 75, 0.22);
}

.date-chip.is-active span,
.filter-chip.is-active span,
.lane-chip.is-active span {
  color: rgba(255, 250, 240, 0.72);
}

.route-card,
.insight-card {
  flex: 0 0 265px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 182, 66, 0.18), rgba(44, 138, 99, 0.08)),
    #fffaf5;
}

.route-card strong,
.insight-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.route-card span,
.insight-card span,
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hall-map,
.route-map {
  margin: 8px 0 14px;
  padding: 12px;
  border: 1.5px solid rgba(23, 21, 18, 0.18);
  border-radius: 8px;
  background: #fff8ea;
  box-shadow: 6px 6px 0 rgba(53, 100, 216, 0.12);
}

.floor-map-entry {
  width: 100%;
  min-height: 68px;
  margin: 12px 0 4px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(53, 100, 216, 0.25);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(53, 100, 216, 0.12), rgba(44, 138, 99, 0.08)), #fff;
  color: var(--ink);
  text-align: left;
}

.floor-map-entry-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #3564d8;
  color: #fff;
}

.floor-map-entry-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.floor-map-entry strong,
.floor-map-entry small {
  display: block;
}

.floor-map-entry strong {
  font-size: 15px;
}

.floor-map-entry small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.floor-map-entry-arrow {
  color: #3564d8;
  font-size: 26px;
}

.route-map {
  margin-top: 10px;
  box-shadow: 6px 6px 0 rgba(44, 138, 99, 0.14);
}

.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.map-heading strong {
  font-size: 16px;
}

.map-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.map-zone {
  min-width: 0;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(246, 182, 66, 0.16), rgba(255, 253, 246, 0.7)),
    #fffdf6;
  color: var(--ink);
  text-align: left;
  box-shadow: 3px 3px 0 rgba(23, 21, 18, 0.06);
}

.map-zone strong,
.map-zone span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-zone strong {
  font-size: 14px;
  line-height: 1.1;
}

.map-zone span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.map-zone.is-route {
  border-color: rgba(44, 138, 99, 0.35);
  background:
    linear-gradient(135deg, rgba(44, 138, 99, 0.2), rgba(255, 253, 246, 0.75)),
    #fffdf6;
  box-shadow: 3px 3px 0 rgba(44, 138, 99, 0.2);
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 10px;
}

.section-title p {
  color: var(--coral);
}

.section-title h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: 0;
}

.quiet-button {
  min-height: 36px;
  padding: 8px 11px;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.88);
  box-shadow: 0 12px 30px rgba(35, 27, 15, 0.1);
  overflow: hidden;
  cursor: pointer;
}

.event-card:focus-visible,
.timeline-card:focus-visible {
  outline: 3px solid rgba(53, 100, 216, 0.38);
  outline-offset: 2px;
}

.event-card.is-plan {
  grid-template-columns: 72px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(53, 100, 216, 0.1), rgba(255, 250, 245, 0.92) 45%),
    #fffaf5;
}

.cover {
  position: relative;
  min-height: 126px;
  border-radius: 8px;
  background: #e7dccb center / cover no-repeat;
  overflow: hidden;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
}

.time-block {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  z-index: 1;
  color: #fff;
}

.time-block strong {
  display: block;
  font-size: 17px;
  line-height: 1;
}

.time-block span {
  font-size: 11px;
  opacity: 0.82;
}

.event-body {
  min-width: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.type-pill,
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(53, 100, 216, 0.18);
  border-radius: 999px;
  background: rgba(53, 100, 216, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.signal-pill {
  border-color: rgba(44, 138, 99, 0.18);
  background: rgba(44, 138, 99, 0.08);
  color: var(--green);
}

.event-card h3 {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-location,
.event-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.event-desc {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow: hidden;
}

.tag {
  flex: 0 0 auto;
  max-width: 120px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(246, 182, 66, 0.18);
  color: #7c4c08;
  font-size: 11px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.sheet-actions,
.sheet-body .action-row {
  grid-template-columns: repeat(3, 1fr);
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 6px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.card-action.is-on {
  border-color: rgba(238, 111, 75, 0.34);
  background: #211915;
  color: #fffaf0;
}

.card-action.is-primary {
  border-color: rgba(44, 138, 99, 0.2);
  background: #2c8a63;
  color: #fff;
}

.card-action[disabled] {
  opacity: 0.52;
}

.preference-cloud {
  margin-top: 0;
  padding-bottom: 12px;
}

.filter-chip {
  flex: 0 0 auto;
  padding: 9px 11px;
}

.lane-switch {
  margin-top: 0;
}

.lane-chip {
  flex: 0 0 auto;
  padding: 10px 12px;
}

.insight-card {
  width: 100%;
  margin: 2px 0 12px;
  flex: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, var(--coral), var(--gold), var(--green));
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 12px auto 0;
  border: 4px solid var(--soft);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px rgba(238, 111, 75, 0.28);
}

.timeline-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  box-shadow: 0 10px 24px rgba(35, 27, 15, 0.08);
  cursor: pointer;
}

.timeline-card .action-row {
  grid-template-columns: 1fr;
}

.timeline-card h3 {
  margin: 4px 0 6px;
  font-size: 16px;
  line-height: 1.22;
}

.timeline-time {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.timeline-card.is-conflict {
  border-color: rgba(238, 111, 75, 0.45);
  background: #fff1e9;
}

.full-button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  background: #171512;
  color: #fffaf0;
}

.empty-state {
  padding: 28px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.56);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(520px, 100vw);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(23, 21, 18, 0.1);
  background: rgba(255, 250, 245, 0.86);
  box-shadow: 0 -12px 32px rgba(35, 27, 15, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.tab {
  display: flex;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  font-weight: 850;
}

.tab span {
  color: currentColor;
  font-size: 15px;
}

.tab.is-active {
  background: #171512;
  color: #fffaf0;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(23, 21, 18, 0.52);
  backdrop-filter: blur(5px);
}

.sheet-backdrop[hidden] {
  display: none;
}

.map-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(14, 18, 28, 0.72);
  backdrop-filter: blur(6px);
}

.map-backdrop[hidden] {
  display: none;
}

.floor-map-sheet {
  width: min(860px, 100vw);
  height: min(94svh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #f6f7f9;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.28);
}

.floor-map-header {
  padding: 14px 14px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
}

.floor-map-kicker {
  color: #3564d8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.floor-map-header h2 {
  margin: 3px 0 2px;
  font-size: 21px;
  line-height: 1.15;
}

.floor-map-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.floor-map-tabs {
  padding: 0 14px 10px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  background: #fff;
  scrollbar-width: none;
}

.floor-map-tabs::-webkit-scrollbar {
  display: none;
}

.floor-map-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(28, 34, 46, 0.14);
  border-radius: 999px;
  background: #f2f4f7;
  color: #4e5667;
  font-size: 12px;
  font-weight: 850;
}

.floor-map-tabs button.is-active {
  border-color: #3564d8;
  background: #3564d8;
  color: #fff;
}

.map-target {
  margin: 10px 12px 0;
  padding: 9px 11px;
  border: 1px solid rgba(44, 138, 99, 0.24);
  border-radius: 9px;
  background: #eaf7f0;
}

.map-target span,
.map-target strong {
  display: block;
}

.map-target span {
  color: #277657;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.map-target strong {
  margin-top: 2px;
  font-size: 13px;
}

.floor-map-toolbar {
  min-height: 44px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.floor-map-toolbar > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.floor-map-toolbar > div {
  display: flex;
  gap: 5px;
}

.floor-map-toolbar button {
  min-width: 36px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(28, 34, 46, 0.14);
  border-radius: 7px;
  background: #fff;
  color: #27304a;
  font-size: 12px;
  font-weight: 850;
}

.floor-map-viewport {
  flex: 1;
  min-height: 0;
  margin: 0 10px;
  overflow: auto;
  border: 1px solid rgba(28, 34, 46, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(rgba(11, 67, 217, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 67, 217, 0.035) 1px, transparent 1px),
    #eef2f7;
  background-size: 24px 24px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.vector-map-stage {
  min-width: 100%;
  display: block;
  transition: width 180ms ease;
  transform-origin: left top;
}

.vector-floor-map {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: geometricPrecision;
}

.source-floor-shell {
  opacity: 0.72;
  pointer-events: none;
}

.is-h4-source .source-floor-shell {
  opacity: 1;
}

.is-source-traced .architectural-zone-boundary {
  fill: rgba(239, 245, 255, 0.32);
  stroke: rgba(91, 130, 206, 0.68);
  stroke-width: 1px;
  stroke-dasharray: 4 5;
}

.partial-map-frame rect {
  fill: #f8fafc;
  stroke: #9aa6b8;
  stroke-width: 2px;
  stroke-dasharray: 8 8;
}

.partial-map-frame text {
  fill: #778294;
  font-size: 11px;
  font-weight: 760;
}

.vector-map-title {
  fill: #111522;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.vector-map-subtitle,
.vector-map-legend {
  fill: #5f6877;
  font-size: 12px;
  font-weight: 700;
}

.building-footprint-label {
  fill: #707a8a;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.building-core rect {
  fill: #eef1f5;
  stroke: #626d7e;
  stroke-width: 1.5px;
}

.building-core path {
  fill: none;
  stroke: #8993a2;
  stroke-width: 1px;
}

.building-core text {
  fill: #626d7e;
  font-size: 7px;
  font-weight: 800;
}

.building-aisle > path:first-child {
  fill: none;
  stroke: #aeb6c2;
  stroke-width: 24px;
  stroke-linecap: round;
  opacity: 0.22;
}

.building-aisle path:not(:first-child) {
  fill: none;
  stroke: #7b8697;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.building-entrance rect {
  fill: #ffffff;
  stroke: #27304a;
  stroke-width: 1.4px;
}

.building-entrance path {
  fill: none;
  stroke: #27304a;
  stroke-width: 1.2px;
}

.building-entrance text {
  fill: #27304a;
  font-size: 8px;
  font-weight: 850;
}

.architectural-zone-boundary {
  fill: rgba(237, 242, 255, 0.55);
  stroke: #9db4e7;
  stroke-width: 1.2px;
  stroke-dasharray: 5 5;
}

.architectural-zone-title {
  fill: #0b43d9;
  font-size: 13px;
  font-weight: 900;
}

.architectural-zone-count {
  fill: #5f6877;
  font-size: 8px;
  font-weight: 780;
}

.architectural-booth .vector-booth-code,
.architectural-booth .vector-booth-name {
  pointer-events: none;
}

.positioned-floor-layout {
  isolation: isolate;
}

.positioned-booth rect {
  fill: #c9eef7;
  stroke: #267a98;
  stroke-width: 1.05px;
  vector-effect: non-scaling-stroke;
}

.is-h4-source .positioned-booth:not(.is-target):not(.is-route) rect {
  fill: rgba(255, 255, 255, 0.94);
}

.is-h4-source .layout-zone-main:not(.is-target):not(.is-route) rect {
  stroke: #d95c63;
}

.is-h4-source .layout-zone-ft-b:not(.is-target):not(.is-route) rect,
.is-h4-source .layout-zone-ft-o:not(.is-target):not(.is-route) rect {
  stroke: #9248bd;
}

.is-h4-source .layout-zone-ft-c:not(.is-target):not(.is-route) rect {
  stroke: #d85d00;
}

.is-h4-source .layout-zone-ft-d:not(.is-target):not(.is-route) rect {
  stroke: #00876e;
}

.is-h4-source .layout-zone-ft-a:not(.is-target):not(.is-route) rect {
  stroke: #008aa8;
}

.is-h4-source .layout-zone-main .positioned-booth-code {
  fill: #b9434d;
}

.is-h4-source .layout-zone-ft-b .positioned-booth-code,
.is-h4-source .layout-zone-ft-o .positioned-booth-code {
  fill: #74339b;
}

.is-h4-source .layout-zone-ft-c .positioned-booth-code {
  fill: #b94f00;
}

.is-h4-source .layout-zone-ft-d .positioned-booth-code {
  fill: #00735d;
}

.is-h4-source .layout-zone-ft-a .positioned-booth-code {
  fill: #007893;
}

.positioned-booth.is-route rect {
  fill: #dce8ff;
  stroke: #0b43d9;
  stroke-width: 1.8px;
}

.positioned-booth.is-target rect {
  fill: #fff0e8;
  stroke: #b73b00;
  stroke-width: 2.6px;
}

.positioned-booth.is-unmatched rect {
  fill: #f4f6f8;
  stroke: #8c96a5;
  stroke-dasharray: 3 2;
}

.positioned-booth-code {
  fill: #075c80;
  font-weight: 900;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.positioned-booth-name {
  fill: #111522;
  font-weight: 780;
  pointer-events: none;
}

.positioned-booth.is-target .positioned-booth-code {
  fill: #b73b00;
}

.positioned-target-marker {
  fill: #b73b00;
}

.positioned-route-marker {
  fill: #0b43d9;
}

.positioned-source-only rect {
  fill: rgba(236, 239, 244, 0.72);
  stroke: #8a94a2;
  stroke-width: 1px;
  stroke-dasharray: 4 3;
  vector-effect: non-scaling-stroke;
}

.positioned-source-only text {
  fill: #717b89;
  font-size: 6px;
  font-weight: 760;
}

.positioned-facility rect {
  fill: #d7f3e8;
  stroke: #4b9b7b;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.positioned-facility.is-service rect {
  fill: #ffe6b4;
  stroke: #c88419;
}

.is-h4-source .positioned-facility.is-stage rect,
.is-h4-source .positioned-facility.is-meetup rect {
  fill: rgba(255, 255, 255, 0.14);
  stroke: rgba(255, 255, 255, 0.72);
}

.is-h4-source .positioned-facility.is-stage text,
.is-h4-source .positioned-facility.is-meetup text {
  fill: #ffffff;
}

.positioned-facility text {
  fill: #2d6d57;
  font-size: 6px;
  font-weight: 850;
  pointer-events: none;
}

.vector-zone-title,
.vector-zone-count,
.vector-entrance-label {
  fill: #fff;
  font-weight: 850;
}

.vector-zone-title {
  font-size: 15px;
}

.vector-zone-count {
  font-size: 10px;
  opacity: 0.82;
}

.vector-entrance-label {
  font-size: 11px;
}

.vector-booth {
  cursor: pointer;
  outline: none;
}

.vector-booth rect {
  transition: fill 140ms ease, stroke 140ms ease;
}

.vector-booth:hover rect,
.vector-booth:focus rect {
  fill: #edf2ff;
  stroke: #0b43d9;
  stroke-width: 2px;
}

.vector-booth.is-target:hover rect,
.vector-booth.is-target:focus rect {
  fill: #fff0e8;
  stroke: #b73b00;
  stroke-width: 3px;
}

.vector-booth-code {
  fill: #0b43d9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.vector-booth.is-target .vector-booth-code {
  fill: #b73b00;
}

.vector-booth-name {
  fill: #111522;
  font-size: 9px;
  font-weight: 730;
  pointer-events: none;
}

.floor-map-note {
  margin: 0;
  padding: 9px 14px calc(10px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  background: #f6f7f9;
}

@media (min-width: 760px) {
  .map-backdrop {
    align-items: center;
    padding: 24px;
  }

  .floor-map-sheet {
    border-radius: 16px;
  }
}

@media (max-width: 759px) {
  .floor-map-sheet:has(.vector-floor-map.is-h4-source) {
    height: auto;
    max-height: 94svh;
  }

  .floor-map-viewport:has(.vector-floor-map.is-h4-source) {
    flex: 0 0 min(58svh, calc(87.5vw - 17.5px));
    height: min(58svh, calc(87.5vw - 17.5px));
  }
}

.expired-screen,
.preference-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(21, 20, 18, 0.12), rgba(21, 20, 18, 0.35)),
    #eee7da;
}

.preference-backdrop {
  align-items: flex-end;
  padding: 14px 12px 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.16), rgba(20, 19, 17, 0.72)),
    linear-gradient(135deg, rgba(238, 111, 75, 0.3), rgba(53, 100, 216, 0.22)),
    url("https://downloadprod.worldaic.com.cn/static/4e1ab0df/025f6c26-3239-4bf3-84d5-da589dbdc3e2_WAIC%E5%B0%81%E9%9D%A2.png") center / cover;
  backdrop-filter: blur(8px);
}

.expired-screen[hidden],
.preference-backdrop[hidden] {
  display: none;
}

.expired-screen > div {
  width: min(420px, 100%);
  padding: 20px;
  border: 1.5px solid rgba(23, 21, 18, 0.2);
  border-radius: 8px;
  background: #fff8ea;
  box-shadow: 8px 8px 0 rgba(23, 21, 18, 0.12);
}

.preference-sheet {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(448px, 100%);
  max-height: min(92svh, 760px);
  overflow: hidden;
  border: 1.5px solid rgba(255, 250, 240, 0.52);
  border-radius: 8px 8px 0 0;
  background: #fffdf6;
  box-shadow: 0 -18px 54px rgba(7, 6, 5, 0.28);
}

.preference-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
}

.expired-screen .brand-chip {
  margin-bottom: 18px;
  color: var(--ink);
  border-color: rgba(23, 21, 18, 0.24);
  background: rgba(246, 182, 66, 0.2);
}

.expired-screen h1,
.preference-copy h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.expired-screen p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.preference-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}

.preference-kicker {
  max-width: calc(100% - 50px);
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid rgba(53, 100, 216, 0.22);
  border-radius: 8px;
  background: rgba(53, 100, 216, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preference-copy {
  display: grid;
  gap: 8px;
  padding: 14px 18px 0;
}

.preference-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.42;
}

.preference-copy p:first-child {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(238, 111, 75, 0.22);
  background: rgba(238, 111, 75, 0.1);
  color: #a13f25;
  font-size: 12px;
  font-weight: 900;
}

.preference-body {
  min-height: 0;
  overflow: auto;
  padding: 16px 18px 0;
  scrollbar-width: none;
}

.preference-body::-webkit-scrollbar {
  display: none;
}

.profile-input {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}

.profile-input[hidden] {
  display: none;
}

.profile-input span,
.setup-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profile-input input,
.profile-input textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid rgba(23, 21, 18, 0.2);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
}

.profile-input textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

.profile-setup {
  display: grid;
  gap: 16px;
  margin: 0 0 14px;
}

.setup-group {
  display: grid;
  gap: 8px;
}

.setup-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.setup-group-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.setup-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preference-sheet .filter-chip {
  min-height: 42px;
  padding: 10px 12px;
  border: 1.5px solid rgba(23, 21, 18, 0.14);
  background: #fffaf0;
  box-shadow: 3px 3px 0 rgba(23, 21, 18, 0.05);
}

.preference-sheet .filter-chip.is-active {
  border-color: rgba(23, 21, 18, 0.7);
  background: #171512;
  color: #fffaf0;
  box-shadow: 4px 4px 0 rgba(238, 111, 75, 0.34);
}

.preference-preview {
  margin: 16px 0 4px;
  padding: 12px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 8px;
  background: #f5f8ff;
}

.preference-preview-title {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.preference-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.preference-preview-grid span {
  min-width: 0;
  padding: 8px 9px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preference-actions {
  grid-template-columns: 0.88fr 0.92fr 1.4fr;
  gap: 8px;
  margin: 0;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(23, 21, 18, 0.1);
  background: rgba(255, 253, 246, 0.9);
  backdrop-filter: blur(14px);
}

.preference-actions.is-settings {
  grid-template-columns: 1fr 1.35fr;
}

.preference-actions .preference-back[hidden] {
  display: none;
}

.preference-actions .card-action {
  min-height: 44px;
  padding: 10px 8px;
  font-size: 13px;
}

.profile-edit-chip {
  border-color: rgba(53, 100, 216, 0.28);
  background: rgba(53, 100, 216, 0.1);
  color: var(--blue);
}

.match-profile-fields {
  padding-top: 2px;
}

.match-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 8px;
}

.match-status-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.74);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.match-status-chip.is-action {
  border-color: rgba(53, 100, 216, 0.32);
  background: rgba(53, 100, 216, 0.1);
  color: var(--blue);
}

.match-profile-button {
  margin-top: 12px;
}

.meet-section {
  display: grid;
  gap: 10px;
}

.meet-section + .meet-section {
  margin-top: 16px;
}

.meet-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.meet-section-head p {
  width: fit-content;
  margin: 0 0 5px;
  padding: 4px 7px;
  border: 1px solid rgba(238, 111, 75, 0.26);
  border-radius: 6px;
  background: rgba(238, 111, 75, 0.08);
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.meet-section-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
}

.meet-section-head > span {
  min-width: 34px;
  padding: 7px 8px;
  border-radius: 999px;
  background: #fffdf6;
  box-shadow: inset 0 0 0 1px rgba(23, 21, 18, 0.12);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.meet-list {
  display: grid;
  gap: 10px;
}

.match-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid rgba(23, 21, 18, 0.16);
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: 5px 5px 0 rgba(23, 21, 18, 0.08);
}

.match-card.is-want {
  border-color: rgba(238, 111, 75, 0.34);
  box-shadow: 5px 5px 0 rgba(238, 111, 75, 0.18);
}

.match-card.is-contacted {
  border-color: rgba(44, 138, 99, 0.34);
  box-shadow: 5px 5px 0 rgba(44, 138, 99, 0.18);
}

.guest-lead-card.is-follow {
  border-color: rgba(53, 100, 216, 0.34);
  box-shadow: 5px 5px 0 rgba(53, 100, 216, 0.16);
}

.guest-lead-card.is-skip {
  opacity: 0.58;
}

.match-empty-card {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(245, 248, 255, 0.96)),
    #fffdf6;
}

.match-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.match-card-head p {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.match-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.08;
}

.match-card-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.match-card-head > strong {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 8px 7px;
  border-radius: 8px;
  background: rgba(246, 182, 66, 0.22);
  color: #7c4c08;
  font-size: 14px;
  text-align: center;
}

.match-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.match-reasons span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(53, 100, 216, 0.1);
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.match-context {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.match-opener {
  padding: 11px 12px;
  border-left: 4px solid rgba(238, 111, 75, 0.42);
  border-radius: 8px;
  background: #fff8ea;
}

.match-opener span {
  display: block;
  margin-bottom: 6px;
  color: #a13f25;
  font-size: 12px;
  font-weight: 900;
}

.match-opener p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.guest-lead-note {
  padding: 11px 12px;
  border-left: 4px solid rgba(53, 100, 216, 0.38);
  border-radius: 8px;
  background: rgba(245, 248, 255, 0.92);
}

.guest-lead-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.guest-lead-note p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.match-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.match-actions .card-action {
  min-height: 38px;
  min-width: 0;
  font-size: 12px;
}

.match-actions-primary {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.72fr);
}

.match-actions-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guest-lead-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.guest-lead-actions .card-action {
  min-height: 38px;
  min-width: 0;
  font-size: 12px;
}

@media (min-width: 480px) {
  .preference-backdrop {
    align-items: center;
    padding: 24px;
  }

  .preference-sheet {
    max-height: min(88svh, 760px);
    border-radius: 8px;
  }
}

.detail-sheet {
  width: min(520px, 100vw);
  max-height: 88svh;
  overflow: auto;
  border-radius: 8px 8px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.sheet-cover {
  min-height: 210px;
  background: #dfd2c0 center / cover no-repeat;
}

.sheet-body {
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sheet-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.close-button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.detail-cell {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
}

.detail-cell span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
}

.detail-cell strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.detail-section {
  margin-top: 16px;
}

.detail-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.detail-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-text {
  display: grid;
  gap: 8px;
}

.detail-text p {
  padding: 0 0 0 10px;
  border-left: 3px solid rgba(246, 182, 66, 0.42);
}

.agenda-section {
  display: grid;
  gap: 6px;
}

.agenda-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.agenda-line time {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.agenda-head {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.agenda-line strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.agenda-head span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.agenda-speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.agenda-speakers span {
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(246, 182, 66, 0.16);
  color: #7c4c08;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-toggle {
  width: 100%;
  min-height: 34px;
  margin-top: 2px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.76);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.guest-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.guest-row.has-intro {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.58);
}

.guest-avatar {
  display: flex;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 10px;
  background: #efe4d4 center / contain no-repeat;
  align-items: center;
  justify-content: center;
  color: #7c4c08;
  font-size: 17px;
  font-weight: 900;
  overflow: hidden;
}

.guest-avatar-empty {
  background:
    linear-gradient(135deg, rgba(246, 182, 66, 0.24), rgba(53, 100, 216, 0.08)),
    #f6eedf;
}

.guest-row strong {
  display: block;
  font-size: 13px;
}

.guest-row span {
  color: var(--muted);
  font-size: 12px;
}

.guest-intro {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
}

.product-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 8px;
  background: #fff center / cover no-repeat;
}

.product-row strong,
.product-row span {
  display: block;
}

.product-row strong {
  font-size: 13px;
  line-height: 1.22;
}

.product-row span,
.product-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: min(360px, calc(100vw - 28px));
  padding: 11px 13px;
  border-radius: 8px;
  background: #171512;
  color: #fffaf0;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
  transform: translateX(-50%);
}

@media (min-width: 480px) {
  .hero {
    min-height: 390px;
  }

  .hero-content {
    min-height: 390px;
  }
}

/* v2 exploration: field pass + ticket wallet + city route */
body {
  background:
    linear-gradient(180deg, rgba(19, 18, 16, 0) 0, rgba(19, 18, 16, 0.1) 100%),
    #eee7da;
}

.app-shell {
  background: #eee7da;
}

.hero {
  min-height: 390px;
  background: #141311;
}

.hero::before {
  content: "";
  display: none;
  position: absolute;
  top: 96px;
  right: -38px;
  z-index: 2;
  width: 180px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.5);
  border-bottom: 1px solid rgba(255, 250, 240, 0.5);
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transform: rotate(18deg);
}

.hero::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 1;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(255, 250, 240, 0.45) 50%, transparent 0);
  background-size: 10px 1px;
}

.hero-image {
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.08) rotate(-0.6deg);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.02) 0%, rgba(14, 13, 12, 0.34) 38%, rgba(238, 231, 218, 1) 100%),
    linear-gradient(110deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.05) 62%, rgba(0, 0, 0, 0.38));
}

.hero-content {
  min-height: 390px;
  padding-bottom: 34px;
}

.brand-chip {
  border-color: rgba(255, 250, 240, 0.72);
  background: rgba(20, 19, 17, 0.42);
  box-shadow: 4px 4px 0 rgba(246, 182, 66, 0.4);
}

.icon-button {
  border-color: rgba(255, 250, 240, 0.62);
  background: rgba(20, 19, 17, 0.42);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 250, 240, 0.54);
  background: rgba(238, 111, 75, 0.42);
  color: #fffaf0;
  transform: rotate(-2deg);
}

.hero h1 {
  max-width: 310px;
  font-size: clamp(44px, 14vw, 58px);
  line-height: 0.92;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
}

.hero-grid {
  position: relative;
  gap: 7px;
  margin-top: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.stat-card {
  min-height: 32px;
  border: 1px solid rgba(255, 250, 240, 0.36);
  border-radius: 999px;
  background: rgba(20, 19, 17, 0.34);
  box-shadow: none;
}

.stat-card strong {
  font-size: 24px;
}

.stat-card span {
  color: rgba(255, 250, 240, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.main {
  margin-top: -18px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 21, 18, 0.03) 1px, transparent 1px),
    #eee7da;
  background-size: 28px 28px;
}

.search-block {
  background: linear-gradient(180deg, #eee7da 0%, rgba(238, 231, 218, 0.9) 100%);
}

.search-box {
  min-height: 54px;
  border: 1.5px solid rgba(23, 21, 18, 0.22);
  background: #fff8ea;
  box-shadow: 6px 6px 0 rgba(23, 21, 18, 0.1);
}

.date-chip {
  position: relative;
  min-width: 92px;
  border-color: rgba(23, 21, 18, 0.18);
  background: #fff8ea;
  box-shadow: 4px 4px 0 rgba(23, 21, 18, 0.08);
}

.date-chip::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(23, 21, 18, 0.26) 45%, transparent 0);
  background-size: 8px 1px;
}

.date-chip.is-active,
.filter-chip.is-active,
.lane-chip.is-active {
  background: #171512;
  box-shadow: 5px 5px 0 rgba(238, 111, 75, 0.45);
}

.route-strip {
  gap: 10px;
  padding-bottom: 12px;
}

.route-card,
.insight-card {
  position: relative;
  border: 1.5px solid rgba(23, 21, 18, 0.18);
  background: #fff8ea;
  box-shadow: 6px 6px 0 rgba(246, 182, 66, 0.28);
}

.route-card:nth-child(2) {
  transform: rotate(1.2deg);
  box-shadow: 6px 6px 0 rgba(44, 138, 99, 0.18);
}

.route-card:nth-child(3) {
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0 rgba(53, 100, 216, 0.16);
}

.route-card::before,
.insight-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee7da;
  border: 1px solid rgba(23, 21, 18, 0.1);
  transform: translateY(-50%);
}

.section-title {
  align-items: center;
}

.section-title p {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(238, 111, 75, 0.28);
  background: rgba(238, 111, 75, 0.12);
}

.section-title h2 {
  font-size: 25px;
}

.quiet-button {
  border-color: rgba(23, 21, 18, 0.2);
  background: #fff8ea;
  box-shadow: 4px 4px 0 rgba(23, 21, 18, 0.08);
}

.event-list {
  gap: 14px;
}

.event-card {
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 10px 10px 9px;
  border: 1.5px solid rgba(23, 21, 18, 0.2);
  background: #fff8ea;
  box-shadow: 7px 7px 0 rgba(23, 21, 18, 0.08);
}

.event-card:nth-child(3n + 2) {
  transform: rotate(-0.45deg);
}

.event-card:nth-child(3n) {
  transform: rotate(0.4deg);
}

.event-card::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 121px;
  width: 1px;
  background-image: linear-gradient(180deg, rgba(23, 21, 18, 0.24) 48%, transparent 0);
  background-size: 1px 9px;
}

.event-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 115px;
  width: 12px;
  height: 20px;
  border-radius: 999px;
  background: #eee7da;
  border: 1px solid rgba(23, 21, 18, 0.12);
  transform: translateY(-50%);
}

.cover {
  min-height: 146px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  filter: saturate(1.12);
}

.time-block {
  left: 8px;
  right: 8px;
  bottom: 8px;
}

.time-block strong {
  font-size: 20px;
}

.event-body {
  position: relative;
  z-index: 1;
  padding-left: 4px;
}

.type-pill,
.signal-pill,
.tag {
  border-radius: 3px;
}

.type-pill {
  border-color: rgba(53, 100, 216, 0.24);
  background: rgba(53, 100, 216, 0.1);
}

.signal-pill {
  border-color: rgba(44, 138, 99, 0.24);
  background: rgba(44, 138, 99, 0.1);
}

.event-card h3 {
  font-size: 18px;
  line-height: 1.13;
}

.exhibitor-card .cover {
  background-color: #fffdf6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.exhibitor-card .cover::after {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.1), rgba(23, 21, 18, 0.5)),
    linear-gradient(135deg, rgba(246, 182, 66, 0.18), rgba(53, 100, 216, 0.12));
}

.booth-block strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.exhibitor-card.is-compact {
  grid-template-columns: 86px minmax(0, 1fr);
}

.exhibitor-card.is-compact::before {
  left: 104px;
}

.exhibitor-card.is-compact::after {
  left: 98px;
}

.exhibitor-card.is-compact .cover {
  min-height: 122px;
}

.subsection-label {
  width: fit-content;
  margin: 4px 0 -2px;
  padding: 5px 8px;
  border: 1px solid rgba(23, 21, 18, 0.16);
  background: rgba(246, 182, 66, 0.18);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.booth-route-block {
  margin-top: 16px;
}

.route-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.route-heading p {
  width: fit-content;
  margin: 0 0 6px;
  padding: 5px 8px;
  border: 1px solid rgba(44, 138, 99, 0.24);
  background: rgba(44, 138, 99, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.route-heading strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
}

.route-heading span {
  max-width: 148px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  text-align: right;
}

.compact-list {
  gap: 10px;
}

.exhibitor-sheet-cover {
  min-height: 190px;
  background-color: #fffdf6;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(72%, 300px) auto;
}

.action-row {
  grid-template-columns: repeat(2, 1fr);
}

.sheet-actions,
.sheet-body .action-row {
  grid-template-columns: repeat(3, 1fr);
}

.card-action {
  border-color: rgba(23, 21, 18, 0.2);
  background: #fffdf6;
  box-shadow: 3px 3px 0 rgba(23, 21, 18, 0.07);
}

.card-action.is-on {
  background: #171512;
  box-shadow: 3px 3px 0 rgba(238, 111, 75, 0.45);
}

.card-action.is-primary {
  background: #2c8a63;
  box-shadow: 3px 3px 0 rgba(23, 21, 18, 0.14);
}

.match-actions-primary {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.72fr);
}

.match-actions-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guest-lead-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tabbar {
  background: rgba(255, 248, 234, 0.9);
}

.tab {
  border-radius: 6px;
}

.tab.is-active {
  box-shadow: 4px 4px 0 rgba(238, 111, 75, 0.36);
}

.timeline::before {
  background-image: linear-gradient(180deg, var(--coral), var(--gold), var(--green));
}

.timeline-card {
  border: 1.5px solid rgba(23, 21, 18, 0.18);
  background: #fff8ea;
  box-shadow: 5px 5px 0 rgba(23, 21, 18, 0.08);
}

.detail-sheet {
  background: #fff8ea;
}
