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

:root {
  --bg: #FFF0F5;
  --card: #FFF5F8;
  --rose: #E8547A;
  --pink: #FF8FAB;
  --text: #5C2A3C;
  --muted: #B07090;
  --border: rgba(232, 84, 122, 0.22);
  --shadow: rgba(232, 84, 122, 0.25);
  --font-title: "STKaiti", "Kaiti SC", "楷体", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition: 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,182,193,0.55) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 78%, rgba(221,160,221,0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 5%, rgba(255,218,224,0.7) 0%, transparent 42%),
    var(--bg);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hidden { display: none !important; }

/* 飘落花瓣 */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petals span {
  position: absolute;
  top: -40px;
  font-size: 1rem;
  opacity: 0.7;
  animation: petalsFall linear infinite;
}

.petals span:nth-child(1) { left: 10%; animation-duration: 6s; animation-delay: 0s; }
.petals span:nth-child(2) { left: 23%; animation-duration: 7.3s; animation-delay: 1.1s; }
.petals span:nth-child(3) { left: 36%; animation-duration: 8.6s; animation-delay: 2.2s; }
.petals span:nth-child(4) { left: 49%; animation-duration: 6.5s; animation-delay: 0.5s; }
.petals span:nth-child(5) { left: 62%; animation-duration: 7.8s; animation-delay: 1.8s; }
.petals span:nth-child(6) { left: 75%; animation-duration: 9.1s; animation-delay: 3.3s; }
.petals span:nth-child(7) { left: 88%; animation-duration: 6.8s; animation-delay: 0.9s; }

@keyframes petalsFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(110vh) translateX(30px) rotate(360deg); opacity: 0; }
}

#app {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.page {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  overflow: hidden;
}

.page.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page.exit {
  opacity: 0;
  transform: translateY(-24px);
}

.page-inner {
  min-height: 100%;
  padding: 2.5rem 1.25rem;
}

.page-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

#page1 {
  position: relative;
}

/* 漂浮装饰 */
.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floaters span {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.55;
  animation: float 4s ease-in-out infinite;
}

.floaters span:nth-child(1) { animation-delay: 0s; animation-duration: 4.2s; }
.floaters span:nth-child(2) { animation-delay: 0.6s; animation-duration: 3.8s; }
.floaters span:nth-child(3) { animation-delay: 1.2s; animation-duration: 5.1s; }
.floaters span:nth-child(4) { animation-delay: 0.3s; animation-duration: 4.7s; }
.floaters span:nth-child(5) { animation-delay: 1.8s; animation-duration: 3.5s; }
.floaters span:nth-child(6) { animation-delay: 0.9s; animation-duration: 4.9s; }
.floaters span:nth-child(7) { animation-delay: 2.1s; animation-duration: 4s; }
.floaters span:nth-child(8) { animation-delay: 0.5s; animation-duration: 5.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-16px) rotate(7deg); }
  66% { transform: translateY(-7px) rotate(-5deg); }
}

/* 封面 */
.deco-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--rose));
  margin-bottom: 2rem;
  transform: rotate(-1.5deg);
  border-radius: 2px;
}

.title-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.title-main {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 12vw, 3.6rem);
  color: var(--text);
  text-shadow: 4px 4px 0 var(--pink);
  line-height: 1.05;
  letter-spacing: 1px;
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}

.sparkles {
  color: var(--pink);
  font-size: 1.3rem;
  margin: 0.6rem 0 1.2rem;
  letter-spacing: 6px;
  animation: blink 2.8s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.subtitle-card {
  background: rgba(255,255,255,0.72);
  border: 2px solid var(--border);
  padding: 1rem 1.5rem;
  transform: rotate(1deg);
  box-shadow: 4px 4px 0 var(--shadow);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(6px);
  border-radius: 3px;
  position: relative;
  z-index: 1;
}

.subtitle-card p {
  font-size: 1.12rem;
  line-height: 1.75;
}

.subtitle-card strong {
  color: var(--rose);
  font-weight: 700;
}

.cover-footer {
  margin-top: 1.5rem;
  color: rgba(176,112,144,0.4);
  font-size: 0.85rem;
  letter-spacing: 4px;
}

/* 按钮 */
.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 3px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 2px;
  background: var(--rose);
  color: #fff;
  border: 3px solid var(--text);
  box-shadow: 4px 4px 0 var(--pink);
  padding: 1.1rem 0;
}

