/* =========================================================
   礼遇宜宾 · 邀请函 H5
   色彩取自主视觉：玉青 / 翡翠绿 / 薄雾白 + 一点金
   ========================================================= */
:root {
  --jade-950: #06302c;
  --jade-900: #0b4a43;
  --jade-800: #0f5f55;
  --jade-700: #12776a;
  --jade-600: #179081;
  --jade-500: #1fae8f;
  --jade-400: #3cc9a0;
  --jade-200: #bfe9da;
  --jade-100: #e2f5ee;
  --mist: #f2faf7;
  --ink: #12302c;
  --ink-2: #48635e;
  --ink-3: #7d958f;
  --gold: #c39a4d;
  --gold-soft: #f3e7c9;
  --seal: #c8402f;
  --line: rgba(15, 95, 85, .12);
  --card: rgba(255, 255, 255, .86);
  --shadow: 0 10px 30px -12px rgba(11, 74, 67, .25), 0 2px 6px rgba(11, 74, 67, .06);
  --grad: linear-gradient(135deg, #0f6b60 0%, #17927f 55%, #34c39b 100%);
  --radius: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #e9f4f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

#home {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(60, 201, 160, .16), transparent 60%),
    radial-gradient(90% 50% at 0% 35%, rgba(23, 144, 129, .10), transparent 60%),
    linear-gradient(180deg, #e3f3ed 0%, #f6fbf9 30%, #eef8f4 70%, #e2f2ec 100%);
  min-height: 100vh;
  padding-bottom: calc(96px + var(--safe-b));
  overflow: hidden;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 0 0;
}
.hero-waves {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 180px;
  color: rgba(23, 144, 129, .35);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: calc(56px + env(safe-area-inset-top, 0px)) 22px 0;
  text-align: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(23, 144, 129, .18);
  color: var(--jade-700);
  font-size: 12px; letter-spacing: .28em; font-weight: 600;
  box-shadow: 0 4px 14px -6px rgba(11, 74, 67, .2);
}
.hero-tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero-slogan {
  margin: 28px 0 0;
  filter: drop-shadow(0 6px 10px rgba(15, 107, 96, .14));
}
.hero-slogan img { width: 78%; }
.hero-slogan .s1 { margin-right: auto; margin-left: 2%; }
.hero-slogan .s2 { width: 70%; margin-left: auto; margin-right: 2%; margin-top: -4px; }
.hero-tagline {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 14px; letter-spacing: .2em; color: var(--jade-700);
}
.hero-tagline i { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-tagline i:last-child { transform: scaleX(-1); }
.hero-title { margin: 18px 0 0; font-weight: 800; color: var(--jade-900); line-height: 1.35; }
.hero-title span { display: block; }
.ht-1 { font-size: clamp(22px, 6.6vw, 30px); letter-spacing: .06em; }
.ht-2 { font-size: clamp(19px, 5.6vw, 26px); letter-spacing: .14em; margin-top: 2px; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-align: left;
}
.hero-meta > i { width: 1px; align-self: stretch; background: var(--line); }
.hero-meta b { display: block; font-size: 17px; color: var(--jade-800); line-height: 1.25; }
.hero-meta small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hero-meta div:first-child b { font-size: 22px; font-family: "DIN Alternate", "Bahnschrift", var(--sans); letter-spacing: .02em; }

.hero-scene {
  position: relative;
  margin-top: auto;
  margin-bottom: 40px;
  z-index: 1;
}
.hero-scene img {
  width: 128%;
  max-width: none;
  margin-left: -22%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 82%, transparent 100%), linear-gradient(90deg, transparent, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 82%, transparent 100%), linear-gradient(90deg, transparent, #000 18%);
  mask-composite: intersect;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1.02); } to { transform: translate3d(-8px, -4px, 0) scale(1.05); } }

.scroll-hint {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: max-content;
  margin: 22px auto 0;
  font-size: 12px; letter-spacing: .2em; color: var(--jade-700);
}
.scroll-hint svg { font-size: 22px; margin-top: 2px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------------- Sections & cards ---------------- */
.section { position: relative; z-index: 2; padding: 0 16px; margin-top: 18px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 26px 20px 22px;
}
.eyebrow {
  margin: 0;
  font-size: 12px; letter-spacing: .24em; font-weight: 600;
  color: var(--jade-600);
}
h2 { margin: 6px 0 0; }

.letter { padding-top: 30px; overflow: hidden; }
.letter::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad);
}
.letter-head { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed rgba(15, 95, 85, .2); }
.letter-head h2 {
  font-family: var(--serif);
  font-size: 30px; font-weight: 900; letter-spacing: .2em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.letter-event { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--jade-900); line-height: 1.55; }
