/* ============================================================
   棒苹果 在线预约 · 用户端样式
   风格参考：无差别同人站 (cphk.allcpp.cn)
   —— 深色顶栏 + 金色强调(#d7bf91) + 牛皮纸米黄面板 + 白色卡片
   ============================================================ */

:root {
  --nav-bg: rgba(51, 51, 51, 0.9);
  --nav-shadow: 0 2px 10px 0 rgb(0 0 0 / 28%);
  --gold: #d7bf91;
  --gold-bright: #d9b33a;
  --gold-light: #dcc69c;
  --gold-ice: #f1e1b9;
  --gold-grad: linear-gradient(180deg, #ebd298 0%, #dcc69c 100%);
  --gold-grad-hover: linear-gradient(180deg, #fbecc9 0%, #f1e1b9 100%);
  --beige: #ebe6dd;
  --beige-border: #dfd0b1;
  --tan: #b8a688;
  --text-1: #333333;
  --text-2: #474747;
  --text-3: #666666;
  --text-4: #999999;
  --text-5: #b5b5b5;
  --line-1: #e8e8e8;
  --line-2: #eaeaea;
  --line-3: #d6d6d6;
  --red: #d9363e;
  --red-light: #ff4d4f;
  --red-soft: #ff7875;
  --badge-red: #d46d67;
  --card-shadow: 0 1px 6px 2px rgba(0, 0, 0, 0.05);
  --radius: 4px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--text-1);
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { width: 1400px; max-width: 100%; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航（仿平台深色导航） ============ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  transition: top 0.3s ease;
}
.top-nav-inner {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left { display: flex; align-items: center; min-width: 321px; }
.nav-logo { display: flex; align-items: center; margin-right: 31px; }
.nav-logo .logo-mark-img {
  width: 34px; height: 34px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(235, 210, 152, 0.35);
}
/* 左上角横版 logo（替代原 logo 图 + 文字） */
.nav-logo .logo-h-img {
  height: 34px;
  width: auto;
  max-height: 100%;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
.nav-logo .logo-text {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  margin-left: 10px;
  letter-spacing: 2px;
}
.nav-logo .logo-text em { font-style: normal; color: var(--gold-light); }
.nav-list { display: flex; align-items: center; }
.nav-list > li { margin-right: 26px; height: 60px; display: flex; align-items: center; position: relative; }
.nav-list > li > a {
  color: var(--text-5);
  font-size: 14px;
  transition: color 0.3s;
  display: flex; align-items: center; gap: 4px;
}
.nav-list > li:hover > a,
.nav-list > li > a.active { color: var(--gold); font-weight: bolder; }
.nav-list > li > a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-right { display: flex; align-items: center; gap: 26px; min-width: 200px; justify-content: flex-end; }
/* 下拉面板的定位锚点：必须为 relative，否则绝对定位会错位到全宽导航栏 */
.nav-item { position: relative; }
/* 悬停桥梁：填补图标与下拉面板之间的空隙，防止鼠标穿过时菜单闪没 */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-icon {
  font-size: 22px;
  color: var(--gold-light);
  cursor: pointer;
  position: relative;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: color 0.3s;
}
.nav-icon:hover { color: var(--gold-ice); }
.nav-icon.dropdown { }
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s;
  position: absolute;
  top: 44px;
  left: 50%;
  margin-left: -120px;
  width: 240px;
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: 2px;
  z-index: 1100;
  padding: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-dropdown.show { visibility: visible; opacity: 1; transform: translateY(0); }
/* 用户中心（最右侧）的下拉面板靠右对齐，避免超出屏幕 */
#user-item .nav-dropdown { left: auto; right: 0; margin-left: 0; }
#user-item .nav-dropdown::before { left: auto; right: 16px; margin-left: 0; }
.nav-dropdown::before {
  content: "";
  position: absolute;
  border: 8px solid transparent;
  border-bottom-color: #fff;
  top: -16px;
  left: 50%;
  margin-left: -8px;
}
.nav-dropdown h4 {
  font-size: 13px;
  color: var(--text-3);
  border-bottom: 1px solid #efefef;
  padding-bottom: 6px;
  margin-bottom: 8px;
  font-weight: bold;
}
.nav-dropdown p { font-size: 12px; color: var(--text-4); line-height: 1.7; }
.nav-dropdown .mini-form { display: flex; flex-direction: column; gap: 8px; }
.nav-dropdown .mini-form input {
  border: 1px solid var(--line-3);
  border-radius: 2px;
  padding: 6px 8px;
  font-size: 13px;
  outline: none;
}
.nav-dropdown .mini-form input:focus { border-color: var(--gold); }
.nav-user-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold-grad);
  color: #424242 !important;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 15px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  max-width: 150px;
  box-shadow: 0 2px 8px rgba(217, 179, 58, 0.35);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}
.nav-user-btn:hover { background: var(--gold-grad-hover); transform: translateY(-1px); box-shadow: 0 3px 12px rgba(217, 179, 58, 0.5); }
.nav-user-btn .uname {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ 轮播 Banner ============ */
.banner-wrap { margin-top: 60px; padding-top: 38px; }
.carousel { position: relative; height: 230px; border-radius: 6px; overflow: hidden; background: #333; }
.carousel-track { position: relative; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0;
  display: none;
  align-items: center;
  padding: 0 90px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
/* 带背景图的横幅：加暗色遮罩保证文字可读 */
.carousel-slide.has-img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 60%, rgba(0, 0, 0, 0.42) 100%);
}
.carousel-slide .slide-inner { position: relative; z-index: 1; }
.carousel-slide.active { display: flex; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slide-1 { background: linear-gradient(120deg, #3a3a3a 0%, #55524a 60%, #8a7a55 100%); }
.slide-2 { background: linear-gradient(120deg, #4a2f3a 0%, #6d3a4a 55%, #b08a4f 100%); }
.slide-3 { background: linear-gradient(120deg, #3c3f2f 0%, #5c5a37 60%, #a8945a 100%); }
.slide-inner { max-width: 760px; }
.slide-kicker {
  display: inline-block;
  font-size: 13px;
  color: #2d2d2d;
  background: var(--gold-grad);
  padding: 3px 12px;
  border-radius: 2px;
  font-weight: bold;
  margin-bottom: 14px;
}
.slide-title { font-size: 34px; font-weight: bold; letter-spacing: 2px; margin-bottom: 10px; }
.slide-title em { font-style: normal; color: var(--gold-ice); }
.slide-desc { font-size: 15px; color: rgba(255, 255, 255, 0.85); max-width: 560px; }
.slide-price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.slide-price .now { font-size: 40px; font-weight: bold; color: #ffd76e; }
.slide-price .now small { font-size: 16px; }
.slide-price .old { font-size: 18px; color: rgba(255, 255, 255, 0.55); text-decoration: line-through; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: none;
  font-size: 16px;
  z-index: 5;
  transition: background 0.3s;
}
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.5); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 5;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition: all 0.3s;
}
.carousel-dots button.active { background: var(--gold); width: 24px; border-radius: 5px; }

/* ============ 公告板 ============ */
.announce {
  margin-top: 26px;
  background: var(--beige);
  border: 1px solid var(--beige-border);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.announce .ico {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 8px;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.announce h3 { font-size: 15px; color: var(--text-2); margin-bottom: 4px; }
.announce h3 span { color: var(--red); font-weight: bold; margin-right: 6px; }
.announce p { font-size: 13px; color: var(--text-3); line-height: 1.8; }

/* ============ 公告板堆叠轮播（自动切换） ============ */
.ann-rotate { display: grid; }
.ann-rotate .ann-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.ann-rotate .ann-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.ann-slide h3 { font-size: 15px; color: var(--text-2); margin-bottom: 4px; }
.ann-slide h3 span { color: var(--red); font-weight: bold; margin-right: 6px; }
.ann-slide p { font-size: 13px; color: var(--text-3); line-height: 1.8; }
.ann-dots { display: flex; gap: 6px; margin-top: 8px; }
.ann-dots .ann-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none; padding: 0;
  background: #d9c99a;
  cursor: pointer;
  transition: all 0.25s;
}
.ann-dots .ann-dot.active { background: var(--gold-bright); width: 20px; border-radius: 4px; }

/* ============ 全部公告列表（弹窗） ============ */
.ann-item { padding: 14px 0; border-bottom: 1px dashed var(--beige-border); }
.ann-item:first-child { padding-top: 0; }
.ann-item:last-child { border-bottom: none; padding-bottom: 0; }
.ann-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ann-item-head b { color: var(--text-2); font-size: 14px; }
.ann-new { font-size: 10px; color: #fff; background: var(--gold-bright); border-radius: 3px; padding: 1px 6px; }
.ann-item p { font-size: 13px; color: var(--text-3); line-height: 1.8; white-space: pre-wrap; }

/* ============ 通用板块 ============ */
.section { margin-top: 52px; }
.section-head {
  display: flex; align-items: flex-end;
  height: auto;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}
.section-title {
  font-size: 20px;
  color: var(--text-1);
  font-weight: bold;
  line-height: 22px;
  margin-right: 35px;
  display: flex; align-items: center; gap: 8px;
}
.section-title .t-ico {
  font-size: 16px;
  width: 24px; height: 24px;
  background: var(--gold-grad);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
.section-more { margin-left: auto; font-size: 14px; color: var(--text-4); cursor: pointer; line-height: 16px; }
.notice-toggle {
  margin-left: auto;
  padding: 2px 12px;
  font-size: 12px;
  color: var(--text-4);
  line-height: 20px;
}
.notice-toggle:hover { color: var(--gold-bright); border-color: var(--gold); }
.section-more:hover { color: var(--gold); }

/* ============ 活动日历 ============ */
.calendar-layout { display: flex; gap: 20px; align-items: flex-start; }
.calendar-panel {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  background: #fff;
  padding: 24px 26px 22px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
}
.calendar-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.calendar-head .month-label { font-size: 18px; font-weight: bold; color: var(--text-2); min-width: 120px; text-align: center; }
.calendar-head button {
  width: 30px; height: 30px;
  border: 1px solid var(--line-3);
  background: #fff;
  border-radius: 6px;
  color: var(--text-3);
  font-size: 12px;
  transition: all 0.2s;
}
.calendar-head button:hover { border-color: var(--gold); color: var(--gold); }
.calendar-head button.today-btn { width: auto; padding: 0 12px; font-size: 13px; border-color: var(--gold-bright); color: #8a6d2f; background: #fdf7e8; font-weight: bold; }
.calendar-head button.today-btn:hover { background: var(--gold-grad); color: #424242; }
.calendar-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-bottom: 8px; }
.calendar-week span { font-size: 13px; color: var(--text-4); padding: 4px 0; }
.calendar-week span.wk { color: #e08a8a; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  height: 64px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 15px;
  color: var(--text-1);
  background: #fff;
  cursor: default;
  position: relative;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.cal-cell.empty { background: transparent; cursor: default; border: none; }
.cal-cell.other { color: #d5d5d5; }
.cal-cell .cal-num { font-weight: 600; line-height: 1.2; }
.cal-cell .cal-badge {
  font-size: 9px;
  line-height: 1;
  background: var(--gold-grad);
  color: #6b5626;
  border-radius: 8px;
  padding: 2px 7px;
  font-weight: bold;
}
.cal-cell .cal-ev {
  font-size: 10px;
  color: #b8860b;
  background: rgba(235, 210, 152, 0.5);
  border-radius: 3px;
  padding: 1px 5px;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-cell.open {
  cursor: pointer;
  background: linear-gradient(180deg, #fdf7e8 0%, #f8eed4 100%);
  border-color: #ead9a8;
  color: #7a5f24;
}
.cal-cell.open:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 191, 145, 0.45);
  border-color: var(--gold);
}
.cal-cell.open.selected {
  background: var(--gold-grad);
  border-color: var(--gold-bright);
  color: #424242;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(217, 179, 58, 0.4);
}
.cal-cell.open.selected .cal-ev { background: rgba(255, 255, 255, 0.55); color: #6b5626; }
/* 活动日高亮：暖金玫瑰色调，与开店日区分 */
.cal-cell.ev {
  background: linear-gradient(180deg, #fdf3e0 0%, #f9e8cd 100%);
  border-color: #eecb8b;
  color: #8a6420;
  font-weight: 600;
}
.cal-cell.ev:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 179, 58, 0.35);
  border-color: var(--gold-bright);
}
.cal-cell.ev.today { border-color: var(--red-light); }
.cal-cell.ev .cal-ev { background: rgba(255, 255, 255, 0.6); color: #8a6420; }
.cal-cell.closed { color: #c8c8c8; background: #fafafa; }
.cal-cell.past { opacity: 0.5; }
.cal-cell.today { border-color: var(--red-light); }
.cal-cell.today::after {
  content: "今天";
  position: absolute;
  top: -8px; right: 2px;
  font-size: 9px;
  line-height: 1;
  background: var(--red-light);
  color: #fff;
  border-radius: 8px;
  padding: 2px 6px;
  font-weight: bold;
}
.legend { margin-top: 14px; display: flex; gap: 18px; font-size: 12px; color: var(--text-4); flex-wrap: wrap; align-items: center; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.legend i.open { background: linear-gradient(180deg, #fdf7e8, #f8eed4); border: 1px solid #ead9a8; }
.legend i.ev { background: linear-gradient(180deg, #fdf3e0 0%, #f9e8cd 100%); border: 1px solid #eecb8b; }
.legend i.closed { background: #fafafa; border: 1px solid #eee; }
.legend i.today { background: #fff; border: 1.5px solid var(--red-light); position: relative; }
.legend i.today::after { content: "今"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--red-light); font-style: normal; }

/* 日历侧栏 */
.calendar-side { width: 310px; flex: 0 0 310px; display: flex; flex-direction: column; gap: 14px; }
.side-card {
  border: 1px solid var(--line-1);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.side-card h4 {
  font-size: 14px; color: var(--text-2);
  border-bottom: 2px solid var(--text-2);
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.side-card h4 small { font-size: 11px; color: var(--text-4); font-weight: normal; }
.today-card { background: linear-gradient(180deg, #fffdf5, #fbf4e0); border-color: #ead9a8; }
.today-status { margin-bottom: 8px; }
.event-item {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 9px 12px;
  margin-bottom: 8px;
  background: #fcfcfc;
  transition: all 0.2s;
}
.event-item:hover { border-left-color: var(--gold-bright); box-shadow: var(--card-shadow); }
.event-item .ev-title { font-size: 14px; font-weight: bold; color: var(--text-1); }
.event-item .ev-desc { font-size: 12px; color: var(--text-4); margin-top: 2px; }
.event-item .ev-date { font-size: 12px; color: var(--gold-bright); font-weight: bold; margin-bottom: 2px; }
.quick-date-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-date-chip {
  border: 1px solid #ead9a8;
  background: #fdf7e8;
  color: #7a5f24;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.quick-date-chip:hover { background: var(--gold-grad); border-color: var(--gold-bright); color: #424242; }

/* 预约弹窗 · 项目选择 */
.project-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.project-pick {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1px solid var(--line-1);
  background: #fff;
  border-radius: 8px;
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.project-pick:hover { border-color: var(--gold); box-shadow: var(--card-shadow); transform: translateY(-2px); }
.project-pick .pp-ico { font-size: 26px; }
.project-pick .pp-name { font-size: 13px; font-weight: bold; color: var(--text-1); }
.project-pick .pp-price { font-size: 12px; color: var(--red); font-weight: bold; }

/* ============ 预约项目卡片 ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line-1);
  border-radius: 6px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.project-card:hover { border-color: var(--tan); box-shadow: var(--card-shadow); transform: translateY(-3px); }
.project-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
}
.project-card .pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.project-card .pc-icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 8px;
  background: var(--beige);
  border: 1px solid var(--beige-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.project-card .pc-name { font-size: 17px; font-weight: bold; color: var(--text-1); }
.project-card .pc-tag {
  font-size: 12px;
  color: var(--gold-bright);
  background: #fbf6e8;
  border: 1px solid #f0e2bd;
  border-radius: 2px;
  padding: 1px 8px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}
.project-card .pc-price { margin: 8px 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.project-card .pc-price .now { font-size: 28px; font-weight: bold; color: var(--red); }
.project-card .pc-price .now small { font-size: 14px; }
.project-card .pc-price .old { font-size: 14px; color: var(--text-4); text-decoration: line-through; }
.project-card .pc-price .from { font-size: 13px; color: var(--text-4); }
.project-card .pc-tickets { margin: 6px 0; display: flex; flex-direction: column; gap: 6px; }
.project-card .pc-ticket {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  border: 1px dashed var(--beige-border);
  background: #fdfaf3;
  border-radius: 4px;
  padding: 6px 10px;
}
.project-card .pc-ticket b { color: var(--red); font-size: 15px; }
.project-card .pc-ticket span.note { color: var(--text-4); font-size: 12px; }
.project-card .pc-desc { font-size: 13px; color: var(--text-3); line-height: 1.7; flex: 1; }
.project-card .pc-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.gold-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--gold-grad);
  color: #424242 !important;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 2px;
  padding: 8px 22px;
  transition: background 0.3s, transform 0.2s;
}
.gold-btn:hover { background: var(--gold-grad-hover); transform: translateY(-1px); }
.gold-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.ghost-btn {
  display: inline-flex; align-items: center;
  font-size: 13px;
  color: var(--text-4);
  border: 1px solid var(--line-3);
  border-radius: 2px;
  background: #fff;
  padding: 7px 16px;
  transition: all 0.3s;
}
.ghost-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ============ 场地租赁横幅 ============ */
.venue-banner {
  margin-top: 20px;
  background: linear-gradient(110deg, #f7f1e3 0%, #efe3c8 55%, #e9d8b2 100%);
  border: 1px solid var(--beige-border);
  border-radius: 6px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.venue-banner .vb-ico { font-size: 52px; }
.venue-banner h3 { font-size: 19px; color: var(--text-2); margin-bottom: 6px; }
.venue-banner h3 em { font-style: normal; color: var(--red); }
.venue-banner p { font-size: 13px; color: var(--text-3); }
.venue-banner .gold-btn { flex: none; margin-left: auto; }

/* ============ 店内设备 ============ */
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.device-item {
  border: 1px solid var(--line-1);
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.device-item:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(215, 191, 145, 0.28);
  transform: translateY(-2px);
}
.device-item .d-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf7e8 0%, #f3e6c9 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.device-item .d-name { font-size: 14px; font-weight: bold; color: var(--text-1); }
.device-item .d-from { font-size: 12px; color: var(--gold-bright); }

/* ============ 预约须知 ============ */
.notice-box {
  border: 1px solid var(--line-1);
  border-radius: 10px;
  background: #fff;
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.notice-box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.notice-box li { font-size: 13px; color: var(--text-3); display: flex; gap: 8px; line-height: 1.7; }
.notice-box li::before { content: "◆"; color: var(--gold-bright); font-size: 10px; line-height: 2.2; flex: none; }
.flow-steps { display: flex; gap: 14px; margin-top: 20px; }
.flow-step {
  flex: 1;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #fff;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  position: relative;
}
.flow-step b { display: block; font-size: 15px; color: var(--text-1); margin-bottom: 4px; }
.flow-step .st-ico { font-size: 22px; display: block; margin-bottom: 6px; }
.flow-step::after {
  content: "→";
  position: absolute;
  right: -13px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  font-weight: bold;
  z-index: 2;
}
.flow-step:last-child::after { content: ""; }

/* ============ 页脚 ============ */
.footer {
  margin-top: 72px;
  background: #2e2e2e;
  color: #b5b5b5;
  padding: 48px 0 32px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer .f-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: #fff; font-weight: bold; letter-spacing: 2px; }
.footer .f-brand-logos { display: flex; align-items: center; gap: 12px; }
.footer .f-logo-s {
  height: 56px; width: auto; display: block;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(235, 210, 152, 0.35);
}
.footer .f-logo-h { height: 52px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.footer .f-brand-name { font-size: 16px; color: #fff; }
.footer .f-brand em { font-style: normal; color: var(--gold-light); }
.footer p, .footer li { font-size: 13px; line-height: 2; }
.footer a:hover { color: var(--gold); }
.footer .f-copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 12px;
  color: #888;
}
.footer .f-copy .f-icp { margin-left: 8px; }
.footer .f-copy .f-icp a { color: var(--text-4); transition: color 0.2s; }
.footer .f-copy .f-icp a:hover { color: var(--gold); }

/* ============ 预约弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 60px 20px 40px;
}
.modal-mask.show { display: flex; }
.modal {
  width: 560px; max-width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  animation: popIn 0.25s ease;
}
@keyframes popIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  display: flex; align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-2);
}
.modal-head h3 { font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.modal-head .close {
  margin-left: auto;
  width: 28px; height: 28px;
  border: none; background: transparent;
  font-size: 18px; color: var(--text-4);
  border-radius: 4px;
}
.modal-head .close:hover { color: var(--red); background: #fafafa; }
.modal-body { padding: 20px 22px; max-height: 62vh; overflow-y: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 12px; }

.bk-project-summary {
  display: flex; gap: 12px; align-items: center;
  background: var(--beige);
  border: 1px solid var(--beige-border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.bk-project-summary .ico { font-size: 28px; }
.bk-project-summary b { display: block; font-size: 15px; }
.bk-project-summary span { font-size: 12px; color: var(--text-3); }

.bk-step-title { font-size: 14px; font-weight: bold; color: var(--text-2); margin: 14px 0 10px; display: flex; align-items: center; gap: 8px; }
.bk-step-title .num {
  width: 20px; height: 20px;
  background: var(--gold-grad);
  color: #424242;
  border-radius: 50%;
  font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.bk-step-title:first-of-type { margin-top: 0; }

.date-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.date-chip {
  min-width: 96px;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: #fff;
  padding: 8px 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  transition: all 0.2s;
}
.date-chip .d { font-size: 15px; font-weight: bold; color: var(--text-1); }
.date-chip .w { font-size: 11px; color: var(--text-4); }
.date-chip:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.date-chip:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.date-chip.selected { background: var(--gold-grad); border-color: var(--gold-bright); color: #424242; }
.date-chip.selected .d, .date-chip.selected .w { color: #424242; }
.date-chip.today-chip { border-style: dashed; border-color: var(--gold-bright); }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-chip {
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: #fff;
  padding: 9px 6px;
  font-size: 13px;
  color: var(--text-1);
  text-align: center;
  transition: all 0.2s;
}
.slot-chip small { display: block; font-size: 11px; color: var(--text-4); }
.slot-chip:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.slot-chip:disabled { opacity: 0.45; cursor: not-allowed; background: #fafafa; }
.slot-chip.selected { background: var(--gold-grad); border-color: var(--gold-bright); color: #424242; font-weight: bold; }
.slot-chip.selected small { color: #424242; }
.slot-chip .full-tag { color: var(--red); font-weight: bold; }

.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 5px; }
.form-row label i { color: var(--red); font-style: normal; margin-right: 2px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--gold); }
.form-row textarea { resize: vertical; min-height: 64px; }
.form-row .hint { font-size: 12px; color: var(--text-4); margin-top: 3px; }
.form-row.half { display: inline-block; width: calc(50% - 6px); }
.form-row.half + .form-row.half { margin-left: 12px; }

.price-total {
  margin-top: 6px;
  background: #fdfaf3;
  border: 1px dashed var(--beige-border);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-3);
  display: flex; justify-content: space-between; align-items: center;
}
.price-total b { font-size: 20px; color: var(--red); }

/* 成功页 */
.success-view { text-align: center; padding: 10px 0 4px; }
.success-view .s-ico {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.success-view h4 { font-size: 18px; margin-bottom: 8px; }
.success-view .code {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 3px;
  color: var(--gold-bright);
  background: #fdfaf3;
  border: 1px dashed var(--beige-border);
  border-radius: 6px;
  padding: 10px 26px;
  margin: 8px 0 16px;
}
.success-view table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; margin-bottom: 12px; }
.success-view table td { padding: 7px 10px; border-bottom: 1px solid var(--line-2); }
.success-view table td:first-child { color: var(--text-4); width: 96px; }
.success-view .status-pill { display: inline-block; }

.status-pill {
  font-size: 12px;
  border-radius: 10px;
  padding: 2px 10px;
  font-weight: bold;
}
.status-pill.pending { background: #fff7e6; color: #d46b08; border: 1px solid #ffd591; }
.status-pill.confirmed { background: #e6f7ff; color: #096dd9; border: 1px solid #91d5ff; }
.status-pill.done { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.status-pill.cancelled { background: #fff1f0; color: #cf1322; border: 1px solid #ffa39e; }

/* 查询结果 */
.query-result { border: 1px solid var(--line-1); border-radius: 6px; padding: 16px; }
.query-result table { width: 100%; border-collapse: collapse; font-size: 13px; }
.query-result td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.query-result td:first-child { color: var(--text-4); width: 90px; }

/* 提示 toast */
.toast-wrap {
  position: fixed;
  top: 74px; left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.toast {
  background: rgba(51, 51, 51, 0.92);
  color: #fff;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 4px;
  box-shadow: var(--nav-shadow);
  animation: toastIn 0.25s ease;
  max-width: 480px;
}
.toast.error { background: rgba(180, 50, 50, 0.95); }
.toast.ok { background: rgba(46, 125, 50, 0.95); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ============ 用户中心 ============ */
.auth-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.auth-tab {
  flex: 1;
  padding: 6px 0;
  border: 1px solid var(--line-3);
  background: #fff;
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-3);
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.active { background: var(--gold-grad); border-color: var(--gold-bright); color: #424242; font-weight: bold; }
.mini-btns { display: flex; gap: 8px; }
.mini-btns button { flex: 1; justify-content: center; }
.mini-hint { font-size: 11px; color: var(--text-4); line-height: 1.6; }
.danger-mini {
  width: 100%;
  border: 1px solid #f0c4c4;
  color: var(--red);
  background: #fff;
  border-radius: 2px;
  padding: 7px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.danger-mini:hover { background: #fff1f0; border-color: var(--red-light); }

.my-bk-item {
  border: 1px solid var(--line-1);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.my-bk-item:hover { border-color: var(--gold); box-shadow: var(--card-shadow); }
.my-bk-item .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.my-bk-item .m-code { font-weight: bold; color: var(--gold-bright); letter-spacing: 1px; font-size: 15px; }
.my-bk-item .m-info { font-size: 12px; color: var(--text-3); }
.empty-tip { text-align: center; color: var(--text-4); padding: 24px 0; font-size: 13px; }

/* ============ 海报栏（内嵌于往期活动右侧，后台「海报管理」配置） ============ */
.past-layout { display: flex; gap: 16px; align-items: flex-start; }
.past-layout .past-scroll-wrap { flex: 1; min-width: 0; }
.poster-panel {
  width: 200px; flex: none;
  background: #fff;
  border: 1px solid var(--beige-border);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.poster-panel-head {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  background: var(--beige);
  border-bottom: 1px solid var(--beige-border);
}
.poster-panel-head .p-ico {
  width: 16px; height: 16px; flex: none;
  background: var(--gold-grad);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.poster-panel-head b { font-size: 11px; color: var(--text-2); flex: 1; letter-spacing: 0; }
.poster-panel-list {
  padding: 8px;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 520px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d9c99a transparent;
}
.poster-panel-list::-webkit-scrollbar { width: 6px; }
.poster-panel-list::-webkit-scrollbar-thumb { background: #d9c99a; border-radius: 3px; }
.poster-card {
  display: block;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.25s;
}
.poster-card:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); transform: translateY(-1px); }
.poster-card img { transition: transform 0.4s ease; }
.poster-card:hover img { transform: scale(1.05); }
.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;        /* 竖版 3:4 */
  height: auto;
  object-fit: contain;        /* 完整显示，不裁切 */
  object-position: center;    /* 居中 */
  background: var(--beige);   /* 上下/左右留白底色 */
}
.poster-card .pc-title {
  padding: 5px 8px;
  font-size: 10px; color: var(--text-2); line-height: 1.5;
  background: #fdfaf3;
  border-top: 1px solid var(--line-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.poster-card .pc-title em { font-style: normal; color: var(--gold-bright); margin-right: 4px; }
/* 海报「查看原图」按钮（悬停出现） */
.poster-card { position: relative; }
.poster-zoom {
  position: absolute;
  right: 6px; bottom: 6px;
  border: none;
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 10px;
  background: rgba(51, 51, 51, 0.72);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  cursor: pointer;
}
.poster-card:hover .poster-zoom { opacity: 1; }
.poster-zoom:hover { background: rgba(51, 51, 51, 0.92); }
.poster-panel .pr-empty { text-align: center; color: var(--text-4); font-size: 12px; padding: 18px 0; }

/* ============ 往期活动 · 横向滑动照片墙 ============ */
.past-scroll-wrap { position: relative; }
.past-scroll {
  display: flex;            /* 单横排 */
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: #d9c99a transparent;
}
.past-scroll::-webkit-scrollbar { height: 6px; }
.past-scroll::-webkit-scrollbar-thumb { background: #d9c99a; border-radius: 3px; }
.past-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.past-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(51, 51, 51, 0.72);
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.past-nav:hover { background: rgba(51, 51, 51, 0.95); }
.past-nav.prev { left: -6px; }
.past-nav.next { right: -6px; }
.chev { font-style: normal; margin-left: 4px; transition: transform 0.2s; display: inline-block; }
.past-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--gold);
}
.past-img { transition: transform 0.4s ease; }
.past-card:hover .past-img { transform: scale(1.05); }
.past-cover {
  position: relative;
  aspect-ratio: 4 / 3; /* 活动图严格 4:3 展示 */
  background: var(--beige) center/cover no-repeat;
  overflow: hidden;
}
.past-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.past-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #cbb98a;
}
.past-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25) 55%, transparent);
  color: #fff;
}
.past-overlay b { display: block; font-size: 15px; letter-spacing: 0.3px; }
.past-overlay span { font-size: 12px; color: var(--gold-ice); }
.past-count {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 10px;
}
.past-desc {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ============ 大图查看器 Lightbox（暗色玻璃拟态） ============ */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; flex-direction: column; }
.lightbox.show { display: flex; animation: lbFade 0.24s ease both; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, rgba(40, 34, 28, 0.9), rgba(12, 10, 9, 0.965));
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}
.lb-bar, .lb-stage, .lb-foot { position: relative; z-index: 2; }
.lb-bar {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px 8px;
}
.lb-title { display: flex; align-items: center; gap: 9px; min-width: 0; color: #f3eee6; font-size: 14px; }
.lb-title b { font-weight: 600; letter-spacing: 0.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-ico {
  width: 27px; height: 27px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px;
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.3), rgba(201, 169, 97, 0.14));
  border: 1px solid rgba(201, 169, 97, 0.38);
}
.lb-tools { display: flex; align-items: center; gap: 9px; flex: none; }
.lb-count {
  font-size: 12px; color: #d9d3c9;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px; padding: 4px 12px;
  font-variant-numeric: tabular-nums;
  min-height: 24px; line-height: 16px;
}
.lb-count:empty { display: none; }
.lb-tool {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #ece7de; font-size: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.lb-tool:hover { background: rgba(201, 169, 97, 0.24); border-color: rgba(201, 169, 97, 0.55); color: #fff; transform: translateY(-1px); }
.lb-close:hover { background: rgba(201, 72, 79, 0.3); border-color: rgba(201, 72, 79, 0.6); }
.lb-stage {
  flex: 1; min-height: 0;
  display: flex; align-items: stretch; justify-content: center; gap: 14px;
  padding: 4px 18px 6px;
}
.lb-frame { position: relative; display: flex; align-items: center; justify-content: center; align-self: stretch; min-width: 0; min-height: 0; }
#lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.07);
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
#lb-img.ready { opacity: 1; transform: none; }
.lb-spin {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: #c9a961;
  animation: lbSpin 0.85s linear infinite;
}
.lb-spin.hide { display: none; }
.lb-nav {
  flex: none; align-self: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 16, 14, 0.5);
  color: #f1ece4; font-size: 17px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s, opacity 0.2s;
}
.lb-nav:hover:not([disabled]) { background: rgba(201, 169, 97, 0.26); border-color: rgba(201, 169, 97, 0.6); color: #fff; transform: scale(1.06); }
.lb-nav[disabled] { opacity: 0.22; cursor: default; }
.lb-foot {
  flex: none;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 8px 20px 14px;
}
.lb-thumbs {
  display: flex; gap: 8px;
  max-width: min(1100px, 88vw);
  overflow-x: auto; overflow-y: hidden;
  padding: 3px 3px 6px;
  scrollbar-width: thin;
}
.lb-thumbs:empty { display: none; }
.lb-thumb {
  width: 64px; height: 64px; flex: none;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.55; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: 0.92; transform: translateY(-2px); }
.lb-thumb.on { opacity: 1; border-color: #c9a961; box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18); }
.lb-hint { font-size: 11.5px; color: rgba(255, 255, 255, 0.42); letter-spacing: 0.2px; text-align: center; }
body.lb-open { overflow: hidden; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbSpin { to { transform: rotate(360deg); } }


/* ============ 刻蚀章墙（后台「刻蚀章管理」配置，预约须知下方一排展示） ============ */
#seal-strip { margin-top: 40px; }
.seal-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 20px 10px;
}
.seal-strip-inner img {
  width: 72px;
  height: auto;
  opacity: var(--seal-opacity, 0.92);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s;
}
.seal-strip-inner img:hover { transform: scale(1.08); }

/* 刻蚀章悬停预览气泡 */
.seal-strip-inner .seal-item { position: relative; }
.seal-strip-inner .seal-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(51, 51, 51, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 6px 12px;
  border-radius: 6px;
  width: max-content;
  max-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 800;
}
.seal-strip-inner .seal-tip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(51, 51, 51, 0.92);
}
.seal-strip-inner .seal-item:hover .seal-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 手机端不显示 */
@media screen and (max-width: 1199px) {
  #seal-strip { display: none !important; }
}

/* ============ 看板娘（后台「店铺设置」可调位置/大小/透明度，纯装饰不拦截点击） ============ */
.kanban {
  position: fixed;
  bottom: 0;
  z-index: 600;
  width: var(--kb-size, 340px);
  height: auto;
  opacity: var(--kb-opacity, 0.5);
  pointer-events: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}
.kanban.kb-left { left: 0; right: auto; }
.kanban.kb-right { right: 0; left: auto; }
/* 中等屏幕尺寸封顶 */
@media screen and (max-width: 1499px) and (min-width: 1200px) {
  .kanban { width: min(var(--kb-size, 340px), 240px); }
}
/* 手机端不显示 */
@media screen and (max-width: 1199px) {
  .kanban { display: none !important; }
}



/* ============ 大屏增强（≥1600px）：图片更大、展示更饱满 ============ */
@media screen and (min-width: 1600px) {
  .carousel { height: 280px; }                          /* 顶部横幅加高 */
  .past-card { flex: 0 0 340px; }
  .past-overlay b { font-size: 17px; }
  .past-desc { font-size: 13px; }
  .poster-panel { width: 220px; }                       /* 宣传海报栏 */
  .poster-card .pc-title { font-size: 14px; }
  .lb-thumb { width: 72px; height: 72px; }
}
/* ============ 刻蚀章弹窗（关联活动日历） ============ */
.seal-modal-top { display: flex; gap: 14px; align-items: flex-start; }
.seal-modal-top img {
  width: 96px; height: 96px; flex: none;
  object-fit: contain;
  background: var(--beige);
  border-radius: 8px;
  padding: 6px;
}
.seal-modal-top .sm-title { font-size: 16px; color: var(--text-1); font-weight: bold; }
.seal-modal-top .sm-desc { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.7; }
.seal-ev-head { margin: 14px 0 8px; font-size: 13px; color: var(--text-2); font-weight: bold; }
.seal-ev-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 12px; margin-bottom: 8px;
  background: #fdfaf3;
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.seal-ev-item .d { flex: none; color: var(--gold-bright); font-size: 12px; font-weight: bold; line-height: 1.6; }
.seal-ev-item .t { flex: 1; }
.seal-ev-item b { font-size: 13px; color: var(--text-2); }
.seal-ev-item p { font-size: 12px; color: var(--text-3); margin-top: 2px; line-height: 1.6; }
.seal-ev-empty { font-size: 12px; color: var(--text-4); padding: 10px 0; text-align: center; }
.seal-strip-inner .seal-item { cursor: pointer; }

/* ============ 响应式 ============ *//* ============ 响应式 ============ *//* ============ 响应式 ============ *//* ============ 响应式 ============ */
@media screen and (max-width: 1000px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  /* 今日状态 / 近期活动 始终保持在活动日历右方（窄屏只收窄，不换行到下方） */
  .calendar-layout { gap: 14px; }
  .calendar-side { width: 250px; flex: 0 0 250px; }
  .calendar-panel { padding: 18px 16px 16px; }
  .nav-left { min-width: 0; }
  .nav-list > li { margin-right: 14px; }
  .flow-steps { flex-wrap: wrap; }
  .flow-step::after { content: ""; }
}

/* 更窄的桌面窗口：日历与右侧卡片继续并排 */
@media screen and (max-width: 820px) {
  .calendar-layout { gap: 12px; }
  .calendar-side { width: 220px; flex: 0 0 220px; }
  .calendar-panel { padding: 16px 12px 14px; }
  .calendar-head { gap: 10px; }
  .calendar-head .month-label { font-size: 16px; min-width: 96px; }
}
@media screen and (max-width: 640px) {
  .calendar-layout { gap: 10px; overflow-x: auto; }
  .calendar-side { width: 190px; flex: 0 0 190px; }
  .calendar-panel { min-width: 258px; }
  .side-card { padding: 12px 12px; }
}

/* ============ 二维码 & 支付 ============ */
.qr-box { text-align: center; margin: 10px 0 14px; }
.qr-img {
  width: 168px; height: 168px;
  margin: 0 auto;
  border: 1px solid var(--beige-border);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--card-shadow);
}
.qr-tip { font-size: 12px; color: var(--text-4); margin-top: 8px; }

.pay-box {
  margin-top: 14px;
  border: 1px dashed var(--beige-border);
  background: #fdfaf3;
  border-radius: 6px;
  padding: 14px 16px;
  text-align: left;
}
.pay-title { font-size: 14px; font-weight: bold; color: var(--text-2); margin-bottom: 6px; }
.pay-tip { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.pay-tip.small { font-size: 11px; color: var(--text-4); margin-top: 8px; }
.pay-amount { color: var(--red); font-size: 16px; }
.pay-btns { display: flex; gap: 10px; margin-top: 10px; }
.pay-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  transition: transform 0.2s, filter 0.2s;
}
.pay-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pay-btn small { font-size: 11px; font-weight: normal; opacity: 0.85; }
.pay-btn .pay-logo {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: bold;
}
.pay-btn.alipay { background: #1677ff; }
.pay-btn.alipay .pay-logo { color: #1677ff; }
.pay-btn.wechat { background: #07c160; }
.pay-btn.wechat .pay-logo { color: #07c160; }

/* ============ 汉堡菜单 & 悬浮按钮（手机端） ============ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 6px;
  margin-left: 14px;
}
.hamburger span { display: block; height: 2px; background: var(--gold-light); border-radius: 1px; }

.float-book {
  display: none;
  position: fixed;
  right: 16px; bottom: 24px;
  z-index: 900;
  background: var(--gold-grad);
  color: #424242 !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 28px;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  align-items: center; gap: 6px;
  animation: floatIn 0.4s ease;
}
@keyframes floatIn { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ============ 手机端适配（紧凑版） ============ */
@media screen and (max-width: 768px) {
  body { font-size: 13px; }

  .top-nav-inner { height: 50px; padding: 0 10px; }
  .nav-logo { margin-right: 0; }
  .nav-logo .logo-mark-img { width: 26px; height: 26px; border-radius: 5px; }
  .nav-logo .logo-h-img { height: 26px; }
  .nav-logo .logo-text { font-size: 14px; letter-spacing: 1px; margin-left: 8px; }
  .hamburger { display: flex; width: 30px; height: 30px; gap: 3px; padding: 5px; margin-left: 10px; }
  .hamburger span { height: 2px; }
  .nav-list {
    display: none;
    position: fixed;
    top: 50px; left: 0; right: 0;
    background: rgba(51, 51, 51, 0.98);
    flex-direction: column;
    padding: 4px 0 10px;
    box-shadow: var(--nav-shadow);
    z-index: 1000;
  }
  .nav-list.open { display: flex; }
  .nav-list > li { margin: 0; width: 100%; height: auto; padding: 0; }
  .nav-list > li > a { padding: 10px 18px; font-size: 14px; }
  .nav-list > li > a.active::after { display: none; }
  .nav-right { gap: 12px; min-width: 0; }
  .nav-icon { font-size: 18px; width: 26px; height: 26px; }
  .nav-user-btn { padding: 5px 11px; font-size: 11px; border-radius: 14px; gap: 4px; max-width: 110px; }
  .nav-user-btn .uname { max-width: 62px; }
  .nav-dropdown {
    position: fixed;
    top: 54px;
    left: 10px; right: 10px;
    margin-left: 0;
    width: auto;
    padding: 10px 12px;
  }
  .nav-dropdown h4 { font-size: 12px; }
  .nav-dropdown p { font-size: 11px; }
  .nav-dropdown .mini-form input { font-size: 16px; padding: 7px 8px; }
  .nav-dropdown::before { display: none; }

  .banner-wrap { margin-top: 50px; padding-top: 36px; } /* 横幅与顶栏留出呼吸空间 */
  .carousel { height: 128px; border-radius: 5px; }
  .carousel-slide { padding: 0 40px; }
  .slide-kicker { font-size: 10px; padding: 2px 8px; margin-bottom: 7px; }
  .slide-title { font-size: 18px; letter-spacing: 1px; margin-bottom: 5px; }
  .slide-desc { font-size: 11px; line-height: 1.6; }
  .slide-price { gap: 8px; margin-top: 8px; }
  .slide-price .now { font-size: 22px; }
  .slide-price .now small { font-size: 11px; }
  .slide-price .old { font-size: 12px; }
  .carousel-arrow { width: 26px; height: 26px; font-size: 12px; }
  .carousel-arrow.prev { left: 7px; }
  .carousel-arrow.next { right: 7px; }
  .carousel-dots { bottom: 10px; gap: 7px; }
  .carousel-dots button { width: 8px; height: 8px; }
  .carousel-dots button.active { width: 18px; }

  .container { padding: 0 12px; }
  .section { margin-top: 26px; }
  .section-head { margin-bottom: 14px; }
  .section-head { height: auto; padding-bottom: 10px; }
  .section-title { font-size: 16px; gap: 6px; }
  .section-title .t-ico { width: 20px; height: 20px; font-size: 13px; border-radius: 3px; }
  .section-more { font-size: 11px; }

  /* —— 手机端简洁化：藏次要元素、压高度、扁平化 —— */
  #nav-ann-item { display: none; } /* 顶部公告入口：公告已在首页公告板展示 */
  .slide-desc { display: none; }   /* 轮播只保留标签/标题/价格，更清爽 */
  .carousel { height: 112px; }
  .footer-inner > div:last-child { display: none; } /* 页脚快速入口列 */
  .project-card, .calendar-panel, .side-card, .device-item, .notice-box { box-shadow: none; } /* 扁平化 */
  .announce { padding: 10px 12px; }
  .announce .ico { width: 28px; height: 28px; font-size: 16px; }
  .announce { padding: 12px; gap: 10px; border-radius: 5px; }
  .announce .ico { width: 32px; height: 32px; font-size: 18px; border-radius: 6px; }
  .announce h3 { font-size: 13px; margin-bottom: 2px; }
  .announce p { font-size: 11px; line-height: 1.7; }

  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card { padding: 14px 13px 12px; border-radius: 5px; }
  .project-card .pc-head { gap: 8px; margin-bottom: 8px; }
  .project-card .pc-icon { width: 36px; height: 36px; font-size: 19px; border-radius: 7px; }
  .project-card .pc-name { font-size: 15px; }
  .project-card .pc-tag { font-size: 10px; padding: 1px 6px; margin-top: 3px; }
  .project-card .pc-desc { font-size: 12px; line-height: 1.6; }
  .project-card .pc-duration { font-size: 11px; }
  .project-card .pc-price { margin: 6px 0; gap: 6px; }
  .project-card .pc-price .now { font-size: 22px; }
  .project-card .pc-price .now small { font-size: 11px; }
  .project-card .pc-price .old { font-size: 12px; }
  .project-card .pc-price .from { font-size: 12px; }
  .project-card .pc-tickets { gap: 5px; }
  .project-card .pc-ticket { font-size: 12px; padding: 5px 8px; }
  .project-card .pc-ticket b { font-size: 14px; }
  .project-card .pc-ticket span.note { font-size: 10px; }
  .project-card .pc-foot { margin-top: 10px; }
  .project-card .gold-btn { padding: 7px 18px; font-size: 13px; }
  .venue-banner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; border-radius: 5px; }
  .venue-banner .vb-ico { font-size: 34px; }
  .venue-banner h3 { font-size: 15px; margin-bottom: 3px; }
  .venue-banner p { font-size: 11px; line-height: 1.6; }
  .venue-banner .gold-btn { margin-left: 0; padding: 7px 16px; font-size: 13px; }

  .calendar-panel { padding: 10px 8px 12px; border-radius: 8px; }
  .calendar-head { gap: 8px; margin-bottom: 10px; }
  .calendar-head .month-label { font-size: 14px; min-width: 88px; }
  .calendar-head button { width: 26px; height: 26px; font-size: 11px; border-radius: 5px; }
  .calendar-head button.today-btn { width: auto; padding: 0 9px; font-size: 11px; }
  .calendar-week span { font-size: 11px; padding: 3px 0; }
  .calendar-grid { gap: 3px; }
  .cal-cell { height: 44px; font-size: 12px; border-radius: 5px; gap: 1px; }
  .cal-cell .cal-ev { font-size: 9px; padding: 0 4px; max-width: 88%; }
  .cal-cell .cal-badge { font-size: 8px; padding: 1px 5px; }
  .cal-cell.today::after { font-size: 8px; padding: 1px 5px; top: -6px; right: 1px; }
  .legend { gap: 8px; font-size: 10px; margin-top: 10px; }
  .legend i { width: 13px; height: 13px; }
  .calendar-side { gap: 10px; }
  .side-card { padding: 12px 14px; border-radius: 8px; }
  .side-card h4 { font-size: 13px; padding-bottom: 8px; margin-bottom: 10px; }
  .side-card h4 small { font-size: 10px; }
  .event-item { padding: 8px 10px; margin-bottom: 8px; }
  .event-item .ev-title { font-size: 13px; }
  .event-item .ev-desc { font-size: 11px; }
  .event-item .ev-date { font-size: 11px; }
  .quick-date-chip { font-size: 11px; padding: 4px 9px; }
  .project-pick-grid { gap: 8px; }
  .project-pick { padding: 12px 8px; border-radius: 6px; }
  .project-pick .pp-ico { font-size: 22px; }
  .project-pick .pp-name { font-size: 12px; }
  .project-pick .pp-price { font-size: 11px; }

  .device-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* 往期活动：手机端默认收起，点标题展开；卡片 78% 宽留出下一张预览 */
  .past-card { flex: 0 0 72%; border-radius: 10px; }
  .past-scroll { gap: 12px; }
  .past-overlay { padding: 24px 12px 10px; }
  .past-overlay b { font-size: 14px; }
  .past-overlay span { font-size: 11px; }
  /* 手机端两行同步横滑,隐藏描述精简卡片 */
  .past-desc { display: none; }
  .past-head { cursor: pointer; }
  .past-scroll-wrap { display: none; }
  #pastevents.expanded .past-scroll-wrap { display: block; }
  .past-layout { flex-direction: column; }
  /* 手机端不显示宣传海报栏 */
  .poster-panel { display: none !important; }
  #pastevents.expanded .chev { transform: rotate(180deg); }
  .past-nav { display: none; }
  .past-overlay b { font-size: 14px; }
  /* 大图查看器：窄屏收紧 */
  .lb-bar { padding: 10px 12px 6px; }
  .lb-title { font-size: 13px; }
  .lb-stage { gap: 8px; padding: 4px 10px 0; }
  .lb-nav { width: 40px; height: 40px; font-size: 14px; }
  #lb-img { border-radius: 8px; }
  .lb-thumb { width: 52px; height: 52px; }
  .lb-hint { display: none; }
  .lb-foot { padding: 6px 12px 14px; }
  .device-item { padding: 10px; gap: 8px; border-radius: 5px; }
  .device-item .d-ico { width: 30px; height: 30px; font-size: 16px; }
  .device-item .d-name { font-size: 12px; }
  .device-item .d-from { font-size: 10px; }

  .notice-box { padding: 12px 14px; border-radius: 5px; }
  .notice-box ul { grid-template-columns: 1fr; gap: 4px; }
  .notice-box li { font-size: 11px; line-height: 1.6; }
  .flow-steps { gap: 6px; margin-top: 14px; }
  .flow-step { padding: 8px 6px; font-size: 11px; border-radius: 5px; }
  .flow-step b { font-size: 13px; }
  .flow-step .st-ico { font-size: 17px; margin-bottom: 4px; }

  .footer { padding: 22px 0 84px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer .f-logo-h { height: 42px; }
  .footer .f-logo-s { height: 44px; }
  .footer h4 { font-size: 13px; margin-bottom: 8px; }
  .footer p, .footer li { font-size: 11px; line-height: 1.9; }

  .float-book {
    display: flex;
    right: 12px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 24px;
    gap: 4px;
  }

  /* 弹窗全屏化：遮罩固定不滚动，弹窗内部滚动（避免滚出深色遮罩露出黑边） */
  .modal-mask {
    padding: 0;
    align-items: stretch;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .modal-head { flex: none; padding: 12px 14px; }
  .modal-head h3 { font-size: 15px; gap: 6px; }
  .modal-head .close { width: 26px; height: 26px; font-size: 15px; }
  .modal-body {
    flex: 1;
    min-height: 0;
    padding: 14px;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .modal-foot { flex: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .bk-project-summary { padding: 10px 12px; margin-bottom: 14px; border-radius: 5px; }
  .bk-project-summary .ico { font-size: 22px; }
  .bk-project-summary b { font-size: 14px; }
  .bk-project-summary span { font-size: 11px; }
  .bk-step-title { font-size: 13px; margin: 10px 0 8px; gap: 6px; }
  .bk-step-title .num { width: 18px; height: 18px; font-size: 11px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .slot-chip { font-size: 13px; padding: 8px 4px; border-radius: 3px; }
  .slot-chip small { font-size: 10px; }
  .date-chips { gap: 6px; }
  .date-chip { min-width: 74px; padding: 6px 6px; border-radius: 3px; }
  .date-chip .d { font-size: 13px; }
  .date-chip .w { font-size: 10px; }
  .form-row { margin-bottom: 10px; }
  .form-row label { font-size: 12px; margin-bottom: 4px; }
  .form-row input, .form-row textarea, .form-row select {
    font-size: 16px; /* iOS 上输入字号 >=16px 防止聚焦自动放大 */
    padding: 8px 10px;
  }
  .form-row textarea { min-height: 56px; }
  .form-row .hint { font-size: 11px; }
  .form-row.half { display: block; width: 100%; }
  .form-row.half + .form-row.half { margin-left: 0; }
  .price-total { padding: 8px 12px; font-size: 12px; border-radius: 4px; }
  .price-total b { font-size: 17px; }

  .pay-btns { flex-direction: row; gap: 8px; }
  .pay-btn { font-size: 14px; padding: 9px 8px; border-radius: 5px; gap: 6px; }
  .pay-btn .pay-logo { width: 18px; height: 18px; font-size: 11px; }
  .pay-btn small { font-size: 10px; }
  .pay-box { padding: 12px; border-radius: 5px; }
  .pay-title { font-size: 13px; }
  .pay-tip { font-size: 12px; }
  .pay-tip.small { font-size: 10px; }
  .pay-amount { font-size: 14px; }

  .success-view .s-ico { width: 48px; height: 48px; font-size: 24px; margin-bottom: 8px; }
  .success-view h4 { font-size: 15px; }
  .success-view .code { font-size: 19px; letter-spacing: 2px; padding: 8px 18px; }
  .success-view table, .query-result table { font-size: 12px; }
  .success-view table td, .query-result td { padding: 5px 8px; }
  .qr-img { width: 128px; height: 128px; padding: 6px; border-radius: 6px; }
  .qr-tip { font-size: 11px; }
  .query-result { padding: 12px; border-radius: 5px; }
  .status-pill { font-size: 11px; padding: 2px 8px; }

  .toast { max-width: 88vw; font-size: 12px; padding: 8px 16px; }
}

@media screen and (max-width: 380px) {
  .device-grid { grid-template-columns: 1fr; }
  .nav-logo .logo-text { display: none; }
  .nav-user-btn .uname { display: none; }
  .nav-user-btn { padding: 6px 9px; }
  .carousel { height: 112px; }
  .slide-title { font-size: 16px; }
  .slide-desc { font-size: 10px; }
}
