:root {
  --bg: #020616;
  --bg-deep: #01030c;
  --panel: rgba(7, 16, 43, 0.72);
  --panel-strong: rgba(9, 20, 54, 0.9);
  --line: rgba(132, 170, 255, 0.18);
  --line-bright: rgba(78, 222, 255, 0.42);
  --text: #f4f7ff;
  --muted: #8c9ab9;
  --cyan: #23e4ed;
  --blue: #2f7cff;
  --purple: #8a4dff;
  --pink: #e45dff;
  --success: #35e0b4;
  --warning: #ffd36b;
  --danger: #ff718a;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 16%, rgba(44, 96, 255, 0.2), transparent 24%),
    radial-gradient(circle at 35% 90%, rgba(108, 56, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #030714 0%, #04091a 52%, #020510 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.app-shell::before {
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}

.app-shell::after {
  width: 440px;
  height: 680px;
  right: -140px;
  top: 50px;
  background: linear-gradient(90deg, transparent, rgba(43, 112, 255, 0.3), rgba(45, 238, 245, 0.2), rgba(152, 48, 255, 0.28));
  filter: blur(62px);
  transform: skewX(-12deg);
  opacity: 0.58;
}

.topbar {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 6, 22, 0.7);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand-set,
.header-actions,
.nav-list,
.badge-row,
.section-heading,
.profile-line,
.session-meta,
.resource-meta,
.question-meta,
.question-actions,
.ask-strip,
.modal-head {
  display: flex;
  align-items: center;
}

.brand-set {
  gap: 16px;
}

.event-brand-name {
  color: #dce7ff;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.tencent-mark {
  font-size: 17px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cloud-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
  color: #e8efff;
}

.cloud-symbol {
  width: 25px;
  height: 15px;
  border: 1.8px solid currentColor;
  border-radius: 999px;
  position: relative;
  display: inline-block;
}

.cloud-symbol::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.8px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  position: absolute;
  left: 5px;
  top: -7px;
  background: var(--bg);
}

.header-actions {
  gap: 9px;
}

.lang-btn,
.screen-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 8px;
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px;
  border: 1px solid rgba(132, 170, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 18, 45, 0.7);
  color: #60708f;
}

.lang-btn {
  border-radius: 999px;
  font-weight: 700;
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(24, 141, 255, 0.5), rgba(125, 72, 255, 0.42));
  box-shadow: 0 6px 18px rgba(40, 112, 255, 0.2);
}

.screen-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}

.desktop-nav {
  padding: 12px 28px;
  position: sticky;
  top: 72px;
  z-index: 35;
  background: rgba(2, 6, 22, 0.82);
  backdrop-filter: blur(18px);
}

.nav-list {
  gap: 8px;
  justify-content: center;
}

.nav-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  transition: 0.2s ease;
}

.nav-btn:hover,
.nav-btn.active {
  color: #fff;
  border-color: rgba(64, 216, 255, 0.35);
  background: linear-gradient(135deg, rgba(48, 110, 255, 0.24), rgba(127, 68, 255, 0.18));
}

.page-stack {
  padding: 16px 28px 116px;
}

.page {
  display: none;
  animation: pageIn 0.35s ease;
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10, 22, 58, 0.82), rgba(3, 9, 28, 0.66));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03), var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  padding: 54px 48px 38px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 22, 1) 0%, rgba(2, 6, 22, 0.94) 42%, rgba(2, 6, 22, 0.36) 73%, rgba(2, 6, 22, 0.84) 100%),
    linear-gradient(180deg, transparent 40%, rgba(2, 6, 22, 0.92) 100%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 100%;
  right: 0;
  top: 0;
  background: url("./assets/workbuddy-mascot.jpg") center 42% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 90%, transparent 100%);
  opacity: 0.96;
}

.light-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.light-beams span {
  position: absolute;
  top: -10%;
  width: 7%;
  height: 120%;
  transform: skewX(-8deg);
  filter: blur(7px);
  opacity: 0.4;
}

