@import url("/static/css/tokens.css?v=20260821-9");

/* ============================================================
   Fleuri 花珥兽装工作室 · 浅色苹果风 公共样式
   ============================================================ */

.site-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

body {
  background:
    radial-gradient(1200px 460px at 8% -8%, rgba(0, 113, 227, .05), transparent 60%),
    radial-gradient(900px 400px at 96% 12%, rgba(230, 176, 76, .06), transparent 60%),
    var(--canvas);
}

/* ---------- 顶部导航（毛玻璃浅色） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; margin: 0 -18px;
  border-bottom: 1px solid rgba(29, 29, 31, .06);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand { display: inline-flex; min-width: 0; align-items: center; gap: 11px; color: var(--ink); font-size: .98rem; font-weight: 700; letter-spacing: -.022em; text-decoration: none; }
.brand img { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; box-shadow: 0 3px 10px rgba(0, 0, 0, .10); object-fit: cover; background: linear-gradient(145deg, #f7d7e3, #cfe0ff); }
.brand span { min-width: 0; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: .58rem; font-weight: 650; letter-spacing: .18em; line-height: 1.2; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 13px; border-radius: 999px; color: var(--ink-soft); font-size: .88rem; font-weight: 540; text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.nav-links a:hover { background: rgba(29, 29, 31, .06); color: var(--ink); }

.nav-actions { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.nav-cta { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--blue); box-shadow: 0 2px 8px rgba(0, 113, 227, .30); color: #fff; font-size: .87rem; font-weight: 620; text-decoration: none; transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.nav-cta:hover { background: #0077ed; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 113, 227, .36); }

.public-menu-toggle, .public-nav-scrim { display: none; }

/* ---------- Hero（苹果式大字体） ---------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 9vw, 120px);
  isolation: isolate;
}

.hero::before {
  position: absolute; z-index: -1; content: "";
  width: min(60vw, 780px); height: min(60vw, 780px);
  top: -18%; right: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 214, 232, .65), rgba(207, 226, 255, .35) 50%, transparent 75%);
  filter: blur(60px);
  opacity: .9;
  border-radius: 50%;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue);
  font-size: .76rem; font-weight: 720;
  letter-spacing: .18em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6;
}

.hero h1 {
  max-width: 720px;
  margin: 22px 0 24px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.6vw, 6.8rem);
  font-weight: 730;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.hero h1 .accent {
  background: linear-gradient(110deg, #6b9fff 0%, #b47ce4 50%, #e98bb4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-lede {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  letter-spacing: -.01em;
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  font-size: .95rem; font-weight: 640; line-height: 1; text-decoration: none;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.985); }

.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0, 113, 227, .30); }
.button-primary:hover { background: #0077ed; box-shadow: 0 12px 28px rgba(0, 113, 227, .36); }

.button-secondary { background: transparent; color: var(--blue); border-color: transparent; padding-left: 4px; padding-right: 4px; min-height: auto; font-weight: 560; }
.button-secondary:hover { color: #0077ed; }
.button-secondary::after { content: "→"; margin-left: 2px; transition: transform .3s var(--ease); }
.button-secondary:hover::after { transform: translateX(3px); }

.button-quiet {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.button-quiet:hover { background: rgba(29, 29, 31, .06); }

.hero .muted { color: var(--muted); font-size: .88rem; }

/* Hero 右侧视觉（玻璃感预览图） */
.hero-art {
  position: relative;
  min-height: 540px;
  isolation: isolate;
}
.hero-art::before {
  position: absolute; z-index: -1; content: "";
  top: 6%; right: 4%; bottom: 6%; left: 8%;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: clamp(30px, 4.4vw, 56px);
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(246, 246, 248, .6));
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 32px 72px rgba(0, 0, 0, .10);
  transform: rotate(2deg);
}
/* 注意：原来的 .hero-art img 静态规则已被 carousel 取代，carousel 规则在下方 */

.hero-badge {
  position: absolute; z-index: 2; right: -6px; bottom: 30px;
  width: 168px; padding: 15px 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  color: var(--ink);
  font-size: .84rem; font-weight: 600; line-height: 1.4; text-align: center;
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  transform: rotate(2deg);
}

.hero-scroll-cue {
  position: absolute; bottom: 30px; left: 0;
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-scroll-cue::after { content: ""; width: 46px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- Section（通用） ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 42px;
}
.section-heading > * { margin: 0; }
.section h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  font-weight: 720; letter-spacing: -.038em; line-height: 1.03;
  color: var(--ink);
}
.section-heading .muted {
  max-width: 320px; color: var(--muted); font-size: .98rem;
  text-align: right; line-height: 1.6;
}