.btn-primary:disabled {
  background: rgba(255,255,255,0.5);
  color: var(--muted);
  border-color: var(--border);
  box-shadow: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary:not(:disabled):hover {
  box-shadow: 5px 5px 0 var(--pink);
}

.softbtn {
  animation: softpulse 2.2s ease-in-out infinite;
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

@keyframes softpulse {
  0%, 100% { box-shadow: 3px 3px 0 var(--pink); }
  50% { box-shadow: 3px 3px 0 var(--pink), 0 0 22px rgba(232,84,122,0.25); }
}

.btn-block {
  width: 100%;
  margin-top: 1.25rem;
}

.btn-decline {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
  color: var(--muted);
  border: 2px solid rgba(176,112,144,0.3);
  border-radius: 3px;
}

#btnDecline.btn-decline-run {
  position: absolute;
  z-index: 20;
  margin: 0;
  white-space: nowrap;
  transition: left 0.35s cubic-bezier(0.34,1.56,0.64,1),
              top 0.35s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.decline-zone {
  position: static;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.btn-outline {
  flex: 1;
  padding: 0.9rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.6);
  color: var(--muted);
  border: 3px solid var(--border);
}

.btn-text {
  margin-top: 0.75rem;
  background: none;
  color: var(--muted);
  font-size: 1rem;
  padding: 0.5rem;
}

.action-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  width: 100%;
}

.action-row .btn-primary {
  flex: 1;
  padding: 0.9rem 0;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--pink);
}

/* 彩蛋 toast */
.easter-toast {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  background: var(--bg);
  border: 3px solid var(--rose);
  box-shadow: 5px 5px 0 var(--pink);
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  border-radius: 4px;
}

.easter-toast strong { color: var(--rose); }

.easter-top { top: 10%; animation: popIn 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.easter-bottom {
  bottom: 22%;
  background: rgba(255,255,255,0.9);
  border: 2px solid var(--pink);
  box-shadow: 3px 3px 0 rgba(232,84,122,0.27);
  font-size: 1rem;
  transform: rotate(1deg);
  animation: slideUp 0.35s ease forwards;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.72) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(-2deg); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(14px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(1deg); }
}

/* 通用页面 */
.step-label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.step-label.center { text-align: center; margin-bottom: 1rem; }

.page-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--text);
  text-shadow: 3px 3px 0 var(--pink);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.page-title.tilt-left { transform: rotate(-0.6deg); }

.page-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin: -0.75rem 0 1.25rem;
  text-align: center;
}

.paper-card {
  background: rgba(255,255,255,0.78);
  border: 3px solid var(--border);
  padding: 1.25rem;
  box-shadow: 6px 6px 0 var(--shadow);
  transform: rotate(0.4deg);
  backdrop-filter: blur(6px);
  border-radius: 4px;
}

/* 日历 */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-nav {
  background: none;
  border: none;
  color: var(--rose);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.cal-month {
  font-family: var(--font-title);
  color: var(--rose);
  font-size: 1.15rem;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

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

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid transparent;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}

.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #D4A8B8; cursor: not-allowed; }

.cal-day.today:not(.selected) {
  border-color: var(--pink);
  color: var(--rose);
}

.cal-day.selected {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  box-shadow: 2px 2px 0 var(--pink);
  transform: scale(1.15);
}

.date-confirm {
  margin-top: 1rem;
  text-align: center;
  padding: 0.6rem 1rem;
  background: rgba(232,84,122,0.08);
  border: 2px solid var(--rose);
  font-size: 1rem;
  border-radius: 3px;
  animation: slideUp 0.35s ease forwards;
}

.date-confirm strong { color: var(--rose); font-weight: 700; }

/* 食物选择 — 3×3 网格 */
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.food-scene {
  height: 118px;
  perspective: 900px;
  position: relative;
}

.food-scene.flipped .food-inner { transform: rotateY(180deg); }

.food-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.food-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 4px;
}

.food-front {
  background: rgba(255,255,255,0.82);
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  padding: 0.45rem 0.35rem;
  backdrop-filter: blur(4px);
}

.food-front.chosen {
  border-color: var(--cat-color, var(--rose));
  box-shadow: 4px 4px 0 rgba(232, 84, 122, 0.3);
}

.food-front .emoji { font-size: 1.45rem; }
.food-front .food-tag {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.food-front .cat-name { font-size: 0.72rem; font-weight: 700; text-align: center; line-height: 1.15; }
.food-front .cat-desc {
  font-size: 0.58rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.15;
}
.food-front .chosen-tag { color: var(--cat-color, var(--rose)); font-size: 0.62rem; font-weight: 700; }

.food-back {
  background: var(--cat-color, var(--rose));
  border: 2px solid #fff;
  transform: rotateY(180deg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  overflow: hidden;
}

.food-back.custom-back {
  justify-content: flex-start;
}

.custom-input {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 0.35rem 0.45rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text);
  background: #fff;
  outline: none;
}

.custom-input.input-shake {
  animation: inputShake 0.4s ease;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.food-item-btn-sm {
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
}

.food-back-title {
  font-family: var(--font-title);
  color: #fff;
  font-size: 0.68rem;
  margin-bottom: 0.1rem;
}

.food-item-btn {
  background: #fff;
  color: var(--text);
  border: 2px solid var(--cat-color, var(--rose));
  padding: 0.35rem 0.45rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
  text-align: left;
  border-radius: 3px;
}

.food-back-close {
  margin-top: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  padding: 0;
}

.food-scene:nth-child(odd) .food-front { transform: rotate(-1.5deg); }
.food-scene:nth-child(even) .food-front { transform: rotate(1.5deg); }

.food-selected {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--rose);
  font-size: 1.05rem;
  animation: slideUp 0.35s ease forwards;
}

/* 晚餐后下一站 — 3×3 */
.after-grid .food-scene {
  height: 128px;
}

.after-grid .food-front {
  gap: 0.15rem;
  padding: 0.4rem 0.3rem;
}

.after-grid .food-front .emoji { font-size: 1.35rem; }
.after-grid .food-tag { font-size: 0.55rem; }
.after-grid .cat-name { font-size: 0.68rem; }

.after-grid .food-front .cat-desc {
  font-size: 0.55rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.15;
  font-weight: 400;
}

.after-grid .food-back .food-extra {
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.after-drink-tip {
  margin-top: 0.75rem;
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(255,138,101,0.12);
  border: 2px solid #FF8A65;
  border-radius: 4px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: slideUp 0.35s ease forwards;
}

.after-drink-tip strong { color: #FF8A65; }

.after-recorded {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--rose);
  font-size: 1.05rem;
  animation: slideUp 0.35s ease forwards;
}

.surprise-drawing {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 150;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--rose);
  box-shadow: 4px 4px 0 var(--pink);
  border-radius: 4px;
  color: var(--rose);
  font-size: 1.1rem;
  animation: surprisePulse 0.8s ease-in-out infinite;
}

@keyframes surprisePulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.03); }
}