.light-beams span:nth-child(1) { right: 37%; background: #113cff; }
.light-beams span:nth-child(2) { right: 29%; background: #00d5ff; opacity: 0.34; }
.light-beams span:nth-child(3) { right: 20%; background: #4b1dff; }
.light-beams span:nth-child(4) { right: 11%; background: #dd36ff; opacity: 0.28; }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(64%, 820px);
}

.hero-kicker {
  color: #a8b8da;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 4.35vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-title-secondary {
  margin-top: 8px;
  font-size: 0.62em;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  margin: 22px 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: #ced9f1;
  max-width: 560px;
}

.badge-row {
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid rgba(129, 178, 255, 0.2);
  color: #9dadcc;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  background: rgba(6, 15, 42, 0.45);
}

.speech {
  position: absolute;
  z-index: 4;
  right: 31%;
  bottom: 84px;
  width: 220px;
  padding: 18px 20px;
  border: 1px solid rgba(125, 205, 255, 0.3);
  border-radius: 24px;
  background: rgba(5, 15, 43, 0.58);
  backdrop-filter: blur(14px);
  color: #bdcbea;
  line-height: 1.55;
  font-size: 13px;
}

.speech strong {
  color: var(--cyan);
}

.workbuddy-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 228, 237, 0.55);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.workbuddy-link:hover,
.workbuddy-link:focus-visible {
  color: #fff;
  text-shadow: 0 0 14px rgba(35, 228, 237, 0.7);
}

.quick-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -72px;
  padding: 0 24px;
}

.quick-card {
  min-height: 148px;
  border: 1px solid rgba(123, 163, 255, 0.17);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(12, 24, 57, 0.91), rgba(5, 11, 30, 0.8));
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 10% 0%, rgba(60, 193, 255, 0.2), transparent 52%);
  transition: opacity 0.2s ease;
}

.quick-card:hover::before {
  opacity: 1;
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0089ff, #4b7bff);
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.32);
}