/* ---------- Info Grid（苹果式数据卡） ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.info-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(29, 29, 31, .06);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: rgba(29, 29, 31, .10);
}
.info-card .label {
  color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em;
}
.info-card strong {
  display: block; margin-top: 16px;
  color: var(--ink);
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 660; letter-spacing: -.028em; line-height: 1.28;
}

/* ---------- Showcase（卡片 + 轨道） ---------- */
.showcase-stage { padding-top: 26px; }
.showcase-stage .section-heading { margin-bottom: 44px; }

.showcase-gallery {
  position: relative;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
}
.showcase-gallery:last-child { border-bottom: 1px solid var(--line); }

.showcase-gallery-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 20px;
}
.showcase-gallery h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.56rem, 3vw, 2.2rem);
  font-weight: 680; letter-spacing: -.032em; line-height: 1;
}

.showcase-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.showcase-control {
  display: inline-grid; width: 38px; height: 38px; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface);
  color: var(--ink); cursor: pointer; font: inherit; font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.showcase-control:hover:not(:disabled) {
  background: var(--ink); color: #fff; transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.showcase-control:disabled { cursor: default; opacity: .3; }

.showcase-rail {
  display: grid;
  grid-auto-columns: clamp(280px, 32vw, 420px);
  grid-auto-flow: column; gap: 16px;
  max-width: 100%; padding: 4px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 29, 31, .18) transparent;
  -webkit-overflow-scrolling: touch;
}
.showcase-rail[data-auto-scrolling="true"] { scroll-snap-type: none; scroll-behavior: auto; }
.showcase-rail::-webkit-scrollbar { height: 5px; }
.showcase-rail::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(29, 29, 31, .16); }

.showcase-card, .showcase-empty-card {
  min-width: 0; overflow: hidden; scroll-snap-align: start;
  border: 1px solid rgba(29, 29, 31, .06);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.showcase-card { display: flex; flex-direction: column; }
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: rgba(29, 29, 31, .10);
}

