/* =============================================================
   周则康公开课 · H5 视觉与交互层
   设计语言：墨蓝 + 暖金 + 米白，沉静的专业感，克制留白
   共用 common.css 的设计 token；本文件只作用于 H5 / 我的报名
   ============================================================= */
:root { --phone-w: 430px; }

html { scroll-behavior: smooth; }
body.modal-open { overflow: hidden; }

body {
  background: #EDF0F4;
  background-image:
    radial-gradient(900px 480px at 12% 4%, rgba(51, 87, 138, .09), transparent 70%),
    radial-gradient(760px 520px at 88% 92%, rgba(177, 134, 63, .07), transparent 70%);
  background-attachment: fixed;
}

/* 容器：不使用 overflow:hidden，避免破坏底部固定条的定位上下文 */
.phone {
  position: relative;
  width: 100%; max-width: var(--phone-w); min-height: 100vh; margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(23, 32, 51, .10);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
@media (max-width: 480px) { .phone { box-shadow: none; } }

/* ---------- 阅读进度 / 回到顶部 ---------- */
.read-progress {
  position: fixed; z-index: var(--z-progress); top: 0; left: 0;
  height: 3px; width: 0; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transition: width .1s linear;
  pointer-events: none;
}
.back-top {
  position: fixed; z-index: 45; right: max(16px, calc(50vw - var(--phone-w) / 2 + 16px));
  bottom: calc(104px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--primary);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-size: 18px; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-normal), transform var(--dur-normal) var(--ease-out), visibility var(--dur-normal);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { color: var(--gold-600); border-color: var(--gold-300); }

/* ---------- 顶栏 ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 10px 20px;
  background: var(--primary-900); color: rgba(255, 255, 255, .88);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .78);
}
.brand i {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500));
  display: inline-block; position: relative;
  box-shadow: 0 2px 8px rgba(177, 134, 63, .35);
}
.brand i::after {
  content: ''; position: absolute; left: 5px; right: 5px; top: 6px; height: 2px;
  background: #fff; border-radius: 2px; opacity: .95; box-shadow: 0 5px 0 rgba(255, 255, 255, .7);
}
.topbar .share-btn {
  min-height: 32px; display: inline-flex; align-items: center;
  padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 12px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.topbar .share-btn:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }

/* ---------- S1 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 22px 30px;
  background: linear-gradient(158deg, #16283F 0%, #1E3A5F 52%, #2A4A74 100%);
  color: #fff;
  border-radius: 0 0 26px 26px;
}
.hero::before {
  content: ''; position: absolute; right: -110px; top: -140px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(224, 206, 157, .26), rgba(224, 206, 157, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, .55), transparent 62%);
  -webkit-mask-image: linear-gradient(160deg, rgba(0, 0, 0, .55), transparent 62%);
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 5px 12px;
  border: 1px solid rgba(224, 206, 157, .38); border-radius: var(--radius-pill);
  background: rgba(224, 206, 157, .10);
  color: #E8D6A9; font-size: 11px; letter-spacing: .14em;
}
.hero .eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: #E8D6A9;
}
.hero h1 {
  font-size: clamp(26px, 7.4vw, 33px); line-height: 1.34;
  font-weight: 700; letter-spacing: .005em; color: #fff;
}
.hero h1 em { font-style: normal; color: #E8D6A9; }
.hero .lead {
  margin-top: 16px; font-size: 13px; line-height: 1.9;
  color: rgba(255, 255, 255, .76); max-width: 34em;
}
.hero .lead b { color: #fff; font-weight: 600; }

.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  font-size: 12px; color: rgba(255, 255, 255, .82);
  transition: background var(--dur-fast);
}
.chip b { font-weight: 600; color: #fff; }
.chip:hover { background: rgba(255, 255, 255, .16); }

/* 首屏进度卡：玻璃质感，与深色底形成层次 */
.seat-card {
  margin-top: 22px; padding: 16px 17px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(8, 18, 32, .18);
}
.seat-card .t-small { color: rgba(255, 255, 255, .72); }
.seat-card .num { font-size: 27px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.seat-card .num small { font-size: 13px; color: rgba(255, 255, 255, .68); font-weight: 400; }
.seat-card .progress { background: rgba(255, 255, 255, .20); height: 7px; }
.seat-card .progress > i { background: linear-gradient(90deg, #E8D6A9, #C6A059); box-shadow: 0 0 10px rgba(232, 214, 169, .5); }
.seat-card .tag { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.seat-card .tag-warn { background: rgba(232, 214, 169, .20); color: #F0DFB4; }
.seat-card .tag-success { background: rgba(120, 210, 165, .20); color: #B9EFD3; }
.seat-card .tag-danger { background: rgba(240, 150, 140, .20); color: #FFCFC8; }

.hero-jump {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  padding: 8px 0; font-size: 12px; color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  transition: color var(--dur-fast), gap var(--dur-fast);
}
.hero-jump:hover { color: #E8D6A9; gap: 11px; }
.hero-jump span { font-size: 14px; }

/* ---------- 分区节奏 ---------- */
.section { padding: 30px 20px 0; scroll-margin-top: 16px; }

/* 入场动效：只在 JS 检测到 IntersectionObserver 且未开启 reduced-motion 时生效，
   老浏览器 / 关闭动效时内容始终保持可见，不存在白屏风险。 */
html.oc-anim .section[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
html.oc-anim .section[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.oc-anim .section[data-reveal] { opacity: 1; transform: none; }
}
.section .card + .card { margin-top: 12px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 15px;
}
.section-head h2 { font-size: 20px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: .18em; color: var(--gold-600); text-transform: uppercase;
}
.section-head .eyebrow::before { content: ''; width: 16px; height: 1px; background: var(--gold-300); }
.block-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px;
}
.block-title::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--gold-500); }
.card {
  padding: 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}
.divider { height: 1px; background: var(--line-soft); margin: 20px 0; }

/* ---------- S3 讲师 ---------- */
.teacher-head { display: flex; gap: 15px; align-items: center; margin-bottom: 18px; }
.avatar {
  width: 68px; height: 68px; flex: none; border-radius: 50%;
  background: linear-gradient(145deg, #E4ECF7, #B9CBE2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-700); font-size: 25px; font-weight: 600;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(34, 58, 94, .16);
}
.teacher-head .name { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.teacher-head .role { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.6; }
.bio p { font-size: 13.5px; color: var(--ink-2); line-height: 1.95; margin-bottom: 12px; }
.bio p:last-child { margin-bottom: 0; }

.credit-list li {
  position: relative; padding: 0 0 0 20px; margin-bottom: 13px;
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.credit-list li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100);
}
.credit-list li span { display: block; margin-top: 3px; color: var(--ink-3); font-size: 11.5px; }

.review-item {
  position: relative; margin-bottom: 10px; padding: 12px 14px 12px 30px;
  border-radius: var(--radius-sm); background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
}
.review-item::before {
  content: '“'; position: absolute; left: 10px; top: 6px;
  font-size: 26px; line-height: 1; color: var(--gold-300); font-family: Georgia, serif;
}
.review-item:last-of-type { margin-bottom: 0; }

/* ---------- S4 价格与规则 ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 14px;
  background: var(--surface-2); transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.price-box.on {
  border-color: var(--gold-300); background: linear-gradient(160deg, #FDF8EC, #F8F0DE);
  box-shadow: var(--shadow-gold); position: relative;
}
.price-box.on::after {
  content: '推荐'; position: absolute; top: -9px; right: 10px;
  padding: 2px 9px; border-radius: var(--radius-pill);
  background: var(--gold-500); color: #fff; font-size: 10px; font-weight: 600;
}
.price-box .cap { font-size: 11px; color: var(--ink-3); }
.price-box .val { font-size: 24px; font-weight: 700; color: var(--primary-700); font-variant-numeric: tabular-nums; margin-top: 4px; letter-spacing: -.02em; }
.price-box.on .val { color: var(--gold-600); }
.price-box .val small { font-size: 12px; font-weight: 400; letter-spacing: 0; }
.price-box .hint { font-size: 11px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }

.rule-list li {
  display: flex; gap: 11px; font-size: 13px; color: var(--ink-2);
  line-height: 1.85; margin-bottom: 11px;
}
.rule-list li::before {
  content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: var(--gold-500);
}
.rule-list li:last-child { margin-bottom: 0; }
.notice {
  border-left: 3px solid var(--primary-300);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 12.5px; line-height: 1.8;
  background: var(--primary-soft); color: var(--primary-700);
}
.notice-accent { border-left-color: var(--gold-500); background: var(--gold-100); color: #7A5B25; }

/* ---------- S7 企业服务 ---------- */
.quote-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.quote-table th {
  text-align: left; color: var(--ink-3); font-size: 11px; font-weight: 600;
  padding: 9px 8px; border-bottom: 1px solid var(--line); letter-spacing: .04em;
}
.quote-table td { padding: 11px 8px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.quote-table tr:last-child td { border-bottom: none; }
.quote-table tbody tr { transition: background var(--dur-fast); }
.quote-table tbody tr:hover { background: var(--surface-2); }
.quote-table td:last-child {
  text-align: right; color: var(--primary-700); font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* 表单分组与状态 */
.field > label { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.phone .input, .phone .select, .phone .textarea {
  min-height: 46px; border-radius: var(--radius-sm); font-size: 15px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.phone .input::placeholder, .phone .textarea::placeholder { color: #A6AFBD; }
.phone .input:focus, .phone .select:focus, .phone .textarea:focus {
  border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(51, 87, 138, .12);
}
.checkline {
  align-items: flex-start; gap: 10px; padding: 10px 0;
  font-size: 12px; color: var(--ink-2); line-height: 1.7;
}
.checkline input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--primary-600); }

/* ---------- S8 海报 ---------- */
.poster-cta {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 4px 0;
}
.poster-thumb {
  width: 54px; height: 76px; flex: none; border-radius: 8px;
  background: linear-gradient(160deg, #1E3A5F, #33578A);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.poster-thumb::before {
  content: ''; position: absolute; left: 8px; right: 8px; top: 12px; height: 4px;
  background: rgba(232, 214, 169, .9); border-radius: 2px;
  box-shadow: 0 8px 0 rgba(255, 255, 255, .55), 0 16px 0 rgba(255, 255, 255, .3);
}
.poster-thumb::after {
  content: ''; position: absolute; right: 8px; bottom: 8px; width: 16px; height: 16px;
  border-radius: 3px; border: 2px solid rgba(255, 255, 255, .8);
}
.poster-frame { background: var(--surface-3); border-radius: var(--radius-sm); padding: 12px; text-align: center; min-height: 120px; }
.poster-frame canvas { max-width: 100%; border-radius: 8px; box-shadow: var(--shadow-md); }
.qr-holder { position: absolute; left: -9999px; top: -9999px; width: 160px; height: 160px; background: #fff; padding: 8px; }

/* ---------- S9 页脚 ---------- */
.footer {
  padding: 34px 20px 12px; text-align: center;
  color: var(--ink-3); font-size: 11px; line-height: 2;
}
.footer .links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; }
.footer .links a { color: var(--primary-600); font-size: 12px; padding: 4px 0; }
.footer .links a:hover { color: var(--gold-600); }

/* ---------- 底部固定操作条 ---------- */
.bottom-bar {
  position: fixed; z-index: var(--z-bar);
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, var(--phone-w));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(23, 32, 51, .07);
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
}
.bottom-bar .price { font-size: 11px; color: var(--ink-3); line-height: 1.25; white-space: nowrap; }
.bottom-bar .price b { display: block; font-size: 19px; color: var(--primary-700); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* H5 按钮：明确 hover / active / focus / disabled / loading */
.phone .btn {
  border-radius: 12px; height: 46px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast), background var(--dur-fast), opacity var(--dur-fast);
}
.phone .btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #fff; box-shadow: 0 6px 16px rgba(26, 46, 74, .22);
}
.phone .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26, 46, 74, .30); }
.phone .btn-primary:active:not(:disabled) { transform: translateY(0) scale(.985); }
.phone .btn-outline { border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); }
.phone .btn-outline:hover:not(:disabled) { border-color: var(--primary-400); color: var(--primary-700); background: var(--primary-50); }
.phone .btn-lg { height: 48px; font-size: 15px; }
.phone .btn-sm { height: 38px; padding: 0 14px; font-size: 12px; }
.phone .btn[disabled] { opacity: .45; box-shadow: none; }
.bottom-bar .btn { flex: 1; }
.bottom-bar .btn-sm { flex: none; }

/* ---------- 弹层：淡入上滑 + 可见性管理 ---------- */
.mask {
  position: fixed; inset: 0; z-index: var(--z-mask);
  background: rgba(12, 22, 38, .52); backdrop-filter: blur(3px);
  display: block; visibility: hidden; opacity: 0;
  transition: opacity var(--dur-normal), visibility var(--dur-normal);
}
.mask.show { visibility: visible; opacity: 1; }
.modal {
  position: fixed; z-index: var(--z-modal); left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.97);
  width: min(92vw, 420px); max-height: min(84vh, 760px); overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(12, 22, 38, .28);
  border: 1px solid var(--line-soft);
  padding: 24px 22px;
  display: block; visibility: hidden; opacity: 0;
  transition: opacity var(--dur-normal), transform var(--dur-normal) var(--ease-out), visibility var(--dur-normal);
}
.modal.show { visibility: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: .01em; }
.modal .modal-foot { display: flex; gap: 10px; margin-top: 22px; }
.modal .modal-foot .btn { flex: 1; }
.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* Toast 类型与位置 */
.toast {
  bottom: calc(100px + env(safe-area-inset-bottom));
  max-width: min(86vw, var(--phone-w));
  padding: 12px 18px; border-radius: 12px;
  font-size: 13px; line-height: 1.6;
  box-shadow: var(--shadow-md);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- 报名弹层 ---------- */
.seat-editor {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px;
}
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 20px; line-height: 1; color: var(--primary-700);
  display: grid; place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.stepper button:hover:not(:disabled) { background: var(--primary-50); border-color: var(--primary-300); }
.stepper button:active:not(:disabled) { transform: scale(.94); }
.stepper button:disabled { opacity: .38; cursor: not-allowed; }
.stepper b { min-width: 28px; text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.stepper b.bump { animation: oc-bump .24s var(--ease-out); }
@keyframes oc-bump { 0% { transform: scale(.8); opacity: .5; } 100% { transform: scale(1); opacity: 1; } }
.attendee {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 12px; margin-bottom: 9px; background: var(--surface-2);
}
.attendee .idx { font-size: 11px; color: var(--ink-3); margin-bottom: 7px; font-weight: 600; }
.attendee .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.attendee .input { min-height: 42px; padding: 8px 10px; font-size: 14px; }
.order-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.order-line:last-child { border-bottom: none; }
.order-line.total { font-size: 15px; font-weight: 700; color: var(--ink); }
.order-line.total b { color: var(--primary-700); font-size: 22px; font-variant-numeric: tabular-nums; }

/* ---------- 我的报名 ---------- */
.order-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 18px; background: var(--surface); margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.order-card .status-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.seat-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.seat-pill {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 13px; background: var(--surface); color: var(--ink-2);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.seat-pill:hover { border-color: var(--primary-300); }
.seat-pill.on {
  border-color: var(--primary-500); background: var(--primary-50);
  color: var(--primary-700); font-weight: 600;
}
.refund-detail {
  background: var(--surface-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 14px; margin-top: 12px;
}

/* ---------- 加载骨架 ---------- */
.is-loading-text { color: transparent !important; }
.skeleton-line { height: 13px; margin-bottom: 9px; }
.skeleton-line.w60 { width: 60%; } .skeleton-line.w80 { width: 80%; }
.skeleton-block { height: 68px; margin-top: 14px; }
.skeleton-chip { width: 92px; height: 32px; border-radius: var(--radius-pill); }
.rule-list li.skeleton { display: block; padding: 0; height: 13px; margin-bottom: 14px; }
.rule-list li.skeleton::before,
.credit-list li.skeleton::before { display: none; }
.skeleton-card { padding: 20px; }
.skeleton-card .skeleton-block { margin-bottom: 0; }

/* ---------- 顶栏占位：保证品牌名视觉居中 ---------- */
.topbar-spacer { flex: none; width: 84px; }

/* ---------- 弹层焦点与表单错误补充 ---------- */
.modal:focus { outline: none; }
.attendee .field-error, .checkline .field-error { flex-basis: 100%; display: block; width: 100%; }
.checkline { flex-wrap: wrap; }
.order-card { transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.order-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); }
.seat-pill[aria-pressed="true"] {
  border-color: var(--primary-500); background: var(--primary-50);
  color: var(--primary-700); font-weight: 600;
}
.empty .btn { margin-top: 4px; }
.empty p { margin-bottom: 4px; }

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  :root { --phone-w: 560px; }
  .hero { padding: 38px 34px 36px; border-radius: 0 0 32px 32px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 14px; }
  .section { padding: 36px 30px 0; }
  .card { padding: 24px; }
  .topbar { padding: 12px 30px; }
  .bottom-bar { padding-left: 30px; padding-right: 30px; }
  .footer { padding-left: 30px; padding-right: 30px; }
}
@media (min-width: 1024px) {
  :root { --phone-w: 480px; }
  .phone { box-shadow: 0 20px 80px rgba(23, 32, 51, .16); }
  .section { padding-left: 24px; padding-right: 24px; }
  .topbar { padding-left: 24px; padding-right: 24px; }
  .bottom-bar { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 359px) {
  .hero { padding-left: 17px; padding-right: 17px; }
  .hero h1 { font-size: 24px; }
  .section { padding-left: 15px; padding-right: 15px; }
  .card { padding: 16px; }
  .price-grid { gap: 7px; }
  .price-box { padding: 12px 10px; }
  .price-box .val { font-size: 20px; }
  .bottom-bar { padding-left: 12px; padding-right: 12px; gap: 7px; }
  .bottom-bar .price b { font-size: 17px; }
  .phone .btn { padding-left: 12px; padding-right: 12px; }
}