.quick-card:nth-child(2) .icon-box { background: linear-gradient(135deg, #6948ff, #a44cff); }
.quick-card:nth-child(3) .icon-box { background: linear-gradient(135deg, #5c60ff, #2dc8ff); }
.quick-card:nth-child(4) .icon-box { background: linear-gradient(135deg, #1478e8, #18c5e5); }

.icon-box svg {
  width: 19px;
  height: 19px;
}

.quick-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.quick-card p {
  margin: 0;
  color: #7583a3;
  font-size: 11px;
  line-height: 1.5;
}

.quick-card .arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: #afbddb;
  font-size: 20px;
}

.ask-strip {
  margin: 18px 24px 0;
  border: 1px solid rgba(108, 143, 226, 0.18);
  border-radius: 18px;
  min-height: 78px;
  padding: 12px 16px;
  gap: 14px;
  background: linear-gradient(145deg, rgba(8, 18, 47, 0.82), rgba(4, 10, 29, 0.88));
}

.mini-mascot-link {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-mascot-link:hover,
.mini-mascot-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 228, 237, 0.2);
}

.mini-mascot {
  display: block;
  width: 58px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  object-position: 52% 40%;
  border: 1px solid rgba(65, 229, 255, 0.3);
}

.ask-copy {
  min-width: 130px;
}

.ask-copy strong,
.ask-copy span {
  display: block;
}

.ask-copy strong {
  font-size: 13px;
}

.ask-copy span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.ask-input-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ask-input-wrap input,
.field,
textarea.field,
select.field {
  width: 100%;
  color: #fff;
  background: rgba(3, 9, 26, 0.76);
  border: 1px solid rgba(120, 160, 255, 0.16);
  border-radius: 12px;
  outline: none;
  padding: 12px 14px;
}

.ask-input-wrap input:focus,
.field:focus {
  border-color: rgba(48, 216, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(35, 228, 237, 0.08);
}

.send-btn,
.primary-btn,
.secondary-btn,
.ghost-btn {
  border-radius: 12px;
  font-weight: 750;
  border: 0;
}

.send-btn,
.primary-btn {
  color: #031025;
  background: linear-gradient(135deg, var(--cyan), #6e86ff);
  box-shadow: 0 9px 24px rgba(35, 190, 237, 0.2);
}

.send-btn {
  width: 48px;
}

.section-hero {
  border-radius: 26px;
  padding: 34px;
  margin-bottom: 16px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.section-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(55, 222, 255, 0.22);
  box-shadow: 0 0 80px rgba(87, 77, 255, 0.18);
}

.section-hero h2 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
}

.section-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 620px;
  line-height: 1.65;
}

.section-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.panel {
  border-radius: var(--radius);
  padding: 20px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

.section-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading h3 {
  margin: 0;
  font-size: 18px;
}

.count-chip,
.status-chip,
.topic-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}

.count-chip,
.status-chip {
  color: var(--cyan);
  background: rgba(35, 228, 237, 0.08);
  border: 1px solid rgba(35, 228, 237, 0.2);
}

.profile-card,
.speaker-card,
.info-row,
.session-card,
.track-option,
.resource-card,
.question-card {
  border: 1px solid rgba(132, 170, 255, 0.14);
  background: rgba(7, 17, 43, 0.6);
  border-radius: 16px;
}

.profile-card {
  padding: 14px;
  margin-bottom: 10px;
}

.profile-line {
  gap: 12px;
}

.avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1477ff, #834cff);
}

.profile-card b,
.speaker-card b {
  display: block;
  font-size: 14px;
}

.profile-card small,
.speaker-card small {
  color: var(--muted);
  font-size: 11px;
}

.topic-chip {
  color: #bfcdf0;
  border: 1px solid rgba(132, 170, 255, 0.15);
  background: rgba(22, 42, 86, 0.52);
  margin: 8px 5px 0 0;
}

.section-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.peer-groups {
  display: grid;
  gap: 10px;
}

.institution-group {
  border: 1px solid rgba(132, 170, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(7, 17, 43, 0.56);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.institution-group[open] {
  border-color: rgba(35, 228, 237, 0.32);
  background: linear-gradient(145deg, rgba(9, 26, 56, 0.76), rgba(7, 16, 43, 0.62));
}

.institution-group summary {
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.institution-group summary::-webkit-details-marker {
  display: none;
}

.institution-name {
  color: #f6f8ff;
  font-size: 15px;
  font-weight: 780;
}

.institution-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.institution-meta i {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid #9fb2db;
  border-bottom: 1.5px solid #9fb2db;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.institution-group[open] .institution-meta i {
  transform: rotate(225deg) translate(-2px, -2px);
}

.institution-attendees {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
  animation: pageIn 0.22s ease;
}

.peer-row {
  min-height: 66px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(132, 170, 255, 0.12);
  border-radius: 13px;
  background: rgba(3, 10, 29, 0.58);
}

.peer-row b,
.peer-row small {
  display: block;
}

.peer-row b {
  font-size: 13px;
  color: #f4f7ff;
}

.peer-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.confirmed-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 8px;
  color: #8ff5dc;
  border: 1px solid rgba(53, 224, 180, 0.2);
  background: rgba(53, 224, 180, 0.08);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.confirmed-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(53, 224, 180, 0.7);
}

.speaker-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.speaker-card,
.resource-card {
  padding: 15px;
}

.speaker-card p,
.resource-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 9px 0 0;
}

.info-list {
  display: grid;
  gap: 9px;
}

.info-row {
  padding: 13px 14px;
}

.info-row b,
.info-row span {
  display: block;
}

.info-row b {
  font-size: 12px;
  color: #8c9ec4;
  margin-bottom: 4px;
}

.info-row span {
  font-size: 14px;
}

.day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.day-tabs::-webkit-scrollbar { display: none; }

.day-tab {
  min-width: 116px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(7, 16, 42, 0.65);
  border-radius: 13px;
  padding: 10px 12px;
  text-align: left;
}

.day-tab b,
.day-tab span {
  display: block;
}

.day-tab b { font-size: 12px; }
.day-tab span { font-size: 10px; margin-top: 3px; }

.day-tab.active {
  border-color: rgba(35, 228, 237, 0.42);
  color: #fff;
  background: linear-gradient(135deg, rgba(38, 105, 255, 0.5), rgba(104, 49, 255, 0.28));
}

.day-panel {
  display: none;
}

.day-panel.active {
  display: grid;
  gap: 10px;
}

.session-card {
  padding: 14px 14px 14px 18px;
  position: relative;
}

.session-card::before {
  content: "";
  width: 3px;
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 8px;
  border-radius: 4px;
  background: linear-gradient(var(--cyan), var(--purple));
}

.session-card h4 {
  margin: 6px 0 5px;
  font-size: 15px;
}

.session-meta,
.resource-meta,
.question-meta {
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.track-group {
  padding: 15px;
  border: 1px solid rgba(35, 228, 237, 0.2);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(9, 39, 70, 0.76), rgba(21, 15, 56, 0.66));
}

.track-group > b {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

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

.track-option {
  padding: 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  transition: 0.2s ease;
}

.track-option:has(input:checked) {
  border-color: rgba(35, 228, 237, 0.58);
  background: rgba(32, 113, 164, 0.22);
  box-shadow: inset 0 0 22px rgba(35, 228, 237, 0.06);
}

.track-option input {
  margin-top: 3px;
  accent-color: var(--cyan);
}

.track-option b,
.track-option span {
  display: block;
}

.track-option b { font-size: 13px; }
.track-option span { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }

.field-group {
  display: grid;
  gap: 6px;
}

.field-label {
  color: #c8d4ef;
  font-size: 12px;
}

textarea.field {
  min-height: 138px;
  resize: vertical;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 42px;
  padding: 0 16px;
}

.secondary-btn {
  color: #dfe9ff;
  border: 1px solid var(--line);
  background: rgba(22, 41, 82, 0.66);
}

.ghost-btn {
  color: var(--muted);
  border: 1px solid rgba(132, 170, 255, 0.12);
  background: transparent;
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.form-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 10px 0 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(53, 224, 180, 0.08), 0 0 15px rgba(53, 224, 180, 0.6);
}

.question-list {
  display: grid;
  gap: 9px;
  max-height: 520px;
  overflow: auto;
}

.question-card {
  padding: 13px;
}

.question-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.58;
  color: #d7e1f7;
}

.empty-state {
  min-height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.resource-card {
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.resource-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -50px;
  bottom: -55px;
  background: radial-gradient(circle, rgba(52, 188, 255, 0.28), transparent 68%);
}

.resource-card h4 {
  margin: 13px 0 0;
  font-size: 15px;
}

.resource-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #167bff, #7254ff);
  font-weight: 800;
}

.resource-meta {
  margin-top: 13px;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 80;
  min-width: 240px;
  max-width: calc(100% - 36px);
  padding: 12px 16px;
  border: 1px solid rgba(35, 228, 237, 0.25);
  border-radius: 13px;
  color: #fff;
  background: rgba(4, 13, 35, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  font-size: 12px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 3, 14, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.dialog-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.dialog {
  width: min(460px, 100%);
  border-radius: 22px;
  padding: 22px;
  transform: translateY(18px) scale(0.98);
  transition: 0.22s ease;
}

.dialog-backdrop.show .dialog {
  transform: translateY(0) scale(1);
}

.modal-head {
  justify-content: space-between;
  gap: 12px;
}

.modal-head h3 {
  margin: 0;
}

.close-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 820px) {
  .topbar {
    height: 62px;
    padding: 0 16px;
  }

  .tencent-mark { font-size: 14px; }
  .event-brand-name { max-width: 180px; font-size: 9px; line-height: 1.25; }
  .desktop-nav { display: none; }
  .screen-link { display: none; }

  .page-stack {
    padding: 12px 12px 106px;
  }

  .hero {
    min-height: 610px;
    padding: 34px 22px 24px;
    border-radius: 24px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 6, 22, 0.95) 0%, rgba(2, 6, 22, 0.72) 48%, rgba(2, 6, 22, 0.96) 78%),
      linear-gradient(90deg, rgba(2, 6, 22, 0.92), transparent);
  }

  .hero::after {
    width: 100%;
    height: 56%;
    top: auto;
    bottom: 0;
    background-position: 52% 30%;
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 84%, transparent 100%);
    opacity: 0.82;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 13px;
    max-width: 300px;
  }

  .speech {
    right: 18px;
    bottom: 100px;
    width: 190px;
    font-size: 12px;
    padding: 14px 16px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -36px;
    padding: 0 10px;
    gap: 9px;
  }

  .quick-card {
    min-height: 138px;
    padding: 14px;
  }

  .ask-strip {
    margin: 12px 10px 0;
    padding: 10px;
    flex-wrap: wrap;
  }

  .mini-mascot { width: 46px; height: 44px; }
  .ask-copy { flex: 1; }
  .ask-input-wrap { flex-basis: 100%; }

  .section-hero {
    min-height: 158px;
    padding: 25px 20px;
    border-radius: 22px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .col-12,
  .col-8,
  .col-7,
  .col-6,
  .col-5,
  .col-4 {
    grid-column: span 1;
  }

  .speaker-grid,
  .resource-grid,
  .track-options,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .panel { padding: 16px; }
  .question-list { max-height: none; }
  .institution-group summary { align-items: flex-start; }
  .institution-meta { gap: 8px; }
  .expand-label { display: none; }
  .peer-row { grid-template-columns: auto minmax(0, 1fr); }
  .peer-row .confirmed-chip { grid-column: 2; width: fit-content; }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    min-height: 66px;
    padding: 6px;
    border: 1px solid rgba(107, 155, 255, 0.2);
    border-radius: 19px;
    background: rgba(4, 11, 31, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
  }

  .mobile-nav .nav-btn {
    padding: 6px 2px;
    border-radius: 13px;
    font-size: 9px;
    display: grid;
    place-items: center;
    gap: 3px;
  }

  .mobile-nav .nav-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 420px) {
  .brand-set { gap: 10px; }
  .event-brand-name { display: none; }
  .hero-kicker { margin-bottom: 16px; font-size: 11px; }
  .hero { min-height: 585px; }
  .quick-card h3 { font-size: 14px; }
  .quick-card p { font-size: 10px; }
  .speech { width: 176px; bottom: 92px; }
}