.showcase-media {
  position: relative; display: grid; place-items: center;
  width: 100%; aspect-ratio: 1 / 1;
  padding: 0; overflow: hidden;
  border: 0; border-bottom: 1px solid rgba(29, 29, 31, .05);
  background: linear-gradient(140deg, #fafbfd, #f0f2f7);
  color: var(--ink); cursor: zoom-in;
  isolation: isolate;
}
.showcase-media::after {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  content: "查看大图 ↗";
  font-size: .72rem; font-weight: 640; letter-spacing: .01em;
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.showcase-media:hover::after, .showcase-media:focus-visible::after { opacity: 1; transform: translateY(0); }
.showcase-media:focus-visible { outline: 3px solid rgba(0, 113, 227, .55); outline-offset: -3px; }

/* 关键：无裁切 */
.showcase-media img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transition: opacity .4s var(--ease);
}

/* ---------- Hero 主视觉轮播 ---------- */
.hero-art { aspect-ratio: 14 / 11; min-height: 400px; }
.hero-art [data-hero-carousel] {
  position: absolute; inset: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: clamp(28px, 4vw, 48px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: linear-gradient(145deg, #faf9fc, #eff2f8);
  transform: rotate(-1.6deg) translateZ(0);
  transition: transform 1s var(--ease);
}
.hero-art:hover [data-hero-carousel] { transform: rotate(0) scale(1.005) translateZ(0); }

.hero-slide {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }

.hero-slide-bg {
  position: absolute; inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(120%) brightness(1.02);
  transform: scale(1.06);
  opacity: .85;
  pointer-events: none;
}

.hero-slide-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  /* 关键：无裁切。横图左右顶满上下留白；竖图上下顶满左右留白 */
  object-fit: contain; object-position: center;
  padding: clamp(10px, 1.6vw, 22px);
  will-change: transform;
  pointer-events: none;
}

.hero-dots {
  position: absolute; z-index: 5; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: inline-flex; gap: 8px; padding: 8px 12px;
  background: rgba(255, 255, 255, .72); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: 0; background: rgba(29, 29, 31, .18); cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero-dot:hover { background: rgba(29, 29, 31, .38); }
.hero-dot.is-active { background: var(--ink); transform: scale(1.25); }
.showcase-card:hover .showcase-media img { opacity: .97; }
.showcase-card-image-missing img { opacity: .4; }

.showcase-card-body {
  display: flex; flex: 1; min-height: 156px; flex-direction: column;
  padding: 20px 22px 22px;
}
.showcase-card h4 {
  display: -webkit-box; min-height: 2.5em; margin: 0;
  overflow: hidden;
  color: var(--ink); font-size: 1.08rem; font-weight: 660;
  letter-spacing: -.022em; line-height: 1.25;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.showcase-card p {
  display: -webkit-box; min-height: 4.7em; margin: 10px 0 0;
  overflow: hidden;
  color: var(--ink-soft); font-size: .86rem; line-height: 1.6;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3;
}

.showcase-empty-card {
  display: grid; min-height: 220px; place-items: center;
  padding: 26px;
  color: var(--muted); font-size: .9rem; line-height: 1.6; text-align: center;
}

/* ---------- Lightbox ---------- */
.showcase-lightbox[hidden] { display: none; }
.showcase-lightbox {
  position: fixed; z-index: 100; inset: 0;
  display: grid; place-items: center;
  padding: clamp(18px, 5vw, 64px);
  background: rgba(245, 245, 247, .86);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  animation: lightbox-fade-in .22s var(--ease);
}
.showcase-lightbox-panel {
  position: relative; display: grid;
  max-width: min(1180px, 100%); max-height: 100%;
  margin: 0; padding: 16px;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 86px rgba(0, 0, 0, .18);
  animation: lightbox-panel-in .34s var(--ease-out);
}
.showcase-lightbox-image {
  display: block; width: auto; height: auto;
  max-width: min(100%, 1060px); max-height: min(78dvh, 820px);
  margin: auto;
  border-radius: 18px;
  object-fit: contain;
}
.showcase-lightbox-caption {
  min-width: 0; padding: 14px 6px 2px;
  overflow: hidden;
  color: var(--ink-soft); font-size: .9rem; font-weight: 620; line-height: 1.4;
  text-align: center; text-overflow: ellipsis; white-space: nowrap;
}
.showcase-lightbox-close {
  position: absolute; z-index: 1; top: 22px; right: 22px;
  display: inline-grid; width: 38px; height: 38px; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink); cursor: pointer; font: inherit; font-size: 1.5rem; line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.showcase-lightbox-close:hover, .showcase-lightbox-close:focus-visible {
  background: var(--ink); color: #fff; transform: scale(1.05);
}
body.showcase-lightbox-open { overflow: hidden; }

/* ---------- Story Grid ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 18px; align-items: stretch;
}

.glass-card {
  min-width: 0; padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(29, 29, 31, .06);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.story-copy { min-height: 360px; }
.story-copy h2 {
  margin: 14px 0 24px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 720; letter-spacing: -.036em; line-height: 1.04;
}
.story-copy p {
  max-width: 640px;
  color: var(--ink-soft); font-size: 1.04rem; line-height: 1.78;
  white-space: pre-line;
}

.notice-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #ffffff, #fbfbfd);
  position: relative; overflow: hidden;
}
.notice-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 85% 18%, rgba(0, 113, 227, .10), transparent 60%);
  pointer-events: none;
}
.notice-card > * { position: relative; z-index: 1; }
.notice-card h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 720; letter-spacing: -.032em; line-height: 1.04;
  color: var(--ink);
}
.notice-card p { color: var(--ink-soft); line-height: 1.7; }

.group-list { display: grid; gap: 10px; margin-top: 30px; }
.group-list a {
  display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 29, 31, .08); border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink); font-size: .92rem; text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.group-list a:hover {
  background: #fff; transform: translateX(3px); border-color: rgba(0, 113, 227, .22);
}
.group-list a span:first-child { overflow-wrap: anywhere; }
.group-list a span:last-child { flex: 0 0 auto; color: var(--blue); font-size: .74rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 36px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem;
}
.site-footer a { text-decoration: none; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--ink); }
.footer-author-link {
  color: var(--blue); font-weight: 560;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer-author-link:hover {
  color: #0077ed !important;
  border-bottom-color: currentColor;
}

/* ---------- 表单（预约/查询/登录共用浅色玻璃卡） ---------- */
.form-shell { position: relative; max-width: 780px; margin: 26px auto 100px; }

.page-intro { position: relative; padding: clamp(40px, 6vw, 80px) 0 24px; }
.page-intro .eyebrow { color: var(--blue); }
.page-intro h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 720; letter-spacing: -.042em; line-height: 1.02;
}
.page-intro .muted { max-width: 570px; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.7; }

.form-card {
  position: relative; padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--radius-xl);
  background: var(--surface-frost);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px);
}
.form-card::before {
  position: absolute; content: "";
  width: 300px; height: 180px; top: -110px; right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, .10), transparent 70%);
  pointer-events: none;
}