.countdown {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin-top: 14px; padding: 6px 14px;
  border-radius: 999px;
  background: var(--jade-100); color: var(--jade-800);
  font-size: 13px;
}
.countdown b { font-size: 20px; font-family: "DIN Alternate", "Bahnschrift", var(--sans); color: var(--jade-700); }

.block { margin-top: 20px; }
.block p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); text-align: justify; }
.block-title { margin: 0; font-size: 16px; color: var(--jade-900); display: flex; align-items: center; gap: 10px; }
.block-title::before {
  content: ""; width: 4px; height: 16px; border-radius: 4px; background: var(--grad);
}
.block .highlight {
  margin-top: 12px; padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--jade-100), rgba(243, 231, 201, .55));
  color: var(--jade-800);
  font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.8;
  text-align: center;
}

.info-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.info-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
}
.info-list .ic {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; font-size: 18px;
  box-shadow: 0 6px 12px -6px rgba(15, 107, 96, .6);
}
.info-list small { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.info-list b { display: block; font-size: 15px; color: var(--ink); line-height: 1.45; }
.mini-link { display: inline-block; margin-top: 4px; font-size: 12.5px; color: var(--jade-600); font-weight: 600; }
.orgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.orgs span {
  font-size: 12.5px; line-height: 1.4;
  padding: 4px 9px; border-radius: 8px;
  background: var(--jade-100); color: var(--jade-800);
}

.invite p {
  font-family: var(--serif);
  font-size: 15.5px; line-height: 1.95; color: var(--ink);
  text-indent: 2em;
}
.tip {
  display: flex; gap: 8px; align-items: center;
  margin-top: 18px; padding: 11px 14px;
  border-radius: 14px;
  background: var(--gold-soft); color: #8a6420;
  font-size: 13.5px;
}
.tip svg { font-size: 18px; }

/* ---------------- Venue ---------------- */
.venue h2 { font-size: 20px; color: var(--jade-900); }
.venue .addr { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.map-wrap {
  position: relative;
  margin-top: 14px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #e3f2ec, #f4faf8);
}
.map { position: absolute; inset: 0; z-index: 1; }
.map-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--jade-700); font-size: 13px;
}
.map-fallback svg { font-size: 30px; }
.map-ready .map-fallback { display: none; }
.nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.nav-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 42px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  background: #fff; color: var(--jade-800);
  border: 1px solid rgba(15, 95, 85, .18);
  transition: transform .15s;
}
.nav-btn:active { transform: scale(.97); }
.nav-btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 16px -8px rgba(15, 107, 96, .7); }
.nav-btn svg { font-size: 16px; }
.venue-note { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }

/* Leaflet 标记 */
.venue-pin { position: relative; }
.venue-pin .dot {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--jade-600); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.venue-pin .pulse {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: rgba(23, 144, 129, .45);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { to { transform: scale(3.6); opacity: 0; } }
.venue-label {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 10px; border-radius: 10px;
  background: var(--jade-900); color: #fff; font-size: 12px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.venue-label::after {
  content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px;
  border: 5px solid transparent; border-top-color: var(--jade-900);
}

/* ---------------- Footer ---------------- */
.footer { position: relative; margin-top: 26px; }
.footer img {
  width: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
  mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.footer-text { text-align: center; padding: 12px 16px 0; font-size: 12px; color: var(--ink-3); }
.footer-text p { margin: 0; }
.footer-text .sub { margin-top: 2px; letter-spacing: .3em; color: var(--jade-600); }

/* ---------------- CTA ---------------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  max-width: 520px; margin: 0 auto;
  padding: 12px 16px calc(12px + var(--safe-b));
  background: linear-gradient(180deg, rgba(233, 244, 240, 0), rgba(233, 244, 240, .92) 40%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.cta-bar.hide { transform: translateY(120%); opacity: 0; }
.btn-primary {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 54px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 12px 24px -10px rgba(15, 107, 96, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: hidden;
  transition: transform .15s, filter .15s;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-primary:active { transform: scale(.98); filter: brightness(.95); }
.btn-primary svg { font-size: 20px; }
.btn-primary[disabled] { filter: saturate(.6) brightness(1.05); pointer-events: none; }

/* ---------------- Form sheet ---------------- */
.sheet-mask {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(6, 48, 44, .45);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.sheet-mask.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  max-width: 520px; margin: 0 auto;
  max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 20px calc(22px + var(--safe-b));
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(100% 40% at 100% 0%, rgba(60, 201, 160, .14), transparent 70%),
    #fbfefd;
  box-shadow: 0 -20px 40px -20px rgba(6, 48, 44, .4);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}
.sheet.show { transform: translateY(0); }
.sheet-grip { width: 40px; height: 5px; border-radius: 5px; background: rgba(15, 95, 85, .18); margin: 0 auto 10px; }
.sheet-close {
  position: absolute; right: 14px; top: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(15, 95, 85, .07); color: var(--ink-2); font-size: 18px;
}
.sheet-head { padding: 6px 0 8px; }
.sheet-head h2 { font-size: 22px; color: var(--jade-900); }
.muted { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }

.field { display: block; margin-top: 16px; }
.label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.label small { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 95, 85, .14);
  background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a8bab5; }
.field input:focus { border-color: var(--jade-500); box-shadow: 0 0 0 4px rgba(31, 174, 143, .14); }
.field.invalid input { border-color: #e0614f; box-shadow: 0 0 0 4px rgba(224, 97, 79, .1); }
.err { display: block; min-height: 0; font-style: normal; font-size: 12.5px; color: #d0503e; margin-top: 6px; }
.err:empty { display: none; }

.stepper {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 6px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 95, 85, .14);
  background: #fff;
}
.stepper button {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--jade-100); color: var(--jade-800);
  font-size: 24px; line-height: 1; font-weight: 500;
  transition: transform .12s, background .2s;
}
.stepper button:active { transform: scale(.92); background: var(--jade-200); }
.stepper button:disabled { opacity: .35; }
.stepper input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: none; background: transparent;
  text-align: center;
  font: inherit; font-size: 24px; font-weight: 700; color: var(--jade-800);
  font-family: "DIN Alternate", "Bahnschrift", var(--sans);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { color: var(--ink-3); font-size: 14px; margin-right: 6px; margin-left: -6px; }

.privacy { margin: 18px 0 14px; font-size: 12px; color: var(--ink-3); text-align: center; }
.btn-primary.block { margin-top: 0; }
.spinner {
  display: none;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Ticket page ---------------- */
.ticket-page {
  position: fixed; inset: 0; z-index: 40;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity .35s;
}
.ticket-page.show { opacity: 1; }
.ticket-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(80% 50% at 85% 5%, rgba(60, 201, 160, .55), transparent 60%),
    radial-gradient(70% 45% at 0% 100%, rgba(195, 154, 77, .25), transparent 60%),
    linear-gradient(165deg, #0b4a43 0%, #0f6b60 50%, #0a3f39 100%);
}
.ticket-bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 110% -10%, transparent 0 22px, rgba(255, 255, 255, .045) 22px 23px);
}
.ticket-scroll {
  position: relative;
  max-width: 420px; margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px calc(28px + var(--safe-b));
}
.shot-tip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 14px; margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: 13.5px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: glow 2s ease-in-out infinite;
}
.shot-tip b { color: #ffe3a3; margin: 0 2px; }
.shot-tip.success { background: rgba(255, 227, 163, .2); border-color: rgba(255, 227, 163, .55); }
.shot-tip svg { font-size: 18px; color: #ffe3a3; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 227, 163, 0); } 50% { box-shadow: 0 0 0 5px rgba(255, 227, 163, .15); } }

.ticket {
  --notch: 14px;
  position: relative;
  border-radius: 22px;
  background:
    radial-gradient(100% 30% at 100% 0%, rgba(60, 201, 160, .16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes rise { from { transform: translateY(30px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.ticket::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(195, 154, 77, .45);
  border-radius: 16px;
  pointer-events: none;
  z-index: 3;
}
.t-top { position: relative; z-index: 2; padding: 22px 22px 0; text-align: center; }
.t-slogan { width: 80%; margin: 0 auto; }
.t-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 32px; font-weight: 900; letter-spacing: .3em; text-indent: .3em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.2;
}
.t-en { margin: 2px 0 0; font-size: 11px; letter-spacing: .5em; text-indent: .5em; color: var(--gold); }
.t-body { position: relative; z-index: 2; padding: 14px 24px 16px; }
.t-dear { margin: 0; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.t-dear b { font-size: 20px; color: var(--jade-800); padding: 0 2px; border-bottom: 2px solid var(--gold-soft); }
.t-text {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 14px; line-height: 1.85; color: var(--ink-2);
  text-indent: 2em; text-align: justify;
}
.t-text b { color: var(--jade-800); }
.t-info { margin: 12px 0 0; display: grid; gap: 7px; }
.t-info > div { display: flex; gap: 12px; font-size: 14px; }
.t-info dt { flex: none; width: 64px; color: var(--ink-3); }
.t-info dd { margin: 0; color: var(--ink); font-weight: 600; }
.t-info dd b { font-size: 18px; color: var(--jade-700); font-family: "DIN Alternate", "Bahnschrift", var(--sans); }
.t-cut {
  position: relative; z-index: 2;
  height: 0; margin: 0 22px;
  border-top: 2px dashed rgba(15, 95, 85, .2);
}
.t-cut::before, .t-cut::after {
  content: ""; position: absolute; top: calc(var(--notch) * -1);
  width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%;
  background: #0d5a51;
}
.t-cut::before { left: calc(-22px - var(--notch)); }
.t-cut::after { right: calc(-22px - var(--notch)); }
.t-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px 22px;
}
.t-foot small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.t-code {
  display: block; margin-top: 2px;
  font-family: "DIN Alternate", "Bahnschrift", "SF Mono", Menlo, monospace;
  font-size: 26px; letter-spacing: .08em; color: var(--jade-800);
}
.seal {
  width: 58px; height: 58px;
  display: grid; grid-template-columns: 1fr; align-content: center; justify-items: center;
  border: 2.5px solid var(--seal); border-radius: 8px;
  color: var(--seal);
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: 15px; font-weight: 700; line-height: 1.1; letter-spacing: .1em;
  transform: rotate(-8deg);
  opacity: .85;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6), inset 0 0 0 3.5px rgba(200, 64, 47, .5);
  animation: stamp .5s .55s cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes stamp { from { transform: rotate(-8deg) scale(2); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .85; } }
.t-scene {
  position: absolute; right: -20px; bottom: 0; z-index: 1;
  width: 70%;
  opacity: .28;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%), linear-gradient(90deg, transparent, #000 40%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent, #000 60%), linear-gradient(90deg, transparent, #000 40%);
  mask-composite: intersect;
  pointer-events: none;
}

.ticket-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 15px; font-weight: 600;
}
.btn-ghost:active { background: rgba(255, 255, 255, .2); }
.btn-ghost svg { font-size: 17px; }
.link-btn { display: block; margin: 14px auto 0; color: rgba(255, 255, 255, .75); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; top: 42%; z-index: 60;
  transform: translate(-50%, -50%) scale(.9);
  max-width: 80vw;
  padding: 12px 18px; border-radius: 14px;
  background: rgba(6, 48, 44, .9); color: #fff;
  font-size: 14px; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------------- Motion ---------------- */
.fade-up { animation: fadeUp .8s var(--d, 0s) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-height: 640px) {
  .hero-inner { padding-top: 34px; }
  .hero-slogan { margin-top: 20px; }
  .t-top { padding-top: 16px; }
  .t-title { font-size: 28px; }
  .t-body { padding-top: 10px; }
  .t-text { line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
