:root {
  --paper: #eef4f9;
  --paper-deep: #dfe8f1;
  --card: #f8fbfe;
  --card-white: #ffffff;
  --ink: #0b1f36;
  --ink-soft: #5f7185;
  --line: rgba(14, 47, 80, 0.12);
  --line-strong: rgba(14, 47, 80, 0.22);
  --forest: #0c2e52;
  --forest-dark: #061a30;
  --coral: #1f6ead;
  --coral-dark: #0b4f86;
  --gold: #8ed3f2;
  --sun: #dcecf8;
  --sage: #a8c5da;
  --mint: #e2eef7;
  --sky: #e4f1fa;
  --rose: #d5e5f2;
  --shadow-sm: 0 8px 24px rgba(16, 49, 82, 0.07);
  --shadow-md: 0 18px 50px rgba(16, 49, 82, 0.11);
  --shadow-lg: 0 32px 80px rgba(5, 27, 50, 0.2);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --font-sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, sans-serif;
  --font-display: "Futura", "Avenir Next", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(235, 105, 72, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(185, 202, 164, 0.28), transparent 25%),
    radial-gradient(rgba(42, 67, 56, 0.045) 0.7px, transparent 0.7px);
  background-size: auto, auto, 20px 20px;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

.app-layout {
  position: relative;
  z-index: 1;
}

.official-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.topbar-logo {
  width: 112px;
}

.brand-divider {
  width: 1px;
  height: 29px;
  background: rgba(15, 48, 82, 0.16);
  flex: 0 0 auto;
}

.brand-halo {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.page-brand-halo {
  position: fixed;
  z-index: 0;
  width: min(76vw, 1180px);
  aspect-ratio: 340 / 72;
  left: 50%;
  top: 17vh;
  transform: translateX(-50%) scale(1.06);
  background-image: url("assets/stell-logo-blue.svg");
  filter: blur(28px);
  opacity: 0.035;
  mix-blend-mode: multiply;
}

.access-brand-halo {
  width: 66%;
  aspect-ratio: 340 / 72;
  left: 17%;
  top: 27%;
  background-image: url("assets/stell-logo-white.svg");
  filter: blur(38px);
  opacity: 0.12;
  mix-blend-mode: screen;
}

.access-panel-halo {
  width: 90%;
  aspect-ratio: 340 / 72;
  left: 5%;
  top: 18%;
  background-image: url("assets/stell-logo-blue.svg");
  filter: blur(30px);
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.hero-brand-halo {
  width: 53%;
  aspect-ratio: 340 / 72;
  right: -3%;
  top: 11%;
  background-image: url("assets/stell-logo-white.svg");
  filter: blur(34px);
  opacity: 0.105;
  mix-blend-mode: screen;
}

.screen-brand-halo {
  width: 63vw;
  aspect-ratio: 340 / 72;
  left: 18%;
  top: 28%;
  background-image: url("assets/stell-logo-white.svg");
  filter: blur(48px);
  opacity: 0.075;
  mix-blend-mode: screen;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.eyebrow,
.section-kicker,
.rail-heading,
.hero-label,
.event-card-top,
.stats-heading {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar {
  width: min(1580px, calc(100% - 40px));
  height: 72px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 20px 0 14px;
  border: 1px solid rgba(49, 68, 58, 0.1);
  border-radius: 20px;
  background: rgba(255, 251, 243, 0.82);
  box-shadow: 0 8px 40px rgba(52, 56, 45, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 19px;
  left: 5px;
  bottom: -9px;
  border-radius: 50%;
  background: var(--coral);
  transform: rotate(-8deg);
}

.brand-mark span {
  width: 4px;
  height: 19px;
  border-radius: 4px;
  background: #f7ead1;
  transform-origin: bottom center;
  transform: rotate(-17deg);
  position: relative;
  z-index: 1;
}

.brand-mark span:nth-child(2) {
  height: 26px;
  transform: rotate(2deg);
}

.brand-mark span:nth-child(3) {
  height: 16px;
  transform: rotate(20deg);
}

.brand-mark.large {
  width: 50px;
  height: 50px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.16em;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
}

.desktop-nav a,
.desktop-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #5f7068;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition:
    color 0.2s,
    background 0.2s;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: var(--ink);
  background: rgba(41, 72, 61, 0.05);
}

.desktop-nav .is-active {
  color: var(--ink);
  font-weight: 700;
  position: relative;
}

.desktop-nav .is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

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

.live-pill {
  height: 29px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(235, 105, 72, 0.09);
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.live-pill i,
.live-label i,
.admin-live i,
.screen-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(235, 105, 72, 0.12);
  animation: livePulse 2.2s infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(235, 105, 72, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(235, 105, 72, 0);
  }
}

.icon-button {
  appearance: none;
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  color: var(--ink-soft);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.icon-button:hover {
  background: white;
  border-color: var(--line-strong);
  color: var(--ink);
}

.screen-button span {
  font-size: 12px;
}

.profile-button {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--card);
  box-shadow: 0 0 0 1px var(--line);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.4), transparent 28%),
    linear-gradient(145deg, #efad7b, #d7684a);
  color: white;
  font-size: 13px;
  font-weight: 800;
  position: relative;
  cursor: pointer;
}

.app-layout {
  width: min(1580px, calc(100% - 40px));
  margin: 22px auto 70px;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr) 326px;
  gap: 22px;
  align-items: start;
}

.left-rail,
.right-rail {
  position: sticky;
  top: 22px;
}

.left-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card,
.journey-card,
.day-note,
.ai-card,
.live-stats {
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.88);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.event-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -64px;
  top: -64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 197, 100, 0.5), rgba(241, 197, 100, 0));
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow {
  font-size: 9px;
  font-weight: 800;
  color: #8b938c;
}

.eyebrow.light {
  color: rgba(247, 235, 211, 0.58);
}

.weather-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
  background: #f8e4b4;
  box-shadow: inset -7px -4px 0 rgba(234, 171, 88, 0.18);
}

.weather-dot::before,
.weather-dot::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 9px;
  border-radius: 3px;
  background: #e0a54d;
  top: 15px;
}

.weather-dot::before {
  left: -12px;
}

.weather-dot::after {
  right: -12px;
}

.event-card h2 {
  margin: 20px 0 13px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.event-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.event-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.event-meta .icon {
  width: 15px;
  height: 15px;
}

.join-progress {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.join-progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-soft);
}

.join-progress-copy strong {
  color: var(--ink);
  font-size: 14px;
}

.progress-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 10px;
  background: #e5ddd1;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), #f29d59);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pending-count {
  display: block;
  margin-top: 7px;
  color: #72899c;
  font-size: 8px;
}

.avatar-stack {
  display: flex;
  align-items: center;
  padding-left: 4px;
  margin-top: 14px;
}

.avatar-stack span {
  width: 28px;
  height: 28px;
  margin-left: -5px;
  border-radius: 50%;
  border: 2px solid var(--card-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 9px;
  font-weight: 700;
  background: var(--forest);
}

.avatar-stack .tone-coral {
  background: #df7655;
}

.avatar-stack .tone-sunset {
  background: #d59d55;
}

.avatar-stack .tone-forest {
  background: #507965;
}

.avatar-stack .tone-blue {
  background: #54768a;
}

.avatar-stack .tone-violet {
  background: #8c7898;
}

.avatar-stack .tone-gold {
  background: #ba8a45;
}

.avatar-stack .tone-rose {
  background: #b66e72;
}

.avatar-stack .avatar-more {
  background: #eee6d9;
  color: #756f66;
}

.journey-card {
  padding: 18px 16px 20px;
}

.rail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 800;
  color: #8b938c;
}

.rail-heading-count {
  letter-spacing: 0.05em;
  color: #adb2ab;
}

.journey-list {
  list-style: none;
  padding: 7px 0 0;
  margin: 0;
}

.journey-item {
  position: relative;
}

.journey-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 39px;
  width: 1px;
  height: calc(100% - 25px);
  background: var(--line);
}

.journey-step {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 5px;
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background 0.2s;
}

.journey-step:hover {
  background: rgba(41, 72, 61, 0.045);
}

.journey-index {
  width: 28px;
  height: 28px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a79f;
  font-size: 9px;
  font-weight: 800;
  background: var(--card-white);
}

.journey-copy {
  min-width: 0;
}

.journey-copy strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.journey-copy small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #9ba19a;
}

.journey-status {
  font-size: 9px;
  color: #a2a8a1;
}

.journey-item.is-done .journey-index {
  color: white;
  border-color: var(--forest);
  background: var(--forest);
}

.journey-item.is-done .journey-status {
  color: #7d978a;
}

.journey-item.is-active .journey-step {
  background: #f3e8da;
}

.journey-item.is-active .journey-index {
  border-color: var(--coral);
  color: white;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(235, 105, 72, 0.1);
}

.journey-item.is-active .journey-copy strong {
  color: var(--ink);
  font-weight: 800;
}

.journey-item.is-active .journey-status {
  color: var(--coral);
  font-weight: 700;
}

.day-note {
  background: var(--forest);
  border-color: transparent;
  color: #f7f0e2;
  padding: 19px 20px 18px;
  position: relative;
  overflow: hidden;
}

.day-note::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  right: -20px;
  bottom: -30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.04),
    0 0 0 25px rgba(255, 255, 255, 0.025);
}

.note-mark {
  font-family: Georgia, serif;
  font-size: 35px;
  line-height: 0.8;
  color: var(--gold);
}

.day-note p {
  margin: 5px 0 13px;
  max-width: 170px;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

.note-sign {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.main-column {
  min-width: 0;
}

.hero-card {
  min-height: 352px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 72% 40%, rgba(235, 105, 72, 0.42), transparent 32%),
    linear-gradient(120deg, #1e3931, #2b4e41 68%, #365746);
  color: #fff8e9;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
  box-shadow: 0 26px 60px rgba(31, 52, 43, 0.18);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.hero-copy {
  width: 61%;
  padding: 48px 20px 42px 48px;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 247, 231, 0.65);
  font-size: 9px;
  font-weight: 700;
}

.hero-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(241, 197, 100, 0.11);
}

.hero-card h1 {
  margin: 22px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.45vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.065em;
  font-weight: 750;
}

.hero-card h1 em {
  color: var(--gold);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero-card h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -6px;
  width: 80%;
  height: 5px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='12' viewBox='0 0 240 12'%3E%3Cpath d='M2 7c51-8 151-7 236 0' fill='none' stroke='%23eb6948' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

.hero-card .hero-copy > p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 247, 231, 0.7);
  font-size: 13px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.primary-button {
  appearance: none;
  border: 0;
  border-radius: 13px;
  min-height: 44px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--coral);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(235, 105, 72, 0.22);
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.primary-button:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(235, 105, 72, 0.28);
}

.primary-button:active {
  transform: translateY(1px);
}

.hero-actions .primary-button {
  background: #fff6e4;
  color: var(--forest);
  box-shadow: 0 12px 30px rgba(8, 21, 16, 0.18);
}

.hero-actions .primary-button:hover {
  background: white;
}

