/* 浙大一日游邀请函 · 校园蓝绿 + 手账贴纸感 */
:root {
  --zju-blue: #003f88; /* 求是蓝 RGB 0,63,136 */
  --zju-red: #b01f24; /* 创新红 */
  --zju-sky: #2f6fad;
  --lake: #3d8b7a;
  --mist: #e8f2ef;
  --paper: #f7faf8;
  --ink: #1a2b33;
  --muted: #5a6f78;
  --accent: #c45c26;
  --accent-soft: #f3e0d4;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(0, 63, 136, 0.12);
  --shadow: 0 12px 40px rgba(0, 40, 70, 0.1);
  --radius: 18px;
  --font-display: "ZCOOL XiaoWei", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d4ebe4 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #d0e2f5 0%, transparent 50%),
    linear-gradient(180deg, #eef6f3 0%, var(--paper) 40%, #e7f0ea 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 700;
  color: var(--zju-blue);
}

/* 飘叶 */
.leaves {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.leaf {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #d4763a, #e8a04a);
  border-radius: 2px 70% 2px 70%;
  opacity: 0.45;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(520deg);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  z-index: 1;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 12% 10% auto;
  height: 55%;
  background:
    linear-gradient(160deg, rgba(61, 139, 122, 0.35), transparent 60%),
    linear-gradient(200deg, rgba(47, 111, 173, 0.28), transparent 55%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
}

.hero__seal {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border: 2px solid var(--zju-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  color: var(--zju-blue);
  box-shadow: 0 8px 24px rgba(0, 63, 136, 0.12);
  animation: brandIn 0.9s ease both;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--lake);
  text-transform: uppercase;
}

.hero__brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__brand-main {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 400;
  color: var(--zju-blue);
  letter-spacing: 0.06em;
  line-height: 1.1;
  animation: brandIn 1s ease both;
}

.hero__brand-sub {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  color: var(--lake);
  letter-spacing: 0.35em;
  animation: brandIn 1s 0.15s ease both;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__to {
  margin: 1.6rem 0 0.8rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--ink);
}

.name-glow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25em;
  color: var(--zju-blue);
  position: relative;
  animation: namePulse 2.8s ease-in-out infinite;
}

.name-glow.delay {
  animation-delay: 0.4s;
}

.name-glow.delay2 {
  animation-delay: 0.8s;
}

@keyframes namePulse {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 18px rgba(47, 111, 173, 0.35);
    transform: translateY(-2px);
  }
}

.hero__lead {
  max-width: 34rem;
  margin: 0 auto 1.8rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(6px);
    opacity: 0.6;
  }
}

/* Buttons */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--zju-blue), var(--zju-sky));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 63, 136, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 63, 136, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--zju-blue);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Sections */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.section {
  padding: 3.5rem 0 1rem;
}