.food-scene.after-chosen-pop .food-front {
  transform: scale(1.06) rotate(0deg) !important;
  box-shadow: 6px 6px 0 rgba(232, 84, 122, 0.35);
}

/* 喝酒提醒弹窗 */
.drink-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(92, 42, 60, 0.35);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  animation: modalFadeIn 0.35s ease forwards;
  overscroll-behavior: contain;
  touch-action: none;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.drink-modal-overlay.hidden {
  display: none !important;
  animation: none;
}

.drink-modal {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid var(--border);
  box-shadow: 0 -4px 24px var(--shadow);
  border-radius: 12px 12px 4px 4px;
  padding: 1.5rem 1.25rem 1.25rem;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

.drink-modal-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.75rem;
}

.drink-modal-body {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.drink-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drink-modal-btn {
  width: 100%;
  padding: 0.85rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

/* 全局 Toast */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 300;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--rose);
  box-shadow: 4px 4px 0 var(--pink);
  border-radius: 4px;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  pointer-events: none;
  animation: toastIn 0.35s ease forwards;
}

.app-toast.fade-out {
  animation: toastOut 0.35s ease forwards;
}

.app-toast.center {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  animation: toastInCenter 0.35s ease forwards;
}

.app-toast.center.fade-out {
  animation: toastOutCenter 0.35s ease forwards;
}

@keyframes toastInCenter {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes toastOutCenter {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, calc(-50% - 8px)); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; transform: translateX(-50%) translateY(-8px); }
}

/* 生成页 */
.gen-star {
  font-size: 3rem;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 1rem;
}

.spin { animation: spin 4s linear infinite; }

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

.gen-title { text-align: center; font-size: 1.55rem; }

.gen-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.8);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--shadow);
  border-radius: 4px;
  animation: slideUp 0.35s ease forwards;
}

.gen-step-done {
  background: rgba(232,84,122,0.08);
  border-color: var(--rose);
  box-shadow: 4px 4px 0 var(--pink);
}

.gen-icon { font-size: 1.2rem; }
.gen-step .muted { color: var(--muted); }

/* 邀请票 */
.ticket-card {
  width: 100%;
  background: rgba(255,255,255,0.92);
  border: 4px solid var(--text);
  padding: 2rem 1.75rem;
  box-shadow: 8px 8px 0 var(--rose);
  transform: rotate(-2deg);
  position: relative;
  backdrop-filter: blur(8px);
  border-radius: 4px;
}

.pop-in { animation: popIn 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }

.ticket-stamp {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 2px solid var(--rose);
  padding: 3px 7px;
  transform: rotate(14deg);
  font-family: var(--font-title);
  font-size: 0.6rem;
  color: var(--rose);
  opacity: 0.7;
  letter-spacing: 1px;
  border-radius: 2px;
}

.ticket-icon {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.ticket-head {
  text-align: center;
  border-bottom: 3px dashed rgba(92,42,60,0.15);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.ticket-head h2 {
  font-family: var(--font-title);
  font-size: 2.1rem;
  text-shadow: 2px 2px 0 var(--pink);
}

.invite-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.ticket-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(92,42,60,0.1);
  padding-bottom: 0.6rem;
  font-size: 1rem;
}

.ticket-row span { color: var(--muted); }
.ticket-row strong { color: var(--rose); font-size: 1.1rem; font-weight: 700; }

.ticket-footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}

.ticket-candle {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.6rem;
}

::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

@media (max-height: 700px) {
  .page-inner { padding: 1.5rem 1rem; }
  .food-scene { height: 108px; }
  .after-grid .food-scene { height: 118px; }
  .subtitle-card { margin-bottom: 1.5rem; }
}