.hero-actions .primary-button .icon {
  width: 17px;
  height: 17px;
}

.text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 247, 231, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
}

.text-button:hover {
  color: white;
}

.text-button .icon {
  width: 15px;
  height: 15px;
}

.hero-art {
  width: 39%;
  position: relative;
  z-index: 2;
}

.hero-sun {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  top: 50%;
  left: 47%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 38% 38%, #f1cf82, #df744c 76%);
  opacity: 0.92;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.orbit-one {
  width: 330px;
  height: 330px;
  left: calc(47% - 165px);
  top: calc(50% - 165px);
}

.orbit-two {
  width: 410px;
  height: 410px;
  left: calc(47% - 205px);
  top: calc(50% - 205px);
}

.mini-photo {
  position: absolute;
  width: 93px;
  padding: 5px 5px 12px;
  border-radius: 6px;
  background: #f8f0df;
  box-shadow: 0 14px 30px rgba(19, 32, 27, 0.3);
}

.mini-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  object-fit: cover;
}

.mini-photo-one {
  left: 22%;
  top: 16%;
  transform: rotate(-11deg);
  animation: floatSoft 5s ease-in-out infinite;
}

.mini-photo-two {
  right: 3%;
  bottom: 14%;
  transform: rotate(9deg);
  animation: floatSoft 5.5s ease-in-out -2s infinite;
}

@keyframes floatSoft {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

.hero-mascot {
  position: absolute;
  width: 146px;
  left: 27%;
  bottom: -3%;
  filter: drop-shadow(0 18px 24px rgba(11, 23, 18, 0.25));
}

.hero-bubble {
  position: absolute;
  left: 56%;
  top: 12%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 13px 13px 13px 3px;
  background: #fffaf0;
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(16, 27, 22, 0.18);
}

.typing-dots {
  display: flex;
  gap: 2px;
}

.typing-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--coral);
  animation: typingBounce 1.2s infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-3px);
  }
}

.hero-stamp {
  position: absolute;
  right: 6%;
  top: 10%;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transform: rotate(9deg);
}

.hero-stamp b {
  font-size: 10px;
  letter-spacing: 0;
}

.quick-share {
  margin-top: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 251, 244, 0.9);
  box-shadow: var(--shadow-sm);
}

.quick-share-avatar,
.composer-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(145deg, #ebad79, #d8684a);
}

.quick-share-input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 0;
  border-radius: 10px;
  min-height: 36px;
  padding: 0 12px;
  text-align: left;
  background: #f3eee5;
  color: #8d938c;
  font-size: 12px;
  cursor: text;
}

.quick-action {
  appearance: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #6f7c74;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quick-action:hover {
  color: var(--coral);
  background: rgba(235, 105, 72, 0.06);
}

.wall-section {
  padding-top: 30px;
  scroll-margin-top: 20px;
}

.wall-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  color: #8b938d;
  font-weight: 800;
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.wall-toolbar h2 {
  margin: 5px 0 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.wall-filters {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 251, 244, 0.72);
}

.wall-filters button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 7px 11px;
  background: transparent;
  color: #849087;
  font-size: 10px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.wall-filters button:hover {
  color: var(--ink);
}

.wall-filters button.is-active {
  background: var(--forest);
  color: white;
  box-shadow: 0 5px 12px rgba(41, 72, 61, 0.18);
}

.wall-grid {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wall-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wall-col .wall-card {
  margin: 0;
}

.wall-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 15px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--card-white);
  box-shadow: 0 7px 22px rgba(55, 57, 45, 0.045);
  overflow: hidden;
  transform-origin: center;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wall-card.type-wish {
  background:
    radial-gradient(rgba(123, 113, 77, 0.09) 0.6px, transparent 0.6px),
    #fff4c9;
  background-size: 12px 12px;
}

.wall-card.type-blessing {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    #e7efdf;
}

.wall-card.type-telegram {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent),
    #e4ecec;
}

.wall-card-media {
  margin: 7px 7px 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #e9e1d5;
}

.wall-card-media.multi-grid {
  display: grid;
  gap: 2px;
  background: rgba(41, 57, 48, 0.1);
}

.wall-card-media.multi-2 {
  grid-template-columns: 1fr 1fr;
}

.wall-card-media.multi-3 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.wall-card-media.multi-3 img:first-child {
  grid-row: 1 / 3;
}

.wall-card-media.multi-grid img {
  min-width: 0;
  min-height: 0;
}

.wall-card-media.tall {
  aspect-ratio: 4 / 5;
}

.wall-card-media.wide {
  aspect-ratio: 4 / 3;
}

.wall-card-media.square {
  aspect-ratio: 1;
}

@supports not (aspect-ratio: 1 / 1) {
  .wall-card-media.tall {
    aspect-ratio: auto;
    padding-top: 125%;
  }

  .wall-card-media.wide {
    aspect-ratio: auto;
    padding-top: 75%;
  }

  .wall-card-media.square {
    aspect-ratio: auto;
    padding-top: 100%;
  }

  .wall-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wall-card-media.multi-grid img {
    position: static;
    height: 100px;
  }
}

.wall-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wall-card:hover .wall-card-media img {
  transform: scale(1.025);
}

.media-chapter {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(27, 47, 39, 0.74);
  color: #fff9eb;
  backdrop-filter: blur(8px);
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.wall-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px 0;
}

.card-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.author-avatar.tone-sunset {
  background: #d59d55;
}

.author-avatar.tone-coral {
  background: #db7555;
}

.author-avatar.tone-forest {
  background: #507965;
}

.author-avatar.tone-blue {
  background: #54768a;
}

.author-avatar.tone-violet {
  background: #8c7898;
}

.author-avatar.tone-gold {
  background: #b88a47;
}

.author-avatar.tone-rose {
  background: #b96e72;
}

.author-copy {
  min-width: 0;
}

.author-copy strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-copy span {
  display: block;
  margin-top: 2px;
  color: #9aa19a;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-time {
  flex: 0 0 auto;
  color: #a3a8a2;
  font-size: 8px;
}

.wall-card-body {
  padding: 12px 15px 14px;
}

.wall-card-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #34463e;
  word-break: break-word;
}

.type-wish .wall-card-body p,
.type-blessing .wall-card-body p,
.type-telegram .wall-card-body p {
  font-family: "STKaiti", "KaiTi", var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
}

.type-wish .wall-card-body {
  padding-top: 16px;
  padding-bottom: 17px;
}

.type-wish .wall-card-meta,
.type-blessing .wall-card-meta,
.type-telegram .wall-card-meta {
  padding-top: 15px;
}

.type-note-decoration {
  height: 5px;
  width: 33px;
  margin: 0 15px 13px;
  border-radius: 5px;
  background: var(--coral);
}

.wall-ai-reply {
  display: flex;
  gap: 8px;
  margin: 0 9px 9px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #f4eee5;
}

.type-wish .wall-ai-reply {
  background: rgba(255, 251, 235, 0.58);
}

.type-blessing .wall-ai-reply {
  background: rgba(255, 255, 255, 0.42);
}

.type-telegram .wall-ai-reply {
  background: rgba(255, 255, 255, 0.48);
}

.wall-ai-avatar {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #f3d6c9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wall-ai-avatar img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.wall-ai-copy {
  min-width: 0;
}

.wall-ai-copy span {
  display: block;
  margin-bottom: 3px;
  color: var(--coral-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wall-ai-copy p {
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
  color: #59685f;
}

.wall-ai-copy .thinking {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 15px;
}

.wall-ai-copy .thinking i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a58e7c;
  animation: typingBounce 1.2s infinite;
}

.wall-ai-copy .thinking i:nth-child(2) {
  animation-delay: 0.15s;
}

.wall-ai-copy .thinking i:nth-child(3) {
  animation-delay: 0.3s;
}

.wall-card-actions {
  min-height: 42px;
  padding: 0 13px;
  border-top: 1px solid rgba(47, 62, 53, 0.07);
  display: flex;
  align-items: center;
  gap: 6px;
}

.type-wish .wall-card-actions,
.type-blessing .wall-card-actions,
.type-telegram .wall-card-actions {
  border-top-color: rgba(92, 84, 57, 0.08);
}

.card-action {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 7px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8d958e;
  font-size: 9px;
  cursor: pointer;
}

.card-action .icon {
  width: 15px;
  height: 15px;
}

.card-action:hover {
  color: var(--coral);
}

.card-action.is-liked {
  color: var(--coral);
}

.card-action.is-liked .icon {
  fill: rgba(235, 105, 72, 0.15);
}

.card-action.reply-action {
  margin-left: auto;
}

.empty-wall {
  text-align: center;
  padding: 55px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.5);
}

.empty-wall img {
  width: 90px;
}

.empty-wall h3 {
  margin: 4px 0 4px;
}

.empty-wall p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.right-rail {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ai-card {
  padding: 18px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 90% 4%, rgba(241, 197, 100, 0.24), transparent 28%),
    rgba(255, 251, 244, 0.92);
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mascot-wrap {
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #f7e5d2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mascot-wrap img {
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1;
}

.online-orbit {
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(222, 112, 71, 0.3);
  border-radius: 50%;
  animation: orbitSpin 12s linear infinite;
}

.online-orbit::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73a36b;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.ai-identity {
  min-width: 0;
}

.ai-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-identity h2 {
  margin: 0;
  font-size: 18px;
}

.ai-tag {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--forest);
  color: white;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ai-identity p {
  margin: 3px 0 0;
  color: #849087;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-identity p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #73a36b;
}

.ai-wave {
  margin-left: auto;
  align-self: flex-start;
  color: var(--coral);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
  transform: rotate(-7deg);
}

.ai-messages {
  height: 174px;
  margin: 16px 0 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 52, 44, 0.15) transparent;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ai-message {
  max-width: 92%;
  align-self: flex-start;
}

.ai-message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 4px 13px 13px 13px;
  background: #f1ece3;
  color: #485c52;
  font-size: 11px;
  line-height: 1.65;
}

.ai-message.user {
  align-self: flex-end;
}

.ai-message.user p {
  border-radius: 13px 4px 13px 13px;
  background: var(--forest);
  color: #fff8ea;
}

.ai-message.typing p {
  padding: 10px 13px;
}

.ai-suggestion {
  margin-top: 2px;
  padding: 10px;
  border: 1px dashed rgba(42, 72, 61, 0.15);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ai-suggestion > span {
  width: 100%;
  margin-bottom: 2px;
  color: #a1a79f;
  font-size: 8px;
}

.ai-suggestion button {
  appearance: none;
  border: 1px solid rgba(42, 72, 61, 0.1);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.55);
  color: #6c7d73;
  font-size: 8px;
  cursor: pointer;
}

.ai-suggestion button:hover {
  color: var(--coral);
  border-color: rgba(235, 105, 72, 0.2);
}

.ai-composer {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  padding: 5px 5px 5px 12px;
}

.ai-composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}

.ai-composer input::placeholder {
  color: #a7ada6;
}