.section__head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--zju-blue);
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.hint {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.hint.center {
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.pill--food {
  background: #f3e0d4;
  color: #9a3f18;
}

.pill--photo {
  background: #dceaf8;
  color: #003f88;
}

.pill--soft {
  background: var(--mist);
  color: var(--lake);
}

.guide-steps {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.1rem 1.1rem 2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.guide-steps li {
  margin: 0.45rem 0;
}

.guide-steps strong {
  color: var(--zju-blue);
}

.map-card {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: contain;
  background: #eef6f1;
}

.map-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.food-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
  min-height: 1.1rem;
}

.swatch--photo {
  padding: 0;
  overflow: hidden;
  background: #111;
}

.swatch--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dates */
.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}

.date-card {
  position: relative;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.date-card:hover {
  transform: translateY(-3px);
}

.date-card.is-selected {
  border-color: var(--zju-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 63, 136, 0.12);
}

.date-card__day {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--zju-blue);
  line-height: 1;
}

.date-card__week {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.date-card__tag {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .time-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.field select,
textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select:focus,
textarea:focus {
  border-color: var(--zju-sky);
  box-shadow: 0 0 0 3px rgba(47, 111, 173, 0.15);
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
}

/* Meals */
.meal-block {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.meal-block:not(.is-off) {
  border-color: rgba(0, 63, 136, 0.28);
  box-shadow: 0 0 0 3px rgba(0, 63, 136, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.meal-block.is-off .meal-block__top {
  position: relative;
  z-index: 2;
}

.meal-block.is-off .food-wrap {
  position: relative;
  pointer-events: none;
  user-select: none;
}

.meal-block.is-off .food-grid {
  filter: blur(3px) grayscale(0.55);
  opacity: 0.45;
  transform: scale(0.985);
}

.meal-block.is-off .meal-gate {
  opacity: 1;
}

.meal-block:not(.is-off) .meal-gate {
  opacity: 0;
  pointer-events: none;
}

.meal-block:not(.is-off) .meal-step::after {
  content: " · 第二步选餐厅";
  color: var(--muted);
  font-weight: 400;
}

.meal-block__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meal-step {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.meal-block__top h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--lake);
}

.food-wrap {
  position: relative;
}

.meal-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--zju-blue);
  background: linear-gradient(
    180deg,
    rgba(247, 250, 248, 0.2),
    rgba(247, 250, 248, 0.55)
  );
  transition: opacity 0.25s;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.switch--emph {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #003f88, #2f6fad);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 63, 136, 0.25);
}

.switch--emph input {
  accent-color: #fff;
  width: 1.15rem;
  height: 1.15rem;
}

.meal-block:not(.is-off) .switch--emph {
  background: var(--mist);
  color: var(--zju-blue);
  box-shadow: none;
}

.meal-block:not(.is-off) .switch--emph input {
  accent-color: var(--zju-blue);
}

.switch input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--zju-blue);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.9rem;
}

.food-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
}

.food-card:hover {
  transform: translateY(-4px);
}

.food-card.is-selected {
  border-color: var(--zju-blue);
  box-shadow: 0 0 0 4px rgba(0, 63, 136, 0.12);
}

.food-card.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* 色块封面，不依赖配图 */
.swatch {
  aspect-ratio: 1.35 / 1;
  width: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(145deg, var(--zju-blue), var(--zju-sky));
}

.swatch span {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.swatch--sage {
  background: linear-gradient(145deg, #2f6b5c, #5fa894);
}
.swatch--amber {
  background: linear-gradient(145deg, #a56a2a, #d4a15c);
}
.swatch--rust {
  background: linear-gradient(145deg, #8f3d2a, #c45c26);
}
.swatch--navy {
  background: linear-gradient(145deg, #003f88, #2f6fad);
}
.swatch--blush {
  background: linear-gradient(145deg, #9a5a6a, #d4a0aa);
}
.swatch--blue {
  background: linear-gradient(145deg, #1e4f7a, #5a8fb8);
}
.swatch--lake {
  background: linear-gradient(145deg, #1f6d6a, #4aa8a0);
}

.slot .swatch,
.play-card .swatch {
  aspect-ratio: 1;
  width: 88px;
  min-width: 88px;
  border-radius: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.slot .swatch {
  width: 64px;
  min-width: 64px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.food-card__body {
  padding: 0.7rem 0.75rem 0.9rem;
}

.food-card__name {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.stars {
  color: #c9a227;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.3rem;
  line-height: 1;
}

.food-card__desc {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.food-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.45rem;
}

.tag {
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: var(--mist);
  color: var(--lake);
}

.food-card__check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--zju-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s;
}

.food-card.is-selected .food-card__check {
  opacity: 1;
  transform: scale(1);
}

/* Play + schedule */
.play-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .play-layout {
    grid-template-columns: 1fr;
  }
}

.play-pool {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.play-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.65rem;
  box-shadow: var(--shadow);
  border: 2px dashed transparent;
  cursor: grab;
  transition: transform 0.2s, border-color 0.2s, opacity 0.2s;
  user-select: none;
}

.play-card .swatch {
  pointer-events: none;
}

.play-card:active {
  cursor: grabbing;
}

.play-card.is-dragging {
  opacity: 0.45;
}

.play-card.is-used {
  opacity: 0.4;
  pointer-events: none;
}


.play-card__name {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.play-card__desc {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.schedule-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1rem;
  min-height: 320px;
  position: sticky;
  top: 1rem;
  backdrop-filter: blur(10px);
}

.schedule-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.schedule-panel__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--zju-blue);
}

.badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--lake);
}

.dropzone {
  min-height: 240px;
  border: 2px dashed rgba(0, 63, 136, 0.22);
  border-radius: var(--radius);
  padding: 0.65rem;
  background:
    repeating-linear-gradient(
      -8deg,
      transparent,
      transparent 10px,
      rgba(61, 139, 122, 0.03) 10px,
      rgba(61, 139, 122, 0.03) 11px
    );
  transition: border-color 0.2s, background 0.2s;
}

.dropzone.is-over {
  border-color: var(--zju-sky);
  background-color: rgba(47, 111, 173, 0.06);
}

.dropzone:empty::before {
  content: attr(data-empty);
  display: block;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.dropzone-tip {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.slot {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  animation: slotIn 0.35s ease both;
}

@keyframes slotIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slot--meal {
  background: linear-gradient(90deg, #fff8f3, #fff);
  border-color: rgba(196, 92, 38, 0.2);
}

.slot--play {
  cursor: grab;
}

.result-desc {
  color: var(--muted);
  font-size: 0.85em;
}

.slot__label {
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0 0 0.1rem;
  letter-spacing: 0.04em;
}

.slot--play .slot__label {
  color: var(--lake);
}

.slot__title {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.slot__sub {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.slot__remove {
  appearance: none;
  border: none;
  background: var(--mist);
  color: var(--muted);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.slot__remove:hover {
  background: #fde8e4;
  color: #b33;
}

/* Finale */
.section--finale {
  text-align: center;
}

.section--finale .section__head {
  margin-left: auto;
  margin-right: auto;
}

.finale-actions {
  margin: 1.5rem 0;
}

.result {
  margin-top: 1.5rem;
  animation: brandIn 0.5s ease both;
}

.result.hidden,
.hidden {
  display: none !important;
}

.postcard {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  background:
    linear-gradient(160deg, #ffffff 0%, #f3f9f6 100%);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}

.postcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(61, 139, 122, 0.12), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(47, 111, 173, 0.1), transparent 35%);
  pointer-events: none;
}

.postcard__seal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  border: 2px solid rgba(196, 92, 38, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--accent);
  transform: rotate(12deg);
  opacity: 0.85;
}

.postcard__title {
  position: relative;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--zju-blue);
}

.postcard__meta {
  position: relative;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.postcard__list {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.postcard__list li {
  margin-bottom: 0.45rem;
}

.postcard__notes {
  position: relative;
  margin: 1rem 0 0;
  padding: 0.75rem;
  background: rgba(61, 139, 122, 0.08);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--ink);
}

.postcard__notes:empty {
  display: none;
}

.postcard__foot {
  position: relative;
  margin: 1.25rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  color: var(--lake);
  letter-spacing: 0.08em;
}

.export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}

/* Toast & modal */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: brandIn 0.3s ease both;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 30, 40, 0.45);
  display: grid;
  place-items: center;
  z-index: 60;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal__card {
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: brandIn 0.35s ease both;
}

.modal__emoji {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.modal__card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--zju-blue);
}

.modal__card p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.confetti {
  position: fixed;
  width: 8px;
  height: 8px;
  top: -10px;
  z-index: 70;
  pointer-events: none;
  animation: confettiFall 1.6s ease-out forwards;
}

@keyframes confettiFall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}