.form-field { position: relative; display: grid; gap: 8px; margin-bottom: 22px; }
.form-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label {
  color: var(--ink); font-size: .94rem; font-weight: 660;
}
.form-field label span { color: var(--rose); }
.form-field small { color: var(--muted); font-size: .78rem; }

.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid rgba(29, 29, 31, .14); border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b0b0b6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .16);
}

.form-card .button-primary {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
}

.form-hint { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.inline-link { color: var(--blue); font-weight: 620; text-decoration: none; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-error, .toast-error { color: #b4232e; font-size: .9rem; }
.form-success {
  padding: 13px 16px; border-radius: 14px;
  background: rgba(78, 153, 85, .12); color: #2c6f34;
}
.loading { color: var(--muted); animation: pulse 1.8s ease-in-out infinite; }

/* ---------- 成功卡（含二维码） ---------- */
.ticket-card { text-align: center; position: relative; }
.ticket-card::after {
  position: absolute; content: "";
  width: 240px; height: 240px; bottom: -120px; left: -80px;
  border-radius: 50%;
  background: rgba(230, 176, 76, .10);
  filter: blur(16px); pointer-events: none;
}

.ticket-qr {
  position: relative; z-index: 1;
  width: min(280px, 72vw); aspect-ratio: 1;
  margin: 30px auto 20px; padding: 14px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .12);
}
.ticket-qr img { display: block; width: 100%; height: 100%; }

.ticket-name {
  position: relative; z-index: 1;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 680; letter-spacing: -.032em;
}

.ticket-meta {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin: 28px 0;
  text-align: left;
}
.ticket-meta div {
  min-width: 0; padding: 14px; border-radius: 16px; background: rgba(29, 29, 31, .045);
}
.ticket-meta small { display: block; margin-bottom: 3px; color: var(--muted); font-size: .74rem; }
.ticket-meta strong { overflow-wrap: anywhere; font-size: .94rem; font-weight: 620; color: var(--ink); }

/* ---------- 查询结果 ---------- */
.reservation-list { display: grid; gap: 14px; margin-top: 8px; }
.reservation-card {
  padding: 22px;
  border: 1px solid rgba(29, 29, 31, .06); border-radius: 22px;
  background: var(--surface); box-shadow: var(--shadow-card);
  text-align: left;
}
.reservation-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.reservation-card-head h3 { margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 660; }
.reservation-card .ticket-meta { margin: 10px 0 0; }

.status-pill {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px;
  border-radius: 999px; font-size: .75rem; font-weight: 640;
}
.status-pill.pending { background: rgba(230, 176, 76, .20); color: #8c6000; }
.status-pill.approved { background: rgba(78, 153, 85, .16); color: #2c6f34; }
.status-pill.rejected { background: rgba(229, 94, 89, .14); color: #b4232e; }
.status-pill.checked_in { background: rgba(0, 113, 227, .12); color: #0058b8; }

/* ---------- 空状态 / 其它 ---------- */
.empty-state {
  padding: 60px 24px;
  border: 1px dashed rgba(29, 29, 31, .18); border-radius: var(--radius-lg);
  color: var(--ink-soft); text-align: center;
}

/* 进入揭示动画 */
.motion-ready [data-reveal] {
  opacity: 0; transform: translateY(28px) scale(.985);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }
.motion-ready [data-reveal="hero-art"] { transition-delay: .08s; }
.motion-ready [data-reveal="event-facts"] { transition-delay: .05s; }

@keyframes lightbox-fade-in { from { opacity: 0; } }
@keyframes lightbox-panel-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes pulse { 50% { opacity: .5; } }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding-top: 64px; }
  .hero-copy { max-width: 680px; }
  .hero-art { width: min(100%, 720px); min-height: 460px; margin-left: auto; }
  .hero-art img { height: 460px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .story-copy { min-height: auto; }
  .showcase-rail { grid-auto-columns: clamp(270px, 56vw, 410px); }
}

@media (max-width: 680px) {
  .site-shell { width: min(100% - 28px, 620px); }
  .topbar { padding: 12px 14px; margin: 0 -14px; gap: 8px; }
  body.public-nav-open { overflow: hidden; }

  .nav-actions { gap: 6px; }
  .public-menu-toggle {
    display: inline-grid; width: 38px; height: 38px; place-items: center;
    padding: 0; border: 1px solid var(--line); border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease);
  }
  .public-menu-toggle:hover { background: #fff; transform: scale(1.04); }
  .public-menu-label { display: none; }
  .public-menu-icon, .public-menu-icon::before, .public-menu-icon::after {
    display: block; width: 16px; height: 1.5px; border-radius: 999px;
    background: currentColor; content: "";
    transition: transform .28s var(--ease), opacity .2s var(--ease);
  }
  .public-menu-icon { position: relative; }
  .public-menu-icon::before { position: absolute; top: -5px; left: 0; }
  .public-menu-icon::after { position: absolute; top: 5px; left: 0; }
  body.public-nav-open .public-menu-icon { background: transparent; }
  body.public-nav-open .public-menu-icon::before { transform: translateY(5px) rotate(45deg); }
  body.public-nav-open .public-menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

  .nav-links {
    position: absolute; z-index: 2; top: calc(100% + 6px); right: 14px;
    display: grid; width: min(300px, calc(100vw - 28px));
    margin: 0; padding: 8px;
    border: 1px solid var(--line); border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
    opacity: 0; pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
    visibility: hidden;
  }
  .nav-links a {
    display: flex; min-height: 46px; align-items: center;
    padding: 0 14px; border-radius: 14px; font-size: .92rem;
  }
  body.public-nav-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); visibility: visible; }

  .public-nav-scrim {
    position: fixed; z-index: 19; inset: 0;
    width: 100%; height: 100%; padding: 0; border: 0;
    background: rgba(29, 29, 31, .30); cursor: default;
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  body.public-nav-open .public-nav-scrim { opacity: 1; pointer-events: auto; }

  .nav-cta { min-height: 40px; padding: 0 14px; font-size: .84rem; white-space: nowrap; }

  .hero { padding: 44px 0 72px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-lede { font-size: .98rem; }
  .hero-actions { margin-top: 30px; }
  .button { min-height: 48px; padding: 0 19px; }
  .hero-art { min-height: 320px; }
  .hero-art img { height: min(72vw, 380px); min-height: 300px; border-radius: 28px; }
  .hero-badge { right: -2px; bottom: 14px; width: 132px; padding: 12px 10px; border-radius: 18px; font-size: .76rem; }
  .hero-scroll-cue { bottom: 26px; }

  .section { padding: 70px 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading .muted { max-width: 100%; margin-top: 18px; text-align: left; }
  .section h2 { font-size: clamp(2.1rem, 10vw, 3.2rem); }

  .info-grid { gap: 10px; }
  .info-card { min-height: 140px; padding: 20px; border-radius: 22px; }
  .info-card strong { margin-top: 12px; font-size: 1.1rem; }

  .glass-card { padding: 26px; border-radius: 28px; }
  .story-copy h2 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .notice-card h2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  .showcase-stage { padding-top: 0; }
  .showcase-stage .section-heading { margin-bottom: 26px; }
  .showcase-gallery { padding: 22px 0 26px; }
  .showcase-gallery h3 { font-size: 1.5rem; }
  .showcase-rail { grid-auto-columns: min(78vw, 340px); gap: 12px; }
  .showcase-card, .showcase-empty-card { border-radius: 22px; }
  .showcase-card-body { padding: 16px 18px 18px; min-height: 148px; }

  .showcase-lightbox { padding: 14px; }
  .showcase-lightbox-panel { width: min(100%, 620px); padding: 10px; border-radius: 22px; }
  .showcase-lightbox-image { max-height: 74dvh; border-radius: 16px; }
  .showcase-lightbox-close { top: 16px; right: 16px; width: 34px; height: 34px; }

  .form-shell { margin-top: 8px; margin-bottom: 70px; }
  .page-intro { padding-top: 40px; padding-bottom: 22px; }
  .page-intro h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .page-intro .muted { font-size: .96rem; }
  .form-card { padding: 26px 20px; border-radius: 28px; }
  .form-field-row { grid-template-columns: 1fr; }

  .ticket-meta { grid-template-columns: 1fr; }
  .reservation-card { padding: 18px; }

  .site-footer { display: block; padding-top: 28px; }
  .site-footer > * + * { display: block; margin-top: 10px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2.85rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}