.ai-composer button {
  appearance: none;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ai-composer .icon {
  width: 15px;
  height: 15px;
}

.live-stats {
  padding: 18px;
}

.stats-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 800;
  color: #8d958e;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #98a099;
  letter-spacing: 0;
  text-transform: none;
}

.live-label i {
  width: 5px;
  height: 5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 15px 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--line);
}

.stats-grid > div {
  padding: 13px 5px 11px;
  background: var(--card-white);
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.stats-grid span {
  color: #959d96;
  font-size: 8px;
}

.live-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #919991;
  font-size: 8px;
}

.live-people b {
  color: var(--ink);
}

.avatar-stack.small {
  margin: 0;
}

.avatar-stack.small span {
  width: 22px;
  height: 22px;
  font-size: 7px;
}

.mobile-rail-close {
  display: none;
}

.compose-fab {
  display: none;
}

.mobile-nav {
  display: none;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-backdrop {
  appearance: none;
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 38, 31, 0.48);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: default;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.composer-sheet {
  width: min(575px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  position: relative;
  z-index: 1;
  border-radius: 27px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  padding: 25px;
  animation: sheetIn 0.32s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
}

.sheet-handle {
  display: none;
}

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

.sheet-header h2 {
  margin: 4px 0 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.round-close {
  appearance: none;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.round-close .icon {
  width: 16px;
  height: 16px;
}

.post-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 20px 0 15px;
  padding: 4px;
  border-radius: 13px;
  background: #ede7dd;
}

.post-type-tabs button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 9px 5px;
  background: transparent;
  color: #7e8a82;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.post-type-tabs button .icon {
  width: 15px;
  height: 15px;
}

.post-type-tabs button.is-active {
  background: var(--card-white);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(48, 52, 43, 0.08);
  font-weight: 700;
}

.composer-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.composer-author > div:nth-child(2) {
  min-width: 0;
}

.composer-author strong {
  display: block;
  font-size: 11px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composer-author span {
  display: block;
  margin-top: 2px;
  color: #999f98;
  font-size: 8px;
}

.composer-author span b {
  color: var(--coral-dark);
  font-weight: 600;
}

.visibility-pill {
  margin: 0 0 0 auto !important;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8eee6;
  color: #6e8275 !important;
  font-size: 8px !important;
}

#postText {
  display: block;
  width: 100%;
  min-height: 122px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.65);
  padding: 15px;
  color: var(--ink);
  line-height: 1.75;
  font-size: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#postText:focus {
  border-color: rgba(235, 105, 72, 0.46);
  box-shadow: 0 0 0 4px rgba(235, 105, 72, 0.07);
}

#postText::placeholder {
  color: #a9aea8;
}

.text-counter {
  margin: -22px 12px 12px 0;
  text-align: right;
  color: #acb0aa;
  font-size: 8px;
  position: relative;
  z-index: 1;
}

.upload-zone {
  border: 1px dashed rgba(44, 73, 61, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.upload-button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
}

.upload-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-dark);
  background: #f9e8df;
}

.upload-icon .icon {
  width: 18px;
  height: 18px;
}

.upload-button strong {
  display: block;
  font-size: 10px;
}

.upload-button small {
  display: block;
  margin-top: 3px;
  color: #9da39d;
  font-size: 8px;
}

.photo-previews {
  display: flex;
  gap: 8px;
  padding: 0 10px;
}

.photo-previews:not(:empty) {
  padding: 0 10px 10px;
}

.preview-item {
  width: 71px;
  height: 71px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #eee7dc;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item button {
  appearance: none;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 39, 32, 0.68);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.preview-item button .icon {
  width: 11px;
  height: 11px;
}

.reply-tone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 1px;
}

.reply-tone-row strong {
  display: block;
  font-size: 10px;
}

.reply-tone-row span {
  display: block;
  margin-top: 2px;
  color: #9ba19b;
  font-size: 8px;
}

.tone-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 9px;
  background: #ede8de;
}

.tone-switch button {
  appearance: none;
  border: 0;
  border-radius: 7px;
  padding: 6px 9px;
  background: transparent;
  color: #859087;
  font-size: 8px;
  cursor: pointer;
}

.tone-switch button.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(39, 48, 42, 0.08);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.composer-footer p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9aa199;
  font-size: 8px;
}

.composer-footer p .icon {
  width: 12px;
  height: 12px;
  color: #769c7a;
}

.publish-button {
  min-height: 42px;
  padding: 0 18px;
}

.publish-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.admin-layer {
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
}

.admin-drawer {
  width: min(410px, 100%);
  height: 100%;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  background: var(--card);
  box-shadow: -20px 0 60px rgba(25, 37, 30, 0.16);
  padding: 26px;
  animation: drawerIn 0.32s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes drawerIn {
  from {
    transform: translateX(100%);
  }
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.admin-header h2 {
  margin: 5px 0 6px;
  font-size: 24px;
}

.admin-header p {
  margin: 0;
  color: #8f978f;
  font-size: 9px;
}

.standalone-admin-link {
  display: inline-flex;
  margin-top: 10px;
  color: #17689d;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.standalone-admin-link:hover {
  text-decoration: underline;
}

.admin-section {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.admin-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
}

.admin-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8f9b92;
  font-size: 8px;
  font-weight: 500;
}

.admin-live i {
  width: 5px;
  height: 5px;
}

.admin-stage-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-stage-button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.admin-stage-button > span:first-child {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ece7dd;
  color: #8e9790;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-stage-button strong {
  display: block;
  font-size: 10px;
}

.admin-stage-button small {
  display: block;
  margin-top: 2px;
  color: #9ba29a;
  font-size: 8px;
}

.admin-stage-button > span:last-child {
  color: #a1a7a0;
  font-size: 8px;
}

.admin-stage-button.is-active {
  border-color: rgba(235, 105, 72, 0.35);
  background: #fcf0e8;
}

.admin-stage-button.is-active > span:first-child {
  background: var(--coral);
  color: white;
}

.admin-stage-button.is-active > span:last-child {
  color: var(--coral-dark);
  font-weight: 700;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-summary-grid > div {
  padding: 13px 8px;
  text-align: center;
  border-radius: 12px;
  background: #f2ede4;
}

.admin-summary-grid strong {
  display: block;
  font-size: 21px;
}

.admin-summary-grid span {
  color: #939a93;
  font-size: 8px;
}

.admin-help {
  margin: 0 0 13px;
  color: #8e968f;
  font-size: 9px;
  line-height: 1.7;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.secondary-button {
  appearance: none;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: #58675f;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  cursor: pointer;
}

.secondary-button .icon {
  width: 14px;
  height: 14px;
}

.danger-button {
  color: #b85f4c;
}

.admin-tip {
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2ece2;
}

.admin-tip img {
  width: 48px;
}

.admin-tip p {
  margin: 0;
  color: #79847c;
  font-size: 8px;
  line-height: 1.65;
}

.admin-tip strong {
  color: var(--ink);
  font-size: 9px;
}

.stage-layer {
  align-items: center;
}

.stage-sheet {
  width: min(470px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 25px;
  border-radius: 25px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  animation: sheetIn 0.3s;
}

.stage-sheet .sheet-header {
  flex-shrink: 0;
}

.sheet-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 47, 80, 0.22) transparent;
}

.sheet-scroll::-webkit-scrollbar {
  width: 5px;
}

.sheet-scroll::-webkit-scrollbar-thumb {
  background: rgba(14, 47, 80, 0.2);
  border-radius: 3px;
}

.sheet-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-stage-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mobile-stage-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.mobile-stage-card > span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #89948c;
  background: #ebe5da;
  font-size: 9px;
  font-weight: 800;
}

.mobile-stage-card h3 {
  margin: 1px 0 4px;
  font-size: 12px;
}

.mobile-stage-card p {
  margin: 0;
  color: #8c958e;
  font-size: 9px;
  line-height: 1.55;
}

.mobile-stage-card.is-active {
  border-color: rgba(235, 105, 72, 0.35);
  background: #fbede5;
}

.mobile-stage-card.is-active > span {
  color: white;
  background: var(--coral);
}

.toast-region {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  min-width: 220px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(30, 51, 42, 0.94);
  color: #fff9ec;
  box-shadow: 0 12px 34px rgba(23, 34, 28, 0.24);
  font-size: 11px;
  text-align: center;
  animation: toastIn 0.3s both;
}

.toast.is-out {
  animation: toastOut 0.25s both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(7px);
  }
}

.big-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  color: #fff7e7;
  background:
    radial-gradient(circle at 62% 40%, rgba(235, 105, 72, 0.24), transparent 27%),
    radial-gradient(circle at 12% 83%, rgba(241, 197, 100, 0.08), transparent 23%),
    linear-gradient(120deg, #182f28, #223d33 54%, #1a332b);
}

.big-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent, black);
}

.screen-header {
  height: 86px;
  padding: 0 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.screen-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.screen-logo {
  width: 132px;
  flex: 0 0 auto;
}

.screen-brand-divider {
  width: 1px;
  height: 27px;
  background: rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}

.screen-brand > div {
  display: flex;
  flex-direction: column;
}

.screen-brand span {
  color: rgba(255, 247, 231, 0.45);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.screen-brand strong {
  margin-top: 3px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.screen-header-center {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 247, 231, 0.65);
  font-size: 10px;
}

.screen-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #ffd5c8;
  letter-spacing: 0.09em;
  font-size: 8px;
}

.screen-live i {
  width: 5px;
  height: 5px;
}

.screen-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 247, 231, 0.75);
  height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  cursor: pointer;
}

.screen-close .icon {
  width: 14px;
  height: 14px;
}

.screen-layout {
  height: calc(100% - 86px);
  display: grid;
  grid-template-columns: minmax(230px, 19vw) minmax(0, 1fr) minmax(240px, 20vw);
  gap: 24px;
  padding: 26px 38px 30px;
  position: relative;
  z-index: 1;
}

.screen-aside,
.screen-right {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 247, 231, 0.3) transparent;
}

/* 左列整体内滚 */
.screen-aside {
  overflow-y: auto;
  padding-right: 4px;
}

/* 右列: 流程列表内滚, 二维码卡常驻底部 */
.screen-right #screenJourney {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.screen-right > .eyebrow,
.screen-right > .join-card,
.screen-right > .screen-footer-note {
  flex-shrink: 0;
}

.screen-aside::-webkit-scrollbar,
.screen-right #screenJourney::-webkit-scrollbar {
  width: 5px;
}

.screen-aside::-webkit-scrollbar-thumb,
.screen-right #screenJourney::-webkit-scrollbar-thumb {
  background: rgba(255, 247, 231, 0.25);
  border-radius: 3px;
}

.screen-aside::-webkit-scrollbar-track,
.screen-right #screenJourney::-webkit-scrollbar-track {
  background: transparent;
}

.screen-mascot {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.screen-mascot img {
  width: 123px;
  flex: 0 0 auto;
  filter: drop-shadow(0 15px 24px rgba(6, 16, 11, 0.25));
}

.screen-speech {
  margin-bottom: 19px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.screen-speech strong {
  font-size: 9px;
  color: #f6d383;
}

.screen-speech p {
  margin: 6px 0 0;
  color: rgba(255, 247, 231, 0.7);
  font-size: 9px;
  line-height: 1.65;
}

.screen-quote {
  margin-top: auto;
  padding: 27px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-quote > span {
  color: rgba(255, 247, 231, 0.4);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.screen-quote h2 {
  margin: 10px 0 0;
  font-family: "STKaiti", "KaiTi", serif;
  color: #f8dfaa;
  font-size: clamp(20px, 1.75vw, 31px);
  line-height: 1.45;
  font-weight: 500;
}

.screen-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 18px;
}

.screen-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  padding-left: 16px;
}

.screen-stats strong {
  display: block;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.04em;
}

.screen-stats span {
  color: rgba(255, 247, 231, 0.4);
  font-size: 8px;
}

.screen-wall-wrap {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.screen-wall-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 2px 18px;
}

.screen-wall-heading h1 {
  margin: 7px 0 0;
  font-size: clamp(24px, 2.4vw, 39px);
  letter-spacing: -0.05em;
}

.screen-member-count {
  color: rgba(255, 247, 231, 0.45);
  font-size: 9px;
  white-space: nowrap;
}

.screen-member-count b {
  color: #f4d78e;
  font-size: 20px;
}

.screen-wall {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 247, 231, 0.3) transparent;
}

.screen-wall::-webkit-scrollbar {
  width: 5px;
}

.screen-wall::-webkit-scrollbar-thumb {
  background: rgba(255, 247, 231, 0.28);
  border-radius: 3px;
}

.screen-wall::-webkit-scrollbar-track {
  background: transparent;
}

.screen-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-col .wall-card {
  margin: 0;
}

.screen-wall .wall-card {
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 30px rgba(4, 12, 8, 0.2);
}



.screen-wall .wall-card-body p {
  font-size: 11px;
}

.screen-right {
  padding-left: 6px;
}

.screen-journey {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.screen-journey li {
  min-height: 59px;
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 10px;
  position: relative;
  color: rgba(255, 247, 231, 0.35);
}

.screen-journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 29px;
  bottom: 1px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.screen-journey b {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.screen-journey strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

.screen-journey small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  color: inherit;
}

.screen-journey li.is-active {
  color: #f3d385;
}

.screen-journey li.is-active b {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
  box-shadow: 0 0 0 5px rgba(235, 105, 72, 0.1);
}

.screen-journey li.is-done {
  color: rgba(255, 247, 231, 0.6);
}

.screen-journey li.is-done b {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
}

.join-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.qr-demo {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
  padding: 7px;
  border-radius: 8px;
  background: #fff8eb;
  position: relative;
}

.qr-demo span {
  width: 9px;
  height: 9px;
  border: 6px solid var(--forest-dark);
  background: white;
  z-index: 1;
}

.qr-demo span:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.qr-demo span:nth-child(2) {
  grid-column: 6;
  grid-row: 1;
}

.qr-demo span:nth-child(3) {
  grid-column: 1;
  grid-row: 6;
}

.qr-demo span:nth-child(4) {
  right: 7px;
  bottom: 7px;
  position: absolute;
}

.qr-demo i {
  width: 3px;
  height: 3px;
  background: var(--forest-dark);
}

.qr-demo i:nth-of-type(1) {
  grid-column: 3;
  grid-row: 2;
}

.qr-demo i:nth-of-type(2) {
  grid-column: 5;
  grid-row: 2;
}

.qr-demo i:nth-of-type(3) {
  grid-column: 4;
  grid-row: 3;
}

.qr-demo i:nth-of-type(4) {
  grid-column: 2;
  grid-row: 4;
}

.qr-demo i:nth-of-type(5) {
  grid-column: 5;
  grid-row: 4;
}

.join-card strong {
  font-size: 11px;
  color: #f4dfae;
}

.join-card p {
  margin: 5px 0 0;
  color: rgba(255, 247, 231, 0.42);
  font-size: 8px;
  line-height: 1.6;
}

.screen-footer-note {
  margin: 13px 0 0;
  text-align: right;
  color: rgba(255, 255, 255, 0.18);
  font-size: 7px;
  letter-spacing: 0.1em;
}

@media (max-width: 1300px) {
  .app-layout {
    grid-template-columns: 222px minmax(0, 1fr) 300px;
    gap: 17px;
  }

  .hero-copy {
    padding-left: 38px;
  }

  .wall-grid {
    columns: 2 250px;
  }

  .screen-layout {
    grid-template-columns: 220px minmax(0, 1fr) 230px;
    gap: 18px;
    padding-inline: 26px;
  }
}

@media (max-width: 1100px) {
  .app-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .right-rail {
    display: none;
  }

  .right-rail.mobile-open {
    display: flex;
    position: fixed;
    z-index: 120;
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom));
    top: auto;
    width: min(430px, calc(100% - 28px));
    max-height: calc(100vh - 110px);
    transform: translateX(-50%);
    animation: mobileAiUp 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  @keyframes mobileAiUp {
    from {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
  }

  .right-rail.mobile-open .ai-card {
    box-shadow: var(--shadow-lg);
  }

  .right-rail.mobile-open .live-stats,
  .right-rail.mobile-open .day-note {
    display: none;
  }

  .mobile-rail-close {
    appearance: none;
    display: flex;
    position: absolute;
    z-index: 2;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(36, 53, 45, 0.08);
    cursor: pointer;
  }

  .mobile-rail-close .icon {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 860px) {
  .topbar {
    width: calc(100% - 24px);
    height: 62px;
    margin-top: 12px;
    border-radius: 17px;
    padding: 0 11px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .desktop-nav,
  .screen-button span,
  .live-pill {
    display: none;
  }

  .screen-button {
    min-width: 38px;
    padding: 0;
  }

  .app-layout {
    width: calc(100% - 24px);
    margin-top: 13px;
    display: block;
  }

  .left-rail {
    display: none;
  }

  .hero-card {
    min-height: 410px;
    border-radius: 24px;
  }

  .hero-copy {
    width: 68%;
    padding: 35px 12px 100px 25px;
    z-index: 3;
  }

  .hero-card h1 {
    margin-top: 18px;
    font-size: clamp(34px, 8vw, 52px);
  }

  .hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    pointer-events: none;
  }

  .hero-sun {
    width: 220px;
    height: 220px;
    left: 84%;
    top: 52%;
  }

  .orbit-one {
    left: calc(84% - 165px);
  }

  .orbit-two {
    left: calc(84% - 205px);
  }

  .hero-mascot {
    width: 130px;
    left: 66%;
    bottom: -4%;
  }

  .mini-photo {
    width: 78px;
  }

  .mini-photo-one {
    left: 67%;
    top: 17%;
  }

  .mini-photo-two {
    display: none;
  }

  .hero-bubble {
    left: 65%;
    top: 8%;
  }

  .hero-stamp {
    display: none;
  }

  .quick-share {
    margin-top: 12px;
  }

  .wall-toolbar {
    display: block;
  }

  .wall-filters {
    width: max-content;
    max-width: 100%;
    margin-top: 13px;
    overflow-x: auto;
  }

  .wall-grid {
    columns: 2 230px;
  }

  .compose-fab {
    display: flex;
    position: fixed;
    z-index: 70;
    right: 18px;
    /* 导航栏底部位置含safe-area, 悬浮按钮也要跟着抬高才不重叠(微信/iPhone安全区) */
    bottom: calc(81px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--coral);
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(30, 42, 56, 0.22);
  }

  .compose-fab .icon {
    width: 21px;
    height: 21px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 65;
    left: 12px;
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    background: rgba(255, 251, 244, 0.92);
    box-shadow: 0 14px 40px rgba(49, 54, 43, 0.16);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 12px;
  }

  .mobile-nav a,
  .mobile-nav button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #8a948c;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 8px;
    cursor: pointer;
  }

  .mobile-nav .icon {
    width: 20px;
    height: 20px;
  }

  .mobile-nav img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }

  .mobile-nav .is-active {
    color: var(--coral);
    font-weight: 700;
  }

  .app-layout {
    margin-bottom: 100px;
  }
}

@media (max-width: 560px) {
  .topbar-actions {
    gap: 6px;
  }

  .hero-card {
    min-height: 430px;
  }

  .hero-copy {
    width: 100%;
    padding: 30px 22px 148px;
  }

  .hero-card h1 {
    font-size: 40px;
  }

  .hero-card .hero-copy > p {
    max-width: 290px;
    font-size: 12px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-art {
    top: auto;
    bottom: 0;
    height: 160px;
    overflow: hidden;
  }

  .hero-sun {
    width: 160px;
    height: 160px;
    left: 74%;
    top: 45%;
  }

  .orbit-one {
    width: 240px;
    height: 240px;
    left: calc(74% - 120px);
    top: calc(45% - 120px);
  }

  .orbit-two {
    width: 310px;
    height: 310px;
    left: calc(74% - 155px);
    top: calc(45% - 155px);
  }

  .hero-mascot {
    width: 132px;
    left: 67%;
    bottom: -5px;
  }

  .mini-photo-one {
    width: 72px;
    left: 12%;
    top: 16px;
  }

  .mini-photo-two {
    display: block;
    width: 70px;
    right: 4%;
    bottom: 18px;
  }

  .hero-bubble {
    left: auto;
    right: 4%;
    top: 13px;
    font-size: 8px;
  }

  .quick-share {
    padding: 8px;
  }

  .quick-share-avatar {
    width: 34px;
    height: 34px;
  }

  .quick-action:last-child {
    display: none;
  }

  .wall-grid {
    columns: 1;
  }

  .wall-card-body p {
    font-size: 13px;
  }

  .wall-toolbar h2 {
    font-size: 23px;
  }

  .wall-filters {
    display: flex;
  }

  .wall-filters button {
    flex: 0 0 auto;
    padding: 10px 13px;
    font-size: 11px;
  }

  .modal-layer {
    padding: 0;
    align-items: flex-end;
  }

  .composer-sheet {
    width: 100%;
    max-height: 92vh;
    border-radius: 25px 25px 0 0;
    padding: 14px 18px max(20px, env(safe-area-inset-bottom));
  }

  .sheet-handle {
    width: 37px;
    height: 4px;
    display: block;
    border-radius: 5px;
    background: #d7d0c6;
    margin: 0 auto 14px;
  }

  .sheet-header h2 {
    font-size: 22px;
  }

  .composer-footer p {
    display: none;
  }

  .composer-footer {
    justify-content: flex-end;
  }

  .publish-button {
    width: 100%;
  }

  .reply-tone-row {
    align-items: flex-end;
  }

  .admin-drawer {
    width: 100%;
  }

  .stage-layer {
    align-items: flex-end;
  }

  .stage-sheet {
    width: 100%;
    border-radius: 25px 25px 0 0;
    max-height: 88vh;
    padding: 20px 18px max(22px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Powertrain enterprise theme */
body {
  background-color: #edf3f8;
  background-image:
    radial-gradient(circle at 8% 6%, rgba(30, 112, 174, 0.12), transparent 25%),
    radial-gradient(circle at 92% 4%, rgba(133, 197, 228, 0.2), transparent 24%),
    linear-gradient(rgba(19, 59, 94, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 59, 94, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.topbar {
  border-color: rgba(13, 47, 80, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(12, 44, 76, 0.06);
}

.brand-mark {
  background: linear-gradient(145deg, #0b2b4d, #061b32);
  box-shadow: 0 6px 16px rgba(5, 28, 51, 0.16);
}

.brand-mark::after {
  height: 16px;
  bottom: -8px;
  background: #54b3e4;
  transform: rotate(-4deg);
}

.brand-mark span {
  background: #f4f9fd;
}

.desktop-nav a,
.desktop-nav button {
  color: #5f758a;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  background: rgba(20, 82, 132, 0.055);
}

.desktop-nav .is-active::after {
  background: #2979b8;
}

.live-pill {
  background: #e8f3fb;
  color: #17659f;
}

.live-pill i,
.live-label i,
.admin-live i,
.screen-live i {
  background: #2e8ecb;
  box-shadow: 0 0 0 4px rgba(46, 142, 203, 0.12);
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(46, 142, 203, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(46, 142, 203, 0);
  }
}

.icon-button {
  background: #f8fbfe;
  border-color: rgba(14, 47, 80, 0.11);
}

.icon-button:hover {
  background: white;
  border-color: rgba(20, 82, 132, 0.25);
}

.profile-button {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 46%),
    linear-gradient(145deg, #297cb8, #0b3b67);
  box-shadow: 0 0 0 1px rgba(15, 52, 87, 0.19);
}

.event-card,
.journey-card,
.day-note,
.ai-card,
.live-stats {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 47, 80, 0.11);
}

.event-card::before {
  background: radial-gradient(circle, rgba(63, 154, 211, 0.22), rgba(63, 154, 211, 0));
}

.eyebrow,
.section-kicker,
.rail-heading {
  color: #6e8397;
}

.event-card h2 {
  color: #0b2847;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.event-meta,
.join-progress-copy,
.journey-copy small {
  color: #6d8092;
}

.weather-dot {
  background:
    radial-gradient(circle at 50% 50%, #f8fcff 0 17%, transparent 19%),
    radial-gradient(circle at 50% 50%, #68b9e2 0 38%, transparent 40%),
    #dfeff9;
  box-shadow: inset 0 0 0 1px rgba(37, 122, 178, 0.13);
}

.weather-dot::before,
.weather-dot::after {
  background: #4b9aca;
}

.progress-track {
  background: #e0e9f1;
}

.progress-track span {
  background: linear-gradient(90deg, #0e4f86, #42a8d9);
}

.avatar-stack .tone-coral,
.author-avatar.tone-coral {
  background: #1e6da8;
}

.avatar-stack .tone-sunset,
.author-avatar.tone-sunset {
  background: #3c83b5;
}

.avatar-stack .tone-forest,
.author-avatar.tone-forest {
  background: #245778;
}

.avatar-stack .tone-blue,
.author-avatar.tone-blue {
  background: #4b83aa;
}

.avatar-stack .tone-violet,
.author-avatar.tone-violet {
  background: #627b99;
}

.avatar-stack .tone-gold,
.author-avatar.tone-gold {
  background: #7097b5;
}

.avatar-stack .tone-rose,
.author-avatar.tone-rose {
  background: #356d9a;
}

.avatar-stack .avatar-more {
  color: #648098;
  background: #e5eef5;
}

.journey-item:not(:last-child)::after {
  background: #dfe8f0;
}

.journey-step:hover {
  background: rgba(29, 107, 163, 0.05);
}

.journey-index {
  color: #7b8fa2;
  border-color: #d8e3ec;
  background: white;
}

.journey-copy strong {
  color: #203955;
}

.journey-status {
  color: #8799aa;
}

.journey-item.is-done .journey-index {
  border-color: #174f7d;
  background: #174f7d;
}

.journey-item.is-done .journey-status {
  color: #4d7696;
}

.journey-item.is-active .journey-step {
  background: #eaf3fa;
}

.journey-item.is-active .journey-index {
  border-color: #237ab4;
  background: #237ab4;
  box-shadow: 0 0 0 5px rgba(35, 122, 180, 0.1);
}

.journey-item.is-active .journey-status {
  color: #176ba4;
}

.day-note {
  color: #f2f8fd;
  border-color: transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #071d34, #0e3a63);
  background-size: 18px 18px, 18px 18px, auto;
}

.note-mark {
  color: #80d0ef;
}

.hero-card {
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 144, 203, 0.45), transparent 30%),
    linear-gradient(118deg, #061a30, #0a2e50 60%, #0a4169);
  color: #f8fbff;
  box-shadow: 0 24px 55px rgba(5, 29, 52, 0.22);
}

.hero-card::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 10%, black);
}

.hero-label {
  color: rgba(239, 248, 255, 0.66);
}

.hero-label-dot {
  background: #79d3f4;
  box-shadow: 0 0 0 5px rgba(121, 211, 244, 0.12);
}

.hero-card h1 {
  letter-spacing: -0.055em;
}

.hero-card h1 em {
  color: #8dd8f5;
}

.hero-card h1 em::after {
  height: 4px;
  background: linear-gradient(90deg, #3f9fd1, rgba(63, 159, 209, 0));
  border-radius: 3px;
}

.hero-card .hero-copy > p,
.text-button {
  color: rgba(239, 248, 255, 0.7);
}

.value-ribbon {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(229, 246, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.value-ribbon span {
  white-space: nowrap;
}

.value-ribbon i {
  width: 13px;
  height: 1px;
  background: rgba(141, 216, 245, 0.4);
}

.primary-button {
  background: #176da9;
  box-shadow: 0 10px 22px rgba(16, 91, 142, 0.22);
}

.primary-button:hover {
  background: #0d5288;
  box-shadow: 0 13px 26px rgba(16, 91, 142, 0.3);
}

.hero-actions .primary-button {
  background: white;
  color: #0b3154;
  box-shadow: 0 10px 28px rgba(0, 14, 28, 0.22);
}

.hero-actions .primary-button:hover {
  background: #eef7fd;
}

.hero-sun {
  opacity: 0.8;
  background:
    radial-gradient(circle at 46% 46%, rgba(175, 226, 248, 0.95), transparent 18%),
    radial-gradient(circle, rgba(49, 145, 203, 0.95), rgba(9, 64, 103, 0.88));
  box-shadow:
    0 0 0 1px rgba(147, 218, 247, 0.18),
    0 0 0 28px rgba(128, 206, 239, 0.035);
}

.hero-orbit {
  border-color: rgba(156, 217, 244, 0.2);
}

.mini-photo {
  background: white;
  box-shadow: 0 14px 34px rgba(0, 10, 22, 0.34);
}

.hero-bubble {
  color: #0f3a5e;
  background: #f9fdff;
  box-shadow: 0 10px 24px rgba(0, 14, 27, 0.22);
}

.typing-dots i {
  background: #277fb5;
}

.hero-stamp {
  border-color: rgba(194, 231, 247, 0.44);
  color: rgba(237, 249, 255, 0.7);
}

.quick-share {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 47, 80, 0.1);
}

.quick-share-avatar,
.composer-avatar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent),
    linear-gradient(145deg, #3b8ec3, #164f7e);
}

.quick-share-input {
  color: #75899b;
  background: #edf3f8;
}

.quick-action {
  color: #567891;
  border-color: #d9e4ec;
}

.quick-action:hover {
  color: #176da6;
  background: #eaf3fa;
}

.signal-dot {
  background: #2583bd;
}

.wall-toolbar h2 {
  color: #0c2540;
}

.wall-filters {
  background: rgba(255, 255, 255, 0.88);
  border-color: #dbe5ed;
}

.wall-filters button {
  color: #6b8092;
}

.wall-filters button.is-active {
  background: #0c3154;
  box-shadow: 0 5px 12px rgba(7, 43, 73, 0.2);
}

.wall-card {
  background: white;
  border-color: rgba(17, 56, 89, 0.11);
  box-shadow: 0 7px 24px rgba(17, 56, 89, 0.06);
}

.wall-card.type-wish {
  background:
    linear-gradient(rgba(50, 126, 178, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 126, 178, 0.035) 1px, transparent 1px),
    #eef6fc;
  background-size: 15px 15px, 15px 15px, auto;
}

.wall-card.type-blessing {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent),
    #e8f1f8;
}

.wall-card.type-telegram {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent),
    #f1f6fa;
}

.wall-card-media {
  background: #dfe9f1;
}

.media-chapter {
  background: rgba(7, 34, 60, 0.8);
  color: #f4faff;
}

.author-copy strong {
  color: #162f49;
}

.author-copy span,
.card-time {
  color: #7b8fa1;
}

.wall-card-body p {
  color: #2a425a;
}

.type-wish .wall-card-body p,
.type-blessing .wall-card-body p,
.type-telegram .wall-card-body p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.75;
}

.type-note-decoration {
  height: 3px;
  width: 31px;
  background: #2c86bc;
}

.wall-ai-reply,
.type-wish .wall-ai-reply,
.type-blessing .wall-ai-reply,
.type-telegram .wall-ai-reply {
  background: #edf3f8;
}

.wall-ai-avatar {
  background: #dcecf7;
}

.wall-ai-copy span {
  color: #12679d;
}

.wall-ai-copy p {
  color: #4d657a;
}

.wall-ai-copy .thinking i {
  background: #708ca3;
}

.wall-card-actions,
.type-wish .wall-card-actions,
.type-blessing .wall-card-actions,
.type-telegram .wall-card-actions {
  border-top-color: rgba(16, 53, 85, 0.08);
}

.card-action {
  color: #75899a;
}

.card-action:hover,
.card-action.is-liked {
  color: #1f77ad;
}

.card-action.is-liked .icon {
  fill: rgba(31, 119, 173, 0.15);
}

.empty-wall {
  background: rgba(255, 255, 255, 0.65);
}

.ai-card {
  background:
    linear-gradient(rgba(42, 115, 166, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 115, 166, 0.025) 1px, transparent 1px),
    rgba(255, 255, 255, 0.95);
  background-size: 20px 20px, 20px 20px, auto;
}

.mascot-wrap {
  background: #e4f1fa;
  box-shadow: inset 0 0 0 1px rgba(29, 102, 151, 0.08);
}

.online-orbit {
  border-color: rgba(44, 124, 176, 0.28);
}

.online-orbit::after,
.ai-identity p i {
  background: #43a9d3;
}

.ai-tag {
  background: #0c3155;
}

.ai-identity h2 {
  color: #0d2945;
}

.ai-identity p {
  color: #708598;
}

.ai-wave {
  color: #1f78ad;
}

.ai-message p {
  background: #edf3f8;
  color: #3b556b;
}

.ai-message.user p {
  background: #0d3b63;
  color: white;
}

.ai-suggestion {
  border-color: rgba(34, 102, 151, 0.16);
}

.ai-suggestion > span {
  color: #8194a5;
}

.ai-suggestion button {
  border-color: rgba(34, 102, 151, 0.11);
  background: #f7fafc;
  color: #587187;
}

.ai-suggestion button:hover {
  color: #176da5;
  border-color: rgba(31, 119, 173, 0.25);
}

.ai-composer {
  background: #f8fbfd;
  border-color: #dbe6ee;
}

.ai-composer button {
  background: #176da9;
}

.stats-heading,
.live-label,
.stats-grid span,
.live-people {
  color: #74899b;
}

.stats-grid {
  background: #dfe8ef;
}

.stats-grid > div {
  background: white;
}

.modal-backdrop {
  background: rgba(3, 20, 37, 0.55);
}

.composer-sheet {
  background: #f9fcff;
  border-color: rgba(255, 255, 255, 0.7);
}

.round-close {
  background: #f5f9fc;
  border-color: #dbe6ef;
}

.post-type-tabs {
  background: #e8eff5;
}

.post-type-tabs button {
  color: #6e8395;
}

.post-type-tabs button.is-active {
  color: #0c2b4a;
  background: white;
  box-shadow: 0 3px 10px rgba(14, 48, 79, 0.09);
}

.composer-author span {
  color: #7d91a3;
}

.composer-author span b {
  color: #17699e;
}

.visibility-pill {
  background: #e7f1f8;
  color: #4e7793 !important;
}

#postText {
  background: white;
  border-color: #d9e5ee;
}

#postText:focus {
  border-color: rgba(31, 119, 173, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 119, 173, 0.07);
}

.text-counter,
.upload-button small,
.reply-tone-row span {
  color: #899baa;
}

.upload-zone {
  border-color: #d7e4ed;
  background: #f8fbfd;
}

.upload-icon {
  color: #176ba2;
  background: #e6f2fa;
}

.preview-item {
  background: #e4edf4;
}

.preview-item button {
  background: rgba(8, 35, 60, 0.72);
}

.tone-switch {
  background: #e8eff5;
}

.tone-switch button {
  color: #708497;
}

.tone-switch button.is-active {
  color: #143a5b;
}

.composer-footer p {
  color: #8397a8;
}

.composer-footer p .icon {
  color: #3e8eb8;
}

.admin-drawer {
  background: #f9fcff;
  box-shadow: -20px 0 60px rgba(5, 27, 49, 0.2);
}

.admin-stage-button {
  border-color: #dce7ef;
  background: white;
}

.admin-stage-button > span:first-child {
  color: #647c90;
  background: #e8f0f6;
}

.admin-stage-button.is-active {
  border-color: rgba(31, 119, 173, 0.36);
  background: #eaf4fb;
}

.admin-stage-button.is-active > span:first-child {
  background: #1e76ad;
}

.admin-stage-button.is-active > span:last-child {
  color: #176a9f;
}

.admin-summary-grid > div,
.admin-tip {
  background: #edf3f8;
}

.secondary-button {
  background: white;
  color: #4d6579;
}

.danger-button {
  color: #b33c4f;
}

.mobile-stage-card {
  background: white;
}

.mobile-stage-card > span {
  color: #6f8598;
  background: #e9f0f6;
}

.mobile-stage-card.is-active {
  border-color: rgba(31, 119, 173, 0.36);
  background: #ebf5fb;
}

.mobile-stage-card.is-active > span {
  background: #217ab0;
}

.toast {
  background: rgba(6, 32, 56, 0.96);
  color: #f2f9fe;
  box-shadow: 0 12px 34px rgba(3, 24, 43, 0.28);
}

.mobile-nav {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(251, 254, 255, 0.94);
  box-shadow: 0 14px 40px rgba(6, 37, 64, 0.18);
}

.mobile-nav a,
.mobile-nav button {
  color: #6d8295;
}

.mobile-nav .is-active {
  color: #176fa7;
}

.big-screen {
  color: #eef8ff;
  background:
    radial-gradient(circle at 62% 38%, rgba(28, 119, 175, 0.34), transparent 28%),
    radial-gradient(circle at 12% 83%, rgba(92, 183, 225, 0.08), transparent 24%),
    linear-gradient(120deg, #04172b, #082c4c 54%, #061f39);
}

.big-screen::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.screen-header {
  border-bottom-color: rgba(196, 229, 246, 0.12);
}

.screen-brand span,
.screen-header-center,
.screen-quote > span,
.screen-stats span,
.screen-member-count {
  color: rgba(232, 246, 255, 0.5);
}

.screen-live {
  border-color: rgba(147, 212, 242, 0.2);
  color: #a6e1fa;
}

.screen-speech,
.join-card {
  border-color: rgba(185, 226, 245, 0.15);
  background: rgba(255, 255, 255, 0.065);
}

.screen-speech strong,
.join-card strong,
.screen-journey li.is-active {
  color: #8dd7f4;
}

.screen-quote h2 {
  color: #acdef3;
}

.screen-stats strong,
.screen-member-count b {
  color: #e8f7ff;
}

.screen-wall .wall-card {
  box-shadow: 0 14px 32px rgba(1, 18, 34, 0.3);
}

.screen-journey li {
  color: rgba(231, 244, 252, 0.38);
}

.screen-journey li b {
  border-color: rgba(182, 224, 244, 0.18);
}

.screen-journey li.is-done {
  color: rgba(229, 244, 252, 0.67);
}

.screen-journey li.is-done b {
  border-color: rgba(169, 218, 241, 0.28);
  background: rgba(121, 191, 224, 0.1);
}

.screen-journey li.is-active b {
  border-color: #2792c8;
  background: #196fa3;
  box-shadow: 0 0 0 5px rgba(39, 146, 200, 0.1);
}

.qr-demo {
  background: #f7fcff;
}

.qr-demo span {
  border-color: #061f39;
}

.qr-demo i {
  background: #061f39;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  background: #f7fafc;
  overflow: hidden;
}

.access-visual {
  width: 57%;
  min-width: 0;
  position: relative;
  overflow: hidden;
  color: #f4faff;
  background:
    radial-gradient(circle at 70% 42%, rgba(41, 138, 194, 0.4), transparent 33%),
    linear-gradient(135deg, #04172c 0%, #082d4e 58%, #0a426a 100%);
}

.access-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 224, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 224, 246, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(120deg, black, rgba(0, 0, 0, 0.35));
}

.access-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 48%, rgba(96, 193, 235, 0.08) 49%, transparent 50%);
  background-size: 250px 250px;
}

.access-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 38px 42px;
}

.access-brand > .official-logo {
  width: 158px;
  flex: 0 0 auto;
}

.access-brand > div {
  display: flex;
  flex-direction: column;
}

.access-brand strong {
  font-size: 15px;
  letter-spacing: 0.18em;
}

.access-brand small {
  margin-top: 3px;
  color: rgba(231, 247, 255, 0.55);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.access-blueprint {
  position: absolute;
  width: min(42vw, 610px);
  height: min(42vw, 610px);
  left: 53%;
  top: 45%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.9;
}

.blueprint-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(152, 218, 246, 0.19);
  border-radius: 50%;
}

.ring-a {
  inset: 8%;
  border-style: dashed;
  animation: orbitSpin 28s linear infinite;
}

.ring-b {
  inset: 24%;
  border-width: 2px;
}

.ring-b::before,
.ring-b::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #75c9ec;
  box-shadow: 0 0 24px rgba(117, 201, 236, 0.75);
}

.ring-b::before {
  left: 18%;
  top: 5%;
}

.ring-b::after {
  right: 12%;
  bottom: 12%;
}

.ring-c {
  inset: 38%;
  border-color: rgba(178, 231, 251, 0.4);
  background: radial-gradient(circle, rgba(53, 145, 196, 0.5), rgba(18, 74, 112, 0.2));
  box-shadow: 0 0 80px rgba(55, 153, 205, 0.18);
}

.blueprint-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.blueprint-core span {
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 44px);
  letter-spacing: -0.075em;
}

.blueprint-core small {
  color: #87d4f2;
  font-size: 9px;
  letter-spacing: 0.35em;
}

.blueprint-axis {
  position: absolute;
  background: rgba(165, 224, 248, 0.13);
}

.axis-x {
  height: 1px;
  left: -12%;
  right: -12%;
  top: 50%;
}

.axis-y {
  width: 1px;
  top: -12%;
  bottom: -12%;
  left: 50%;
}

.blueprint-tick {
  position: absolute;
  color: rgba(194, 234, 251, 0.55);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.tick-one {
  left: 3%;
  top: 22%;
}

.tick-two {
  right: 3%;
  top: 45%;
}

.tick-three {
  left: 21%;
  bottom: 5%;
}

.access-statement {
  position: absolute;
  z-index: 2;
  left: 7.5%;
  bottom: 13%;
  max-width: 650px;
}

.access-statement > span {
  color: #77c9e9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.access-statement h1 {
  margin: 14px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(43px, 4.5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.access-statement p {
  max-width: 390px;
  margin: 0;
  color: rgba(233, 247, 255, 0.63);
  font-size: 12px;
  line-height: 1.8;
}

.access-values {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(226, 246, 255, 0.68);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.access-values i {
  width: 15px;
  height: 1px;
  background: rgba(130, 208, 239, 0.42);
}

.access-readout {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  color: rgba(218, 241, 252, 0.38);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.access-readout span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.access-readout i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #62c5ed;
  box-shadow: 0 0 0 4px rgba(98, 197, 237, 0.1);
}

.access-panel {
  width: 43%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 7vw;
  background:
    linear-gradient(rgba(20, 70, 108, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 70, 108, 0.025) 1px, transparent 1px),
    #f9fcff;
  background-size: 26px 26px, 26px 26px, auto;
}

.access-panel-inner {
  width: min(470px, 100%);
}

.access-mobile-brand {
  display: none;
}

.access-mobile-brand .official-logo {
  width: 104px;
  flex: 0 0 auto;
}

.access-kicker {
  color: #287eb2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.access-panel h2 {
  margin: 10px 0 12px;
  color: #0a2848;
  font-family: var(--font-display);
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.access-intro {
  margin: 0;
  color: #647b8f;
  font-size: 11px;
  line-height: 1.8;
}

.access-no-teams {
  margin: 18px 0 24px;
  padding: 9px 11px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #396c8e;
  background: #eaf4fa;
  font-size: 9px;
}

.access-no-teams .icon {
  width: 14px;
  height: 14px;
  color: #2c84b7;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 0 7px;
  color: #2c4258;
  font-size: 10px;
  font-weight: 700;
}

.field-label small {
  color: #98a9b7;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.access-field {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d8e4ed;
  border-radius: 11px;
  background: white;
  display: flex;
  align-items: center;
  gap: 9px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.access-field:focus-within {
  border-color: rgba(35, 126, 180, 0.54);
  box-shadow: 0 0 0 4px rgba(35, 126, 180, 0.07);
}

.access-field .icon {
  width: 16px;
  height: 16px;
  color: #6d8aa0;
}

.access-field input,
.access-field select {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #102d49;
  background: transparent;
  font-size: 11px;
}

.access-field select {
  appearance: auto;
  cursor: pointer;
}

.access-field input::placeholder {
  color: #a3b0bb;
}

.field-hint {
  margin: 6px 0 0;
  color: #7894a8;
  font-size: 8px;
}

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

.access-error {
  min-height: 17px;
  margin: 8px 0 2px;
  color: #bd4058;
  font-size: 9px;
}

.access-submit {
  appearance: none;
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, #0b3d68, #1c78b1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 83, 132, 0.22);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.access-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(13, 83, 132, 0.28);
}

.access-submit .icon {
  width: 16px;
  height: 16px;
}

.access-privacy {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8b9cab;
  font-size: 8px;
}

.access-privacy .icon {
  width: 12px;
  height: 12px;
  color: #6b9bb7;
}

.access-footer {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  color: #a0afbb;
  font-size: 6px;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .brand {
    flex: 0 0 auto;
  }

  .topbar-logo {
    width: 72px;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .access-visual {
    display: none;
  }

  .access-panel {
    width: 100%;
    padding: 30px 22px 54px;
    overflow-y: auto;
    align-items: flex-start;
  }

  .access-panel-inner {
    margin-top: 8vh;
  }

  .access-mobile-brand {
    margin-bottom: 42px;
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .access-mobile-brand strong {
    color: #0b2d4e;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .access-footer {
    left: 22px;
    right: 22px;
  }
}

@media (max-width: 560px) {
  .brand-divider {
    display: none;
  }

  .brand-copy small {
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .access-panel {
    padding: 20px 18px 46px;
  }

  .access-panel-inner {
    margin-top: 3vh;
  }

  .access-mobile-brand {
    margin-bottom: 30px;
  }

  .access-panel h2 {
    font-size: 33px;
  }

  .value-ribbon {
    gap: 5px;
    max-width: 290px;
    font-size: 7px;
  }

  .value-ribbon i {
    width: 8px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .access-footer {
    display: none;
  }
}

/* ===== 互动墙排序切换 ===== */

.wall-toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.wall-sorters {
  background: rgba(255, 255, 255, 0.72);
}

.wall-sorters button.is-active {
  background: #d59d55;
  box-shadow: 0 5px 12px rgba(213, 157, 85, 0.28);
}

/* ===== 掼蛋入口(hero 链接按钮) ===== */

a.text-button {
  text-decoration: none;
}

/* ===== 我的安排(房间/车辆) — 与互动墙卡片同款白卡 ===== */

.stay-card {
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 16px 12px 4px;
  background: var(--card-white);
  box-shadow: 0 7px 22px rgba(55, 57, 45, 0.045);
}

.stay-rows {
  display: flex;
  flex-direction: column;
}

.stay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 5px;
  border-bottom: 1px dashed var(--line);
}

.stay-row:last-child {
  border-bottom: 0;
}

.stay-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stay-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 76px;
}

.stay-svg {
  display: block;
  width: 100%;
  height: auto;
}

.stay-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #849087;
}

.stay-row strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.stay-row strong small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #849087;
}

.stay-miss {
  margin: 0 5px 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #849087;
}

/* ===== 手机端: 顶栏下安排横幅 ===== */

.mobile-stay-bar {
  display: none;
}

@media (max-width: 860px) {
  .mobile-stay-bar {
    display: block;
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 16px 12px 4px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: var(--card-white);
    box-shadow: 0 7px 22px rgba(55, 57, 45, 0.045);
  }

  .mobile-stay-bar .rail-heading {
    margin-bottom: 4px;
    padding: 0 5px;
  }

  .mobile-stay-bar .stay-row strong {
    font-size: 18px;
  }

  .mobile-stay-bar .stay-miss {
    margin-bottom: 12px;
  }
}

/* ===== 我的安排: 可折叠头部 + 大名字 ===== */

.stay-head {
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 5px 12px;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.stay-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8b938c;
}

.stay-name {
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stay-chev {
  flex: none;
  font-size: 18px;
  line-height: 1;
  color: #5f7185;
  transition: transform 0.32s ease;
}

.stay-card.is-collapsed .stay-chev,
.mobile-stay-bar.is-collapsed .stay-chev {
  transform: rotate(-90deg);
}

.stay-body {
  max-height: 320px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.32s ease,
    opacity 0.26s ease;
}

.stay-card.is-collapsed .stay-body,
.mobile-stay-bar.is-collapsed .stay-body {
  max-height: 0;
  opacity: 0;
}

.stay-card.is-collapsed,
.mobile-stay-bar.is-collapsed {
  padding-bottom: 12px;
}

@media (max-width: 860px) {
  .mobile-stay-bar .stay-name {
    font-size: 17px;
  }

  .mobile-stay-bar .stay-head {
    padding-bottom: 8px;
  }
}

@media (max-width: 860px) {
  .mobile-stay-bar .stay-art {
    width: 84px;
  }
}

.stay-fig {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 现场大屏: 手机端适配 ===== */

@media (max-width: 860px) {
  .big-screen {
    overflow-y: auto;
  }

  .screen-header {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 8px 12px;
  }

  .screen-brand strong {
    font-size: 14px;
  }

  .screen-brand span {
    font-size: 8px;
  }

  .screen-header-center {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .screen-close {
    height: 32px;
    padding: 0 10px;
  }

  .screen-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 18px 16px 42px;
  }

  .screen-wall-wrap {
    order: 1;
  }

  .screen-aside {
    order: 2;
  }

  .screen-right {
    order: 3;
  }

  .screen-wall {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .screen-col .wall-card {
    margin: 0;
  }

  .screen-wall .wall-card:nth-child(n + 8) {
    display: block;
  }

  .screen-wall-heading h1 {
    font-size: 22px;
  }

  .screen-member-count {
    font-size: 10px;
  }

  .screen-mascot img {
    width: 78px;
  }

  .screen-mascot {
    margin-top: 6px;
  }

  .screen-speech {
    margin-bottom: 8px;
  }

  .screen-quote {
    margin-top: 14px;
    padding: 14px 0;
  }

  .screen-quote h2 {
    font-size: 17px;
  }

  .screen-stats {
    gap: 10px;
  }

  .join-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== 大屏扫码卡: 真二维码 ===== */

.join-qr {
  width: 88px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #f7fcff;
  padding: 7px;
  display: block;
}

/* ===== 图片灯箱 ===== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 16, 24, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  animation: lightboxIn 0.22s ease both;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.lightbox-close .icon {
  width: 16px;
  height: 16px;
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wall-card-media img {
  cursor: zoom-in;
}

/* ===== 手机端输入控件 ≥16px: 阻止 iOS 聚焦自动放大 ===== */

@media (max-width: 860px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ===== 安卓窄屏字体适配: 顶栏与按钮防截断 ===== */

.topbar {
  min-width: 0;
}

.topbar .brand-copy {
  min-width: 0;
  overflow: hidden;
}

.topbar-actions {
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 460px) {

  .hero-actions {
    gap: 10px 14px;
  }

  .hero-actions .primary-button {
    padding: 0 16px;
  }

  .mobile-stay-bar .stay-head {
    gap: 8px;
  }

  .mobile-stay-bar .stay-name {
    font-size: 15px;
  }
}

/* ===== 卡片评论区 ===== */

.card-comments {
  margin: 10px 7px 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-comment {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.comment-avatar {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink-soft);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.comment-copy {
  min-width: 0;
  flex: 1;
}

.comment-copy strong {
  font-size: 11px;
  color: var(--ink-soft);
}

.comment-copy p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.screen-wall .card-comments {
  margin: 8px 7px 0;
}

/* 小驰回复并入评论区首行 */
.card-comments .wall-ai-reply {
  margin: 0;
}

/* ===== 我的安排: 状态徽标 ===== */

.stay-flag {
  display: inline-block;
  margin-top: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.stay-flag.is-in {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.stay-flag.is-out {
  background: #fdf3df;
  color: #8a6116;
  border: 1px solid #f0c46a;
}

/* ===== 行程按天分组标题 ===== */
.journey-day {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sky);
}

.journey-day:not(:first-child) {
  margin-top: 12px;
}

.journey-day b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--forest);
}

.journey-day span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.admin-stage-day,
.mobile-stage-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  background: var(--sky);
}

.admin-stage-day:not(:first-child),
.mobile-stage-day:not(:first-child) {
  margin-top: 6px;
}

.admin-stage-day b,
.mobile-stage-day b {
  font-size: 11px;
  font-weight: 800;
  color: var(--forest);
}

.admin-stage-day span,
.mobile-stage-day span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.screen-journey li.screen-journey-day {
  min-height: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 2px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(9, 33, 60, 0.92);
  color: rgba(255, 247, 231, 0.65);
}

.screen-journey li.screen-journey-day b {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f3d385;
}

.screen-journey li.screen-journey-day span {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 247, 231, 0.65);
}

/* ===== 通知铃铛与通知面板 ===== */
.notify-button {
  position: relative;
}

.notify-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.notify-panel {
  position: fixed;
  z-index: 120;
  top: 88px;
  right: 18px;
  width: min(350px, calc(100vw - 28px));
  max-height: min(560px, 72vh);
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-white);
  box-shadow: var(--shadow-md);
}

.notify-panel[hidden] {
  display: none;
}

.notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.notify-head strong {
  font-size: 15px;
}

.notify-close {
  width: 30px;
  height: 30px;
}

.notify-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0 2px 0 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 47, 80, 0.22) transparent;
}

.notify-list::-webkit-scrollbar {
  width: 5px;
}

.notify-list::-webkit-scrollbar-thumb {
  background: rgba(14, 47, 80, 0.2);
  border-radius: 3px;
}

.notify-list::-webkit-scrollbar-track {
  background: transparent;
}

.notify-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 11px 8px;
  border-radius: 12px;
}

.notify-item + .notify-item {
  border-top: 1px solid rgba(14, 47, 80, 0.07);
}

.notify-item.is-unread {
  background: var(--sky);
}

.notify-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0f6;
  color: var(--coral);
}

.notify-icon.is-like {
  color: #e2554d;
}

.notify-icon .icon {
  width: 15px;
  height: 15px;
}

.notify-copy {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.notify-copy strong {
  color: var(--ink);
}

.notify-quote {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify-item time {
  font-size: 10px;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-top: 2px;
}

.notify-empty {
  margin: 18px 4px 10px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 860px) {
  .notify-panel {
    top: 132px;
    right: 14px;
    max-height: 56vh;
  }
}

/* 点击 AI 助手按钮时高亮小驰卡片 */
.ai-card.is-highlight {
  animation: aiCardHighlight 2.2s ease 1;
}

@keyframes aiCardHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 157, 85, 0.55);
  }
  30% {
    box-shadow: 0 0 0 6px rgba(213, 157, 85, 0.38);
  }
  55% {
    box-shadow: 0 0 0 3px rgba(213, 157, 85, 0.24);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(213, 157, 85, 0);
  }
}

/* ===== 首页·交通环节上车清点(替换确认参与进度条) ===== */
.trip-progress-widget {
  margin: 14px 0 4px;
}

.trip-w-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.trip-w-head > span:first-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.trip-w-car + .trip-w-car {
  margin-top: 11px;
}

.trip-w-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.trip-w-copy b {
  font-size: 12px;
  color: var(--ink);
}

.trip-w-copy span {
  font-size: 10px;
  color: var(--ink-soft);
}

.trip-w-copy strong {
  margin-left: auto;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ===== 发车状态标记 ===== */
.trip-w-departed {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5f3e6;
  color: #2e7d32;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  white-space: nowrap;
}

.trip-w-car.is-departed .trip-w-copy strong {
  color: #2e7d32;
}

.trip-w-car .trip-w-copy .trip-w-departed + strong {
  margin-left: 0;
}

.trip-w-car.is-departed .progress-track span {
  background: linear-gradient(90deg, #57a05c, #7fc483);
}

/* ===== 手机端·活动信息栏 ===== */
.mobile-event-bar {
  display: none;
}

@media (max-width: 860px) {
  .mobile-event-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 10px 12px 0;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card-white);
    box-shadow: 0 6px 18px rgba(55, 57, 45, 0.045);
  }

  .meb-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .meb-item .icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--coral);
  }

  .meb-item b {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
  }
}

/* ===== 手机活动栏·交通段上车清点 ===== */
.meb-trip {
  flex-basis: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.meb-trip[hidden] {
  display: none;
}

.meb-trip-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--forest);
  margin-bottom: 8px;
}

.meb-trip-cars .trip-w-car + .trip-w-car {
  margin-top: 10px;
}

/* ===== 我的安排·晚宴行 ===== */
.stay-fig-dinner {
  width: 100%;
  height: auto;
}

/* ===== 晚宴互动: 手机导航第5个抢答tab ===== */
@media (max-width: 860px) {
  body.has-buzzer .mobile-nav {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== 晚宴互动: 抢答页(找小驰同款底部浮卡) ===== */
.buzzer-layer {
  z-index: 120;
}

.buzzer-sheet {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: min(430px, calc(100% - 28px));
  background: var(--card-white, #fff);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(6, 24, 43, 0.32);
  overflow: hidden;
  animation: buzzerUp 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes buzzerUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

@media (max-width: 860px) {
  .buzzer-sheet {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* 标题区居中, 关闭按钮钉右上角 */
.buzzer-sheet .sheet-header {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 18px 56px 0;
}

.buzzer-sheet .sheet-header .round-close {
  position: absolute;
  top: 12px;
  right: 14px;
}

.buzzer-body {
  padding: 8px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 状态徽标: 跟随抢答状态换色 */
.buzzer-status {
  margin: 0;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  min-height: 15px;
  background: #eef2f6;
  color: #5b7085;
}

.buzzer-status.is-live {
  background: #fff1e6;
  color: #c4511d;
}

.buzzer-status.is-won {
  background: #e8f9f0;
  color: #147a4d;
}

.buzzer-status.is-lost {
  background: #f0f3f6;
  color: #8a99a8;
}

.buzzer-button {
  appearance: none;
  border: 0;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: #c3ccd4;
  color: #f6f9fc;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 4px;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14), 0 14px 34px rgba(30, 42, 56, 0.22);
  /* 灰色态也可点(点击=向服务器核实), 只有点亮态才有按压反馈 */
  cursor: pointer;
  transition: transform 0.08s ease;
}

.buzzer-button.is-open:active {
  transform: scale(0.94);
}

.buzzer-button.is-open {
  background: linear-gradient(160deg, #ff8a5c, #e8452f);
  cursor: pointer;
  animation: buzzPulse 1.2s ease-in-out infinite;
}

.buzzer-button.is-won {
  background: linear-gradient(160deg, #4fd18b, #1f9e63);
  animation: none;
}

.buzzer-button.is-lost {
  background: #aab6c2;
  animation: none;
}

@keyframes buzzPulse {
  0%,
  100% {
    box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(232, 69, 47, 0.45);
  }
  50% {
    box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14), 0 0 0 16px rgba(232, 69, 47, 0);
  }
}

.buzzer-hint {
  margin: 0;
  font-size: 12px;
  color: #7d8a96;
  text-align: center;
  line-height: 1.6;
}

/* ===== 晚宴互动: 大屏游戏面板 ===== */
.screen-game {
  flex: none;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(140, 190, 235, 0.22);
  border-radius: 16px;
  background: rgba(9, 34, 60, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-row.sg-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 12px;
}

.sg-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.sg-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(190, 220, 245, 0.65);
}

.sg-timer-time {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #eef8ff;
}

.sg-timer-time.is-urgent {
  color: #ffb257;
}

.sg-timer-time.is-done {
  color: #ff7a68;
}

.sg-sub {
  font-size: 11px;
  color: rgba(190, 220, 245, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg-buzz-state {
  font-size: 26px;
  font-weight: 800;
  color: #8fa8c2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg-buzz-state.is-open {
  color: #ffc247;
  animation: sgBlink 1.1s ease-in-out infinite;
}

.sg-buzz-state.is-won {
  color: #5fe0a0;
  animation: none;
}

@keyframes sgBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.sg-draw-name {
  font-size: 26px;
  font-weight: 800;
  color: #8fa8c2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sg-row.sg-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sg-score {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140, 190, 235, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.sg-score b {
  font-size: 12px;
  font-weight: 600;
  color: rgba(210, 232, 250, 0.85);
}

.sg-score strong {
  font-size: 17px;
  font-weight: 800;
  color: #eef8ff;
  font-variant-numeric: tabular-nums;
}

.sg-score.is-leading {
  border-color: rgba(255, 194, 71, 0.55);
  background: rgba(255, 194, 71, 0.1);
}

.sg-score.is-leading strong {
  color: #ffc247;
}

@media (max-width: 860px) {
  .sg-row.sg-top {
    grid-template-columns: 1fr;
  }

  .sg-timer-time {
    font-size: 32px;
  }

  .sg-buzz-state,
  .sg-draw-name {
    font-size: 22px;
  }
}

/* ===== 抽奖全屏庆祝(现场大屏) ===== */
.draw-celebrate {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 14, 27, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.draw-celebrate[hidden] {
  display: none;
}

.dc-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dc-confetti i {
  position: absolute;
  top: -5vh;
  border-radius: 2px;
  opacity: 0.95;
  animation: dcFall linear infinite;
}

@keyframes dcFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.95;
  }
  100% {
    transform: translateY(114vh) rotate(680deg);
    opacity: 0.85;
  }
}

.dc-card {
  position: relative;
  text-align: center;
  padding: 20px 40px;
  animation: dcPop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.35);
}

@keyframes dcPop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

.dc-eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 6px;
  font-weight: 800;
  color: #ffc247;
  margin-bottom: 14px;
}

.dc-name {
  display: block;
  font-size: clamp(52px, 10vw, 120px);
  line-height: 1.15;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 6px 40px rgba(255, 194, 71, 0.45);
  letter-spacing: 0.02em;
}

.dc-table {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 71, 0.55);
  background: rgba(255, 194, 71, 0.12);
  color: #ffc247;
  font-size: 17px;
  font-weight: 700;
}

.dc-table:empty {
  display: none;
}

.dc-hint {
  margin: 18px 0 0;
  font-size: 15px;
  color: rgba(222, 238, 250, 0.78);
  letter-spacing: 2px;
}

.dc-close {
  appearance: none;
  margin-top: 26px;
  border: 1px solid rgba(160, 200, 240, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 240, 252, 0.9);
  border-radius: 999px;
  padding: 9px 26px;
  font-size: 13px;
  cursor: pointer;
}

/* 滚动揭晓阶段: 隐藏桌号/提示/关闭, 名字稍小偏中性 */
.dc-card.is-rolling .dc-table,
.dc-card.is-rolling .dc-hint,
.dc-card.is-rolling .dc-close {
  display: none;
}

.dc-card.is-rolling .dc-name {
  color: #cfe2f5;
  text-shadow: none;
  font-size: clamp(40px, 7.5vw, 90px);
}

/* 定格瞬间: 名字弹跳变金 */
.dc-name.is-landed {
  animation: dcLand 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.35);
}

@keyframes dcLand {
  0% {
    transform: scale(1.4);
    color: #ffc247;
  }
  60% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== 计时器全屏倒计时(现场大屏) ===== */
.timer-overlay {
  position: absolute;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 14, 27, 0.92);
}

.timer-overlay[hidden] {
  display: none;
}

.to-card {
  text-align: center;
}

.to-label {
  display: block;
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: 8px;
  font-weight: 800;
  color: #ffc247;
  margin-bottom: 16px;
}

.to-time {
  display: block;
  font-size: clamp(150px, 26vw, 360px);
  line-height: 1;
  font-weight: 900;
  color: #eef8ff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 12px 70px rgba(124, 196, 255, 0.38);
}

.to-sub {
  display: block;
  margin-top: 22px;
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: 6px;
  color: rgba(190, 220, 245, 0.5);
}

/* 最后十秒: 红色脉冲 */
.timer-overlay.is-urgent .to-time {
  color: #ff5c47;
  text-shadow: 0 0 80px rgba(255, 60, 40, 0.6);
  animation: toPulse 0.9s ease-in-out infinite;
}

.timer-overlay.is-urgent .to-label {
  color: #ff8d75;
}

@keyframes toPulse {
  50% {
    transform: scale(1.05);
  }
}

.timer-overlay.is-done .to-time {
  color: #ff5c47;
  animation: none;
}

/* ===== 抢答成功全屏(蓝色电光风) ===== */
#buzzCelebrate {
  z-index: 58;
}

.draw-celebrate.is-buzz .dc-eyebrow {
  color: #7cc4ff;
  text-shadow: 0 0 26px rgba(124, 196, 255, 0.55);
}

.draw-celebrate.is-buzz .dc-name {
  text-shadow: 0 6px 44px rgba(124, 196, 255, 0.55);
}

.draw-celebrate.is-buzz .dc-table {
  border-color: rgba(124, 196, 255, 0.55);
  background: rgba(124, 196, 255, 0.12);
  color: #9fd4ff;
}

/* ===== 主站页脚(备案号) ===== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 16px 30px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #9aa5ae;
  letter-spacing: 1px;
}

.icp-link {
  color: #9aa5ae;
  text-decoration: none;
  font-size: 11px;
}

.icp-link:hover {
  text-decoration: underline;
}

/* 手机端大屏按钮: 图标+短字样, 提高可发现性 */
.label-short {
  display: none;
}

@media (max-width: 860px) {
  .screen-button {
    min-width: 0;
    padding: 0 6px;
    gap: 3px;
    flex-direction: column;
  }

  .screen-button .label-full {
    display: none;
  }

  .screen-button .label-short {
    display: block;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
  }
}


/* 手机端取消大屏入口(用户拍板): 大屏模式面向投屏电脑, 手机顶栏只留铃铛+头像 */
@media (max-width: 860px) {
  .screen-button {
    display: none;
  }
}

/* 320px级超窄老设备: 品牌英文小字退让, 保顶栏不溢出(与大屏按钮无关, small文字本身放不下) */
@media (max-width: 340px) {
  .topbar .brand-copy small {
    display: none;
  }
}
