/* ===== 全局字体规范：系统无衬线 + 思源黑体（Noto Sans SC，SIL OFL 1.1 免费商用） ===== */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html, body, button, input, select, textarea {
  font-family: var(--font-sans);
}

body {
  background-color: #f4f5f7;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.96), transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(203, 213, 225, 0.35), transparent 45%),
    linear-gradient(180deg, #f8f9fb 0%, #eceff4 100%);
  background-attachment: fixed;
  padding-bottom: 4.5rem;
}

@media (min-width: 640px) {
  body { padding-bottom: 1.5rem; }
}

:root {
  --fan-theme: linear-gradient(135deg, #DD0514 0%, #8D0D0E 100%);
  --accent-gradient: linear-gradient(135deg, #DD0514 0%, #8D0D0E 100%);
  --cp-stop-a: 38%;
  --cp-stop-b: 62%;
  --fan-theme-solid: #DD0514;
  --fan-theme-alt: #8D0D0E;
  --footprint-theme: #C8102E;
  --footprint-theme-solid: #C8102E;
  --btn-height: 32px;
}

.metal-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 244, 249, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 18px rgba(15, 23, 42, 0.045);
}

.assistant-focus-card {
  border-color: #94a3b8;
  animation: assistantFocusBreathe 1s ease-in-out 2;
}

@keyframes assistantFocusBreathe {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 18px rgba(15, 23, 42, 0.05);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 24px rgba(15, 23, 42, 0.08);
  }
}

.chronicle-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  border: 1px solid #94a3b8;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 26px rgba(15, 23, 42, 0.07);
}

/* ============ 统一冷银白液态金属按钮（8px 圆角 / 30~32px 高） ============ */
.liquid-silver-btn,
.tour-action-btn,
.obsidian-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--btn-height);
  min-height: var(--btn-height);
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 34%, #e2e8f0 72%, #f1f5f9 100%);
  color: #1e293b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(148, 163, 184, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.06);
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.liquid-silver-btn:hover,
.tour-action-btn:hover,
.obsidian-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 30%, #cfd8e3 78%, #e8eef5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(148, 163, 184, 0.3),
    0 2px 6px rgba(15, 23, 42, 0.08);
}

.liquid-silver-btn:active,
.tour-action-btn:active,
.obsidian-btn:active {
  transform: translateY(0.5px);
}

.tour-action-btn:disabled,
.liquid-silver-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 激活 / 展开态才亮起当前粉籍应援色 */
.tour-action-btn.is-active,
.liquid-silver-btn.is-active,
.obsidian-btn.is-active,
.tour-action-btn[aria-expanded="true"] {
  background: var(--fan-theme, #334155);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  border-color: transparent;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 所有高亮/激活态容器统一收口：禁止边框透出底色、禁止圆角外溢 */
.tour-action-btn.is-active,
.tour-action-btn[aria-expanded="true"],
.liquid-silver-btn.is-active,
.obsidian-btn.is-active,
.nav-pill-active,
.seg-btn.is-active,
.anniv-chip.is-on,
.theme-pill,
.footprint-active-btn,
.colored-pill {
  border-color: transparent !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  overflow: hidden;
  outline: none;
}

/* 成员专属应援色的内联高亮按钮（成员胶囊 / 预设标签等） */
.colored-pill {
  color: #ffffff !important;
  border: 1px solid transparent;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

.tour-action-btn.is-active:hover,
.liquid-silver-btn.is-active:hover {
  background: var(--fan-theme, #334155);
  filter: brightness(1.05);
}

.tour-action-btn--mini {
  height: 30px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

/* 卡片底部操作栏：交通三连（交通/出行比价/地图）+ 安检 + 找搭子，flex 排列不挤压 */
.tour-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.tour-actions-row .tour-action-btn {
  width: auto;
  flex: 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 10px;
  font-size: 12px;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 400px) {
  .tour-actions-row .tour-action-btn { padding: 0 8px; font-size: 11.5px; }
}

.tour-actions-divider {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.75), rgba(148, 163, 184, 0));
}

@media (min-width: 640px) {
  .tour-actions-row { gap: 8px; }
  .tour-actions-row .tour-action-btn { padding: 0 10px; font-size: 12px; }
}

/* ============ 通透冷银灰渐变玻璃倒计时条 ============ */
.countdown-glass {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(226, 232, 240, 0.78) 52%, rgba(203, 213, 225, 0.62) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(148, 163, 184, 0.2),
    0 2px 10px rgba(15, 23, 42, 0.05);
}

.countdown-value {
  color: var(--fan-theme-solid, #DD0514);
  background: var(--fan-theme, #DD0514);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.countdown-glass .countdown-round {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 7px;
}

/* ===== 预售 / 一开 / 二开 / 三开：全量轮次状态 + 最近轮次倒计时 ===== */
.sale-rounds-panel { display: flex; flex-direction: column; gap: 4px; }
.sale-round-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 4px 7px;
  font-size: 11px;
  border: 1px solid transparent;
}
.sale-round-row.is-active {
  border-color: rgba(203, 213, 225, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(241, 245, 249, 0.7) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 5px rgba(100, 116, 139, 0.08);
}
.sale-round-main {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.sale-round-name { flex: 0 0 auto; font-weight: 700; color: #334155; font-size: 11px; }
.sale-round-tag {
  flex: 0 0 auto;
  padding: 0 5px;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.sale-round-time {
  flex: 0 1 auto;
  min-width: 0;
  color: #475569;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-round-platform {
  flex: 0 1 auto;
  min-width: 0;
  color: #64748b;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-round-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 0;
}
.sale-round-side:empty { display: none; }
.sale-round-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.68);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.sale-round-status.is-soldout { color: #b91c1c; border-color: rgba(252, 165, 165, 0.75); background: rgba(254, 242, 242, 0.9); }
.sale-round-status.is-pending { color: #64748b; border-color: rgba(203, 213, 225, 0.85); background: rgba(248, 250, 252, 0.9); }
.sale-round-status.is-active {
  color: #b91c1c;
  border-color: rgba(252, 165, 165, 0.85);
  background: linear-gradient(135deg, #fff 0%, #fff1f2 100%);
  box-shadow: 0 1px 4px rgba(190, 18, 60, 0.08);
}
.sale-round-status.is-upcoming { color: #475569; border-color: rgba(203, 213, 225, 0.85); background: rgba(255, 255, 255, 0.8); }
.sale-round-status.is-past { color: #64748b; border-color: rgba(203, 213, 225, 0.75); background: rgba(248, 250, 252, 0.78); }
.sale-round-ics {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 52%, #e2e8f0 100%);
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 1px 3px rgba(100, 116, 139, 0.1);
  cursor: pointer;
}
.sale-round-ics:hover { border-color: #94a3b8; color: #0f172a; }
.sale-round-countdown {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(203, 213, 225, 0.6);
  font-size: 10px;
  white-space: nowrap;
}
.sale-round-footer { padding: 1px 4px 0; font-size: 10.5px; color: #475569; }
.adm-sale-round-grid { display: flex; flex-direction: column; gap: 5px; }
.adm-sale-round-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 10px;
  background: #ffffff;
}
.adm-sale-round-row select,
.adm-sale-round-row input {
  min-width: 0;
  font-size: 11px;
  padding: 4px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
}
.adm-sale-round-select { flex: 0 0 70px; }
.adm-sale-round-tag-select { flex: 0 0 64px; }
.adm-sale-round-time { flex: 1 1 148px; font-variant-numeric: tabular-nums; }
.adm-sale-round-status-select { flex: 0 0 76px; }
.adm-sale-round-plat { flex: 1 1 90px; }
.adm-sale-round-del {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(252, 165, 165, 0.85);
  background: rgba(254, 242, 242, 0.9);
  color: #b91c1c;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.adm-sale-round-del:hover { background: #fee2e2; }
.adm-sale-round-add {
  width: 100%;
  margin-top: 2px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
  font-size: 11.5px;
  cursor: pointer;
}
.adm-sale-round-add:hover { border-color: #94a3b8; color: #0f172a; }
@media (max-width: 520px) {
  .adm-sale-round-time { flex: 1 1 100%; order: 5; }
  .adm-sale-round-plat { flex: 1 1 100%; order: 6; }
  .adm-sale-round-status-select { order: 3; }
  .adm-sale-round-del { order: 4; margin-left: auto; }
}
@media (max-width: 640px) {
  .sale-round-row { flex-wrap: nowrap; align-items: center; gap: 4px; padding: 5px 7px; }
  .sale-round-main { flex: 1 1 auto; flex-wrap: nowrap; gap: 3px 5px; }
  .sale-round-time { flex: 0 1 auto; }
  .sale-round-platform { flex: 0 1 34%; }
  .sale-round-side { flex: 0 0 auto; justify-content: flex-end; }
  .sale-round-ics { padding: 2px 6px; }
  .sale-round-ics-text { display: none; }
}

/* 店招小胶囊（仅在需要强调时使用粉籍色） */
.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--fan-theme, #334155);
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.12);
}

/* ===== 纯白悬浮胶囊分段器（首页 / 档案 / 应援 / 足迹） ===== */
.nav-segment {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: #EEF2F6;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.nav-segment--block {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.nav-pill {
  height: 28px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748B;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nav-pill:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.6);
}

.nav-pill-active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.nav-pill-active:hover { background: #FFFFFF; }

/* ===== 档案页筛选分段器（全部 / 巡演 / 音乐节） ===== */
.seg-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: #EEF2F6;
}

/* 往期演出分类胶囊：始终单行，超出部分横向滑动，不再折成两行 */
#arc-type-filter {
  flex-wrap: nowrap !important;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
#arc-type-filter::-webkit-scrollbar { display: none; }
#arc-type-filter .seg-btn { flex: 0 0 auto; }

.seg-btn {
  height: 26px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748B;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.seg-btn:hover { color: #0F172A; background: rgba(255, 255, 255, 0.65); }

.seg-btn.is-active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

/* ===== 冷银白下拉框：去浏览器默认亮蓝粗框 ===== */
select,
.select-clean {
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.select-clean {
  height: 32px;
  padding: 0 30px 0 12px;
  border: 1px solid #DCE3EC;
  border-radius: 10px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2364748B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px 7px;
  color: #0F172A;
  font-size: 12px;
  line-height: 30px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.select-clean:hover { border-color: #C7D2E0; }

.select-clean:focus,
.select-clean:focus-visible {
  outline: none !important;
  border-color: #94A3B8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

select::-moz-focus-inner { border: 0; }

/* 1:1 正方形防切头海报容器 */
/* 海报容器：固定 3/4 比例 + 冷银灰微光骨架屏，加载中不跳动 */
.poster-square-box {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: linear-gradient(100deg, #eef2f7 18%, #f8fafc 37%, #e2e8f0 56%, #eef2f7 74%);
  background-size: 240% 100%;
  animation: poster-skeleton 1.5s ease-in-out infinite;
}
@keyframes poster-skeleton {
  0% { background-position: 120% 0; }
  100% { background-position: -60% 0; }
}
.poster-square-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%; /* 偏上焦点防切头 */
  /* 不再用 opacity:0 做淡入：Safari 缓存命中时漏 onload 会让海报永久透明 */
  opacity: 1;
  transition: transform 0.25s ease;
}
.poster-square-box img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .poster-square-box { animation: none; }
}
.poster-square-box:hover img {
  transform: scale(1.03);
}

/* 外链海报 3 秒超时兜底：停止骨架动画，切换为本地轻量冷银渐变占位 */
.poster-square-box.is-poster-fallback {
  animation: none;
  background: linear-gradient(145deg, #F8FAFC 0%, #E7ECF3 46%, #CDD6E2 100%);
}
.poster-square-box.is-poster-fallback[data-fallback-label]::after { content: none; }
.poster-fallback-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px;
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748B;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(150deg, #FBFCFE 0%, #EDF1F7 42%, #D7DFEA 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  word-break: break-word;
}
.poster-fallback-label::before {
  content: '🖼️';
  font-size: 12px;
  line-height: 1;
  opacity: 0.5;
  filter: grayscale(1);
}
.poster-fallback-label::after {
  content: '海报暂缺';
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #94A3B8;
}
.poster-square-box.is-poster-fallback::after {
  content: 'ONER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #94A3B8;
}

.line-clamp-1-clean {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-scrollbar::-webkit-scrollbar { height: 6px; width: 6px; }
.no-scrollbar::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 999px; }
.no-scrollbar::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 999px; }

/* 足迹模块动态主题联动 */
.footprint-active-btn {
  background: var(--footprint-theme) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.footprint-active-border {
  border-color: var(--footprint-theme-solid) !important;
}

.footprint-active-text {
  color: var(--footprint-theme-solid) !important;
}

/* 时光提醒内联可编辑项 */
.anniv-editable {
  border-bottom: 1px dashed rgba(100, 116, 139, 0.55);
  color: #0f172a;
  font-weight: 700;
  cursor: text;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.anniv-editable:hover {
  color: var(--fan-theme-solid, #0f172a);
  border-bottom-color: var(--fan-theme-solid, #64748b);
}

.anniv-inline-input {
  height: 26px;
  padding: 0 6px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  border-radius: 6px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}
.anniv-inline-input:focus {
  border-color: var(--fan-theme-solid, #64748b);
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25);
}

.anniv-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  font-size: 11px;
  color: #334155;
  transition: all 0.16s ease;
}
.anniv-chip.is-on {
  border-color: transparent !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #ffffff !important;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.anniv-day-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #475569;
  white-space: nowrap;
}
.anniv-day-item strong { color: #0F172A; font-weight: 600; }
.anniv-day-item .anniv-days { font-weight: 700; font-variant-numeric: tabular-nums; }
.anniv-day-item--note { flex-wrap: wrap; }
.anniv-day-item .anniv-day-note {
  display: block;
  flex-basis: 100%;
  white-space: normal;
  font-size: 10px;
  color: #94A3B8;
}

.anniv-day-strip {
  scrollbar-width: none;
}
.anniv-day-strip::-webkit-scrollbar { display: none; }

/* ===== 时光提醒核心数字热区：仅纯数字可点击 ===== */
.anniv-hot-number {
  display: inline-block;
  vertical-align: baseline;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px dashed currentColor;
  border-radius: 2px;
  background: none;
  font: inherit;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center bottom;
}
.anniv-hot-number:hover { transform: translateY(-1px) scale(1.08); opacity: 0.92; }
.anniv-hot-number:active { transform: scale(0.98); }
.anniv-hot-number:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.6);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .anniv-hot-number { transition: none; }
  .anniv-hot-number:hover { transform: none; }
}

/* ===== 激活态彻底收口：清除白圈内描边与 1px 边缘漏色 ===== */
.tour-action-btn.is-active,
.tour-action-btn[aria-expanded="true"],
.liquid-silver-btn.is-active,
.obsidian-btn.is-active,
.seg-btn.is-active,
.nav-pill-active,
.anniv-chip.is-on,
.colored-pill,
.footprint-active-btn {
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  overflow: hidden;
}

/* 应援色实底按钮：去掉 inset 内白描边，只保留一层外投影 */
.tour-action-btn.is-active,
.tour-action-btn[aria-expanded="true"],
.liquid-silver-btn.is-active,
.obsidian-btn.is-active,
.seg-btn.is-active,
.colored-pill {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.16) !important;
}

.tour-action-btn.is-active::before,
.tour-action-btn.is-active::after,
.tour-action-btn[aria-expanded="true"]::before,
.tour-action-btn[aria-expanded="true"]::after,
.liquid-silver-btn.is-active::before,
.liquid-silver-btn.is-active::after,
.obsidian-btn.is-active::before,
.obsidian-btn.is-active::after,
.seg-btn.is-active::before,
.seg-btn.is-active::after,
.colored-pill::before,
.colored-pill::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ===== 找搭子：平台下拉 + 账号输入组合（防挤压重叠） ===== */
.buddy-contact-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.buddy-platform-select {
  min-width: 118px;
  width: auto;
  flex-shrink: 0;
  height: 42px;
  line-height: 42px;
  padding: 0 32px 0 12px;
  white-space: nowrap;
  border: 1px solid #DCE3EC;
  border-radius: 10px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2364748B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px 7px;
  color: #0F172A;
  font-size: 12px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.buddy-platform-select:hover { border-color: #C7D2E0; }
.buddy-platform-select:focus,
.buddy-platform-select:focus-visible {
  outline: none !important;
  border-color: #94A3B8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.buddy-contact-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #DCE3EC;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 12px;
}
.buddy-contact-input:focus,
.buddy-contact-input:focus-visible {
  outline: none !important;
  border-color: #94A3B8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.buddy-safety-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #94A3B8;
}

@media (max-width: 480px) {
  .buddy-contact-row { flex-wrap: wrap; }
  .buddy-platform-select { width: 100%; min-width: 0; }
  .buddy-contact-input { flex: 1 1 100%; width: 100%; }
}


/* ===== 移动端：演出卡片底部操作按钮栏换行布局 ===== */
@media (max-width: 640px) {
  .tour-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .tour-actions-row .tour-action-btn {
    width: auto;
    flex: 0 0 auto;
    height: auto;
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .tour-actions-row .tour-action-btn--mini {
    height: auto;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 12px;
  }
  .tour-actions-row > div {
    flex: 0 0 auto;
  }
  /* 窄屏隐藏竖线分隔符，改由 gap 自然排列 */
  .tour-actions-divider {
    display: none;
  }
}

/* ===== 移动端：安检体验展开面板内部呼吸感 ===== */
.security-panel {
  padding: 12px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.security-panel .security-tag-row,
.security-panel .security-level-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.security-panel textarea,
.security-panel input[type="text"] {
  max-width: 100%;
  box-sizing: border-box;
}

/* 安检等级/标签在窄屏内可换行，绝不顶出面板 */
.security-panel [data-vote-inner] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 480px) {
  .security-panel {
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
  }
  .security-panel .security-note-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .security-panel .security-note-input {
    width: 100%;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 10px;
  }
  .security-panel .security-note-submit {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 10px;
  }
  .security-panel textarea {
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 10px;
  }
}

/* ================= 长图预览：支持双指缩放 / 拖动 ================= */
.lightbox-stage {
  touch-action: pinch-zoom pan-x pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.lightbox-img {
  transform-origin: center center;
  transition: transform 0.05s linear;
  will-change: transform;
  -webkit-user-drag: none;
  touch-action: pinch-zoom pan-x pan-y;
}
.lightbox-img.is-original {
  max-width: none !important;
  max-height: none !important;
  width: auto;
  height: auto;
  cursor: grab;
}

/* ================= 全屏开屏：银白液态金属 ================= */
#app-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 80% at 20% 10%, #ffffff 0%, #eef2f7 38%, #d9e0e9 68%, #c3ccd8 100%);
  overflow: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
#app-splash-screen::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 18%, rgba(160,178,198,0.15) 34%, rgba(255,255,255,0) 52%);
  filter: blur(28px);
  animation: splashSweep 3.2s linear infinite;
}
#app-splash-screen.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: splashBreathe 2.4s ease-in-out infinite;
}
.splash-logo {
  font-family: var(--font-mono);
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 800;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  background: linear-gradient(110deg, #94a3b8 35%, #ffffff 50%, #94a3b8 65%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: splashShine 3.6s ease-in-out infinite;
}
.splash-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #7c8798;
}
.splash-bar {
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: rgba(148,163,184,0.35);
  overflow: hidden;
}
.splash-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffffff, #94a3b8, transparent);
  animation: splashBar 1.3s ease-in-out infinite;
}
@keyframes splashSweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes splashShine { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@keyframes splashBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes splashBreathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.012); } }
@media (prefers-reduced-motion: reduce) {
  #app-splash-screen::before, .splash-inner, .splash-logo, .splash-bar span { animation: none; }
}

/* 主标题中的可切换对象名：虚线下划线 + 指针 */
.anniv-target-btn {
  border: none;
  background: transparent;
  padding: 0 1px;
  border-bottom: 1px dashed rgba(100, 116, 139, 0.55);
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}
.anniv-target-btn:hover {
  border-bottom-color: var(--anniv-accent, var(--fan-theme-solid, #64748b));
  color: var(--anniv-accent, var(--fan-theme-solid, #0f172a));
}

/* ================= 首页微时间轴：置顶「最近即将开演」卡片 ================= */
.timeline-card-next {
  position: relative;
  border: 1.5px solid #cbd5e1 !important;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fafc 42%, #eef2f6 68%, #e2e8f0 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.95) inset,
    0 8px 24px rgba(100, 116, 139, 0.18),
    0 0 20px rgba(203, 213, 225, 0.55) !important;
}
.timeline-card-next::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 34%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.32) 64%, rgba(255,255,255,0) 88%);
  background-size: 260% 100%;
  animation: timelineSheen 7s ease-in-out infinite;
}
.timeline-card-next > * {
  position: relative;
  z-index: 2;
}
.timeline-card-next .timeline-card-title { color: #0f172a; }
.timeline-card-next .timeline-card-meta { color: #475569; }
@keyframes timelineSheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}
.timeline-next-badge {
  /* 几何盒子完全交给与「待开演」相同的工具类（text-[10px] px-1.5 py-0.5 rounded border），
     这里只做配色：冷调银白渐变底 + 细银描边 + 深色字，不额外加 padding/字号/外投影，避免视觉变大 */
  display: inline-block;
  vertical-align: middle;
  color: #1e293b;
  background: linear-gradient(135deg, #ffffff 0%, #eef2f6 45%, #dbe3ec 100%);
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
@media (prefers-reduced-motion: reduce) {
  .timeline-card-next::before { animation: none; }
}

/* ================= 移动端窄屏：底部生日栏与时间轴卡片不重叠、不截断 ================= */
*, *::before, *::after { box-sizing: border-box; }

/* ================= 📱 移动端：禁止双击缩放（保留捏合缩放）================= */
/* iOS 双击按钮/卡片会被放大到 2 倍，表现为「页面被撑开、右侧被裁掉」 */
html { touch-action: manipulation; }
@media (hover: none) and (pointer: coarse) {
  button, a, [role="button"], .tl-sale-status--action { touch-action: manipulation; }
}
.metal-card, .chronicle-card { max-width: 100%; min-width: 0; }
#home-upcoming-timeline, .anniv-bottom-bar, .timeline-card-main { min-width: 0; max-width: 100%; }

/* 🎫 微时间轴卡片：最新轮次开票状态 / 抢票倒计时（冷白银灰微拟态，单行不出框） */
.tl-sale-status {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.86));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(100, 116, 139, 0.1);
  font-size: 10.5px;
  line-height: 1.5;
  color: #475569;
  overflow: hidden;
  white-space: nowrap;
}
.tl-sale-status-text,
.tl-sale-status-platform,
.tl-sale-status-days {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tl-sale-status--countdown { color: #334155; }
.tl-sale-status--countdown .tl-sale-countdown {
  flex: 0 0 auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fan-theme-solid, #C8102E);
  background: var(--fan-theme, #C8102E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tl-sale-status--countdown .tl-sale-status-platform { flex: 1 1 auto; color: #64748b; }
/* 倒计时整行可点：点了直接存开票日历提醒 */
.tl-sale-status--action {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  font: inherit;
  font-size: 11px;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  /* 关键：禁止 iOS 双击缩放，否则点完提醒整页会被放大、右侧内容被裁掉 */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.tl-sale-status--action:hover { border-color: rgba(200, 16, 46, 0.4); box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(15, 23, 42, 0.1); }
.tl-sale-status--action:active { transform: scale(0.995); }
.tl-sale-remind-cue {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(200, 16, 46, 0.26);
  background: rgba(200, 16, 46, 0.07);
  color: #b3122c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .tl-sale-remind-cue { font-size: 9.5px; padding: 1px 5px; }
}
/* 极窄屏（≤360）：只留日历图标，把宽度让给倒计时数字 */
@media (max-width: 360px) {
  .tl-sale-remind-txt { display: none; }
}

.tl-sale-status-days { flex: 0 0 auto; color: #64748b; }
.tl-sale-status--done .tl-sale-status-text { font-weight: 700; color: #334155; }
.tl-sale-status--pending .tl-sale-status-text { color: #64748b; }

@media (max-width: 640px) {
  .tl-sale-status {
    font-size: 10px;
    padding: 4px 8px;
    gap: 4px;
  }
  .tl-sale-status--countdown .tl-sale-status-platform { display: none; }
}

@media (max-width: 640px) {
  .anniv-bottom-bar { align-items: flex-start; }
  .anniv-day-strip {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 4px;
    column-gap: 6px;
    width: 100%;
    flex: 1 1 100%;
  }
  .anniv-day-strip .anniv-day-item { font-size: 11px; }
  .anniv-day-strip .anniv-days { font-size: 10px; }
  .anniv-manage-link { text-align: right; width: 100%; }

  .timeline-card { width: 100%; overflow: hidden; }
  .timeline-card-main { align-items: flex-start; }
  .timeline-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
  }
  .timeline-card-meta {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }
  .timeline-card-actions {
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    justify-content: flex-end;
  }
  .timeline-next-badge { font-size: 10px; }

  /* 档案大卡片：标题两行、日期换行、操作按钮不抢宽度 */
  .show-card .show-card-head { flex-wrap: wrap; row-gap: 6px; }
  .show-card .show-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    flex: 1 1 auto;
    min-width: 0;
  }
  .show-card .show-card-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .show-card .show-card-meta {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    line-height: 1.6;
  }
  .show-card .show-card-meta .meta-sep { display: block; height: 0; overflow: hidden; }

  /* 扁平档案长条：标题自然折行完整展示 */
  .archive-strip-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
  }
}

/* ================= 近期演出与参演指南：双列卡片等高齐平 ================= */
/* 桌面端双列：取消等高拉伸，避免一侧展开抽屉时另一侧底部留白 */
#tour-grid { align-items: start; }
#tour-grid > .show-card {
  height: auto;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#tour-grid > .show-card > :last-child { margin-bottom: 0; }

/* 桌面端 6 个功能按钮：上下两行 × 每行 3 个等宽矩阵，与状态条左右对齐 */
@media (min-width: 769px) {
  .tour-actions-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }
  .tour-actions-row .tour-action-btn {
    width: 100%;
    min-width: 0;
    flex: initial;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
  }
  .tour-actions-row .tour-actions-divider { display: none; }
}

/* ================= 移动端：海报比例、标题字号与倒计时红色统一 ================= */
@media (max-width: 640px) {
  .show-card .poster-square-box {
    width: 104px !important;
    max-width: 104px;
    aspect-ratio: 3 / 4;
    height: auto !important;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .show-card .poster-square-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
  .show-card .show-card-title {
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    word-break: break-word;
  }
  /* 全端统一主红：不再让粉籍色把倒计时数字染成青蓝 */
  .countdown-value,
  .countdown-glass .countdown-value,
  .show-card .countdown-value {
    color: #dc2626 !important;
  }
}

/* ================= 微时间轴卡片：日期、场馆、演出时段分行显示 ================= */
#home-upcoming-timeline { align-items: stretch; }
#home-upcoming-timeline > .timeline-card { height: 100%; }
.timeline-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* 列方向 flex 的子项默认按 max-content 撑开，这里统一锁到卡片宽度，防止长行把卡片顶宽 */
.timeline-card-meta > * { max-width: 100%; }
.timeline-meta-line {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}
.timeline-meta-date { color: #475569; font-weight: 600; letter-spacing: 0.01em; }
.timeline-meta-venue { color: #64748b; }
.timeline-slot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; }
.timeline-slot-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
button.timeline-slot-badge {
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
}
button.timeline-slot-badge:hover,
button.timeline-slot-badge:focus-visible {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  border-color: #94a3b8;
  color: #0f172a;
}
.slot-hover-badge.is-calendar-link { cursor: pointer; }
.archive-date-ics {
  font-weight: 600;
  color: #475569;
}
.archive-date-ics:hover,
.archive-date-ics:focus-visible { color: #0f172a; }

@media (max-width: 640px) {
  .timeline-card-meta { gap: 2px; }
  .timeline-meta-venue { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-overflow: clip; }
}

/* ================= 演出卡片海报：锁定 3:4，禁止随右侧文字拉伸 ================= */
.show-card > .flex > .poster-square-box,
.show-card .poster-square-box {
  width: 116px;
  min-width: 116px;
  max-width: 116px;
  aspect-ratio: 3 / 4;
  height: auto;
  align-self: flex-start;
  flex-shrink: 0;
  border-radius: 12px;
}
.show-card .poster-square-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@media (max-width: 640px) {
  .show-card .poster-square-box {
    width: 104px !important;
    min-width: 104px;
    max-width: 104px;
    aspect-ratio: 3 / 4;
    height: auto !important;
    align-self: flex-start;
    border-radius: 10px;
  }
  /* 档案标题不再单行省略号截断 */
  .show-card .show-card-title,
  .archive-strip-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    word-break: break-word;
  }
}

/* 置顶卡：文字永远位于扫光层之上，任何时刻不被冲白 */
.timeline-card-next .timeline-card-body,
.timeline-card-next .timeline-card-actions,
.timeline-card-next .timeline-card-title,
.timeline-card-next .timeline-meta-line,
.timeline-card-next .timeline-slot-badge,
.timeline-card-next .timeline-next-badge {
  position: relative;
  z-index: 2;
}

/* 手机端：场馆地点与日期完整换行显示，不被挤断 */
@media (max-width: 640px) {
  .show-card .show-card-meta { white-space: normal; line-height: 1.6; }
  .show-card .show-card-meta span { white-space: normal; word-break: break-word; }
}

/* ================= 首页时间轴：🗓️ 时间表 银白金属微胶囊按钮 ================= */
.timeline-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 45%, #e6ecf3 100%);
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 4px rgba(100, 116, 139, 0.16);
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.timeline-table-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 50%, #dde5ef 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 8px rgba(100, 116, 139, 0.24);
  transform: translateY(-1px);
}
.timeline-table-btn:active { transform: translateY(0); }

/* 灯箱多图导航：去掉 hidden 时以行内 flex 呈现 */
#lightbox-gallery-nav:not(.hidden) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .timeline-table-btn { font-size: 10px; padding: 2px 6px; }
  .timeline-slot-row { gap: 5px; }
}

/* ================= 往日演出回顾档案：标题 / 时间表胶囊 / 日期地点 固定三行 ================= */
.archive-strip .archive-strip-body > * { min-width: 0; max-width: 100%; }
.archive-strip .archive-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.archive-strip .archive-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.archive-strip .archive-badge-row:empty { display: none; }
.archive-strip .archive-date-row {
  display: block;
  margin-top: 4px;
  line-height: 1.55;
  white-space: normal;
  word-break: break-word;
}

/* ================= 首页微时间轴：底部 5 项功能栏（银白金属） ================= */
.timeline-card { flex-wrap: wrap; }
.tl-quick-bar {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}
.tl-quick-btn {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  gap: 3px;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 48%, #e8eef5 100%);
  border: 1px solid #d5dde6;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(100, 116, 139, 0.12);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.tl-quick-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 50%, #dde5ef 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 7px rgba(100, 116, 139, 0.2);
  transform: translateY(-1px);
}
.tl-quick-btn.is-active {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: #94a3b8;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 5px rgba(100, 116, 139, 0.26);
}
.tl-quick-panel {
  /* 不用 flex: 0 0 100%：在 column 方向会被当成「高度 100%」并 wrap 出第二列 */
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 8px;
}
.tl-quick-panel-inner {
  position: relative;
  padding: 9px 10px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fbfcfe 0%, #f2f5f9 100%);
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11.5px;
  line-height: 1.6;
  max-height: 46vh;
  overflow-y: auto;
}
.tl-quick-panel-title { font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.tl-quick-panel-body { white-space: normal; word-break: break-word; }
.tl-map-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

@media (max-width: 640px) {
  .tl-quick-bar { gap: 5px; margin-top: 7px; }
  .tl-quick-btn { height: 23px; padding: 0 6px; font-size: 10.5px; }
  .tl-quick-panel-inner { font-size: 11px; padding: 8px; }
}

/* ================= 安检体验：简约标签投票面板（首页 + 档案同款） ================= */
.security-vote-panel {
  padding: 10px 11px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fb 55%, #eef3f8 100%);
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.security-vote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.security-vote-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.01em;
}
.security-vote-total {
  font-size: 10.5px;
  color: #64748b;
}
.security-vote-total strong { color: #0f172a; font-variant-numeric: tabular-nums; }
.security-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.security-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 50%, #e9eff6 100%);
  border: 1px solid #d7dfe8;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(100, 116, 139, 0.1);
  transition: all 0.16s ease;
}
.security-tag-chip:hover {
  border-color: #b6c2cf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 7px rgba(100, 116, 139, 0.18);
  transform: translateY(-1px);
}
.security-tag-chip.is-active {
  background: linear-gradient(135deg, #ffffff 0%, #e6edf5 55%, #d5e0ec 100%);
  border: 1.5px solid #64748b;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 2px rgba(148, 163, 184, 0.25), 0 2px 8px rgba(71, 85, 105, 0.2);
}
.security-tag-count {
  min-width: 16px;
  text-align: center;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.security-tag-chip.is-active .security-tag-count {
  background: #334155;
  color: #ffffff;
}
.security-venue-ref {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.5;
}
.security-vote-foot {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.5;
}
.security-sql-hint { font-size: 10px; color: #b45309; }
.security-sql-hint summary { cursor: pointer; }
.security-sql-hint pre {
  margin-top: 5px;
  padding: 8px;
  border-radius: 8px;
  background: #fffaf0;
  border: 1px solid #fde68a;
  font-size: 9.5px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

@media (max-width: 640px) {
  .security-vote-panel { padding: 9px; gap: 7px; }
  .security-tag-chip { height: 25px; padding: 0 8px; font-size: 10.5px; }
  .security-tag-grid { gap: 5px; }
}

/* 首页微时间轴：安检标签投票面板（与档案页同款渲染，去掉隐藏抽屉外壳） */
.tl-sec-panel { padding: 8px; }
.tl-sec-panel .security-vote-panel { border-radius: 10px; }
.tl-sec-loading { font-size: 11px; color: #94a3b8; padding: 6px 2px; }
.tl-sec-more {
  margin-top: 6px;
  font-size: 10.5px;
  color: #64748b;
  background: none;
  border: none;
  padding: 2px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tl-sec-more:hover { color: #0f172a; }

/* ================= 🚄 出行比价弹窗（冷调银白液态金属） ================= */
body.travel-modal-open { overflow: hidden; }
.travel-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}
.travel-modal.hidden { display: none; }
.travel-shell {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(150deg, #ffffff 0%, #f6f8fb 45%, #e9eff6 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}
.travel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.travel-title { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: 0.01em; }
.travel-sub { margin-top: 3px; font-size: 11px; color: #64748b; line-height: 1.5; }
.travel-close {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #d7dfe8;
  background: linear-gradient(135deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 12px;
  cursor: pointer;
}
.travel-close:hover { color: #0f172a; border-color: #94a3b8; }
/* 📣 应援宝典弹窗头部：标题 / 手持弹幕 / 关闭 单行居中，不换行 */
.chant-dict-head { align-items: center !important; flex-wrap: nowrap; gap: 8px; }
.chant-dict-head .travel-title-wrap { flex: 1 1 auto; min-width: 0; }
.chant-dict-head .travel-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chant-led-head-btn {
  flex: 0 0 auto; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.62);
  background: linear-gradient(145deg, #ffffff, #e6ecf3);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.95), inset -1px -1px 0 rgba(148, 163, 184, 0.28), 0 2px 5px rgba(100, 116, 139, 0.16);
  color: #334155; font-size: 11px; font-weight: 700; cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease;
}
.chant-led-head-btn:hover { transform: translateY(-1px); box-shadow: inset 1px 1px 0 #fff, 0 4px 9px rgba(100, 116, 139, 0.24); }
.chant-led-head-btn:active { transform: translateY(1px); box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.42), inset -1px -1px 0 #fff; }
@media (max-width: 639.98px) {
  .chant-dict-head { padding: 12px 12px 9px; gap: 6px; }
  .chant-led-head-btn { padding: 6px 8px; font-size: 10px; }
  .chant-dict-head .travel-title { font-size: 14px; }
}
.travel-controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  padding: 10px 16px 4px;
}
.travel-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.travel-field > span { font-size: 10.5px; color: #64748b; font-weight: 600; }
.travel-field input {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid #d7dfe8;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  font-family: inherit;
}
.travel-field input:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.22); }
.travel-body {
  padding: 8px 16px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.travel-section { display: flex; flex-direction: column; gap: 7px; }
.travel-section-head {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.travel-hint { font-size: 10px; font-weight: 600; color: #94a3b8; }
.travel-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 7px;
}
.travel-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7fb 55%, #e7eef6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 4px rgba(100, 116, 139, 0.1);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.travel-link:hover {
  transform: translateY(-1px);
  border-color: #b6c2cf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 3px 10px rgba(100, 116, 139, 0.2);
}
.travel-link-label { font-size: 11.5px; font-weight: 700; color: #0f172a; }
.travel-link-arrow { color: #64748b; font-weight: 700; }
.travel-link-desc { font-size: 10px; color: #7c8a9c; line-height: 1.45; }
.travel-link-wrap { position: relative; }
.travel-link-wrap .travel-link-label { padding-right: 32px; }
.travel-app-chip {
  position: absolute; right: 6px; top: 6px;
  padding: 2px 7px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em;
  color: #475569; background: rgba(255,255,255,0.92);
  border: 1px solid #d5dee8; box-shadow: 0 1px 3px rgba(100,116,139,0.16);
  cursor: pointer; display: none;
}
@media (max-width: 768px) { .travel-app-chip { display: inline-flex; align-items: center; } }
.travel-app-chip:active { transform: scale(0.96); }
.travel-price-slot:empty { display: none; }
.travel-price-loading { font-size: 10.5px; color: #94a3b8; }
.travel-price-list { display: flex; flex-wrap: wrap; gap: 6px; }
.travel-price-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 10.5px;
  color: #475569;
}
.travel-price-item strong { color: #b91c1c; }
.travel-price-note { font-size: 9.5px; color: #94a3b8; margin-top: 2px; }
.travel-foot {
  padding: 9px 16px 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .travel-modal { padding: 0; align-items: flex-end; }
  .travel-shell {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    border-bottom: none;
  }
  .travel-head { padding: 12px 13px 8px; }
  .travel-controls { grid-template-columns: 1fr 1fr; padding: 8px 13px 2px; gap: 7px; }
  .travel-controls .travel-field:first-child { grid-column: 1 / -1; }
  .travel-body { padding: 6px 13px 10px; gap: 10px; }
  .travel-link-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .travel-link { padding: 7px 8px; }
  .travel-link-label { font-size: 11px; }
  .travel-link-desc { font-size: 9.5px; }
  .travel-foot { padding: 8px 13px 14px; }
}

/* ================= 全局轻量 Toast ================= */
.global-toast-host {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  /* 全局提示必须高于卡册 / 海报 / 指南等所有弹窗遮罩（最高 100050） */
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  width: max-content;
  max-width: min(92vw, 420px);
}
.global-toast {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #0f172a;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7fb 60%, #e8eff7 100%);
  border: 1px solid rgba(203, 213, 225, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 24px rgba(15, 23, 42, 0.16);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 100%;
  word-break: break-word;
}
.global-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.global-toast--success { border-color: rgba(134, 239, 172, 0.9); color: #14532d; }
.global-toast--error { border-color: rgba(252, 165, 165, 0.95); color: #7f1d1d; }
.global-toast--info { border-color: rgba(147, 197, 253, 0.9); color: #1e3a8a; }

@media (max-width: 640px) {
  .global-toast-host {
    top: max(12px, env(safe-area-inset-top, 0px) + 8px);
    max-width: 94vw;
  }
  .global-toast { font-size: 11.5px; padding: 7px 12px; }
}

/* ================= 卡片正文日期文本 = 日历提醒入口 ================= */
.meta-date-ics {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  color: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.meta-date-ics:hover,
.meta-date-ics:focus-visible {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(226, 232, 240, 0.9) 100%);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.55), 0 1px 4px rgba(100, 116, 139, 0.16);
}
.meta-date-ics:active { box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.75); }
.timeline-meta-date.meta-date-ics { max-width: 100%; }

/* ================= 安检体验：管理员清空控件（仅解锁后渲染） ================= */
.security-vote-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}
.security-admin-clear {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 55%, #fecaca 100%);
  color: #991b1b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(153, 27, 27, 0.16);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.security-admin-clear:hover {
  background: linear-gradient(135deg, #ffecec 0%, #fecaca 60%, #fca5a5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 8px rgba(153, 27, 27, 0.24);
  transform: translateY(-1px);
}
.security-admin-clear:active { transform: translateY(0); }
.security-tag-admin-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  border-radius: 50%;
  border: 1px solid #fca5a5;
  background: #fff1f1;
  color: #b91c1c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.security-tag-admin-x:hover { background: #fecaca; color: #7f1d1d; }

@media (max-width: 640px) {
  .security-admin-clear { height: 21px; padding: 0 7px; font-size: 10px; }
}

/* ================= 纪念日：删除按钮（内置与自定义同款） ================= */
.anniv-del-btn {
  color: #b91c1c;
  border-color: #fecaca;
}
.anniv-del-btn:hover {
  color: #7f1d1d;
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
}

/* ================= 🎫 计划前往：标题末尾微胶囊 ================= */
.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.plan-chip:hover { border-color: #94a3b8; color: #0f172a; }
.plan-chip.is-active {
  border-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* ================= ✏️ 编辑：手机端弱化为微型胶囊 ================= */
.edit-soft-btn { transition: opacity 0.16s ease, border-color 0.16s ease; }

/* ================= 手机端精修（≤640px） ================= */
@media (max-width: 640px) {
  /* 1) 时光提醒：副标题允许自动换行，括号内完整保留演出标题与城市 */
  .anniv-meet-line {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 12px;
    line-height: 1.5;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .anniv-meet-line .meet-place-full { display: inline; }
  .anniv-meet-line .meet-place-short { display: none; }
  .anniv-main-line {
    font-size: 14.5px;
    line-height: 1.55;
    letter-spacing: -0.01em;
  }

  /* 2) 微时间轴卡片：收紧留白，恢复底部 5 个快捷按钮 */
  .timeline-card { gap: 2px; }
  .timeline-card-actions {
    padding-top: 0;
    border-top: 0;
    margin-top: 2px;
    gap: 6px;
  }
  .tl-quick-bar {
    margin-top: 4px;
    padding-top: 5px;
    gap: 5px;
  }
  .tl-quick-btn {
    height: 24px;
    padding: 0 7px;
    font-size: 11px;
    flex: 0 0 auto;
  }

  /* 3) 计划前往：标题末尾紧凑微胶囊 */
  .plan-chip {
    margin-left: 5px;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 6px;
  }

  /* 4) 编辑按钮：低调微型胶囊，不单独占行抢焦点 */
  .edit-soft-btn {
    font-size: 11px;
    padding: 2px 6px;
    min-height: 22px;
    height: auto;
    opacity: 0.72;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #64748b;
  }
  .edit-soft-btn:hover { opacity: 1; }

  /* 5) 出行比价：去返程日期上下单列，彻底避免 iOS 重叠 */
  .travel-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .travel-controls .travel-field,
  .travel-controls .travel-field input,
  .travel-controls .travel-select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .travel-hot-cities { padding: 0 13px 6px; }
}

.meet-place-full { display: inline; }
.meet-place-short { display: none; }

/* ================= 出行比价：出发城市下拉 + 热门胶囊 ================= */
.travel-select {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid #d7dfe8;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  font-family: inherit;
}
.travel-select:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.22); }
.travel-hot-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 16px 2px;
}
.travel-hot-chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.travel-hot-chip:hover { border-color: #94a3b8; color: #0f172a; }
.travel-hot-chip.is-active {
  border-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #0f172a;
}

/* ================= 足迹：同行搭子标签 ================= */
.fp-buddy-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #475569;
}
.fp-buddy-row input {
  flex: 1 1 8rem;
  min-width: 0;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid #d7dfe8;
  background: #fff;
  font-size: 11px;
}
.fp-buddy-chip {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: #fff;
  color: #64748b;
  font-size: 10.5px;
  cursor: pointer;
}
.fp-buddy-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
  color: #334155;
  font-size: 10.5px;
  font-weight: 600;
}

/* ================= 💬 帮助与反馈 / 📬 反馈箱 ================= */
.feedback-entry-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.feedback-entry-btn:hover {
  color: #0f172a;
  border-color: #94a3b8;
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 8px rgba(15, 23, 42, 0.09);
}
.feedback-entry-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f87171, #dc2626);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
}

.feedback-help-list {
  margin: 0;
  padding-left: 1.05rem;
  list-style: decimal;
  color: #475569;
  font-size: 11.5px;
  line-height: 1.75;
}
.feedback-help-list li { margin-bottom: 2px; }

.feedback-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feedback-cat-chip {
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.feedback-cat-chip:hover { color: #0f172a; border-color: #94a3b8; }
.feedback-cat-chip.is-active {
  color: #0f172a;
  border-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #dde5ee 100%);
  box-shadow: inset 0 1px 0 #ffffff;
}

.feedback-counter { font-size: 10.5px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.feedback-counter.is-over { color: #dc2626; font-weight: 700; }

.feedback-inbox-item {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
  padding: 10px 12px;

}
.feedback-inbox-item.is-read { opacity: 0.66; }
.feedback-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.feedback-inbox-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: #0f172a;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #fff;
}
.feedback-inbox-time { font-size: 10px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.feedback-inbox-body {
  font-size: 12px;
  line-height: 1.7;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
}
.feedback-inbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  font-size: 10px;
  color: #94a3b8;
  word-break: break-all;
}
.feedback-inbox-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 7px;
}
.feedback-del-btn {
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: linear-gradient(135deg, #fff 0%, #fee2e2 100%);
  color: #b91c1c;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.feedback-del-btn:hover { border-color: #dc2626; color: #991b1b; }

@media (max-width: 640px) {
  #footer-feedback-bar { padding-bottom: 56px; }
  .feedback-entry-btn { height: 25px; padding: 0 10px; font-size: 10.5px; }
  .feedback-inbox-body { font-size: 11.5px; }
}

/* ================= ❓ 使用帮助手风琴 ================= */
/* 使用帮助：目录默认折叠，仅保留搜索框与右上角切换按钮 */
.feedback-help-toggle {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #475569;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: color 0.18s ease, box-shadow 0.18s ease;
}
.feedback-help-toggle:active {
  color: #1e293b;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
}
.help-guide-list.hidden { display: none; }
.help-guide-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.help-guide-item {
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fb 100%);
  overflow: hidden;
}
.help-guide-item[open] {
  border-color: rgba(148, 163, 184, 0.62);
  box-shadow: inset 0 1px 0 #ffffff;
}
.help-guide-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  cursor: pointer;
  list-style: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  user-select: none;
}
.help-guide-summary::-webkit-details-marker { display: none; }
.help-guide-summary::after {
  content: '▾';
  margin-left: auto;
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.16s ease;
}
.help-guide-item[open] > .help-guide-summary::after { transform: rotate(180deg); }
.help-guide-summary:hover { color: #0f172a; }
.help-guide-icon { font-size: 11.5px; line-height: 1; }
.help-guide-points {
  margin: 0;
  padding: 0 10px 7px 22px;
  list-style: disc;
  font-size: 11px;
  line-height: 1.72;
  color: #52627a;
}
.help-guide-points li { margin-bottom: 1px; }
.help-guide-code {
  padding: 0 3px;
  border-radius: 4px;
  background: #eef2f7;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #334155;
  font-size: 10px;
}

@media (max-width: 640px) {
  .help-guide-list { gap: 4px; }
  .help-guide-summary { padding: 5px 8px; font-size: 11px; }
  .help-guide-points { font-size: 10.5px; line-height: 1.65; }
}

/* ================= 🚄 出行比价：四大类手风琴 ================= */
.travel-group {
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fb 100%);
  overflow: hidden;
}
.travel-group + .travel-group { margin-top: 6px; }
.travel-group.is-open {
  border-color: rgba(148, 163, 184, 0.62);
  box-shadow: inset 0 1px 0 #ffffff;
}
.travel-group-head {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 9px 11px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.travel-group-icon { font-size: 13px; line-height: 1; }
.travel-group-title { font-size: 12px; font-weight: 700; color: #0f172a; flex: 0 0 auto; }
.travel-group-hint {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.travel-group-count {
  flex: 0 0 auto;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #64748b;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.travel-group-chev { font-size: 10px; color: #94a3b8; transition: transform 0.16s ease; }
.travel-group.is-open .travel-group-chev { transform: rotate(180deg); }
.travel-group-panel { padding: 0 9px 9px; }
.travel-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  margin: 2px 0 7px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.travel-copy-btn:hover { color: #0f172a; border-color: #94a3b8; }

/* ================= 档案页：计划前往 / 足迹 与 编辑同一行 ================= */
.show-card-quick-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
}

/* ================= 专题导航：手机端折叠历史专题 ================= */
.theme-more-btn {
  display: none;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 640px) {
  /* 1) 微时间轴底部 5 个快捷按钮：强制显示，禁止被任何规则隐藏 */
  #home-upcoming-timeline > .timeline-card { height: auto !important; min-height: 0 !important; }
  .timeline-card .tl-quick-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .timeline-card .tl-quick-btn {
    display: inline-flex !important;
    height: 25px;
    padding: 0 8px;
    font-size: 10.5px;
  }
  /* 卡片信息区与底部之间不再留空 */
  .timeline-card,
  .timeline-card-main,
  .timeline-card-body { min-height: 0 !important; gap: 2px; }
  .timeline-card-actions { margin-top: 2px !important; min-height: 0 !important; }

  /* 2) 出行比价：去返程日期单列 + 手风琴更紧凑 */
  .travel-group-head { padding: 8px 10px; }
  .travel-group-title { font-size: 11.5px; }
  .travel-group-hint { font-size: 10px; }
  .travel-group-panel { padding: 0 8px 8px; }
  .travel-copy-btn { width: 100%; justify-content: center; height: 26px; }

  /* 3) 档案卡：计划前往/足迹 与 编辑 严格同一行左右对齐 */
  .show-card .show-card-quick-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 6px !important;
  }
  .show-card .show-card-quick-row .plan-chip { margin-left: 0; }
  .show-card .show-card-quick-row .edit-soft-btn { flex: 0 0 auto; margin-left: auto; }

  /* 4) 专题导航：默认只留最新 1 个专题 + 音乐节合集，其余折叠 */
  #tour-themes-bar .theme-extra { display: none; }
  #tour-themes-bar.is-expanded .theme-extra { display: inline-flex; }
  #tour-themes-bar .theme-more-btn { display: inline-flex; align-items: center; }
}

/* ================= 🔗 粉籍统一提醒弹窗（冷银白液态金属磨砂） ================= */
.fandom-conflict-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
.fandom-conflict-card {
  width: 100%;
  max-width: 22.5rem;
  padding: 16px 16px 13px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(243,246,250,0.95) 52%, rgba(228,234,242,0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.62);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(255,255,255,0.6), 0 18px 46px rgba(15, 23, 42, 0.22);
  color: #1e293b;
  animation: fandomCardIn 0.18s ease-out;
}
@keyframes fandomCardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fandom-conflict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.fandom-conflict-title { font-size: 13px; font-weight: 700; color: #0f172a; letter-spacing: 0.01em; }
.fandom-conflict-close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
}
.fandom-conflict-close:hover { color: #334155; background: rgba(148,163,184,0.16); }
.fandom-conflict-text {
  font-size: 11.5px;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 9px;
}
.fandom-conflict-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
  box-shadow: inset 0 1px 0 #ffffff;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}
.fandom-conflict-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 0 1px rgba(148,163,184,0.35);
}
.fandom-conflict-vs { color: #94a3b8; font-size: 11px; font-weight: 600; }
.fandom-conflict-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fandom-conflict-btn {
  width: 100%;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, #ffffff 0%, #f3f6fa 52%, #e6ecf3 100%);
  color: #334155;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 1px 3px rgba(100,116,139,0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
}
.fandom-conflict-btn:hover { color: #0f172a; transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(100,116,139,0.2); }
.fandom-conflict-btn.is-primary {
  border-color: rgba(100, 116, 139, 0.7);
  background: linear-gradient(135deg, #fbfcfe 0%, #e3e9f1 50%, #cfd8e3 100%);
  color: #0f172a;
}
.fandom-conflict-btn.is-text {
  height: 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 11px;
}
.fandom-conflict-btn.is-text:hover { color: #475569; transform: none; box-shadow: none; }
.fandom-conflict-foot {
  margin: 9px 0 0;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
}

/* ================= ❓ 使用帮助：四大分类手风琴（加粗小标题 + 说明） ================= */
.help-guide-summary { flex-wrap: nowrap; }
.help-guide-sub {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 2px;
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.help-guide-points {
  padding: 7px 10px 8px 12px;
  margin: 0 8px 8px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fbfcfe 0%, #f2f6fa 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  list-style: none;
  line-height: 1.6;
}
.help-guide-points li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.6;
  color: #52627a;
  word-break: break-word;
}
.help-guide-points li:last-child { margin-bottom: 0; }
.help-guide-actions { padding: 0 10px 10px 12px; }
.help-guide-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #e8eef5);
  color: #1e293b;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
}
.help-guide-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #94a3b8;
  font-weight: 700;
}
.help-guide-pt-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 11px;
}
.help-guide-pt-sep { color: #94a3b8; }
.help-guide-pt-desc { color: #52627a; }

@media (max-width: 640px) {
  .help-guide-sub { display: none; }
  .help-guide-points { margin: 0 6px 6px; padding: 6px 8px 7px 10px; }
  .help-guide-points li { font-size: 10.5px; line-height: 1.62; }
  .help-guide-pt-title { font-size: 10.5px; }
}

/* ================= ✨ 共建感谢名单（公开脱敏） ================= */
.fb-thanks-wall {
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 100%);
  box-shadow: inset 0 1px 0 #ffffff;
}
.fb-thanks-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.fb-thanks-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 60%, #e3eaf2 100%);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.fb-thanks-chip-sep { color: #94a3b8; margin: 0 1px; }
.fb-thanks-anon {
  margin-top: 6px;
  font-size: 10px;
  color: #94a3b8;
}
.fb-thanks-empty {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.6;
}

/* ================= 💌 提交成功致谢弹窗 ================= */
.fb-thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-family: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  transition: opacity 0.26s ease;
}
.fb-thanks-overlay.is-hiding { opacity: 0; }
.fb-thanks-card {
  position: relative;
  width: 100%;
  max-width: 20rem;
  padding: 20px 18px 15px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(244,247,251,0.96) 52%, rgba(226,232,241,0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.62);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(255,255,255,0.65), 0 18px 46px rgba(15, 23, 42, 0.24);
  animation: fbThanksIn 0.22s ease-out;
}
@keyframes fbThanksIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fb-thanks-close {
  position: absolute;
  top: 8px;
  right: 9px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 6px;
  cursor: pointer;
}
.fb-thanks-close:hover { color: #334155; background: rgba(148,163,184,0.16); }
.fb-thanks-icon { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.fb-thanks-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
}
.fb-thanks-text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: #475569;
  word-break: break-word;
}
.fb-thanks-foot {
  margin-top: 11px;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 9.5px;
  color: #94a3b8;
}

/* ================= 📬 管理员：移出公开鸣谢开关 ================= */
.fb-public-toggle {
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.fb-public-toggle:hover { color: #0f172a; border-color: #94a3b8; }
.fb-public-toggle.is-off {
  border-color: rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
  color: #b91c1c;
}

/* ============================================================
   📱 手机端微时间轴卡片兜底（≤768px）
   根因：.tl-quick-bar 的 flex: 0 0 100% 在「column 方向」下被解析成
   100% 的“高度”，配合卡片 height:100% + justify-between + overflow:hidden，
   卡片主内容被压缩、快捷栏被撑成整卡高度并裁切 → 下半屏空白且 5 个按钮看不见。
   这里改为竖向自适应 + 快捷栏按内容高度排布。
   ============================================================ */
@media (max-width: 768px) {
  #home-upcoming-timeline > .timeline-card,
  .timeline-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }
  .timeline-card > .timeline-card-main,
  .timeline-card > .timeline-card-actions {
    flex: 0 0 auto !important;
    min-height: 0 !important;
  }
  .timeline-card .timeline-card-body {
    min-height: 0 !important;
    flex: 0 1 auto !important;
  }
  /* 关键：竖向布局下不能再用 100% 作为 flex-basis */
  .timeline-card .tl-quick-bar {
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  .timeline-card .tl-quick-bar .tl-quick-btn {
    flex: 0 0 auto !important;
    height: 25px !important;
    line-height: 1 !important;
    padding: 0 7px !important;
    font-size: 10px !important;
    letter-spacing: -0.01em !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ===== 移动端：卡片内嵌展开面板横向溢出修复 =====
   根因：.timeline-card { flex-wrap: wrap } 与 .tl-quick-panel { flex: 0 0 100% } 叠加，
   在 column 方向下 flex-basis:100% 被解析成「高度的 100%」，面板被 wrap 到卡片右侧形成
   第二列，直接把布局视口从 390px 撑到 698px，页面整体被压扁、右侧出现白边。
   修复：html/body 锁宽；移动端卡片强制单列不换行；面板改为 in-flow 全宽静态块。 */
html {
  max-width: 100vw;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
body {
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

@media (max-width: 768px) {
  .timeline-card,
  .show-card {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .timeline-card .tl-quick-panel,
  .timeline-card .tl-quick-panel-inner,
  .show-card [data-footer-panel],
  .show-card .tour-drawer,
  .show-card .security-panel,
  .show-card [data-buddy-card] {
    position: static !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 10px;
    box-sizing: border-box !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .timeline-card .tl-quick-panel-inner { margin-top: 0; }
  .timeline-card .tl-quick-panel-title,
  .timeline-card .tl-quick-panel-body { max-width: 100%; min-width: 0; }
  .timeline-card .tl-map-menu { flex-wrap: wrap; }
} 

/* ================= 首页微时间轴卡片：桌面 / 手机双端排版精修 ================= */
/* 桌面端：大海报顶对齐 + 右上角状态/计划/详情同一行 + 底部 4 等分 */
@media (min-width: 769px) {
  #home-upcoming-timeline .timeline-card {
    align-items: stretch !important;
    gap: 10px !important;
    padding: 14px 16px !important;
  }
  #home-upcoming-timeline .timeline-card-main {
    align-items: flex-start !important;
    gap: 14px !important;
  }
  #home-upcoming-timeline .timeline-card .poster-square-box {
    width: 92px !important;
    height: 124px !important;
    aspect-ratio: auto !important;
    border-radius: 10px !important;
    flex: 0 0 92px !important;
    align-self: flex-start;
  }
  #home-upcoming-timeline .timeline-card-body {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 10px;
    min-width: 0;
  }
  #home-upcoming-timeline .timeline-title-row {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start !important;
    row-gap: 4px;
  }
  #home-upcoming-timeline .tl-plan-inline { display: none !important; }
  #home-upcoming-timeline .timeline-card-actions .plan-chip {
    margin-left: 0;
    height: 28px !important;
    min-height: 28px;
    line-height: 26px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
  }
  #home-upcoming-timeline .timeline-card-actions {
    order: 2;
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    justify-content: flex-end !important;
    align-items: center;
    gap: 8px;
  }
  #home-upcoming-timeline .timeline-card-actions .tl-state-chip,
  #home-upcoming-timeline .timeline-card-actions .tl-detail-btn {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px;
    box-sizing: border-box;
    line-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    white-space: nowrap;
  }
  #home-upcoming-timeline .timeline-card-meta {
    order: 3;
    flex: 0 0 100%;
    margin-top: 2px !important;
  }
  #home-upcoming-timeline .timeline-slot-row {
    order: 4;
    flex: 0 0 100%;
    margin-top: 2px;
  }
  #home-upcoming-timeline .tl-quick-bar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    flex: 0 0 auto;
  }
  #home-upcoming-timeline .tl-quick-btn {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    justify-content: center;
    text-align: center;
  }
  #home-upcoming-timeline .tl-quick-panel {
    order: 9;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* 手机端：68×92 海报 + 紧凑信息区 + 状态/详情右下对齐 + 2×2 等宽底栏 */
@media (max-width: 768px) {
  #home-upcoming-timeline .timeline-card-main {
    align-items: flex-start !important;
    gap: 10px !important;
  }
  #home-upcoming-timeline .timeline-card .poster-square-box {
    width: 68px !important;
    height: 92px !important;
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    flex: 0 0 68px !important;
    align-self: flex-start;
  }
  #home-upcoming-timeline .timeline-card-body {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  #home-upcoming-timeline .timeline-title-row {
    align-items: center !important;
    gap: 6px !important;
    row-gap: 4px;
  }
  #home-upcoming-timeline .tl-plan-action { display: none !important; }
  #home-upcoming-timeline .timeline-title-row .plan-chip {
    margin-left: 4px;
    font-size: 11px !important;
    padding: 2px 7px !important;
    height: auto !important;
    line-height: 1.25 !important;
    border-radius: 999px;
  }
  #home-upcoming-timeline .timeline-card-meta {
    margin-top: 2px !important;
    line-height: 1.45;
  }
  #home-upcoming-timeline .timeline-slot-row { margin-top: 2px; }
  #home-upcoming-timeline .timeline-card-actions {
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }
  #home-upcoming-timeline .timeline-card-actions .tl-state-chip,
  #home-upcoming-timeline .timeline-card-actions .tl-detail-btn {
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px;
    box-sizing: border-box;
    line-height: 26px;
    padding: 0 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    white-space: nowrap;
  }
  #home-upcoming-timeline .tl-quick-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    flex: 0 0 auto;
  }
  #home-upcoming-timeline .tl-quick-btn {
    width: 100% !important;
    height: 30px !important;
    padding: 0 6px !important;
    font-size: 11.5px !important;
    letter-spacing: 0;
    justify-content: center !important;
    text-align: center;
  }
  #home-upcoming-timeline .tl-quick-panel {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    position: static !important;
  }
}

/* ================= 开屏动效补充 & 海报占位封面 ================= */
#app-splash-screen { z-index: 99999; }
#app-splash-screen .splash-inner { gap: 14px; }
#app-splash-screen .splash-hint {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #94a3b8;
  opacity: 0.85;
  margin-top: 18px;
}
#app-splash-screen, #app-splash-screen * { cursor: pointer; }

/* 无海报 / 海报不可用时的冷银渐变文字封面（替代灰色 ONER 方块） */
.poster-square-box .poster-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: linear-gradient(150deg, #f8fafc 0%, #e2e8f0 45%, #cbd5e1 100%);
}
.poster-square-box .poster-placeholder .poster-fallback-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #64748b 0%, #ffffff 45%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= 海报预览灯箱（列表缩略图 → 点开完整海报） ================= */
#poster-hd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  cursor: zoom-out;
}
#poster-hd-lightbox.hidden { display: none; }
.phd-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 96vw;
}
.phd-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 160px;
  max-width: 92vw;
  max-height: 82vh;
}
#phd-img {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.28s ease, transform 0.28s ease;
  background: rgba(255, 255, 255, 0.04);
}
#phd-img.is-ready { opacity: 1; transform: none; }
.phd-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.9);
  background: linear-gradient(150deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.45));
  border-radius: 12px;
  min-height: 160px;
}
.phd-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.phd-close:hover { background: rgba(51, 65, 85, 0.85); }
.phd-meta { text-align: center; max-width: 92vw; }
.phd-title {
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  word-break: break-all;
}
.phd-tip {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(203, 213, 225, 0.8);
}
body.phd-open { overflow: hidden; }

/* ================= 微时间轴：顶部操作栏全端统一（徽标左 / 三胶囊右 / 标题通栏） ================= */
#home-upcoming-timeline .timeline-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 3px !important;
  min-width: 0 !important;
  width: 100%;
}
#home-upcoming-timeline .timeline-title-row {
  order: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  min-width: 0;
}
#home-upcoming-timeline .timeline-title-row > .timeline-card-actions {
  order: 0 !important;
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}
#home-upcoming-timeline .timeline-card-title {
  order: 2 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}
#home-upcoming-timeline .timeline-card-meta {
  order: 3 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 2px 0 0 !important;
}
#home-upcoming-timeline .timeline-slot-row {
  order: 4 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
}
/* 桌面端胶囊：28px 通高 */
#home-upcoming-timeline .timeline-card-actions .tl-state-chip,
#home-upcoming-timeline .timeline-card-actions .tl-detail-btn,
#home-upcoming-timeline .timeline-card-actions .plan-chip {
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px;
  box-sizing: border-box;
  line-height: 28px !important;
  padding: 0 10px !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #home-upcoming-timeline .timeline-title-row { gap: 6px !important; }
  #home-upcoming-timeline .timeline-title-row > .timeline-card-actions { gap: 6px !important; }
  /* 手机端紧凑胶囊：单行稳稳放下，不再掉到卡片底部 */
  #home-upcoming-timeline .timeline-card-actions .tl-state-chip,
  #home-upcoming-timeline .timeline-card-actions .tl-detail-btn,
  #home-upcoming-timeline .timeline-card-actions .plan-chip {
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px;
    line-height: 24px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  #home-upcoming-timeline .timeline-card-actions .tl-plan-action { display: inline-flex !important; }
  #home-upcoming-timeline .timeline-card-title { font-size: 13.5px; }
}

/* ================= 卡片「+ 足迹」胶囊：与计划前往等高等宽，手机端自动换行 ================= */
.plan-chip.footprint-chip {
  margin-left: 0;
  height: 26px;
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
}
.plan-chip.footprint-chip.is-active {
  border-color: rgba(148, 163, 184, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 55%, #cbd5e1 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.show-card-quick-row { flex-wrap: wrap; }
@media (max-width: 768px) {
  .plan-chip.footprint-chip {
    height: 24px;
    min-height: 24px;
    padding: 0 8px;
  }
  .show-card-quick-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .archive-strip .flex.items-center.gap-1\.5.flex-wrap.justify-start { row-gap: 6px; }
}

/* 「计划前往」与「+ 足迹」在近期演出卡片内严格等高 */
.show-card-quick-row .plan-chip {
  height: 26px;
  min-height: 26px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .show-card-quick-row .plan-chip {
    height: 24px;
    min-height: 24px;
    padding: 0 8px;
  }
}

/* ================= 🎪 系列专题档案弹窗：海报锁 3:4、顶栏可换行 ================= */
#series-modal-body .series-poster-box {
  width: 84px;
  height: 112px;
  flex: 0 0 84px;
  align-self: flex-start;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: auto;
}
#series-modal-body .series-poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#series-modal-body .series-card-top {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap !important;
  gap: 4px !important;
  box-sizing: border-box;
}
#series-modal-body .series-card-top-actions {
  width: auto;
  max-width: 100%;
  flex-wrap: wrap !important;
  gap: 4px !important;
  min-width: 0;
  justify-content: flex-start;
}
#series-modal-body .series-artist-badge,
#series-modal-body .series-status-chip,
#series-modal-body .series-card-top-actions .plan-chip,
#series-modal-body .series-card-top-actions .tour-status-badge,
#series-modal-body .series-card-top-actions .show-status-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ================= 演出卡片统一顶栏：艺人标签左 / 计划+足迹右 / 标题另起一行 ================= */
.show-card-top-row,
.series-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}
.show-card-top-actions,
.series-card-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.show-card-title { display: block; width: 100%; margin-top: 6px; }
.show-card-top-actions .plan-chip,
.archive-top-actions .plan-chip,
.series-card-top-actions .plan-chip {
  height: 26px;
  min-height: 26px;
  line-height: 26px;
  padding: 0 9px;
  font-size: 11px;
  margin-left: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.archive-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}
.archive-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.archive-strip-title { display: block; width: 100%; margin-top: 4px; }

@media (max-width: 768px) {
  .show-card-top-row,
  .archive-title-row,
  .series-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
  }
  .show-card-top-actions,
  .archive-top-actions,
  .series-card-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .show-card-top-actions .plan-chip,
  .archive-top-actions .plan-chip,
  .series-card-top-actions .plan-chip {
    height: 24px;
    min-height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-size: 11px;
    margin-left: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .show-card-title,
  .archive-strip-title {
    display: block;
    width: 100%;
    margin-top: 6px;
    font-weight: 600;
  }
}

/* ================= 档案筛选栏：城市下拉文字可见 + 手机端年份/城市同排 ================= */
#archive-year-filter,
#archive-city-filter {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  opacity: 1 !important;
  background-color: #ffffff !important;
}
#archive-year-filter option,
#archive-city-filter option {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  background: #ffffff !important;
}
.archive-filter-selects {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .archive-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
  }
  .archive-filter-bar > .seg-group {
    order: 0;
    flex: 0 0 auto;
  }
  .archive-filter-bar .archive-filter-selects {
    order: 1;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    flex: 0 0 100%;
  }
  .archive-filter-bar .archive-filter-selects .select-clean,
  #archive-year-filter,
  #archive-city-filter {
    width: 100% !important;
    max-width: none !important;
    height: 37px;
    min-height: 37px;
    box-sizing: border-box;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 0 22px 0 8px;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    text-overflow: ellipsis;
  }
}

/* ================= 手机端首页微时间轴底部 4 个快捷按钮：统一冷银白磨砂 ================= */
@media (max-width: 768px) {
  #home-upcoming-timeline .tl-quick-bar .tl-quick-btn,
  #home-upcoming-timeline .tl-quick-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 48%, #e8eef5 100%) !important;
    border: 1px solid #d5dde6 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(100, 116, 139, 0.12) !important;
    border-radius: 7px !important;
  }
  #home-upcoming-timeline .tl-quick-bar .tl-quick-btn.is-active {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
  }
}

/* ================= 找搭子：隐私提示条 + 物料互换 ================= */
.buddy-privacy-strip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.buddy-material-input {
  width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 12px;
  color: #1e293b;
}
.buddy-filter-chip {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #d5dde6;
  background: #fff;
  color: #475569;
  font-size: 10px;
  flex-shrink: 0;
}
.buddy-filter-chip.is-active {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

/* ================= 🎟️ 抢票与座位对照表 ================= */
.seat-table-wrap {
  border-radius: 12px;
  border: 1px solid #dbe3ec;
  overflow: hidden;
  background: #fff;
}
.seat-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: linear-gradient(135deg, #fbfdff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}
.seat-chip {
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid #d5dde6;
  background: #fff;
  color: #334155;
  font-size: 11px;
  white-space: nowrap;
}
.seat-chip.is-active {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}
.seat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  table-layout: fixed;
}
.seat-table th {
  text-align: left;
  padding: 7px 8px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.seat-table td {
  padding: 7px 8px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  word-break: break-all;
  vertical-align: middle;
}
.seat-table tbody tr:last-child td { border-bottom: none; }
.seat-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #e2e8f0;
  background: #fbfdff;
}
.seat-form input[type="text"] {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  color: #1e293b;
  background: #fff;
}
@media (max-width: 768px) {
  .seat-table { font-size: 10.5px; table-layout: auto; }
  .seat-table th, .seat-table td { padding: 5px 5px; white-space: normal; }
  .seat-table th:nth-child(1), .seat-table td:nth-child(1) { width: 21%; }
  .seat-table th:nth-child(2), .seat-table td:nth-child(2) { width: 17%; }
  .seat-table th:nth-child(3), .seat-table td:nth-child(3) { width: 28%; }
  .seat-form { grid-template-columns: 1fr; }
}

/* ================= 足迹：中国省份点亮地图 ================= */
#footprint-china-map-card path:hover { filter: brightness(0.97); }

/* 足迹档案标题栏：主标题 / 隐私说明上下分层，避免手机端被右侧文字挤断 */
.footprint-archive-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.footprint-archive-title {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.footprint-archive-note {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: #64748b;
  white-space: normal;
  word-break: break-word;
}
@media (max-width: 640px) {
  .footprint-archive-title {
    font-size: clamp(12px, 3.7vw, 14px);
    letter-spacing: -0.01em;
  }
}
.fp-province-chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #d5dde6;
  background: #fff;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.fp-province-chip.is-active {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

/* ================= 🍜 同款打卡：卡片与灯箱（独立弹窗内使用） ================= */
.food-spot-box {
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #fbfdff 0%, #f1f5f9 100%);
}
.food-admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.food-admin-form input {
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  background: #fff;
  color: #1e293b;
}
.food-admin-form input:nth-child(3) { grid-column: 1 / -1; }
@media (max-width: 768px) {
  .food-admin-form { grid-template-columns: 1fr; }
  .food-admin-form input:nth-child(3) { grid-column: auto; }
}

/* ================= 添加到手机桌面的轻量提示条 ================= */
.install-hint-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 44rem;
  margin: 0 auto 4px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 8px rgba(100, 116, 139, 0.14);
  font-size: 11px;
  line-height: 1.45;
  color: #334155;
}
.install-hint-text { flex: 1 1 auto; min-width: 0; }
.install-hint-steps { color: #64748b; }
.install-hint-close {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pwa-install-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 64px;
  z-index: 25;
  gap: 7px;
  margin: 0 auto;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 24px rgba(100, 116, 139, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.pwa-install-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pwa-install-bar.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.pwa-install-actions { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.pwa-install-action {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #e8eef5);
  color: #1e293b;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  white-space: nowrap;
}
@media (max-width: 639.98px) {
  .pwa-install-bar { display: flex; }
}
@media (max-width: 768px) {
  .install-hint-bar {
    margin: 0 8px 6px;
    border-radius: 14px;
    font-size: 10.5px;
  }
}

/* ================= ❓ 顶部指南入口 ================= */
/* 顶栏右侧：登录 / 指南 统一新拟态按钮（10px 圆角、32px 高） */
.header-actions { gap: 8px; }
.header-unified-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 48%, #e8eef5 100%);
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 4px rgba(100, 116, 139, 0.16);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}
.nav-guide-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 50%, #dde5ef 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 8px rgba(100, 116, 139, 0.22);
}
@media (max-width: 768px) {
  header .max-w-5xl { gap: 6px !important; padding-left: 10px !important; padding-right: 10px !important; }
  header .max-w-5xl > .flex:last-child { gap: 5px !important; flex-wrap: nowrap; }
  header #user-auth-btn,
  header button[onclick="loadTourData()"] {
    padding: 0 7px !important;
    height: 28px;
    font-size: 11px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-guide-btn { height: 28px; padding: 0 8px; font-size: 11px; }
}

/* ================= 欢迎指引弹窗 ================= */
.onb-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.onb-welcome-overlay.is-open { opacity: 1; }
.onb-welcome-overlay.hidden { display: none !important; }
.onb-welcome-card {
  width: 100%;
  max-width: 30rem;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid #d5dde6;
  background: linear-gradient(150deg, #ffffff 0%, #f5f8fb 52%, #e8eef5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 18px 48px rgba(15, 23, 42, 0.28);
  padding: 16px 16px 14px;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.22s ease;
}
.onb-welcome-overlay.is-open .onb-welcome-card { transform: none; }
.onb-welcome-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.onb-welcome-title { font-size: 15px; font-weight: 800; color: #0f172a; line-height: 1.35; }
.onb-welcome-sub { margin-top: 4px; font-size: 11px; color: #64748b; line-height: 1.5; }
.onb-welcome-x {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  line-height: 1;
}
.onb-steps { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.onb-step {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid #dbe3ec;
  background: rgba(255, 255, 255, 0.86);
}
.onb-step-no {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #1e293b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.onb-step-title { font-size: 12px; font-weight: 700; color: #0f172a; }
.onb-step-desc { margin-top: 2px; font-size: 11px; color: #64748b; line-height: 1.55; }
.onb-welcome-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.onb-btn-primary {
  flex: 1 1 auto;
  min-width: 8rem;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.onb-btn-ghost {
  flex: 1 1 auto;
  min-width: 8rem;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}
.onb-welcome-foot { margin-top: 8px; text-align: center; font-size: 10px; color: #94a3b8; }

/* ================= 场景化微提示条 ================= */
.onb-host { position: relative; }
.onb-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #c7dbf2;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fd 55%, #e2edfa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 5px rgba(96, 133, 173, 0.12);
  font-size: 11px;
  line-height: 1.55;
  color: #334155;
}
.onb-tip-badge {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c7dbf2;
  color: #3b6d9e;
  font-size: 9.5px;
  font-weight: 700;
}
.onb-tip-text { flex: 1 1 12rem; min-width: 0; }
.onb-tip-close {
  flex: 0 0 auto;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 10px;
  white-space: nowrap;
}
.onb-help-dot {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(100, 116, 139, 0.18);
}
.onb-help-dot:hover { color: #334155; border-color: #94a3b8; }
/* 折叠标题栏内的「?」按钮改为同行水平并排，不再绝对定位叠在右上角撑高卡片 */
.fp-collapse-head { flex-wrap: nowrap; }
.fp-collapse-head > .onb-help-dot,
.onb-help-dot.is-inline {
  position: static !important;
  top: auto !important;
  right: auto !important;
  z-index: auto !important;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.07);
}
.fp-collapse-head > .onb-help-dot + .fp-collapse-caret { margin-left: 2px; }
/* 卡片头右侧为新手指引按钮留出安全区，避免与复选框等控件重叠 */
.onb-host > .fan-pref-head { padding-right: 32px; }
@media (max-width: 768px) {
  .onb-welcome-card { padding: 13px 12px 12px; border-radius: 16px; }
  .onb-welcome-title { font-size: 13.5px; }
  .onb-tip { font-size: 10.5px; padding: 7px 8px; }
}

/* ================= 🎟️ 抢票表：区域筛选 / 吸顶滚动 / 折叠登记 ================= */
.seat-zone-toolbar { padding-top: 0; }
.seat-table-scroll {
  max-height: 210px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.seat-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.seat-form-toggle { padding: 8px; border-top: 1px solid #e2e8f0; background: #fbfdff; }
.seat-form-btn {
  width: 100%;
  height: 32px;
  border-radius: 9px;
  border: 1px dashed #b6c4d4;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
}
.seat-form-btn:hover { border-color: #94a3b8; }
.seat-form-chev { margin-left: 4px; color: #94a3b8; }
.seat-form { grid-template-columns: 1fr 1fr; border-top: none; }
.seat-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.seat-field > span { font-size: 10px; color: #64748b; font-weight: 600; }
.seat-select {
  width: 100%;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
input.seat-select { background-image: none; }
.seat-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 2px;
}
@media (max-width: 768px) {
  .seat-table-scroll { max-height: 210px; }
  .seat-form { grid-template-columns: 1fr; }
  .seat-select { height: 36px; line-height: 36px; padding: 0 10px; font-size: 12px; }
  .seat-toolbar { gap: 5px; padding: 7px; }
}

/* ================= 📬 反馈箱 v2：统一操作按钮 / 未处理·已处理切换 / 站长回复 ================= */
.feedback-inbox-tabs {
  display: flex;
  gap: 6px;
  margin: 2px 0 4px;
}
.feedback-inbox-tab {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .16s ease;
}
.feedback-inbox-tab:hover { color: #0f172a; border-color: #94a3b8; }
.feedback-inbox-tab.is-active {
  color: #0f172a;
  border-color: #64748b;
  background: linear-gradient(135deg, #f8fafc 0%, #dde5ee 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(15, 23, 42, .08);
}

/* 右下角操作按钮：尺寸、行高、圆角、内边距完全统一 */
.feedback-inbox-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.feedback-inbox-actions button {
  height: 30px;
  line-height: 30px;
  padding: 0 11px;
  font-size: 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.fb-reply-btn {
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
  color: #334155;
}
.fb-reply-btn:hover { border-color: #64748b; color: #0f172a; }
.fb-reply-btn.is-current {
  border-color: #64748b;
  background: linear-gradient(135deg, #f8fafc 0%, #dbe3ec 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 #ffffff;
}
.fb-reopen-btn {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  color: #64748b;
}
.fb-reopen-btn:hover { color: #0f172a; border-color: #94a3b8; }
.feedback-inbox-actions .fb-public-toggle,
.feedback-inbox-actions .feedback-del-btn {
  height: 30px;
  line-height: 30px;
  padding: 0 11px;
  font-size: 12px;
  border-radius: 999px;
}
.feedback-inbox-reply {
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
  font-size: 11px;
  color: #334155;
  line-height: 1.6;
}

/* 公开鸣谢墙：站长回复胶囊 */
.fb-thanks-replies {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-thanks-reply-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.fb-thanks-reply-who { font-size: 10.5px; color: #64748b; font-weight: 600; }
.fb-thanks-reply-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
  font-size: 10.5px;
  color: #334155;
  line-height: 1.6;
}

/* 我的反馈进度 */
.fb-mine-list { display: flex; flex-direction: column; gap: 6px; }
.fb-mine-item {
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%);
  padding: 7px 10px;
}
.fb-mine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}
.fb-mine-state { color: #94a3b8; }
.fb-mine-state.is-done { color: #0f172a; }
.fb-mine-reply {
  margin-top: 5px;
  font-size: 10.5px;
  color: #334155;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .feedback-inbox-actions button { padding: 0 9px; font-size: 11px; }
}

/* ================= 🎟️ 抢票表 v3：组合下拉 + 二次核对弹窗 ================= */
.seat-combo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-width: 0;
}
.seat-combo .seat-select { min-width: 0; }

.seat-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.seat-confirm-card {
  width: 100%;
  max-width: 380px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(150deg, #ffffff 0%, #eef2f7 55%, #dde5ee 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22), inset 0 1px 0 #ffffff;
  padding: 16px 16px 14px;
}
.seat-confirm-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: .02em;
}
.seat-confirm-list {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}
.seat-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  font-size: 11.5px;
  color: #64748b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.seat-confirm-row:last-child { border-bottom: none; }
.seat-confirm-row strong { color: #0f172a; font-weight: 700; text-align: right; }
.seat-confirm-warn {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  font-size: 10.5px;
  line-height: 1.65;
  color: #92400e;
}
.seat-confirm-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.seat-confirm-actions button {
  flex: 1 1 0;
  height: 34px;
  line-height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.seat-confirm-cancel {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
}
.seat-confirm-cancel:hover { border-color: #94a3b8; color: #0f172a; }
.seat-confirm-ok {
  border: 1px solid #64748b;
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #f8fafc;
}
.seat-confirm-ok:hover { filter: brightness(1.08); }

@media (max-width: 768px) {
  .seat-combo { grid-template-columns: 1fr 1fr; }
  .seat-form-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .seat-form-actions .seat-chip { width: 100%; }
  .seat-confirm-card { max-width: 100%; }
  .seat-confirm-actions button { font-size: 11.5px; }
}

/* ================= 🎟️ 抢票表：区域二级联动 + 提交按钮不裁切 ================= */
.seat-form-actions .seat-submit-btn {
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 0 14px;
}

/* ================= 📖 观演手帐拼贴模式 ================= */
.ticket-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, #eef2f7, #f9fbfd);
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.07), inset -2px -2px 5px #ffffff;
}
.ticket-mode-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  background: transparent;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.ticket-mode-btn.is-active {
  background: linear-gradient(145deg, #ffffff, #e8eef5);
  color: #0f172a;
  box-shadow: 2px 2px 5px rgba(15, 23, 42, 0.09), -1px -1px 3px #ffffff;
}
.ticket-journal-fields {
  display: grid;
  gap: 9px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #f1f5f9, #f9fbfd);
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.055), inset -2px -2px 5px #ffffff;
}
.ticket-journal-fields.hidden { display: none; }
.ticket-journal-upload-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ticket-photo-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #ffffff;
}
.ticket-journal-hint { color: #94a3b8; font-size: 9px; font-weight: 600; }
.ticket-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.ticket-photo-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.98);
  background: #e2e8f0;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1), inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}
.ticket-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticket-photo-item:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ticket-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.66);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ticket-photo-empty {
  grid-column: 1 / -1;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.62);
  background: rgba(255, 255, 255, 0.52);
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.ticket-journal-note-label { display: grid; gap: 4px; }
.ticket-journal-note-label > span,
.ticket-sticker-label { color: #64748b; font-size: 9.5px; font-weight: 800; }
.ticket-journal-note-label textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  background: #f3f6fa;
  color: #334155;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.65;
  outline: 0;
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.05), inset -2px -2px 4px #ffffff;
}
.ticket-sticker-field { display: grid; gap: 5px; }
.ticket-sticker-list { display: flex; flex-wrap: wrap; gap: 5px; }
.ticket-sticker-chip {
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.86);
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.ticket-sticker-chip.is-active {
  border-color: var(--sticker);
  background: var(--sticker-soft);
  color: var(--sticker);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}
@media (max-width: 640px) {
  .ticket-mode-switch { display: flex; width: 100%; }
  .ticket-mode-btn { flex: 1 1 0; padding: 7px 6px; font-size: 9.5px; }
  .ticket-photo-grid { grid-template-columns: 1fr; }
  .ticket-photo-empty { min-height: 70px; }
}
/* ================= 🎟️ 纪念票根存图弹窗（Safari 长按存图 / 系统分享） ================= */
.ticket-save-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity .2s ease;
}
.ticket-save-overlay.is-hiding { opacity: 0; }
.ticket-save-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(150deg, #ffffff 0%, #eef2f7 60%, #dde5ee 100%);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.26), inset 0 1px 0 #ffffff;
  -webkit-overflow-scrolling: touch;
}
.ticket-save-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.ticket-save-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  padding-right: 30px;
  margin-bottom: 9px;
}
.ticket-save-imgbox {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f8fafc;
}
.ticket-save-hint {
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: #475569;
}
.ticket-save-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}
.ticket-save-actions button {
  flex: 1 1 0;
  height: 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.ticket-save-share {
  border: 1px solid #64748b;
  background: linear-gradient(135deg, #475569 0%, #334155 100%);
  color: #f8fafc;
}
.ticket-save-done {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
}
@media (max-width: 420px) {
  .ticket-save-card { padding: 12px 11px 10px; }
  .ticket-save-actions button { height: 32px; font-size: 11.5px; }
}

/* 🎟️ 抢票表 v4：短选项三级联动（每框 ≤10 项） */
.seat-combo--triple { grid-template-columns: 1fr 1fr 1fr; }
.seat-combo select:disabled {
  opacity: .55;
  background-image: none;
  color: #94a3b8;
}
.seat-field + .seat-field .seat-combo + .seat-combo { margin-top: 6px; }
@media (max-width: 420px) {
  .seat-combo--triple { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .seat-combo--triple .seat-select { font-size: 11px; padding-left: 6px; padding-right: 16px; }
}

/* ================= 📱 卡片顶部标签栏：手机端防溢出兜底 ================= */
@media (max-width: 768px) {
  .show-card-top-row,
  .archive-title-row {
    flex-wrap: wrap;
    align-items: center;
  }
  .show-card-top-actions,
  .archive-top-actions,
  .series-card-top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
  }
  .show-card-top-actions .plan-chip,
  .archive-top-actions .plan-chip,
  .series-card-top-actions .plan-chip {
    height: auto;
    min-height: 0;
    line-height: 1.35;
    padding: 3px 7px;
    font-size: 11px;
    margin-left: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ================= 🍜 同款打卡 v2：成员检索 / 投稿表单 / 静默审核 ================= */
.checkin-section-head {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.checkin-section-head span { font-weight: 500; color: #94a3b8; font-size: 10px; }

.checkin-member-bar {
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  margin-bottom: 8px;
}
.checkin-member-title { font-size: 11px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.checkin-chip-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.checkin-chip {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
.checkin-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #f8fafc;
  font-weight: 600;
}
.checkin-chip.is-hint { box-shadow: 0 0 0 3px rgba(15, 23, 42, .12); }

.checkin-list-head {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  margin: 4px 0 5px;
}
.checkin-list { display: flex; flex-direction: column; gap: 5px; }
.checkin-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.checkin-row.is-pending { border-color: #fcd34d; background: #fffbeb; }
.checkin-row.is-approved { display: block; padding: 10px 11px; }
.checkin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.checkin-card-head .checkin-name { flex: 1 1 auto; min-width: 0; }
.checkin-row.is-approved .checkin-name { font-size: 12.5px; }
.checkin-head-delete { flex-shrink: 0; min-height: 25px; padding: 2px 8px; font-size: 10px; }
.checkin-head-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.checkin-head-proof { min-height: 25px; padding: 2px 8px; font-size: 10px; white-space: nowrap; }
.checkin-main { min-width: 0; flex: 1 1 auto; }
.checkin-name { font-size: 11.5px; font-weight: 700; color: #0f172a; word-break: break-word; }
.checkin-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.checkin-tag {
  font-size: 11px;
  line-height: 1.25;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.checkin-tag.is-member { background: #fff1f2; border-color: #fecdd3; color: #9f1239; font-weight: 600; }
.checkin-note { font-size: 10.5px; color: #64748b; margin-top: 4px; word-break: break-word; }
.checkin-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.checkin-card-actions .checkin-mini-btn {
  min-height: 32px;
  padding: 5px 12px;
  font-size: 11px;
}
.checkin-side {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  flex-shrink: 0;
}
.checkin-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.checkin-mini-btn.is-ok { border-color: #10b981; color: #047857; background: #ecfdf5; }
.checkin-mini-btn.is-danger { border-color: #fca5a5; color: #b91c1c; background: #fef2f2; }
.checkin-shop-btn { background: #f8fafc; }
@media (max-width: 768px) {
  .checkin-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .checkin-card-actions .checkin-mini-btn {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .checkin-card-actions .checkin-mini-btn:only-child,
  .checkin-card-actions .checkin-mini-btn:nth-child(3):last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .checkin-row { flex-wrap: wrap; }
  .checkin-side {
    width: 100%;
    justify-content: flex-start;
    padding-top: 1px;
  }
}

.checkin-empty {
  font-size: 10.5px;
  color: #94a3b8;
  padding: 6px 4px;
}

.checkin-toggle-form {
  width: 100%;
  margin-top: 8px;
  border: 1px dashed #94a3b8;
  background: #f8fafc;
  color: #334155;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.checkin-form {
  margin-top: 8px;
  padding: 9px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.checkin-form-row { display: flex; gap: 6px; }
.checkin-form-row .checkin-input { flex: 1 1 0; min-width: 0; }
.checkin-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
  color: #0f172a;
  background: #f8fafc;
  box-sizing: border-box;
}
.checkin-input:focus { outline: none; border-color: #64748b; background: #ffffff; }
.checkin-form-label { font-size: 10px; color: #64748b; font-weight: 600; margin-bottom: 4px; }
.checkin-form-block { min-width: 0; }
.checkin-proof-box { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.checkin-upload-btn {
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #334155;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.checkin-proof-tip { font-size: 10px; color: #047857; }
.checkin-link-btn {
  border: none;
  background: none;
  color: #b91c1c;
  font-size: 10px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 2px;
}
.checkin-proof-thumb {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: zoom-in;
  display: block;
  margin-top: 4px;
}
.checkin-form-actions { display: flex; justify-content: flex-end; }
.checkin-submit {
  border: 1px solid #0f172a;
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  color: #f8fafc;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.checkin-submit:disabled { opacity: .6; cursor: default; }

.checkin-admin { margin-top: 10px; border-top: 1px dashed #e2e8f0; padding-top: 8px; }
.checkin-admin-head {
  width: 100%;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.checkin-admin-head span { float: right; opacity: .7; }
@media (max-width: 420px) {
  .checkin-form-row { flex-direction: column; }
}

/* ================= 🍜 同款打卡独立弹窗 + 出行比价手风琴裁切修复 ================= */
/* 1) 手风琴：内容区真正可滚动，折叠条不再被纵向压扁裁字 */
.travel-shell { overflow: hidden; }
.travel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.travel-group {
  flex: 0 0 auto;
  overflow: visible;
}
.travel-group-head {
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  padding: 10px 11px;
  line-height: 1.4;
  overflow: visible;
  margin: 0;
}
.travel-group-icon,
.travel-group-title,
.travel-group-hint,
.travel-group-count,
.travel-group-chev { flex-shrink: 0; line-height: 1.4; }
.travel-group-hint { flex: 1 1 auto; min-width: 0; flex-shrink: 1; }
.travel-group-panel { flex: 0 0 auto; }

@media (max-width: 640px) {
  .travel-group-head { min-height: 44px; padding: 10px 10px; }
  .travel-group-title { line-height: 1.4; }
  .travel-group-hint { line-height: 1.4; }
}

/* 2) 独立打卡弹窗 */
body.checkin-modal-open { overflow: hidden; }
.checkin-modal .checkin-shell { max-width: 720px; }
.checkin-modal .travel-head { align-items: center; }
.checkin-modal-body {
  padding: 10px 16px 14px;
  gap: 10px;
}
.checkin-quick-head {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.01em;
}
.checkin-quick-links { margin-top: -2px; }
.checkin-standalone-box { margin-top: 0; }

@media (max-width: 640px) {
  .checkin-modal { padding: 0; align-items: flex-end; }
  .checkin-modal .checkin-shell {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    border-bottom: none;
  }
  .checkin-modal-body { padding: 8px 13px 14px; gap: 9px; }
  .checkin-quick-links { grid-template-columns: 1fr 1fr; gap: 6px; }
  .checkin-quick-links .travel-link:last-child { grid-column: 1 / -1; }
}

/* ================= 统一功能浮窗：交通 / 安检 / 找搭子 / 抢票 ================= */
body.feature-modal-open { overflow: hidden; }
.feature-modal { z-index: 9999; }
.feature-shell { max-width: 680px; max-height: 82vh; }
.feature-body {
  padding: 12px 16px 16px;
  gap: 10px;
  max-height: 82vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.feature-body > .feature-panel {
  display: block;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.6;
  color: #334155;
}
.feature-html { font-size: 12px; line-height: 1.6; color: #334155; }
.feature-html .tl-quick-panel-inner { padding: 0; }
.feature-text { white-space: pre-line; }

@media (max-width: 640px) {
  .feature-modal { padding: 12px; align-items: center; }
  .feature-modal .feature-shell {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 16px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  }
  .feature-body { padding: 10px 12px 14px; }
}

.feature-dup-heading { display: none !important; }

/* ================= 📅 近期演出微时间轴：计划前往 / 详情 统一操作胶囊 ================= */
#home-upcoming-timeline .timeline-title-row .timeline-card-actions .plan-chip.tl-plan-action,
#home-upcoming-timeline .timeline-title-row .timeline-card-actions .tl-detail-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  padding: 0 9px !important;
  margin: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.55) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 34%, #e2e8f0 72%, #f1f5f9 100%) !important;
  color: #1e293b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(148, 163, 184, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.06) !important;
}
#home-upcoming-timeline .timeline-title-row .timeline-card-actions .plan-chip.tl-plan-action:hover,
#home-upcoming-timeline .timeline-title-row .timeline-card-actions .tl-detail-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 30%, #cfd8e3 78%, #e8eef5 100%) !important;
  border-color: rgba(148, 163, 184, 0.7) !important;
  color: #0f172a !important;
}
#home-upcoming-timeline .timeline-title-row .timeline-card-actions .plan-chip.tl-plan-action.is-active {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
@media (max-width: 400px) {
  #home-upcoming-timeline .timeline-title-row .timeline-card-actions .plan-chip.tl-plan-action,
  #home-upcoming-timeline .timeline-title-row .timeline-card-actions .tl-detail-btn {
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    padding: 0 7px !important;
    font-size: 10.5px !important;
  }
}

/* ================= 🍜 同款打卡弹窗：底部双列城市美食卡 + 关键词落位 ================= */
.checkin-quick-foot { margin-top: 2px; }
.checkin-quick-links.checkin-quick-links--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.checkin-quick-links.checkin-quick-links--duo .travel-link {
  min-width: 0;
  overflow: hidden;
}
.checkin-quick-links.checkin-quick-links--duo .travel-link-label,
.checkin-quick-links.checkin-quick-links--duo .travel-link-desc {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.checkin-quick-links.checkin-quick-links--duo .travel-link:last-child { grid-column: auto !important; }
@media (max-width: 360px) {
  /* 极窄屏：状态与操作整行整体换到下一行，按钮本身仍保持单行不挤压 */
  #home-upcoming-timeline .timeline-title-row { flex-wrap: wrap !important; row-gap: 4px; }
  #home-upcoming-timeline .timeline-card-actions { flex-wrap: nowrap !important; }
}

/* ================= 🏨 出行比价 · 酒店面板（正规连锁白名单 + 周边地标快捷搜索） ================= */
.travel-hotel-block { margin-top: 2px; }
.travel-hotel-head {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin: 2px 0 6px;
  line-height: 1.4;
}
.travel-hotel-list { display: grid; gap: 7px; }
.travel-hotel-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid #dbe3ec;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(100, 116, 139, 0.08);
}
.travel-hotel-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.travel-hotel-desc {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #64748b;
  overflow-wrap: anywhere;
}
.travel-hotel-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.travel-hotel-tag {
  font-size: 9.5px;
  line-height: 1.5;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid #dbe3ec;
  background: #eef2f7;
  color: #475569;
  white-space: nowrap;
}
.travel-hotel-acts { display: flex; gap: 5px; flex-wrap: wrap; }
.travel-hotel-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.travel-hotel-btn:hover { border-color: #94a3b8; color: #0f172a; }
.travel-hotel-landmarks { margin-top: 0; }
.travel-hotel-note {
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.65;
  color: #94a3b8;
}
@media (max-width: 420px) {
  .travel-hotel-btn { height: 25px; font-size: 10px; padding: 0 5px; }
}

/* ================= 📣 应援词典：列表 / 详情 / 熟练度标签 / 长图预览 ================= */
.chant-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.chant-filter-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-right: 2px;
}
.chant-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-filter-chip:hover { border-color: #94a3b8; color: #0f172a; }
.chant-filter-chip.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.chant-filter-count {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 500;
}

.chant-song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 9px;
}
.chant-song-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(100, 116, 139, 0.08);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}
.chant-song-card:hover { border-color: #cbd5e1; box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08); }
.chant-song-card:active { transform: translateY(0.5px); }
.chant-song-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chant-song-title { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.35; }
.chant-song-meta { font-size: 10.5px; color: #64748b; line-height: 1.4; }
.chant-song-sub { font-size: 10px; color: #94a3b8; }
.chant-song-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.chant-song-subrow .chant-song-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chant-song-level {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.chant-song-level.is-easy { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.chant-song-level.is-medium { background: #fff7ed; border-color: #fed7aa; color: #b45309; }
.chant-song-level.is-mastered { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }

.chant-empty {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
}

.chant-detail-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 6px 18px rgba(15, 23, 42, 0.06);
}
.chant-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.chant-back-btn {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.chant-back-btn:hover { border-color: #94a3b8; color: #0f172a; }
.chant-detail-tip { font-size: 10px; color: #94a3b8; }
.chant-detail-title { font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1.35; }
.chant-detail-meta { margin-top: 3px; font-size: 11px; color: #64748b; }
.chant-level-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chant-level-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-level-chip:hover { border-color: #94a3b8; color: #0f172a; }
.chant-level-chip.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.chant-level-hint { margin-top: 6px; font-size: 10.5px; color: #94a3b8; }
.chant-detail-legend {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--chant-group-color);
}
.chant-lyrics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  background: #fdfdfb;
}
.chant-line {
  position: relative;
  margin: 0;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.75;
  color: #1e293b;
  font-weight: 450;
  overflow-wrap: anywhere;
}
.chant-line-body {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.chant-singer {
  display: flex;
  align-items: center;
  margin: 12px 0 0;
}
.chant-singer:first-child { margin-top: 0; }
.chant-singer-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(221, 5, 20, 0.28);
  background: rgba(221, 5, 20, 0.08);
  color: #8D0D0E;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.chant-singer-tag.is-yueyue {
  border-color: rgba(156, 115, 239, 0.4);
  background: rgba(156, 115, 239, 0.13);
  color: #9C73EF;
}
.chant-singer-tag.is-muziyang {
  border-color: rgba(249, 0, 146, 0.34);
  background: rgba(249, 0, 146, 0.09);
  color: #F90092;
}
.chant-singer-tag.is-lingchao {
  border-color: rgba(50, 181, 225, 0.4);
  background: rgba(50, 181, 225, 0.13);
  color: #32B5E1;
}
.chant-singer-tag.is-fandom {
  border-color: rgba(221, 5, 20, 0.28);
  background: rgba(221, 5, 20, 0.08);
  color: #8D0D0E;
}
.chant-part-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.chant-part-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.chant-part-tag.is-yueyue { border-color: rgba(156, 115, 239, 0.4); background: rgba(156, 115, 239, 0.13); color: #9C73EF; }
.chant-part-tag.is-muziyang { border-color: rgba(249, 0, 146, 0.34); background: rgba(249, 0, 146, 0.09); color: #F90092; }
.chant-part-tag.is-lingchao { border-color: rgba(50, 181, 225, 0.4); background: rgba(50, 181, 225, 0.13); color: #32B5E1; }
.chant-part-tag.is-group,
.chant-part-tag.is-fandom { border-color: rgba(221, 5, 20, 0.32); background: rgba(221, 5, 20, 0.08); color: #BE123C; }
.chant-detail-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.chant-action-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-action-btn:hover { border-color: #94a3b8; color: #0f172a; }
.chant-action-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  color: #f8fafc;
}
.chant-action-btn.is-primary:hover { color: #ffffff; }

.chant-image-overlay { z-index: 9998; }
.chant-image-card { max-width: 460px; }
.chant-image-box {
  max-height: 62vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  background: #eef2f7;
}
.chant-image-pages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chant-image-page {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.chant-image-page figcaption {
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.chant-image-page img {
  width: 100%;
  display: block;
  border-radius: 0;
  -webkit-touch-callout: default;
}

@media (max-width: 640px) {
  .chant-song-grid { grid-template-columns: 1fr; }
  .chant-detail-actions { flex-direction: column; flex-wrap: nowrap; }
  .chant-action-btn { width: 100%; flex: 0 0 auto; height: 38px; min-height: 38px; }
  .chant-image-box { max-height: 54vh; }
}

/* ================= 🖨️ 应援词打印排版（仅导出 PDF 时可见）================= */
.chant-print-root { display: none; }
@media print {
  body.chant-printing > :not(#chant-print-root) { display: none !important; }
  body.chant-printing #chant-print-root { display: block !important; }
  body.chant-printing { background: #ffffff !important; }
  .chant-print-root {
    color: #111827;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    padding: 4mm 2mm;
  }
  .chant-print-brand { font-size: 10pt; letter-spacing: 0.12em; color: #6b7280; }
  .chant-print-title { font-size: 22pt; font-weight: 800; margin: 4mm 0 2mm; }
  .chant-print-meta { font-size: 10.5pt; color: #4b5563; }
  .chant-print-legend {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 6mm 0 4mm;
    padding: 1.2mm 3mm;
    border: 0.3mm solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    font-size: 10pt;
    font-weight: 700;
    line-height: 1.5;
    color: var(--chant-group-color);
  }
  .chant-print-line {
    margin: 0 0 2.6mm;
    font-size: 12pt;
    font-weight: 450;
    line-height: 1.75;
    color: #1e293b;
    page-break-inside: avoid;
  }
  .chant-print-body {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .chant-print-singer {
    display: flex;
    align-items: center;
    margin: 14px 0 4px;
    page-break-after: avoid;
  }
  .chant-print-singer:first-child { margin-top: 0; }
  .chant-print-singer .chant-singer-tag {
    padding: 0.8mm 2.4mm;
    font-size: 9.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .chant-print-foot {
    margin-top: 8mm;
    padding-top: 3mm;
    border-top: 0.3mm solid #d1d5db;
    font-size: 8.5pt;
    color: #9ca3af;
  }
}

/* ================= 🏛️ 档案卡右上角打卡胶囊：与近期演出微时间轴完全同规格 ================= */
.archive-strip .archive-title-row .archive-top-actions {
  margin-left: auto;
}
.archive-strip .archive-title-row .archive-top-actions .plan-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0 9px;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 34%, #e2e8f0 72%, #f1f5f9 100%);
  color: #1e293b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  flex: 0 0 auto;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(148, 163, 184, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.06);
}
.archive-strip .archive-title-row .archive-top-actions .plan-chip:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 30%, #cfd8e3 78%, #e8eef5 100%);
  border-color: rgba(148, 163, 184, 0.7);
  color: #0f172a;
}
.archive-strip .archive-title-row .archive-top-actions .plan-chip.is-active {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
@media (max-width: 400px) {
  .archive-strip .archive-title-row .archive-top-actions .plan-chip {
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    padding: 0 7px;
    font-size: 10.5px;
  }
}

/* ================= 📣 应援词典 v2：浮窗宿主 / 管理员 CRUD / 标记高亮 ================= */
.chant-dict-shell {
  max-width: 840px;
  max-height: 90vh;
}
.chant-dict-body {
  padding: 14px 16px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.chant-dict-body .chant-page-head { display: none; }
.chant-dict-body .chant-editor-card,
.chant-dict-body .chant-detail-card { margin: 0; }

/* 卡片：外层容器 + 可点主区 + 右侧状态 / 管理按钮 */
.chant-song-card {
  align-items: center;
  cursor: default;
}
.chant-song-card:hover { border-color: #cbd5e1; box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08); }
.chant-song-open {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.chant-song-open:active { transform: translateY(0.5px); }
.chant-card-admin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chant-mini-btn {
  flex: 0 0 auto;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 45%, #e8eef5 100%);
  color: #1e293b;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-mini-btn:hover { border-color: #94a3b8; color: #0f172a; }
.chant-mini-btn.is-danger { color: #b91c1c; border-color: rgba(248, 113, 113, 0.6); background: linear-gradient(180deg, #ffffff 0%, #fef2f2 60%, #fee2e2 100%); }
.chant-mini-btn.is-danger:hover { color: #991b1b; border-color: #f87171; }
.chant-admin-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chant-admin-hint { font-size: 10.5px; color: #047857; }
.chant-sync-alert {
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: #fff1f2;
  color: #b91c1c;
  font-size: 11px;
  line-height: 1.6;
  word-break: break-word;
}
.chant-sync-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px dashed rgba(37, 99, 235, 0.55);
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-sync-btn:hover { border-color: #2563eb; background: #dbeafe; }
.chant-sync-btn:disabled { opacity: 0.55; cursor: wait; }
.chant-add-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(192, 57, 43, 0.5);
  background: linear-gradient(135deg, #c0392b 0%, #9a3412 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(154, 52, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.chant-add-btn:hover { filter: brightness(1.04); }
.chant-admin-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.chant-video-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #ffffff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.chant-video-link:hover { border-color: #93c5fd; background: #eff6ff; }

/* 🎧 单曲跟练入口与吸顶伴奏栏 */
.chant-detail-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.chant-detail-link-row .chant-video-link { margin-top: 0; }
.chant-practice-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.chant-practice-entry-btn:hover,
.chant-practice-entry-btn.is-active {
  border-color: rgba(221, 5, 20, 0.36);
  background: linear-gradient(180deg, #fff7f7 0%, #ffecec 100%);
  color: #8D0D0E;
}
.chant-practice-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 0 10px;
}
.chant-practice-bar {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(248, 250, 252, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.chant-practice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.chant-practice-title {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
}
.chant-practice-disc {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f8fafc 0 17%, #1e293b 18% 26%, #334155 27% 62%, #0f172a 63% 100%);
  color: #f8fafc;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.chant-practice-disc.is-spinning { animation: chantPracticeSpin 4.2s linear infinite; }
@keyframes chantPracticeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.chant-practice-song {
  flex: 1 1 60%;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chant-practice-file {
  flex: 1 1 40%;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}
.chant-practice-close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.78);
  color: #64748b;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
}
.chant-practice-close:hover { color: #b91c1c; border-color: rgba(185, 28, 28, 0.35); }
.chant-practice-head-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}
/* 🎧 B站视频「仅听音频」：银白新拟态胶囊，不销毁 iframe */
.chant-practice-audio-toggle {
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 999px;
  padding: 4px 9px;
  background: linear-gradient(150deg, #ffffff 0%, #eef3f8 100%);
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.chant-practice-audio-toggle:hover {
  color: #0f172a;
  border-color: rgba(100, 116, 139, 0.58);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  transform: translateY(-1px);
}
.chant-practice-audio-toggle[aria-pressed="true"] {
  color: #9f1239;
  border-color: rgba(251, 113, 133, 0.5);
  background: linear-gradient(150deg, #fff8fa 0%, #ffecef 100%);
}
.chant-audio-toggle-short { display: none; }
.chant-practice-video-embed {
  transition: height .28s ease, opacity .24s ease, margin .28s ease, border-color .24s ease;
}
.chant-practice-video-embed.player-audio-only {
  position: relative;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 4px 0 2px;
  opacity: 1;
  overflow: hidden;
  pointer-events: auto;
  border-color: rgba(148, 163, 184, 0.42);
  border-radius: 9px;
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.chant-practice-video-embed.player-audio-only .chant-practice-video-frame,
.chant-practice-video-embed.player-audio-only iframe {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  min-height: 160px;
  max-height: none !important;
  aspect-ratio: 16 / 9;
}
.chant-audio-only-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  margin: 2px 0 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(150deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 6px rgba(15, 23, 42, 0.06);
}
.chant-audio-only-note[hidden] { display: none !important; }
.chant-audio-only-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chant-practice-bar.is-audio-only {
  padding: 7px 8px;
}
.chant-practice-bar.is-audio-only .chant-practice-head {
  margin-bottom: 0;
}
.chant-practice-bar.is-audio-only .chant-practice-status,
.chant-practice-bar.is-audio-only .chant-practice-fallback,
.chant-practice-bar.is-audio-only .chant-video-switch,
.chant-practice-bar.is-audio-only .chant-practice-copyright {
  display: none !important;
}
.chant-practice-wrap.is-audio-only {
  z-index: 40;
}
.chant-practice-embed {
  margin: 5px 0 6px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
}
.chant-practice-embed-frame {
  display: block;
  width: 100%;
  height: 86px;
  border: 0;
  background: #ffffff;
}
.chant-practice-auto-embed {
  margin: 5px 0 6px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #ffffff;
}
.chant-practice-auto-embed[hidden] { display: none !important; }
.chant-practice-video-embed {
  margin: 5px 0 6px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #000000;
}
.chant-practice-video-embed[hidden] { display: none !important; }
.chant-practice-video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 230px;
  border: 0;
  background: #000000;
}
.chant-practice-embed[hidden] { display: none !important; }
.chant-practice-copyright {
  margin: 5px 0 3px;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid rgba(251, 146, 60, 0.38);
  background: rgba(255, 247, 237, 0.88);
  color: #9a3412;
  font-size: 9.5px;
  line-height: 1.45;
}
.chant-practice-copyright[hidden] { display: none !important; }
.chant-practice-fallback {
  margin-top: 6px;
  border-radius: 9px;
  border: 1px dashed rgba(148, 163, 184, 0.48);
  background: rgba(255, 255, 255, 0.7);
  padding: 0 6px 6px;
}
.chant-practice-fallback summary {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 2px;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.chant-practice-fallback summary::-webkit-details-marker { display: none; }
.chant-practice-fallback summary:hover { color: #B00814; }
.chant-practice-fallback[open] summary { color: #B00814; }
.chant-practice-fallback .chant-practice-progress { margin-top: 4px; }
.chant-practice-progress {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  color: #64748b;
}
.chant-practice-progress input[type="range"] {
  width: 100%;
  height: 16px;
  margin: 0;
  accent-color: #DD0514;
  cursor: pointer;
}
.chant-practice-controls {
  display: flex;
  align-items: stretch;
  gap: 5px;
  flex-wrap: wrap;
}
.chant-practice-btn {
  flex: 1 1 88px;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.chant-practice-btn:hover { border-color: #94a3b8; color: #0f172a; }
.chant-practice-btn.is-play {
  border-color: transparent;
  background: linear-gradient(100deg, #DD0514 0%, #8D0D0E 100%);
  color: #ffffff;
}
.chant-practice-btn.is-play:hover { color: #ffffff; filter: brightness(1.04); }
.chant-practice-btn.is-active {
  border-color: rgba(221, 5, 20, 0.34);
  background: rgba(221, 5, 20, 0.08);
  color: #8D0D0E;
}
.chant-practice-pick { cursor: pointer; }
.chant-practice-links {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.chant-practice-links a {
  flex: 1 1 120px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 7px;
  border: 1px solid rgba(147, 197, 253, 0.48);
  background: rgba(239, 246, 255, 0.72);
  color: #1d4ed8;
  font-size: 9.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.chant-practice-links a:hover { background: #eff6ff; border-color: #93c5fd; }
.chant-practice-status {
  margin-top: 5px;
  font-size: 9.5px;
  line-height: 1.5;
  color: #64748b;
}
.chant-practice-status.is-error { color: #b91c1c; }

@media (max-width: 640px) {
  .chant-practice-wrap { top: -1px; }
  .chant-practice-bar { padding: 7px; border-radius: 10px; }
  .chant-audio-toggle-full { display: none; }
  .chant-audio-toggle-short { display: inline; }
  .chant-practice-disc { width: 22px; height: 22px; font-size: 10px; }
  .chant-practice-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .chant-practice-pick { grid-column: 1 / -1; }
  .chant-practice-btn { width: 100%; height: 34px; min-height: 34px; font-size: 11px; }
  .chant-practice-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chant-practice-links a { min-height: 30px; padding: 0 5px; font-size: 9.5px; }
  .chant-practice-video-frame { max-height: 180px; }
  .chant-practice-fallback { padding-left: 4px; padding-right: 4px; }
}

/* 行内应援高亮（[..] / 【..】 / **..**） */
.chant-hl {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--chant-group-color);
  -webkit-text-fill-color: var(--chant-group-color);
  font-weight: 700;
  padding: 0;
}
.chant-member {
  font-weight: 700;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}
.chant-member-yueyue { color: var(--chant-yueyue-color); -webkit-text-fill-color: var(--chant-yueyue-color); }
.chant-member-muziyang { color: var(--chant-muziyang-color); -webkit-text-fill-color: var(--chant-muziyang-color); }
.chant-member-lingchao { color: var(--chant-lingchao-color); -webkit-text-fill-color: var(--chant-lingchao-color); }

.chant-import-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(120deg, #fff7f7 0%, #f8fafc 100%);
}
.chant-import-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(221, 5, 20, 0.28);
  background: #ffffff;
  color: #B00814;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.chant-import-btn:hover { background: #fff1f2; border-color: rgba(221, 5, 20, 0.5); }
.chant-import-btn:disabled { opacity: 0.6; cursor: wait; }
.chant-import-file { display: none; }
.chant-import-tip { font-size: 10px; color: #94a3b8; }

/* 新增 / 编辑表单 */
.chant-editor-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 60%, #eef2f7 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}
.chant-form-row { margin-top: 11px; }
.chant-form-label {
  display: block;
  margin-bottom: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
}
.chant-req { color: #dc2626; }
.chant-form-tip {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  color: #94a3b8;
}
.chant-form-input,
.chant-form-textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12.5px;
  line-height: 1.5;
  font-family: inherit;
  box-sizing: border-box;
}
.chant-form-textarea { resize: vertical; min-height: 150px; }
.chant-form-input:focus,
.chant-form-textarea:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18); }
.chant-audio-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}
.chant-audio-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.chant-audio-tool:hover {
  border-color: rgba(221, 5, 20, 0.38);
  background: #fff7f7;
  color: #B00814;
}
.chant-audio-tool:disabled,
.chant-audio-tool.is-busy { opacity: 0.62; cursor: wait; }
.chant-audio-tool-status {
  min-height: 14px;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.45;
  color: #64748b;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.chant-audio-tool-status.is-ok { color: #047857; }
.chant-audio-tool-status.is-error { color: #b91c1c; }
.chant-form-radios { display: flex; gap: 6px; flex-wrap: wrap; }
.chant-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 11.5px;
  color: #334155;
  cursor: pointer;
}
.chant-radio input { margin: 0; accent-color: #c0392b; }
.chant-form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chant-form-actions .chant-action-btn { flex: 0 1 auto; }

/* 时间轴详情浮窗底部快捷入口 */
.tl-detail-body p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.6; color: #334155; }
.tl-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

/* 打印：行内应援高亮 */
@media print {
  .chant-print-hl {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: var(--chant-group-color) !important;
    -webkit-text-fill-color: var(--chant-group-color) !important;
    font-weight: 700;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .chant-print-member {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    font-weight: 700;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .chant-print-member-yueyue { color: var(--chant-yueyue-color) !important; -webkit-text-fill-color: var(--chant-yueyue-color) !important; }
  .chant-print-member-muziyang { color: var(--chant-muziyang-color) !important; -webkit-text-fill-color: var(--chant-muziyang-color) !important; }
  .chant-print-member-lingchao { color: var(--chant-lingchao-color) !important; -webkit-text-fill-color: var(--chant-lingchao-color) !important; }
}

@media (max-width: 640px) {
  .chant-dict-shell { max-height: 92vh; }
  .chant-audio-tools { display: grid; grid-template-columns: 1fr; }
  .chant-audio-tool { width: 100%; }
  .chant-dict-body { padding: 12px 12px 16px; }
  .chant-song-card { align-items: flex-start; flex-wrap: wrap; }
  .chant-card-admin { width: 100%; justify-content: flex-end; margin-top: 2px; }
  .chant-editor-card { padding: 12px; }
}

/* ================= ⭐ 应援难度 1～5 星评价 ================= */
.chant-star-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.chant-star-row::-webkit-scrollbar { display: none; }
.chant-star-chip {
  flex: 0 0 auto;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
}
.chant-star-chip.is-active {
  border-color: rgba(192, 57, 43, 0.65);
  background: linear-gradient(135deg, #fff7ed 0%, #fee2e2 100%);
  color: #9a3412;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(154, 52, 18, 0.16);
}
.chant-song-level.is-star {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #b45309;
}
.chant-community-hint { color: #b45309; }
.chant-community-hint:empty { display: none; }
@media (max-width: 480px) {
  .chant-star-row { gap: 4px; }
  .chant-star-chip { height: 24px; padding: 0 6px; font-size: 10px; }
}
@media (max-width: 360px) {
  /* 极窄屏只保留星级符号，保证 5 档单行不换行、不出现横向滚动 */
  .chant-star-suffix { display: none; }
  .chant-star-chip { padding: 0 5px; }
}

/* ================= 💼 商务档案：代言 / 品牌合作 ================= */
.brand-shell { max-width: 900px; }
.brand-modal-body {
  padding: 14px 14px 20px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(221, 5, 20, 0.05), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f8fafc 60%, #eef2f7 100%);
}
.brand-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.brand-toolbar-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-toolbar-title { font-size: 12.5px; font-weight: 800; color: #0f172a; }
.brand-toolbar-sub { font-size: 10px; color: #94a3b8; }
.brand-admin-toolbar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.brand-submit-btn,
.brand-add-btn,
.brand-sync-btn,
.brand-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  max-width: 100%;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 48%, #dfe5ee 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.brand-submit-btn:hover,
.brand-add-btn:hover,
.brand-sync-btn:hover,
.brand-refresh-btn:hover {
  border-color: rgba(148, 163, 184, 0.72);
  color: #0f172a;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
/* 商务档案管理员按钮：与「🛠️ 管理演出」一致的浅粉描边胶囊 */
.brand-admin-toolbar .brand-add-btn,
.brand-admin-toolbar .brand-sync-btn,
.brand-admin-toolbar .brand-refresh-btn {
  border-color: rgba(244, 114, 182, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #e8edf3 100%);
  color: #526174;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(148, 163, 184, 0.12), 0 2px 5px rgba(190, 24, 93, 0.07);
}
.brand-admin-toolbar .brand-add-btn:hover,
.brand-admin-toolbar .brand-sync-btn:hover,
.brand-admin-toolbar .brand-refresh-btn:hover {
  border-color: rgba(219, 39, 119, 0.46);
  color: #9f1239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 3px 8px rgba(190, 24, 93, 0.11);
}
.brand-submit-btn:disabled,
.brand-add-btn:disabled,
.brand-sync-btn:disabled,
.brand-refresh-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.brand-admin-hint { font-size: 9.5px; color: #64748b; }

.brand-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 11px;
  border-radius: 13px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}
.brand-filter-block { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-filter-label {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.02em;
}
.brand-filter-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  min-width: 0;
}
.brand-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.brand-filter-chip:hover { border-color: #94a3b8; }
.brand-filter-chip.is-active {
  border-color: var(--brand-accent, #DD0514);
  color: var(--brand-accent, #B00814);
  background: color-mix(in srgb, var(--brand-accent, #DD0514) 8%, #ffffff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-accent, #DD0514) 18%, transparent);
}
.brand-filter-count {
  min-width: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}
.brand-filter-chip.is-active .brand-filter-count { background: rgba(255, 255, 255, 0.75); color: inherit; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(150deg, #ffffff 0%, #fbfcfe 70%, #f4f7fb 100%);
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}
.brand-card.is-active { border-color: rgba(221, 5, 20, 0.22); box-shadow: 0 7px 22px rgba(221, 5, 20, 0.08); }
.brand-card.is-active::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #DD0514 0%, #8D0D0E 100%);
}
.brand-card.is-ended { opacity: 0.9; }
.brand-card-content { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.brand-card.has-poster { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 11px; }
.brand-card-poster {
  width: 84px;
  height: 116px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 11px;
  background: linear-gradient(145deg, #ffffff, #e9eef4);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 12px rgba(15, 23, 42, 0.09);
  cursor: zoom-in;
}
.brand-card-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.brand-identity { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.brand-badge {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 16px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.brand-name-wrap { min-width: 0; }
.brand-name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.brand-role { margin: 2px 0 0; font-size: 10.5px; font-weight: 600; color: #64748b; }
.brand-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-status.is-active {
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: linear-gradient(120deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.14);
}
.brand-status.is-ended {
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #94a3b8;
}
.brand-meta { margin: 0; font-size: 10.5px; line-height: 1.6; color: #475569; }
.brand-note {
  margin: 0;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid #eef2f7;
  font-size: 10.5px;
  line-height: 1.6;
  color: #64748b;
  overflow-wrap: anywhere;
}
.brand-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1px;
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
}
.brand-official-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.brand-official-link:hover { background: #dbeafe; }
.brand-official-empty { font-size: 9.5px; color: #cbd5e1; }
.brand-card-admin { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.brand-mini-btn {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #475569;
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
}
.brand-mini-btn:hover { border-color: #94a3b8; color: #0f172a; }
.brand-mini-btn.is-danger { color: #b91c1c; border-color: #fecaca; background: #fff7f7; }
.brand-mini-btn.is-danger:hover { background: #fee2e2; }

.brand-empty {
  padding: 28px 14px;
  border-radius: 14px;
  border: 1px dashed #dbe2ea;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: #94a3b8;
}
.brand-sync-note { margin: 10px 2px 0; font-size: 9.5px; color: #b45309; }

/* 录入 / 编辑表单 */
.brand-editor-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 60%, #eef2f7 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}
.brand-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.brand-back-btn {
  border: none;
  background: none;
  padding: 2px 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.brand-back-btn:hover { color: #0f172a; }
.brand-editor-tip { font-size: 10px; font-weight: 700; color: #b00814; }
.brand-form-row { margin-top: 11px; min-width: 0; }
.brand-form-label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; color: #334155; }
.brand-req { color: #dc2626; }
.brand-form-input,
.brand-form-textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.5;
  font-family: inherit;
  box-sizing: border-box;
}
.brand-form-textarea { resize: vertical; min-height: 76px; }
.brand-poster-input-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.brand-poster-input-row .brand-form-input { flex: 1 1 220px; min-width: 0; }
.brand-poster-upload { flex: 0 0 auto; cursor: pointer; }
.brand-poster-preview {
  display: block;
  width: 74px;
  height: 100px;
  margin-top: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  background: #f1f5f9;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 10px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
}
.brand-poster-preview.hidden { display: none; }
.brand-poster-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-poster-hint { margin-top: 5px; color: #94a3b8; font-size: 10px; line-height: 1.5; }
.endorsement-submission-poster { width: 64px; height: 86px; padding: 0; overflow: hidden; border: 1px solid #dbe3eb; border-radius: 9px; background: #f1f5f9; cursor: zoom-in; }
.endorsement-submission-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-form-input:focus,
.brand-form-textarea:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18); }
.brand-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
.brand-form-radios { display: flex; gap: 6px; flex-wrap: wrap; }
.brand-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 11px;
  color: #334155;
  cursor: pointer;
}
.brand-radio:has(input:checked) {
  border-color: var(--brand-accent, #DD0514);
  color: var(--brand-accent, #B00814);
  background: color-mix(in srgb, var(--brand-accent, #DD0514) 7%, #ffffff);
}
.brand-radio input { margin: 0; accent-color: var(--brand-accent, #c0392b); }
.brand-form-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.brand-action-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.brand-action-btn.is-primary {
  border-color: rgba(221, 5, 20, 0.3);
  background: linear-gradient(120deg, #DD0514 0%, #8D0D0E 100%);
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(141, 13, 14, 0.18);
}

@media (max-width: 640px) {
  .brand-modal-body { padding: 12px 11px 18px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-filter-block { align-items: flex-start; flex-direction: column; gap: 5px; }
  .brand-filter-row { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .brand-filter-row::-webkit-scrollbar { display: none; }
  .brand-form-grid { grid-template-columns: 1fr; }
  .brand-card.has-poster { grid-template-columns: 72px minmax(0, 1fr); gap: 9px; }
  .brand-card-poster { width: 72px; height: 100px; }
  .brand-card.has-poster .brand-card-head { flex-wrap: wrap; }
  .brand-poster-input-row .brand-form-input { flex-basis: 100%; }
  .brand-card-admin { width: 100%; justify-content: flex-end; }
}
@media (max-width: 380px) {
  .brand-toolbar { flex-direction: column; }
  .brand-admin-toolbar { width: 100%; justify-content: space-between; }
  .brand-status { padding: 3px 7px; font-size: 9px; }
  .brand-badge { font-size: 9px; padding: 2px 6px; }
}
@media (max-width: 360px) {
  /* 320 极窄屏：三个入口胶囊同排收进卡片内，不越界 */
  .chronicle-card .tour-action-btn--mini { font-size: 10px; padding: 0 7px; }
}

/* ================= 📚 多页 PDF 逐页拆分确认 ================= */
.chant-import-preview {
  margin-bottom: 10px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(221, 5, 20, 0.2);
  background:
    radial-gradient(130% 100% at 100% 0%, rgba(221, 5, 20, 0.07), transparent 58%),
    linear-gradient(155deg, #ffffff 0%, #fdf7f7 60%, #f7f9fc 100%);
  box-shadow: 0 8px 22px rgba(141, 13, 14, 0.07);
}
.chant-import-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.chant-import-preview-title { font-size: 12px; font-weight: 800; color: #7f1d1d; }
.chant-import-preview-sub { font-size: 10px; color: #64748b; }
.chant-import-preview-sub b { color: #B00814; }
.chant-import-preview-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
  max-height: 264px;
  overflow-y: auto;
  padding-right: 2px;
}
.chant-import-draft {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid #e6ebf2;
  background: #ffffff;
  cursor: pointer;
}
.chant-import-draft.is-selected { border-color: rgba(221, 5, 20, 0.3); background: #fffafa; }
.chant-import-draft-check { flex: 0 0 auto; margin: 0; accent-color: #DD0514; }
.chant-import-draft-page {
  flex: 0 0 auto;
  min-width: 25px;
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(221, 5, 20, 0.09);
  color: #B00814;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}
.chant-import-draft-title {
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 7px;
  border-radius: 7px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
}
.chant-import-draft-title:focus { outline: none; border-color: #DD0514; box-shadow: 0 0 0 2px rgba(221, 5, 20, 0.1); }
.chant-import-draft-meta { flex: 0 0 auto; font-size: 9px; color: #94a3b8; white-space: nowrap; }
.chant-import-preview-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.chant-import-preview-actions .chant-action-btn { flex: 0 0 auto; }

@media (max-width: 480px) {
  .chant-import-draft { flex-wrap: wrap; }
  .chant-import-draft-title { flex: 1 1 calc(100% - 74px); }
  .chant-import-draft-meta { width: 100%; text-align: right; }
  .chant-import-preview-actions .chant-action-btn { flex: 1 1 auto; }
}


/* 应援词典：桌面端正文放大，演唱者标签在窄屏保持紧凑 */
@media (min-width: 641px) {
  .chant-line { font-size: 16px; }
}
@media (max-width: 640px) {
  .chant-singer { margin-top: 12px; }
  .chant-singer-tag { font-size: 12px; padding: 3px 8px; }
}

/* ================= 💿 应援词典：专辑 Tag 筛选 / 选择 / 徽标 ================= */
.chant-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}
.chant-album-filter-group {
  padding-top: 6px;
  border-top: 1px dashed rgba(203, 213, 225, 0.85);
}
.chant-song-meta,
.chant-detail-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.chant-album-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(221, 5, 20, 0.18);
  background: rgba(221, 5, 20, 0.06);
  color: #8D0D0E;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.chant-album-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.chant-album-chip,
.chant-album-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  max-width: 100%;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.chant-album-chip {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #475569;
}
.chant-album-chip:hover { border-color: #94a3b8; color: #0f172a; }
.chant-album-chip.is-active {
  border-color: rgba(221, 5, 20, 0.48);
  background: linear-gradient(180deg, rgba(221, 5, 20, 0.11), rgba(141, 13, 14, 0.06));
  color: #8D0D0E;
  box-shadow: 0 2px 7px rgba(141, 13, 14, 0.12);
}
.chant-album-add {
  border: 1px dashed #cbd5e1;
  background: transparent;
  color: #64748b;
}
.chant-album-add:hover { border-color: #94a3b8; color: #334155; }
.chant-album-create.hidden { display: none; }
.chant-album-create {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}
.chant-album-create-input {
  flex: 1 1 180px;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  outline: none;
}
.chant-album-create-input:focus { border-color: rgba(221, 5, 20, 0.55); box-shadow: 0 0 0 3px rgba(221, 5, 20, 0.08); }
.chant-album-create-confirm,
.chant-album-create-cancel {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.chant-album-create-confirm {
  border: 1px solid rgba(221, 5, 20, 0.35);
  background: linear-gradient(135deg, #DD0514 0%, #8D0D0E 100%);
  color: #ffffff;
}
.chant-album-create-cancel {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
}
.chant-import-album {
  margin: 8px 0 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(221, 5, 20, 0.14);
  background: linear-gradient(120deg, rgba(255, 247, 247, 0.9), rgba(248, 250, 252, 0.95));
}
.chant-import-album-label {
  margin-bottom: 6px;
  font-size: 11px;
}

/* 🛠️ 管理台：多海报拖拽上传高亮 */
#adm-poster-dropzone.is-drag {
  border-color: #fb7185;
  background: #fff1f2;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.16);
}

/* ================= 演出状态：已取消 / 已延期 ================= */
.show-status-chip,
.tour-status-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}
.show-card-top-row .show-card-artist-badge,
.archive-title-row .archive-artist-badge,
.timeline-title-row .timeline-artist-badge {
  height: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.show-status-chip--canceled,
.tour-status-badge.is-cancelled {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.show-status-chip--postponed {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #b45309;
}
.show-card--canceled .show-card-title,
.show-card--canceled .archive-strip-title,
.timeline-card--canceled .timeline-card-title {
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.55);
  color: #64748b;
}
.tour-poster-wrap.is-cancelled img {
  filter: grayscale(35%) brightness(0.96) contrast(0.98);
}
.poster-cancelled-stamp {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 78%;
  padding: 3px 0;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 3px;
  background: rgba(71, 85, 105, 0.76);
  color: #fff !important;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.show-canceled-date {
  color: #7c8798;
  text-decoration: line-through;
  text-decoration-color: rgba(124, 135, 152, 0.55);
}
/* 已取消场次：仅保留信息与海报回顾，无效交互按钮一律不占位 */
#home-upcoming-timeline .tl-quick-bar [hidden],
#home-upcoming-timeline .timeline-card .tl-quick-btn[hidden],
.timeline-card .tl-quick-bar [hidden],
.tl-quick-bar [hidden],
.tour-actions-row [hidden],
.archive-actions-row [hidden],
.card-venue-actions--mobile [hidden] {
  display: none !important;
}
.show-cancel-note {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #7c8798;
  overflow-wrap: anywhere;
}
.timeline-card--canceled .tl-sale-status,
.show-card--canceled .sale-rounds-panel {
  display: none !important;
}

/* ================= 🔄 已改期：状态胶囊 / 海报印章 / 原定日期说明行 ================= */
.show-status-chip--rescheduled {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.poster-rescheduled-stamp {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 78%;
  padding: 3px 0;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 1px dashed rgba(255, 255, 255, 0.78);
  border-radius: 3px;
  background: rgba(67, 56, 202, 0.62);
  color: #fff !important;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 8px rgba(30, 27, 75, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.tour-reschedule-origin {
  display: flex;
  min-width: 0;
  max-width: 100%;
  margin: 2px 0 0;
}
.tour-reschedule-origin-pill {
  display: inline-block;
  max-width: 100%;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
@media (max-width: 640px) {
  .tour-reschedule-origin-pill { font-size: 9.5px; padding: 1px 6px; }
}

/* ================= ☑️ 管理员批量管理演出 ================= */
.adm-batch-check {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  font-size: 10px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
.adm-batch-check input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #C8102E;
  cursor: pointer;
}
.adm-batch-check span { display: none; }
.show-card.is-batch-selected,
.timeline-card.is-batch-selected {
  outline: 2px solid #C8102E;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}
#admin-batch-bar select,
#admin-batch-bar input { max-width: 150px; }

/* 海报灯箱：改期正式版 / 初版官宣海报 Tab */
#phd-version-tabs button { transition: background .18s ease, color .18s ease, border-color .18s ease; }
#phd-version-tabs button.is-active {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  font-weight: 600;
}

/* 批量逐场编辑台 */
.adm-batch-edit-row.is-dirty {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}
#admin-batch-editor-body input,
#admin-batch-editor-body select { font-size: 11px; }

/* 应援词正文：双栏并列行一键拆分工具条 */
.chant-content-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 4px;
}
.chant-content-toolbar-tip { font-size: 11px; color: #94a3b8; }

/* 单曲多个官方应援视频：胶囊切换栏 */
.chant-video-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 2px;
}
.chant-video-switch-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chant-video-switch-btn.is-active {
  background: #C8102E;
  border-color: #C8102E;
  color: #fff;
}
.chant-video-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chant-video-tools .chant-video-time { max-width: 260px; }

/* ================= 📺 ONER 小日常合集 ================= */
.daily-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(226,232,240,.72));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.daily-filter-bar { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 12px; }
.daily-year-row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 6px;
  height: auto !important;
  min-height: 0;
  align-items: center;
  line-height: normal;
}
.daily-year-chip {
  flex: 0 0 auto;
  height: auto !important;
  margin: 0;
  padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  border: 1px solid #e2e8f0; background: rgba(255,255,255,.85); color: #475569; cursor: pointer;
}
.daily-year-chip.is-active { background: #C8102E; border-color: #C8102E; color: #fff; }
.daily-month-row {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  padding: 6px 8px; border-radius: 11px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(145deg, #ffffff, #f3f7fb 58%, #e9eff6);
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, .04);
}
.daily-month-chip {
  height: 25px; padding: 0 9px; border-radius: 999px;
  border: 1px solid #d6dee7; background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #475569; font-size: 10.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.daily-month-chip:hover { border-color: #94a3b8; color: #0f172a; }
.daily-month-chip.is-active {
  border-color: #9f1239; color: #ffffff;
  background: linear-gradient(180deg, #be123c, #881337);
  box-shadow: 0 2px 8px rgba(159, 18, 57, .2);
}
.daily-tool-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.daily-note-tools { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.daily-note-tools-body { display: inline-flex; align-items: center; column-gap: 8px; row-gap: 8px; flex-wrap: wrap; height: auto !important; line-height: normal; }
.daily-search {
  flex: 1; min-width: 180px; padding: 7px 11px; border-radius: 10px;
  border: 1px solid #cbd5e1; background: #fff; font-size: 12px;
}
.daily-resume {
  text-align: left; padding: 8px 12px; border-radius: 12px; font-size: 11px; font-weight: 600;
  color: #0f172a; background: rgba(255,255,255,.92); border: 1px dashed #94a3b8; cursor: pointer;
}
.daily-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.daily-card {
  position: relative; padding: 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(241,245,249,.9));
  border: 1px solid #e2e8f0; box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.daily-card.is-watched { border-color: #86efac; }
.daily-card.is-invalid { border-color: #fda4af; background: linear-gradient(150deg,#fff1f2,#ffe4e6); }
.daily-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.daily-date { font-size: 11px; color: #64748b; font-weight: 600; }
.daily-watched { font-size: 10px; color: #15803d; background: #dcfce7; border-radius: 999px; padding: 2px 7px; font-weight: 700; }
.daily-title { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.35; }
.daily-note { font-size: 11px; color: #b45309; background: #fffbeb; border-radius: 6px; padding: 2px 6px; display: inline-block; }
.daily-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.daily-preview { margin-top: 6px; border-top: 1px dashed #cbd5e1; padding-top: 8px; }
.daily-preview-head, .daily-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: #475569; margin: 4px 0; }
.daily-preview iframe { border-radius: 10px; background: #0f172a; display: block; }

/* 📝 物料本地观看笔记 */
.daily-note-preview {
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(254, 243, 199, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #78500a;
  font-size: 11px;
  line-height: 1.45;
  word-break: break-word;
}
.daily-note-editor {
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.daily-note-textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.55;
  color: #334155;
  outline: none;
}
.daily-note-textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.16);
}
.daily-note-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.daily-note-status {
  font-size: 10px;
  color: #059669;
}

/* 🛠️ 独立管理台分板块 Tab */
.admin-console-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
  background: #eef2f6;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.admin-console-tabs::-webkit-scrollbar { display: none; }
.admin-console-tab {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.admin-console-tab:hover { color: #0f172a; background: rgba(255,255,255,.66); }
.admin-console-tab.is-active {
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(15,23,42,.12), inset 0 0 0 1px rgba(255,255,255,.8);
}

/* 🎬 应援词视频：按钮名称 + 链接双列编辑行 */
.chant-video-edit-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chant-video-edit-row {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) 26px;
  align-items: center;
  gap: 6px;
}
.chant-video-edit-row .chant-form-input {
  min-width: 0;
}
.chant-video-remove {
  width: 26px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
}
.chant-video-remove:hover {
  background: #ffe4e6;
  color: #e11d48;
}
@media (max-width: 420px) {
  .chant-video-edit-row {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) 24px;
    gap: 4px;
  }
  .chant-video-edit-row .chant-form-input {
    font-size: 11px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* 🎬 物料紧凑横向列表 */
.daily-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.daily-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, .85);
  background: linear-gradient(150deg, #ffffff, #f4f7fa);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.daily-row:hover { border-color: #94a3b8; }
.daily-row.is-watched { border-color: #86efac; }
.daily-row.is-invalid { border-color: #fda4af; background: linear-gradient(150deg, #fff1f2, #ffe4e6); }
.daily-row.is-selected { border-color: #64748b; box-shadow: 0 0 0 2px rgba(100, 116, 139, .18); }
.daily-row-check {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: #475569;
  cursor: pointer;
}
.daily-row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 300px;
  min-width: 0;
}
.daily-row-main .daily-date {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #64748b;
  background: #eef2f6;
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}
.daily-row-main .daily-title {
  margin: 0;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.daily-row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex: 0 1 auto;
}
.daily-row-toggle {
  display: none;
  flex: 0 0 auto;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}
.daily-row-status-badges { display: none; align-items: center; gap: 3px; }
.daily-row-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.daily-row-dot.is-watched { background: #15803d; }
.daily-row-dot.is-note { background: #f59e0b; }
.daily-row > .daily-note-preview,
.daily-row > .daily-note-editor,
.daily-row > .daily-preview {
  flex: 0 0 100%;
  width: 100%;
}
.daily-batch-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: #eef2f6;
  border: 1px solid #dbe3eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
@media (max-width: 639.98px) {
  .daily-row-main { width: 100%; cursor: pointer; }
  .daily-row-status-badges { display: inline-flex; }
  .daily-row-toggle { display: inline-flex; }
  .daily-row:not(.is-row-open) .daily-row-actions,
  .daily-row:not(.is-row-open) .daily-tag-panel,
  .daily-row:not(.is-row-open) .daily-note-preview,
  .daily-row:not(.is-row-open) .daily-note-editor,
  .daily-row:not(.is-row-open) .daily-preview { display: none !important; }
  .daily-note-tools-body { display: none; }
  .daily-note-tools.is-open .daily-note-tools-body { display: inline-flex; row-gap: 8px; }
}
@media (max-width: 720px) {
  .daily-row { padding: 7px 8px; gap: 6px; }
  .daily-row-main { flex-basis: 100%; }
  .daily-row-actions { width: 100%; }
  .daily-row-main .daily-title { white-space: normal; }
}

/* 🎬 物料固定频道栏 */
.daily-channel-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 2px 7px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.daily-channel-row::-webkit-scrollbar { display: none; }
.daily-channel-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(150deg, #ffffff, #f3f6f9);
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.daily-channel-chip:hover { color: #0f172a; border-color: #94a3b8; }
.daily-channel-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .22);
}

/* 🛠️ 各主视图上下文直达管理台 */
.view-admin-shortcut-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 1px;
}
.view-admin-shortcut-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(150deg, #ffffff, #f3f6f9);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: all .18s ease;
}
.view-admin-shortcut-btn:hover {
  color: #0f172a;
  border-color: #94a3b8;
}
.view-admin-shortcut-btn.is-unlocked {
  color: #9f1239;
  border-color: #fecdd3;
  background: linear-gradient(150deg, #fff7f8, #ffe9ec);
  box-shadow: 0 2px 8px rgba(159, 18, 57, .1), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* 📱 应援词跟练视频吸顶层：手机端固定视频层，歌词从其下方干净滑过 */
@media (max-width: 768px) {
  .chant-practice-wrap {
    top: 0;
    z-index: 30;
    isolation: isolate;
    background: #f8fafc;
    padding: 0 0 6px;
    margin-bottom: 10px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 20px -16px rgba(15, 23, 42, 0.55);
  }
  .chant-practice-bar {
    background: #f8fafc;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12), inset 0 1px 0 #ffffff;
  }
  .chant-detail-card,
  .chant-lyrics,
  .chant-line,
  .chant-line-body,
  .chant-hl,
  .chant-detail-actions {
    z-index: auto;
  }
}

/* 📱 顶部功能栏严格限制在屏幕宽度内 */
@media (max-width: 768px) {
  header { max-width: 100vw; overflow-x: clip; }
  header .max-w-5xl {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    flex-wrap: wrap;
    row-gap: 5px;
  }
  header .max-w-5xl > .flex:last-child {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
  }
  header .nav-segment {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  header .nav-pill {
    height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }
  header #user-auth-btn,
  header button[onclick="loadTourData(true)"],
  header button[onclick="loadTourData()"],
  .nav-guide-btn {
    padding: 0 8px !important;
    font-size: 11px !important;
  }
}

/* 🔍 应援词顶部实时搜索：银白新拟态 */
.chant-search-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 12px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 55%, #eaf0f6 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, 0.05);
}
.chant-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 32px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: #1e293b;
  font-size: 12px;
  box-shadow: inset 1px 1px 3px rgba(15, 23, 42, 0.08), inset -1px -1px 2px #ffffff;
}
.chant-search-input::placeholder { color: #94a3b8; }
.chant-search-input:focus {
  border-color: #b8c4d2;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.07), 0 0 0 2px rgba(148, 163, 184, 0.16);
}
.chant-search-clear {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.chant-search-clear:hover { color: #0f172a; border-color: #94a3b8; }

/* ⭐ 应援词卡片全站难度均分 */
.chant-song-rating {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}
.chant-song-rating.is-rated {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  color: #92400e;
}

/* 🗑️ 应援词管理员批量选择与删除 */
.chant-song-card.is-selectable { position: relative; padding-left: 38px; }
.chant-batch-check {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(145deg, #ffffff, #eef3f8);
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}
.chant-batch-check input {
  width: 14px;
  height: 14px;
  accent-color: #b91c1c;
  cursor: pointer;
}
.chant-batch-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 7px 9px;
  border-radius: 11px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 55%, #eaf0f6 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, 0.05);
}
.chant-batch-count {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  margin-right: 2px;
}
.chant-batch-btn {
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chant-batch-btn:hover { color: #0f172a; border-color: #94a3b8; }
.chant-batch-btn.is-danger { color: #b91c1c; border-color: #fecaca; background: linear-gradient(180deg, #fff, #fff1f2); }
.chant-batch-btn.is-danger:hover { border-color: #f87171; }
.chant-batch-btn:disabled { opacity: .46; cursor: not-allowed; }
.chant-batch-hint { font-size: 9.5px; color: #94a3b8; }
.chant-admin-batch-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.chant-admin-batch-title { font-size: 10.5px; font-weight: 800; color: #334155; }
.chant-admin-batch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  max-height: 210px;
  overflow-y: auto;
}
.chant-admin-batch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 7px;
  border-radius: 7px;
  border: 1px solid #e8edf3;
  background: #f8fafc;
  font-size: 10.5px;
  color: #475569;
  cursor: pointer;
}
.chant-admin-batch-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chant-admin-batch-item input { flex: 0 0 auto; accent-color: #b91c1c; }
@media (max-width: 640px) {
  .chant-admin-batch-list { grid-template-columns: 1fr; max-height: 180px; }
  .chant-batch-bar { padding: 6px 7px; }
  .chant-batch-btn { height: 26px; font-size: 10px; }
}

/* 🏷️ 物料全站看点标签 */
.daily-tag-filter-wrap { display: flex; flex-direction: column; gap: 6px; }
.daily-tag-filter-row {
  border-radius: 11px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 55%, #eaf0f6 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, 0.04);
}
.daily-tag-filter-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 6px 8px;
}
.daily-tag-filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 11px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 55%, #eaf0f6 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, 0.04);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.daily-tag-filter-toggle-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-tag-filter-toggle-arrow { flex: 0 0 auto; color: #64748b; font-size: 10px; font-weight: 700; }
.daily-tag-filter-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  margin-right: 1px;
}
.daily-tag-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #d6dee7;
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.daily-tag-filter span {
  min-width: 16px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 9px;
  text-align: center;
}
.daily-tag-filter:hover { border-color: #94a3b8; color: #0f172a; }
.daily-tag-filter.is-active {
  border-color: #9f1239;
  background: linear-gradient(180deg, #be123c, #881337);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(159, 18, 57, 0.2);
}
.daily-tag-filter.is-active span { background: rgba(255, 255, 255, 0.22); color: #ffffff; }
.daily-tag-filter-clear {
  height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-size: 9.5px;
  cursor: pointer;
  text-decoration: underline;
}
.daily-title-line {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}
.daily-title-line .daily-title { flex: 0 1 auto; }
.daily-hot-tags { display: inline-flex; align-items: center; column-gap: 3px; row-gap: 8px; flex-wrap: wrap; height: auto !important; line-height: normal; }
.daily-hot-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  color: #92400e;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.daily-row > .daily-tag-panel {
  flex: 0 0 100%;
  width: 100%;
}
.daily-tag-panel {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.daily-tag-panel[hidden] { display: none !important; }
.daily-tag-panel-tip { font-size: 10px; color: #94a3b8; }
.daily-tag-options { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.daily-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #d6dee7;
  background: #ffffff;
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.daily-tag-chip:hover { border-color: #94a3b8; }
.daily-tag-chip.is-active {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  color: #9f1239;
  box-shadow: inset 0 1px 0 #ffffff, 0 1px 5px rgba(159, 18, 57, 0.1);
}
.daily-tag-chip-count {
  min-width: 16px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #eef2f6;
  color: #64748b;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}
.daily-tag-chip.is-active .daily-tag-chip-count { background: #fecdd3; color: #9f1239; }
@media (max-width: 639.98px) {
  .daily-tag-filter-toggle { display: flex; }
  .daily-tag-filter-row {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.22s ease, padding 0.22s ease;
    padding: 0;
  }
  .daily-tag-filter-wrap.is-open .daily-tag-filter-row { grid-template-rows: 1fr; }
  .daily-tag-filter-chips { min-height: 0; overflow: hidden; }
}
@media (max-width: 720px) {
  .daily-tag-filter-chips { padding: 6px 7px; gap: 4px; }
  .daily-tag-filter { height: 24px; padding: 0 7px; font-size: 10px; }
  .daily-title-line { width: 100%; }
  .daily-tag-panel { padding: 6px 7px; gap: 5px; }
  .daily-tag-panel-tip { width: 100%; }
}

/* ================= ➕ 物料投稿与待审队列 ================= */
.daily-hero-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.daily-submit-entry {
  border-color: #cbd5e1;
  background: linear-gradient(145deg, #ffffff, #eef3f8);
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 9px rgba(15, 23, 42, .07);
}
.daily-submit-entry:hover { border-color: #94a3b8; }
.media-submit-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 23, 42, .48); backdrop-filter: blur(4px);
}
.media-submit-overlay.hidden { display: none !important; }
.media-submit-card {
  width: min(540px, 100%); max-height: 88vh; overflow-y: auto;
  padding: 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.94);
  background: linear-gradient(150deg, #ffffff 0%, #f3f7fb 58%, #e9eff6 100%);
  box-shadow: 0 24px 60px rgba(15,23,42,.24), inset 0 1px 0 #ffffff;
}
.media-submit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.media-submit-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; }
.media-submit-head p { margin: 3px 0 0; font-size: 10.5px; color: #64748b; line-height: 1.5; }
.media-submit-close {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 999px;
  border: 1px solid #dbe3eb; background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #64748b; font-size: 15px; cursor: pointer;
}
.media-submit-close:hover { color: #0f172a; border-color: #94a3b8; }
.media-submit-body { display: flex; flex-direction: column; gap: 9px; }
.media-submit-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.media-submit-field > span { font-size: 10.5px; font-weight: 700; color: #475569; }
.media-submit-field > span b { color: #be123c; }
.media-submit-field input,
.media-submit-field select {
  width: 100%; height: 34px; padding: 0 10px; border-radius: 9px;
  border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a; font-size: 11.5px;
}
.media-submit-field input:focus,
.media-submit-field select:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.14); }
.media-submit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; }
.media-submit-hint { font-size: 9.5px; line-height: 1.45; color: #94a3b8; }
.media-submit-hint[data-tone="warn"] { color: #b45309; }
.media-submit-hint[data-tone="ok"] { color: #047857; }
.media-submit-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 4px; }
.media-submit-primary { border-color: #9f1239; background: linear-gradient(180deg, #be123c, #881337); color: #ffffff; }
.media-submit-primary:hover { border-color: #881337; color: #ffffff; }
.media-submit-primary:disabled { opacity: .55; cursor: wait; }

.media-submission-admin {
  padding: 11px; border-radius: 15px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(145deg, #ffffff, #f4f7fa 60%, #edf2f7);
  box-shadow: inset 0 1px 0 #ffffff, 0 5px 14px rgba(15,23,42,.05);
}
.media-submission-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
#admin-media-submissions-title { font-size: 12px; font-weight: 800; color: #0f172a; }
.media-submission-admin-list { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.media-submission-admin-empty { font-size: 10.5px; color: #94a3b8; padding: 8px 2px; line-height: 1.6; }
.media-submission-admin-item {
  padding: 9px 10px; border-radius: 11px; border: 1px solid #e2e8f0; background: rgba(255,255,255,.86);
  display: flex; flex-direction: column; gap: 4px;
}
.media-submission-admin-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 9.5px; color: #94a3b8; }
.media-submission-admin-meta span {
  padding: 1px 6px; border-radius: 999px; background: #eef2f6; color: #475569; font-weight: 700;
}
.media-submission-admin-title { font-size: 12px; font-weight: 700; color: #0f172a; line-height: 1.45; overflow-wrap: anywhere; }
.media-submission-admin-link a { font-size: 10.5px; color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.media-submission-admin-note { margin: 0; font-size: 10.5px; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; }
.media-submission-admin-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.media-submission-link-btn { border: 0; background: transparent; padding: 0; color: #1d4ed8; font-size: 10.5px; text-decoration: underline; cursor: pointer; }
@media (max-width: 720px) {
  .daily-hero-actions { width: 100%; justify-content: flex-end; }
  .daily-submit-entry { flex: 1 1 auto; }
  .media-submit-overlay { padding: 10px; }
  .media-submit-card { max-height: 92vh; padding: 13px; border-radius: 16px; }
  .media-submit-row { grid-template-columns: 1fr; }
  .media-submit-actions { justify-content: stretch; }
  .media-submit-actions .tour-action-btn { flex: 1 1 0; }
}

/* ================= 💼 商务投稿与待审队列 ================= */
.brand-toolbar-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.endorsement-submit-overlay {
  position: fixed; inset: 0; z-index: 12000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15,23,42,.48); backdrop-filter: blur(4px);
}
.endorsement-submit-overlay.hidden { display: none !important; }
.endorsement-submit-card {
  width: min(540px, 100%); max-height: 88vh; overflow-y: auto;
  padding: 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.94);
  background: linear-gradient(150deg, #ffffff 0%, #f3f7fb 58%, #e9eff6 100%);
  box-shadow: 0 24px 60px rgba(15,23,42,.24), inset 0 1px 0 #ffffff;
}
.endorsement-submit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.endorsement-submit-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; }
.endorsement-submit-head p { margin: 3px 0 0; font-size: 10.5px; color: #64748b; line-height: 1.5; }
.endorsement-submit-close {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 999px;
  border: 1px solid #dbe3eb; background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #64748b; font-size: 15px; cursor: pointer;
}
.endorsement-submit-close:hover { color: #0f172a; border-color: #94a3b8; }
.endorsement-submit-body { display: flex; flex-direction: column; gap: 9px; }
.endorsement-submit-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.endorsement-submit-field > span { font-size: 10.5px; font-weight: 700; color: #475569; }
.endorsement-submit-field > span b { color: #be123c; }
.endorsement-submit-field input,
.endorsement-submit-field select {
  width: 100%; height: 34px; padding: 0 10px; border-radius: 9px;
  border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a; font-size: 11.5px;
}
.endorsement-submit-field input:focus,
.endorsement-submit-field select:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.14); }
.endorsement-submit-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 4px; }
.endorsement-submit-primary {
  padding: 8px 13px; border-radius: 999px; border: 1px solid #9f1239;
  background: linear-gradient(180deg, #be123c, #881337); color: #ffffff;
  font-size: 11px; font-weight: 800; cursor: pointer;
}
.endorsement-submit-primary:hover { filter: brightness(1.05); }
.endorsement-submit-primary:disabled { opacity: .55; cursor: wait; }

.endorsement-submission-admin {
  margin-bottom: 10px; padding: 11px; border-radius: 15px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(145deg, #ffffff, #f4f7fa 60%, #edf2f7);
  box-shadow: inset 0 1px 0 #ffffff, 0 5px 14px rgba(15,23,42,.05);
}
.endorsement-submission-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
#endorsement-submission-title { font-size: 12px; font-weight: 800; color: #0f172a; }
.endorsement-submission-list { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.endorsement-submission-empty { font-size: 10.5px; color: #94a3b8; padding: 8px 2px; line-height: 1.6; }
.endorsement-submission-item {
  padding: 9px 10px; border-radius: 11px; border: 1px solid #e2e8f0; background: rgba(255,255,255,.88);
  display: flex; flex-direction: column; gap: 3px;
}
.endorsement-submission-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 9.5px; color: #94a3b8; }
.endorsement-submission-meta span {
  padding: 1px 6px; border-radius: 999px; background: #eef2f6; color: #475569; font-weight: 700;
}
.endorsement-submission-brand { font-size: 12.5px; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.endorsement-submission-role { font-size: 10.5px; color: #64748b; }
.endorsement-submission-link { font-size: 10.5px; color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.endorsement-submission-note { margin: 0; font-size: 10.5px; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; }
.endorsement-submission-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.endorsement-link-btn { border: 0; background: transparent; padding: 0; color: #1d4ed8; font-size: 10.5px; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .brand-toolbar-actions { width: 100%; justify-content: flex-end; }
  .brand-submit-btn { flex: 0 1 auto; }
  .endorsement-submit-overlay { padding: 10px; }
  .endorsement-submit-card { max-height: 92vh; padding: 13px; border-radius: 16px; }
  .endorsement-submit-actions { justify-content: stretch; }
  .endorsement-submit-actions button { flex: 1 1 0; }
}

/* 👤 访客昵称本地校验提示 */
.guest-nickname-hint {
  min-height: 15px;
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #94a3b8;
  overflow-wrap: anywhere;
}
.guest-nickname-hint[data-tone="error"] { color: #be123c; font-weight: 600; }


/* 💖 首页特别鸣谢 */
.contributor-credits-card {
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 20px;
  padding: 15px 16px;
  background: linear-gradient(145deg, #f7f9fc, #e9edf4);
  box-shadow: 8px 8px 18px rgba(163,177,198,.28), -8px -8px 18px rgba(255,255,255,.92);
}
.contributor-credits-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.contributor-credits-head h2 {
  margin: 0; font-size: 14px; font-weight: 800; color: #0f172a; letter-spacing: .01em;
}
.contributor-credits-head p {
  margin: 4px 0 0; font-size: 10.5px; line-height: 1.55; color: #64748b;
}
.contributor-credits-count {
  flex: 0 0 auto; padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 700; color: #64748b;
  background: #eef2f7; box-shadow: inset 2px 2px 4px rgba(163,177,198,.22), inset -2px -2px 4px rgba(255,255,255,.9);
}
.contributor-credits-badges {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.contributor-credits-badge {
  display: inline-flex; align-items: center; max-width: 100%;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #334155;
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 3px 3px 7px rgba(163,177,198,.24), -3px -3px 7px rgba(255,255,255,.95);
  overflow-wrap: anywhere;
}
.contributor-credits-times { color: #be123c; font-size: 9.5px; font-weight: 800; }
.contributor-credits-empty {
  font-size: 11px; line-height: 1.6; color: #94a3b8;
  padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.55);
}
@media (max-width: 640px) {
  .contributor-credits-card { padding: 13px; border-radius: 16px; }
  .contributor-credits-head h2 { font-size: 13px; }
  .contributor-credits-badge { font-size: 10.5px; padding: 4px 9px; }
}

/* ☀️ 首页微时间轴：日期 + 天气纯文本行内展示 */
.timeline-meta-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow: visible;
}
.timeline-meta-head .timeline-meta-date {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-weather-badge {
  display: inline-block;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: anywhere;
  text-align: left;
}
.timeline-weather-badge:not([hidden])::before {
  content: '·';
  margin-right: 8px;
  color: #cbd5e1;
}
.timeline-weather-badge[hidden] { display: none !important; }
@media (max-width: 640px) {
  .timeline-meta-head {
    flex-wrap: wrap;
    gap: 4px 10px;
    width: 100%;
  }
  .timeline-weather-badge {
    max-width: 100% !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }
  .timeline-weather-badge::before { content: none !important; }
}

/* 曲目卡片：多版本顶部切换标签 */
.chant-song-card { flex-wrap: wrap; }
.chant-song-versions {
  flex: 1 0 100%;
  order: -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  padding-bottom: 1px;
}
.chant-song-version {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #dbe4ee;
  background: #f8fafc;
  color: #475569;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.chant-song-version:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

/* ================= 🎒 首页微时间轴 / 档案卡顶部胶囊：窄屏防溢出最终兜底 ================= */
.timeline-card,
.archive-strip {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}
#home-upcoming-timeline .timeline-card-main,
#home-upcoming-timeline .timeline-card-body,
.archive-strip .archive-strip-body {
  min-width: 0;
  max-width: 100%;
}
#home-upcoming-timeline .timeline-card-body,
.archive-strip .archive-strip-body {
  flex: 1 1 0 !important;
  width: auto !important;
  box-sizing: border-box;
}
#home-upcoming-timeline .timeline-title-row,
.archive-title-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  row-gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
#home-upcoming-timeline .timeline-title-row > .timeline-card-actions,
.archive-title-row .archive-top-actions {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  box-sizing: border-box;
}
#home-upcoming-timeline .timeline-card-actions .tl-state-chip,
#home-upcoming-timeline .timeline-card-actions .tl-detail-btn,
#home-upcoming-timeline .timeline-card-actions .plan-chip,
.archive-top-actions .plan-chip {
  flex: 0 0 auto !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  #home-upcoming-timeline .timeline-title-row,
  .archive-title-row {
    gap: 4px !important;
    row-gap: 5px !important;
  }
  #home-upcoming-timeline .timeline-title-row > .timeline-card-actions,
  .archive-title-row .archive-top-actions {
    gap: 4px !important;
  }
  #home-upcoming-timeline .timeline-card-actions .tl-plan-action {
    display: inline-flex !important;
  }
  #home-upcoming-timeline .timeline-card-actions .tl-state-chip,
  #home-upcoming-timeline .timeline-card-actions .tl-detail-btn,
  #home-upcoming-timeline .timeline-card-actions .plan-chip,
  .archive-top-actions .plan-chip {
    height: auto !important;
    min-height: 24px !important;
    max-height: none !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
}

/* ================= ⏳ 同主题同城市多版本场次：延期轨迹银白微胶囊 ================= */
.tour-reschedule-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin: 3px 0 0;
  min-width: 0;
}
.tour-reschedule-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06);
}
@media (max-width: 640px) {
  .tour-reschedule-row { margin-top: 2px; }
  .tour-reschedule-pill {
    padding: 3px 7px;
    font-size: 9.5px;
    border-radius: 8px;
  }
}

/* ============================================================
   📱 手机端演出卡片：清晰信息层级 + 紧凑操作胶囊（≤640px）
   顶部只留艺人 + 状态；计划/清单/时间表统一下移到海报信息区下方
   ============================================================ */
.tl-state-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}
.showtime-status-pill {
  height: auto !important;
  min-height: 22px !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  box-sizing: border-box;
}
.showtime-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.showtime-meta-row .plan-chip,
.card-head-actions--desktop .plan-chip {
  margin-left: 0;
}
.card-venue-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.card-venue-meta-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
}
.card-venue-actions--desktop {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.card-venue-actions--mobile {
  display: none;
}
.card-head-edit--desktop {
  display: none;
}
.show-card-status-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.showtime-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  height: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 58%, #e2e8f0 100%);
  color: #334155;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 1px 2px rgba(148, 163, 184, 0.22);
}
.showtime-pill--interactive {
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.showtime-pill--interactive:hover,
.showtime-pill--interactive:focus-visible {
  border-color: #94a3b8;
  background: linear-gradient(135deg, #ffffff 0%, #e8eef5 58%, #dbe3ec 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 5px rgba(100, 116, 139, 0.18);
  transform: translateY(-1px);
}
.showtime-pill--interactive:active {
  transform: translateY(0) scale(0.98);
  box-shadow: inset 0 2px 4px rgba(100, 116, 139, 0.18);
}
.showtime-pill--static {
  cursor: default;
}
.card-head-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
.card-head-right .show-card-status-wrap {
  margin-left: 0;
}
.card-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.card-head-actions--mobile {
  display: none;
}
.card-head-actions--desktop .plan-chip,
.card-head-actions--desktop .tl-detail-btn,
.card-head-actions--desktop .timeline-table-btn,
.card-head-actions--desktop .timeline-slot-badge,
.card-head-actions--desktop .slot-hover-badge {
  width: auto !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 24px !important;
  max-height: none !important;
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.tour-meta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}
@media (min-width: 641px) {
  .card-head-actions--desktop { display: flex; }
  .tour-meta-actions.card-head-actions--mobile { display: none !important; }
  .timeline-title-row,
  .show-card-top-row,
  .archive-title-row {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .card-head-right .showtime-status-pill {
    min-height: 24px !important;
    padding: 3px 8px !important;
  }
  .card-venue-actions--desktop {
    display: flex;
  }
  .card-head-edit--desktop {
    display: inline-flex;
  }
  .show-card-quick-row--mobile,
  .archive-edit-mobile {
    display: none !important;
  }
  .timeline-card-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  /* 1) 首页微时间轴：艺人 + 状态同一行，状态靠右 */
  #home-upcoming-timeline .timeline-title-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .card-head-actions--desktop {
    display: none !important;
  }
  .card-head-actions--mobile {
    display: flex !important;
  }
  .card-head-right {
    flex-wrap: nowrap !important;
  }
  .card-venue-actions--mobile {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 6px !important;
  }
  #home-upcoming-timeline .card-venue-actions--mobile .tl-plan-action {
    display: inline-flex !important;
  }
  .card-venue-actions--mobile .plan-chip,
  .card-venue-actions--mobile .tour-action-btn {
    width: auto !important;
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 30px !important;
    max-height: none !important;
    margin-left: 0 !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .card-venue-quick-original {
    display: none !important;
  }
  .card-venue-meta-main .showtime-meta-row {
    margin-top: 6px !important;
  }
  #home-upcoming-timeline > .timeline-card,
  .timeline-card,
  .show-card,
  .archive-strip {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  #home-upcoming-timeline .timeline-card-main,
  #home-upcoming-timeline .timeline-card-body,
  .show-card > .flex,
  .show-card .show-card-body,
  .archive-strip .archive-strip-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-bottom: 0 !important;
  }
  #home-upcoming-timeline .timeline-card .tl-quick-bar,
  .show-card .tour-actions-row {
    margin: 10px 0 !important;
    padding: 10px 0 0 !important;
  }
  #home-upcoming-timeline .timeline-card .poster-square-box,
  .show-card .poster-square-box {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 150px !important;
    aspect-ratio: auto !important;
    flex: 0 0 110px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
  }
  #home-upcoming-timeline .timeline-card .poster-square-box img,
  .show-card .poster-square-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 2) 操作胶囊独立成行，紧凑横排，不拉通栏 */
  .tour-meta-actions .plan-chip,
  .tour-meta-actions .tl-detail-btn,
  .tour-meta-actions .timeline-table-btn,
  .tour-meta-actions .timeline-slot-badge,
  .tour-meta-actions .slot-hover-badge {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 30px !important;
    max-height: none !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  #home-upcoming-timeline .timeline-card > .tour-meta-actions {
    margin-top: 10px !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .show-card > .tour-meta-actions,
  .archive-strip > .tour-meta-actions {
    margin-top: 10px !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* 3) 档案演出卡顶部：艺人 + 状态两端对齐 */
  .show-card .show-card-top-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .show-card .show-card-status-wrap {
    margin-left: auto;
  }
  .archive-strip .archive-title-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* 4) 卡片底部快捷入口：保留双列网格 */
  #home-upcoming-timeline .timeline-card .tl-quick-bar,
  .show-card .tour-actions-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 8px 0 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
  }
  #home-upcoming-timeline .timeline-card .tl-quick-btn,
  .show-card .tour-actions-row .tour-action-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 34px !important;
    max-height: none !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }
  #home-upcoming-timeline .timeline-card .tl-quick-btn:nth-child(5),
  .show-card .tour-actions-row .tour-action-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  /* 5) 底部导航：单行 5 等分、加宽点击区，禁止第二行 */
  nav.fixed.bottom-0 {
    padding: 0 !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }
  nav.fixed.bottom-0 .nav-segment--block::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: max-content !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    box-sizing: border-box !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active {
    border-radius: 10px !important;
  }
}

/* ================= 🎤 正在开演：北京时间时段内脉冲高亮 ================= */
.timeline-live-badge {
  border: 1px solid rgba(148, 163, 184, 0.75) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #dbe3ec 100%) !important;
  color: #0f172a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 1px 2px rgba(100, 116, 139, 0.18);
  animation: onerLivePulse 1.8s ease-in-out infinite;
}
@keyframes onerLivePulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 1px 2px rgba(100, 116, 139, 0.16);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      0 2px 6px rgba(100, 116, 139, 0.24);
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-live-badge { animation: none; }
}

/* ================= 🎬 应援词视频行：每个视频独立起始时间 ================= */
.chant-video-edit-row {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.12fr) 96px 26px;
}
.chant-video-row-time {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.chant-video-row-time.is-invalid {
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
  color: #b91c1c !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15) !important;
}
@media (max-width: 640px) {
  .chant-video-edit-row {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) 78px 24px;
    gap: 4px;
  }
}
@media (max-width: 420px) {
  .chant-video-edit-row {
    grid-template-columns: minmax(0, 1fr) 76px 24px;
  }
  .chant-video-edit-row .chant-video-name {
    grid-column: 1 / -1;
  }
}

/* ================= 档案页 / 首页微时间轴：计划前往 + 足迹统一胶囊 ================= */
.plan-chip.tour-record-pill {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  border-width: 1px !important;
  border-style: solid !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* ================= 🚄 出行比价：抵达站点切换胶囊 ================= */
.travel-dest-hubs {
  padding: 6px 16px 2px;
}
.travel-dest-hubs.hidden { display: none !important; }
.travel-dest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 6px;
}
.travel-dest-head > span {
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
}
.travel-dest-head > em {
  font-style: normal;
  font-size: 9.5px;
  color: #94a3b8;
}
.travel-dest-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.travel-dest-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-height: 34px;
  padding: 4px 9px;
  border-radius: 9px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.travel-dest-chip small {
  font-size: 9px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
}
.travel-dest-chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
}
.travel-dest-chip.is-active {
  border-color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow: inset 0 1px 0 #ffffff, 2px 2px 6px rgba(163, 177, 198, 0.28);
}
.travel-dest-chip.is-air small { color: #64748b; }
@media (max-width: 640px) {
  .travel-dest-hubs { padding: 6px 13px 2px; }
  .travel-dest-chip {
    min-height: 32px;
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .travel-dest-chip small { font-size: 8.5px; }
}

/* ================= 🔐 顶部管理员解锁入口：始终可见 / 手机端防溢出 ================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.admin-unlock-top-btn {
  flex-shrink: 0;
  max-width: 100%;
}
.admin-unlock-top-btn.is-unlocked {
  border-color: rgba(71, 85, 105, 0.55);
  color: #0f172a;
}

/* ================= 🤫 隐形管理员入口：身份弹窗标题热区 / 管理态角标 ================= */
/* 标题保持普通文字样式：无边框、无按钮感、无提示语 */
.user-auth-title {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#admin-exit-row { display: none; }
#admin-exit-row.hidden { display: none !important; }
#admin-exit-row:not(.hidden) { display: flex; }
#user-auth-btn .admin-state-badge {
  display: inline-block;
  margin-left: 3px;
  font-size: 9px;
  line-height: 1;
  vertical-align: 1px;
  opacity: 0.75;
  pointer-events: none;
}
/* 视图内「🛠️ 管理…」快捷键：仅管理态可见，访客界面不留任何管理员入口痕迹 */
.view-admin-shortcut-btn { display: none; }
.view-admin-shortcut-btn.is-unlocked { display: inline-flex; }
@media (max-width: 640px) {
  header .nav-segment { display: none !important; }
  header .max-w-5xl {
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .header-brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px !important;
    overflow: hidden;
  }
  .header-brand h1 {
    font-size: 15px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header .max-w-5xl > .header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 6px !important;
    margin-left: 0 !important;
  }
  .header-actions > button {
    flex-shrink: 0 !important;
    height: 30px !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box;
  }
  .header-actions #user-auth-btn {
    max-width: 72px;
    padding: 5px 6px !important;
    font-size: 11px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 桌面端：日期完整展示，天气紧随其后同排 */
@media (min-width: 641px) {
  .timeline-meta-head {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  .timeline-meta-head .timeline-meta-date {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  .timeline-weather-badge {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

/* ================= 📱 档案及巡演卡：手机端操作胶囊统一 ================= */
@media (max-width: 640px) {
  .card-venue-quick-pair {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .card-venue-quick-pair .tour-action-btn {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .showtime-pill {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }
  .show-card .countdown-glass:not(.space-y-1) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 36px !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
  }
  .show-card .countdown-glass:not(.space-y-1) > span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  .plan-chip.tour-record-pill {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    gap: 4px !important;
  }
}

/* ================= 🖼️ 演出卡片：海报固定 3:4，避免时间表增减导致高低差 ================= */
.show-card-main,
.archive-card-main,
#home-upcoming-timeline .timeline-card-main {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}
.show-card-main > .poster-square-box,
#home-upcoming-timeline .timeline-card .poster-square-box {
  width: 136px !important;
  min-width: 136px !important;
  max-width: 136px !important;
  height: 184px !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  align-self: flex-start !important;
  flex: 0 0 136px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
}
.show-card-main > .poster-square-box img,
#home-upcoming-timeline .timeline-card .poster-square-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
}
@media (max-width: 640px) {
  .show-card-main,
  .archive-card-main,
  #home-upcoming-timeline .timeline-card-main {
    gap: 12px !important;
  }
  .show-card-main > .poster-square-box,
  #home-upcoming-timeline .timeline-card .poster-square-box {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    height: 152px !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 112px !important;
    border-radius: 12px !important;
  }
  .card-venue-actions--mobile {
    row-gap: 6px !important;
    margin-top: 6px !important;
  }
  .card-venue-quick-pair { margin-top: 0 !important; }
  .card-venue-meta-main .showtime-meta-row { margin-top: 6px !important; }
}

/* ================= 🏷️ 卡片顶部：想去 / 足迹 微徽章 ================= */
.tour-top-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.plan-chip.tour-top-badge {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}
.plan-chip.tour-top-badge.is-active {
  border-color: rgba(200, 16, 46, 0.28) !important;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe4e8 100%) !important;
  color: #9f1239 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ================= 🧱 卡片文本限高与 4 按钮 2×2 网格 ================= */
.show-card-title,
.archive-strip-title,
.timeline-card-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.show-card-venue,
.archive-venue-row,
.timeline-meta-venue,
.archive-price-row {
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.archive-actions-row.is-four-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin-left: auto !important;
}
.archive-actions-row.is-four-actions > .tour-action-btn {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  text-align: center !important;
}
@media (max-width: 640px) {
  .archive-actions-row.is-four-actions {
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}

/* ================= 💬 长地址 / 票价完整信息浮层 ================= */
.meta-expandable {
  cursor: pointer;
  touch-action: manipulation;
}
.meta-popover {
  position: fixed;
  z-index: 10050;
  max-width: min(320px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, #f8fafc, #e8edf4);
  box-shadow: 0 10px 28px rgba(30, 41, 59, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.meta-popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 场馆地址气泡：可点击复制全称 */
.meta-popover.is-copyable {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.meta-popover-line {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.meta-popover-copy {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}
.meta-popover-copy:hover { color: #0f172a; border-color: #94a3b8; }
.meta-popover-copy.is-copied {
  color: #047857;
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
}
@media (min-width: 641px) {
  .meta-expandable:hover {
    color: #1e293b;
  }
}

/* ================= 🖥️ 桌面端卡片：场馆下方票价 / 座位视野 + 海报 3:4 ================= */
.desktop-meta-only,
.card-venue-actions--desktop {
  display: none;
}
@media (min-width: 641px) {
  .desktop-meta-only {
    display: block !important;
  }
  .card-venue-actions--desktop {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 4px !important;
    width: 100% !important;
  }
  .card-venue-actions--desktop .card-venue-quick-pair {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: auto !important;
    margin: 0 !important;
  }
  .card-venue-actions--desktop .tour-action-btn {
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .ticket-price-row--desktop,
  .archive-price-row--desktop,
  .home-price-row {
    margin-top: 2px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .show-card-main > .poster-square-box,
  #home-upcoming-timeline .timeline-card .poster-square-box {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    height: 158px !important;
    min-height: 0 !important;
    max-height: 158px !important;
    flex: 0 0 118px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    align-self: flex-start !important;
  }
  .show-card-main > .poster-square-box img,
  #home-upcoming-timeline .timeline-card .poster-square-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 18% !important;
  }
}
@media (min-width: 641px) {
  .ticket-price-row,
  .archive-price-row {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* ================= › 标题详情引导 / 首次提示 / 详情弹窗 ================= */
.title-clickable {
  cursor: pointer;
}
.title-chevron {
  display: inline-block;
  margin-left: 2px;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}
@media (min-width: 641px) {
  .title-clickable:hover,
  .title-clickable:focus-visible {
    color: #1e293b;
    outline: none;
  }
  .title-clickable:hover .title-chevron,
  .title-clickable:focus-visible .title-chevron {
    color: #dc2626;
    transform: translateX(2px);
  }
}
.tour-title-tip {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 10060;
  width: max-content;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 10px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #f8fafc, #e7edf4);
  box-shadow: 0 10px 26px rgba(30, 41, 59, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s;
  pointer-events: none;
}
.tour-title-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.show-info-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.show-info-hero {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, #f8fafc, #e9eef5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 6px 16px rgba(30, 41, 59, 0.06);
}
.show-info-kicker {
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.show-info-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.show-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.show-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  line-height: 1.6;
}
.show-info-row > span {
  flex: 0 0 88px;
  color: #64748b;
  font-weight: 600;
}
.show-info-row > strong {
  flex: 1 1 auto;
  min-width: 0;
  color: #334155;
  font-weight: 600;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.show-info-calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: linear-gradient(145deg, #fff, #fdecec);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
}
.show-info-hint {
  margin: -4px 0 0;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 640px) {
  .tour-title-tip {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
  .show-info-row > span {
    flex-basis: 78px;
  }
}

/* ================= 🖥️ 桌面端：座位 / 视野 / 时间表胶囊与票价放大 ================= */
@media (min-width: 641px) {
  .card-venue-actions--desktop .tour-action-btn,
  .showtime-meta-row .showtime-pill {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    gap: 5px !important;
    box-sizing: border-box !important;
  }
  .card-venue-actions--desktop .tour-action-btn {
    width: auto !important;
    flex: 0 0 auto !important;
  }
}


/* ================= 💰 日期 / 场馆 / 票价三行统一元信息排版 ================= */
.show-card-date-row,
.show-card-venue,
.ticket-price-row,
.archive-date-row,
.archive-date-ics,
.archive-venue-row,
.archive-price-row,
.timeline-card-meta .timeline-meta-line,
.home-price-row {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #5b6777 !important;
  letter-spacing: normal !important;
}

/* 🎫 抢票倒计时 / 开票状态栏：紧随票价行，同样位于座位图按钮组正上方 */
.show-card-sale-status {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin-top: 4px;
  overflow: hidden;
}
.show-card-sale-status > .countdown-glass {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.show-card-sale-status .countdown-glass > * {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-venue-meta-main .tl-sale-status {
  margin-top: 4px;
}

/* 💰 票价行：紧贴「查看座位图 / 视野 live」按钮组上方，单行不溢出（桌面与手机一致） */
.ticket-price-row,
.ticket-price-row--desktop,
.archive-price-row,
.archive-price-row--desktop,
.home-price-row {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.card-venue-meta-main > .ticket-price-row,
.card-venue-meta-main > .archive-price-row,
#home-upcoming-timeline .card-venue-meta-main > .home-price-row {
  margin-top: 2px;
}
.card-venue-meta-main > .card-venue-actions--desktop,
.card-venue-meta-main > .card-venue-actions--mobile {
  margin-top: 6px;
}

/* ================= 🍽️ 同款口味投票：预设 + 审核心自定义 ================= */
.checkin-flavor-block {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed #dbe3ec;
}
.checkin-flavor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}
.checkin-flavor-title > span:last-child {
  color: #94a3b8;
  font-weight: 500;
  text-align: right;
}
.checkin-flavor-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
/* 已经有人投过票：整块收成一行，其余口味滑出来看 */
.checkin-flavor-list.is-one-line {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.checkin-flavor-list.is-one-line::-webkit-scrollbar { display: none; }
.checkin-flavor-list.is-one-line .checkin-flavor-pill { flex: 0 0 auto; }
.checkin-flavor-more {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  padding: 0 2px;
  cursor: pointer;
}
.checkin-flavor-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 27px;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #eef3f8);
  color: #475569;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.checkin-flavor-pill > span,
.checkin-flavor-pill > b {
  position: relative;
  z-index: 1;
}
.checkin-flavor-pill > b {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
}
.checkin-flavor-pill > i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--flavor-pct, 0%);
  height: 2px;
  background: linear-gradient(90deg, #fecdd3, #be123c);
  opacity: 0.65;
  transition: width 0.24s ease;
}
.checkin-flavor-pill.is-active {
  border-color: #fecdd3;
  background: linear-gradient(145deg, #fff, #fff1f2);
  color: #9f1239;
}
.checkin-flavor-pill.is-active > b {
  color: #be123c;
}
.checkin-flavor-pill:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
.checkin-flavor-pill.is-active:hover {
  border-color: #fda4af;
  color: #881337;
}


/* 批量 OCR 预览：原始海报文件名 */
.ocr-thumb-file {
  max-width: 64px;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.35;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= 📅 今日黄历 / 答案之书 / 今日灵感签 ================= */
.almanac-entry-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 48%, #dfe5ee 100%);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.almanac-entry-pill:hover {
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.almanac-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}
.almanac-modal.hidden { display: none; }
.almanac-dialog {
  width: min(96vw, 760px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 52%, #e9edf3 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.almanac-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 12px;
}
.almanac-dialog-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #94a3b8;
  font-weight: 700;
}
.almanac-dialog-head h3 {
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}
.almanac-close-btn {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, #ffffff, #e5eaf1);
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}
.almanac-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #e8edf4;
  box-shadow: inset 2px 2px 5px rgba(148, 163, 184, 0.24), inset -2px -2px 5px rgba(255, 255, 255, 0.92);
  overflow-x: auto;
}
.almanac-tab {
  flex: 1 0 auto;
  min-width: 108px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.almanac-tab.is-active {
  color: #0f172a;
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.11), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.almanac-body { min-height: 300px; }
.almanac-calendar { display: flex; flex-direction: column; gap: 12px; }
.almanac-date-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.almanac-nav-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}
.almanac-nav-btn.is-today {
  color: #9f1239;
  border-color: rgba(244, 114, 182, 0.34);
  background: linear-gradient(145deg, #fff7fa, #fce7f3);
}
.almanac-date-input {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  color-scheme: light;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}
.almanac-head {
  position: relative;
  padding: 16px 14px 14px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 5, 20, 0.06), transparent 46%),
    linear-gradient(145deg, #ffffff 0%, #f3f5f9 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.almanac-solar-date {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.almanac-weekday {
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}
.almanac-lunar-date {
  margin-top: 10px;
  font-size: 14px;
  color: #334155;
  font-weight: 800;
}
.almanac-ganzhi {
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.04em;
}
.almanac-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.almanac-term-pill, .almanac-festival-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(220, 252, 231, 0.8);
  border: 1px solid rgba(134, 239, 172, 0.55);
  color: #166534;
  font-size: 10.5px;
  font-weight: 700;
}
.almanac-festival-pill {
  background: rgba(254, 242, 242, 0.92);
  border: 1px solid rgba(252, 165, 165, 0.55);
  color: #9f1239;
}
.almanac-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.almanac-info-grid > div {
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.86);
}
.almanac-info-grid span {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 700;
}
.almanac-info-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #334155;
}
.almanac-info-grid > div.is-wide { grid-column: 1 / -1; }
.almanac-source-note {
  margin-top: -3px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.03em;
  color: #94a3b8;
}
.almanac-yiji-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.almanac-yiji-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #ffffff, #f2f5f9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.almanac-yiji-card.is-yi { border-left: 4px solid #16a34a; }
.almanac-yiji-card.is-ji { border-left: 4px solid #dc2626; }
.almanac-yiji-title {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}
.is-yi .almanac-yiji-title { color: #166534; background: #dcfce7; }
.is-ji .almanac-yiji-title { color: #991b1b; background: #fee2e2; }
.almanac-yiji-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.almanac-yiji-tags span {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.is-yi .almanac-yiji-tags span { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.is-ji .almanac-yiji-tags span { color: #9f1239; background: #fff1f2; border-color: #fecdd3; }
.almanac-auspicious {
  margin-top: 2px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.98), 0 4px 12px rgba(15, 23, 42, 0.05);
}
.almanac-auspicious-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.almanac-auspicious-title {
  display: block;
  font-size: 12px;
  color: #1e293b;
  font-weight: 900;
}
.almanac-auspicious-sub {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.almanac-auspicious-filters {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}
.almanac-auspicious-filter {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 9.5px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.almanac-auspicious-filter.is-active {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
}
.almanac-auspicious-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.almanac-auspicious-pill {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  flex: 1 1 160px;
  padding: 7px 10px;
  border-radius: 13px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: linear-gradient(145deg, #ffffff, #f4f7fa);
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.055);
}
.almanac-auspicious-pill-date { white-space: nowrap; }
.almanac-auspicious-hit {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(187, 247, 208, 0.95);
  background: #f0fdf4;
  color: #166534;
  font-size: 8.5px;
  font-weight: 800;
  white-space: nowrap;
}
.almanac-auspicious-pill:hover {
  border-color: rgba(148, 163, 184, 0.55);
  color: #0f172a;
}
.almanac-auspicious-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.1);
}
.almanac-auspicious-empty {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  color: #94a3b8;
  font-size: 10px;
  text-align: center;
  width: 100%;
}
.almanac-auspicious-tip {
  margin-top: 7px;
  font-size: 8.5px;
  color: #94a3b8;
  text-align: center;
}
.almanac-copy-btn {
  align-self: center;
  margin-top: 2px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}
.almanac-draw-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 26px 20px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 50% 15%, rgba(221, 5, 20, 0.07), transparent 48%),
    linear-gradient(145deg, #ffffff, #f3f5f9);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.98), 0 8px 22px rgba(15, 23, 42, 0.08);
}
.almanac-draw-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #94a3b8;
  font-weight: 700;
}
.almanac-answer-text {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: clamp(19px, 3.5vw, 25px);
  line-height: 1.65;
  font-weight: 900;
  color: #1e293b;
}
.almanac-inspiration-title {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 900;
  color: #9f1239;
}
.almanac-inspiration-verse {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.9;
  color: #334155;
  font-weight: 700;
}
.almanac-draw-tip {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
  color: #64748b;
}
@media (max-width: 640px) {
  .almanac-modal { padding: 8px; align-items: flex-end; }
  .almanac-dialog { width: 100%; max-height: 92vh; padding: 14px; border-radius: 20px; }
  .almanac-info-grid { grid-template-columns: 1fr 1fr; gap: 5px 10px; padding: 9px 11px; }
  .almanac-yiji-grid { grid-template-columns: 1fr; }
  .almanac-tab { min-width: 96px; font-size: 10.5px; padding: 8px; }
}


/* ===== 黄历：日期卡片收纳宜忌 + 紧凑属性网格 + 折叠吉日速查 ===== */
.almanac-head-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 5, 20, 0.06), transparent 46%),
    linear-gradient(145deg, #ffffff 0%, #f3f5f9 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.98);
  overflow: hidden;
}
.almanac-head-card .almanac-head {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 14px 10px;
}
.almanac-head-clickable { cursor: pointer; }
.almanac-yiji-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-top: 1px dashed rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.9), rgba(238, 242, 247, 0.9));
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}
.almanac-yiji-trigger-counts { color: #334155; }
.almanac-yiji-trigger-hint { color: #94a3b8; font-weight: 600; }
.almanac-yiji-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
  padding: 0 12px;
}
.almanac-yiji-collapse.is-open {
  max-height: 640px;
  opacity: 1;
  padding: 10px 12px 12px;
}
.almanac-yiji-collapse .almanac-yiji-grid { gap: 7px; }
.almanac-yiji-collapse .almanac-yiji-card { padding: 9px 10px; border-radius: 12px; }

/* 黄历属性：单张冷白银灰卡片内的紧凑双列微网格 */
.almanac-info-grid {
  padding: 10px 12px;
  gap: 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #ffffff 0%, #f1f4f9 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.98), 0 3px 10px rgba(15, 23, 42, 0.05);
}
.almanac-info-grid > div {
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.almanac-info-grid > div.is-wide {
  padding-top: 7px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}
.almanac-info-grid span { font-size: 9px; }
.almanac-info-grid strong { margin-top: 2px; font-size: 11px; line-height: 1.45; }

/* 吉日速查：默认收起为单行胶囊 */
.almanac-auspicious {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #ffffff 0%, #f1f4f9 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.98), 0 3px 10px rgba(15, 23, 42, 0.05);
}
.almanac-auspicious-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.almanac-auspicious-toggle-arrow { color: #94a3b8; font-size: 10px; }
.almanac-auspicious-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.24s ease, padding 0.3s ease;
  padding: 0 12px;
}
.almanac-auspicious.is-open .almanac-auspicious-body {
  max-height: 1200px;
  opacity: 1;
  padding: 2px 12px 12px;
}

/* ===== 答案之书 / 灵感签：抽签交互与仪式感动画 ===== */
.almanac-draw-btn {
  align-self: center;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  white-space: nowrap;
}
.almanac-draw-btn.is-ghost {
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #334155;
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08), inset 1px 1px 1px #fff;
}
.almanac-book-cover, .almanac-sign-tube { cursor: pointer; }
.almanac-book-icon {
  margin-top: 14px;
  font-size: 54px;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.16));
}
.almanac-book-face { display: flex; flex-direction: column; align-items: center; }
.almanac-sign-tube-body { display: flex; flex-direction: column; align-items: center; }
.almanac-sign-sticks {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 74px;
  margin-top: 16px;
}
.almanac-sign-sticks span {
  display: block;
  width: 7px;
  height: 62px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #f8fafc, #dbe2ea);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: inset -1px 0 1px rgba(15, 23, 42, 0.06);
  transform-origin: bottom center;
}
.almanac-sign-sticks span:nth-child(2) { height: 70px; }
.almanac-sign-sticks span:nth-child(3) { height: 66px; }
.almanac-sign-sticks span:nth-child(4) { height: 58px; }
.almanac-sign-sticks span:nth-child(5) { height: 64px; }
@keyframes almanacFlip {
  0% { transform: rotate(0deg) scale(1); opacity: 1; }
  45% { transform: rotate(0.6deg) scale(0.985); opacity: 0.82; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
.almanac-draw-card.is-flipping {
  animation: almanacFlip 0.34s ease-in-out;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
@keyframes almanacShake {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-3deg) scale(1.01); }
  50% { transform: rotate(2.4deg) scale(1.015); }
  75% { transform: rotate(-1.4deg) scale(1.01); }
  100% { transform: rotate(0deg) scale(1); }
}
.almanac-draw-card.is-shaking {
  animation: almanacShake 0.45s ease-in-out;
  transform-origin: 50% 92%;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes almanacPopUp {
  0% { transform: translate3d(0, 14px, 0) scale(0.985); opacity: 0; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}
.almanac-draw-card.is-popping {
  animation: almanacPopUp 0.36s cubic-bezier(0.22, 0.9, 0.3, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
/* 终态完全归位：不倾斜、不半透明、不被裁切 */
.almanac-draw-card,
.almanac-draw-card.is-drawn {
  position: relative;
  transform: none;
  opacity: 1;
}
/* ================= 🔮 ONER 答案之书 & 灵感签筒 ================= */
.oracle-dialog {
  width: min(96vw, 620px);
  perspective: 1200px;
}
.oracle-tabs { justify-content: center; }
.oracle-tabs .almanac-tab { flex: 1 1 50%; text-align: center; }
.oracle-body { min-height: 360px; }
.oracle-draw-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.oracle-prompt {
  margin: 18px auto 0;
  max-width: 430px;
  font-size: 13px;
  line-height: 1.8;
  color: #64748b;
}
.oracle-book-visual {
  position: relative;
  width: 150px;
  height: 190px;
  margin: 22px auto 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px 20px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.22) 0 6px, transparent 6px),
    radial-gradient(circle at 50% 0%, rgba(221, 5, 20, 0.14), transparent 52%),
    linear-gradient(145deg, #ffffff, #e9edf3);
  box-shadow: 8px 10px 24px rgba(15, 23, 42, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.98);
  transform: rotate(-4deg);
}
.oracle-book-visual::after {
  content: '✦';
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(221, 5, 20, 0.45);
  font-size: 18px;
}
.oracle-book-visual span {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #94a3b8;
  font-weight: 800;
}
.oracle-book-visual strong {
  font-size: 21px;
  color: #1e293b;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.oracle-primary-btn,
.oracle-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.oracle-primary-btn {
  color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.22);
}
.oracle-primary-btn:hover { transform: translateY(-1px); }
.oracle-ghost-btn {
  color: #475569;
  border: 1px solid #dbe3ec;
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}
.oracle-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.oracle-answer-card {
  animation: oracleFlipIn 0.58s cubic-bezier(0.22, 0.75, 0.25, 1) both;
  transform-style: preserve-3d;
}
.oracle-answer-text { margin-top: 24px; }
@keyframes oracleFlipIn {
  0% { opacity: 0; transform: rotateY(-92deg) scale(0.96); }
  55% { opacity: 1; transform: rotateY(8deg) scale(1.01); }
  100% { opacity: 1; transform: rotateY(0deg) scale(1); }
}
.oracle-tube {
  position: relative;
  width: 104px;
  height: 150px;
  margin: 20px auto 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  border-radius: 14px 14px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, #ffffff, #e5eaf1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.98), 0 10px 22px rgba(15, 23, 42, 0.13);
  transform-origin: 50% 100%;
  animation: oracleTubeSway 2.4s ease-in-out infinite;
}
.oracle-tube span {
  width: 44px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #9f1239;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(145deg, #fff7fa, #fce7f3);
  border: 1px solid rgba(244, 114, 182, 0.36);
  box-shadow: 0 4px 10px rgba(159, 18, 57, 0.1);
}
.oracle-tube i {
  position: absolute;
  color: rgba(221, 5, 20, 0.48);
  font-style: normal;
  animation: oracleStar 2.2s ease-in-out infinite;
}
.oracle-tube i:nth-of-type(1) { top: 22px; left: 16px; animation-delay: 0.2s; }
.oracle-tube i:nth-of-type(2) { top: 54px; right: 14px; animation-delay: 0.8s; }
.oracle-tube i:nth-of-type(3) { bottom: 24px; left: 28px; animation-delay: 1.4s; }
@keyframes oracleTubeSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(4deg); }
}
@keyframes oracleStar {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
.oracle-lot-card { animation: oracleLotIn 0.45s ease both; }
@keyframes oracleLotIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.oracle-lot-rank {
  display: inline-flex;
  align-self: center;
  padding: 7px 18px;
  border-radius: 999px;
  color: #9f1239;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, #fff7fa, #fce7f3);
  border: 1px solid rgba(244, 114, 182, 0.34);
  box-shadow: 0 5px 14px rgba(159, 18, 57, 0.1);
}
.oracle-lot-verse {
  font-size: 19px !important;
  color: #1e293b !important;
  font-weight: 900 !important;
}
.oracle-lot-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 430px;
  margin: 20px auto 0;
}
.oracle-lot-tips > div {
  padding: 10px;
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e2e8f0;
}
.oracle-lot-tips span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}
.oracle-lot-tips > div:first-child span { color: #166534; background: #dcfce7; }
.oracle-lot-tips > div:last-child span { color: #9f1239; background: #ffe4e6; }
.oracle-lot-tips strong {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #475569;
}
.oracle-song {
  margin-top: 13px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 11px;
  color: #475569;
  background: rgba(241, 245, 249, 0.82);
  border: 1px solid #e2e8f0;
}
.oracle-song strong { color: #0f172a; }
@media (max-width: 640px) {
  .oracle-body { min-height: 340px; }
  .oracle-draw-card { min-height: 340px; padding: 20px 14px; }
  .oracle-lot-tips { grid-template-columns: 1fr; }
}

/* ================= 🪵 电子木鱼 ================= */
.woodfish-fab-wrap,
.woodfish-fab,
.woodfish-fab-settings,
.woodfish-fab-float-layer,
.woodfish-fab-float,
.woodfish-hit,
.woodfish-float {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}
.woodfish-fab-wrap {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
}
.woodfish-fab {
  position: absolute;
  inset: 0;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 100%);
  color: #475569;
  box-shadow: 7px 7px 16px rgba(15, 23, 42, 0.13), -6px -6px 14px rgba(255, 255, 255, 0.96), inset 1px 1px 1px rgba(255, 255, 255, 0.98);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.woodfish-fab:hover {
  transform: translateY(-2px);
  box-shadow: 8px 10px 20px rgba(15, 23, 42, 0.16), -6px -6px 14px rgba(255, 255, 255, 0.98), inset 1px 1px 1px rgba(255, 255, 255, 0.98);
}
.woodfish-fab:active { transform: translateY(1px) scale(0.95); }
.woodfish-fab.is-striking { animation: woodfish-fab-press 0.18s ease-out; }
@keyframes woodfish-fab-press {
  0% { transform: scale(1); }
  35% { transform: scale(0.88); }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.woodfish-fab svg { width: 28px; height: 28px; display: block; pointer-events: none; }
.woodfish-fab-settings {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 901;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e8edf4);
  color: #475569;
  font-size: 11px;
  line-height: 1;
  box-shadow: 2px 2px 6px rgba(15, 23, 42, 0.16), inset 1px 1px 1px #fff;
}
.woodfish-fab-settings:hover { color: #0f172a; }
@media (max-width: 639.98px) {
  .woodfish-fab-settings { display: none !important; }
}
.woodfish-fab-float-layer {
  position: absolute;
  inset: 0;
  z-index: 902;
  pointer-events: none;
}
.woodfish-fab-float {
  position: absolute;
  right: 0;
  bottom: 58px;
  transform-origin: right bottom;
  color: #be123c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff, 0 3px 9px rgba(190, 18, 60, 0.14);
  animation: woodfish-fab-rise 0.95s cubic-bezier(0.22, 0.72, 0.28, 1) forwards;
}
@keyframes woodfish-fab-rise {
  0% { opacity: 0; transform: translate(0, 6px) scale(0.9); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--woodfish-drift, 0px), -60px) scale(1.06); }
}
.woodfish-fab::after {
  content: '电子木鱼';
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.96);
  color: #475569;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.woodfish-fab:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

.woodfish-modal {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}
.woodfish-modal.hidden { display: none; }
.woodfish-dialog {
  width: min(94vw, 460px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 5, 20, 0.055), transparent 42%),
    linear-gradient(145deg, #ffffff 0%, #f1f4f8 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.woodfish-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.woodfish-kicker {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #94a3b8;
  font-weight: 800;
}
.woodfish-head h3 {
  margin: 3px 0 0;
  font-size: 18px;
  line-height: 1.2;
  color: #0f172a;
  font-weight: 900;
}
.woodfish-close {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 19px;
  line-height: 1;
  box-shadow: 2px 2px 5px rgba(15, 23, 42, 0.08), inset 1px 1px 1px #fff;
}
.woodfish-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.woodfish-theme {
  flex: 1 1 112px;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.woodfish-theme:hover { transform: translateY(-1px); }
.woodfish-theme.is-active {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.2);
}
.woodfish-custom-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f2f5f9;
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.07), inset -2px -2px 5px rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}
.woodfish-custom-wrap.is-active {
  border-color: rgba(244, 63, 94, 0.32);
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.07), inset -2px -2px 5px rgba(255, 255, 255, 0.95), 0 0 0 2px rgba(244, 63, 94, 0.07);
}
.woodfish-custom-wrap span { font-size: 12px; line-height: 1; }
.woodfish-custom-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}
.woodfish-custom-wrap input::placeholder { color: #94a3b8; font-weight: 500; }
.woodfish-stage {
  position: relative;
  min-height: 238px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(145deg, #f8fafc 0%, #e9edf3 100%);
  box-shadow: inset 4px 4px 10px rgba(148, 163, 184, 0.18), inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}
.woodfish-hit {
  position: relative;
  z-index: 2;
  width: 164px;
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475569;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.woodfish-hit svg { position: relative; z-index: 1; width: 144px; height: 144px; filter: drop-shadow(5px 8px 8px rgba(15, 23, 42, 0.13)); }
.woodfish-halo {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.3) 58%, transparent 72%);
  filter: blur(1px);
}
.woodfish-hit.is-striking svg { animation: woodfish-press 0.18s ease-out; }
@keyframes woodfish-press {
  0% { transform: scale(1) rotate(0); }
  35% { transform: scale(0.9) rotate(-1.4deg); }
  70% { transform: scale(1.035) rotate(0.7deg); }
  100% { transform: scale(1) rotate(0); }
}
.woodfish-float-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.woodfish-float {
  position: absolute;
  bottom: 58%;
  transform: translateX(-50%);
  color: #be123c;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 1px 0 #fff, 0 3px 9px rgba(190, 18, 60, 0.12);
  animation: woodfish-rise 1s cubic-bezier(0.22, 0.72, 0.28, 1) forwards;
}
@keyframes woodfish-rise {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.88); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--woodfish-drift, 0px)), -98px) scale(1.08); }
}
.woodfish-hit-hint {
  position: relative;
  z-index: 2;
  margin-top: -8px;
  font-size: 9.5px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.woodfish-stats {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
}
.woodfish-stats strong {
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.woodfish-controls {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.woodfish-toggle {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 9px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 9.5px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.055);
}
.woodfish-toggle span {
  display: inline-flex;
  min-width: 24px;
  justify-content: center;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  font-size: 8.5px;
}
.woodfish-toggle.is-on {
  border-color: rgba(134, 239, 172, 0.65);
  background: linear-gradient(145deg, #f7fff9, #e7f8ec);
  color: #166534;
}
.woodfish-toggle.is-on span { background: rgba(22, 163, 74, 0.13); color: #166534; }

@media (max-width: 640px) {
  .woodfish-fab-wrap {
    right: 16px;
    bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }
  .woodfish-fab::after { display: none; }
  .woodfish-modal { padding: 10px; }
  .woodfish-dialog { width: min(94vw, 430px); max-height: 92vh; padding: 15px; border-radius: 21px; }
  .woodfish-themes { gap: 5px; }
  .woodfish-theme { flex: 1 1 30%; padding: 7px 5px; font-size: 9.5px; }
  .woodfish-stage { min-height: 218px; }
  .woodfish-hit { width: 148px; height: 148px; }
  .woodfish-hit svg { width: 130px; height: 130px; }
  .woodfish-halo { width: 106px; height: 106px; }
}

/* ================= 🎒 卡册与周边（纯本地） ================= */
.collection-modal,
.collection-editor-modal,
.collection-preview-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.56);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}
.collection-modal { z-index: 100030; }
.collection-editor-modal { z-index: 100040; }
.collection-preview-modal { z-index: 100050; }
.collection-modal.hidden,
.collection-editor-modal.hidden,
.collection-preview-modal.hidden { display: none; }
.collection-dialog {
  width: min(96vw, 1080px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background:
    radial-gradient(circle at 7% 0%, rgba(221, 5, 20, 0.06), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #eef2f7 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.98);
}
.collection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
}
.collection-kicker {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #94a3b8;
  font-weight: 800;
}
.collection-head h3 {
  margin: 3px 0 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.collection-head p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 9.5px;
  font-weight: 600;
}
.collection-close {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 19px;
  line-height: 1;
  box-shadow: 2px 2px 5px rgba(15, 23, 42, 0.08), inset 1px 1px 1px #fff;
}
.collection-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  flex: 0 0 auto;
}
.collection-stats > div {
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.05), inset 1px 1px 1px #fff;
}
.collection-stats span {
  display: block;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.collection-stats strong {
  display: block;
  margin-top: 1px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.collection-filters,
.collection-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.collection-filters select {
  min-height: 32px;
  height: 32px;
  max-width: 132px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  color-scheme: light;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}
.collection-toolbar-actions button,
.collection-export-actions button,
.collection-editor-actions button,
.collection-upload-btn,
.collection-image-preview-wrap button {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}
.collection-toolbar-actions .collection-primary-btn,
.collection-export-actions .collection-primary-btn,
.collection-editor-actions .collection-primary-btn {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.2);
}
.collection-grid {
  flex: 1 1 auto;
  min-height: 180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  padding: 2px 3px 6px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.collection-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f5f9 100%);
  box-shadow: 0 4px 13px rgba(15, 23, 42, 0.08), inset 1px 1px 1px rgba(255, 255, 255, 0.98);
}
.collection-card.is-wanted {
  border: 1.5px dashed rgba(245, 158, 11, 0.72);
  background: linear-gradient(145deg, #fffdf7, #fff7e7);
}
.collection-card.is-sold { opacity: 0.9; }
.collection-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, #ffffff, transparent 55%),
    linear-gradient(145deg, #edf1f6, #dde4ec);
}
.collection-card-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.collection-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(22px, 5vw, 42px);
  opacity: 0.72;
}
.collection-card-badges {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  pointer-events: none;
}
.collection-badge.is-duo {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.48), 0 0 3px rgba(15, 23, 42, 0.28);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}
.collection-badge {
  display: inline-flex;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  font-size: clamp(6.5px, 0.9vw, 8.5px);
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.collection-price-tag {
  position: absolute;
  top: 5px;
  right: 5px;
  max-width: calc(100% - 12px);
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: clamp(6.5px, 0.9vw, 8.5px);
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.collection-sold-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 2px solid rgba(190, 18, 60, 0.72);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.22);
  color: rgba(190, 18, 60, 0.86);
  line-height: 1.05;
  pointer-events: none;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.collection-sold-stamp b { font-size: clamp(10px, 1.8vw, 17px); font-weight: 900; }
.collection-sold-stamp small { font-size: clamp(5.5px, 0.85vw, 8px); font-weight: 900; letter-spacing: 0.14em; }
.collection-card-body {
  min-width: 0;
  padding: 6px 7px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.collection-card-body h4 {
  margin: 0;
  color: #1e293b;
  font-size: clamp(8.5px, 1.15vw, 12px);
  line-height: 1.32;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.collection-card-meta {
  color: #64748b;
  font-size: clamp(6.5px, 0.9vw, 9px);
  font-weight: 700;
}
.collection-card-note {
  margin: 0;
  color: #94a3b8;
  font-size: clamp(6px, 0.8vw, 8px);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collection-card-actions {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}
.collection-card-actions button {
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 3px;
  border-radius: 7px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #edf2f7);
  color: #475569;
  font-size: clamp(6.5px, 0.85vw, 9px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.collection-card-actions button.is-sell { color: #9f1239; border-color: rgba(244, 114, 182, 0.35); background: #fff7fa; }
.collection-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.55);
}
.collection-empty-icon { font-size: 48px; line-height: 1; }
.collection-empty h3 { margin: 9px 0 0; color: #1e293b; font-size: 15px; font-weight: 900; }
.collection-empty p { max-width: 420px; margin: 5px 0 12px; color: #94a3b8; font-size: 10.5px; line-height: 1.65; }
.collection-empty button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  box-shadow: 0 5px 13px rgba(15, 23, 42, 0.18);
}
.collection-export-panel {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding-top: 9px;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
}
.collection-export-fields { display: flex; gap: 6px; flex: 1 1 350px; min-width: 0; }
.collection-export-fields input {
  flex: 1 1 180px;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  background: #f3f6fa;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  outline: 0;
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.05), inset -2px -2px 4px #fff;
}
.collection-export-fields input::placeholder { font-size: 12px; color: #94a3b8; font-weight: 500; }
.collection-export-actions { display: flex; gap: 5px; flex-wrap: wrap; }

.collection-editor-dialog {
  width: min(94vw, 640px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 17px;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 5, 20, 0.05), transparent 42%),
    linear-gradient(145deg, #ffffff, #eef2f7);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28), inset 0 1px 1px #fff;
}
.collection-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.collection-editor-head h3 { margin: 0; color: #0f172a; font-size: 17px; font-weight: 900; }
.collection-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.collection-form-grid .is-wide { grid-column: 1 / -1; }
.collection-form-grid label,
.collection-image-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.collection-form-grid label > span,
.collection-image-field > span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}
.collection-form-grid input,
.collection-form-grid select,
.collection-form-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #f6f8fb;
  color: #334155;
  font-size: 10.5px;
  font-weight: 600;
  outline: 0;
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.05), inset -2px -2px 5px #fff;
}
.collection-form-grid textarea { resize: vertical; line-height: 1.55; }
.collection-image-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.collection-image-row small { color: #94a3b8; font-size: 8.5px; }
.collection-upload-btn { cursor: pointer; display: inline-flex; }
.collection-image-preview-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.collection-image-preview-wrap img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(203, 213, 225, 0.9);
}
.collection-image-preview-wrap button { color: #9f1239; background: #fff7fa; border-color: rgba(244, 114, 182, 0.35); }
.collection-editor-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
}
.collection-editor-spacer { flex: 1 1 auto; }
.collection-danger-btn { color: #b91c1c !important; background: #fff1f2 !important; border-color: rgba(252, 165, 165, 0.65) !important; }

.collection-preview-dialog {
  width: min(96vw, 920px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.32);
}
.collection-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.collection-preview-head strong { display: block; color: #0f172a; font-size: 13px; font-weight: 900; }
.collection-preview-head span { display: block; margin-top: 1px; color: #94a3b8; font-size: 8.5px; }
.collection-preview-head > div:last-child { display: flex; align-items: center; gap: 6px; }
.collection-preview-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border-radius: 14px;
  background:
    linear-gradient(45deg, #e8edf4 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(45deg, transparent 75%, #e8edf4 75%) 0 0 / 14px 14px,
    linear-gradient(45deg, transparent 75%, #e8edf4 75%) 7px -7px / 14px 14px,
    linear-gradient(45deg, #e8edf4 25%, #f6f8fb 25%) 7px -7px / 14px 14px;
  -webkit-overflow-scrolling: touch;
}
.collection-preview-scroll img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-touch-callout: default;
  user-select: auto;
  -webkit-user-select: auto;
}

@media (max-width: 640px) {
  .collection-modal, .collection-editor-modal, .collection-preview-modal { padding: 6px; }
  .collection-dialog {
    width: 96vw;
    max-height: 94vh;
    padding: 10px;
    border-radius: 19px;
    gap: 7px;
  }
  .collection-head h3 { font-size: 16px; }
  .collection-head p { font-size: 8px; }
  .collection-stats { gap: 3px; }
  .collection-stats > div { padding: 5px 6px; border-radius: 9px; }
  .collection-stats span { font-size: 6.5px; }
  .collection-stats strong { font-size: 12px; }
  .collection-toolbar { gap: 5px; }
  .collection-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 3px; }
  .collection-filters select { max-width: none; width: 100%; min-height: 27px; padding: 4px 5px; font-size: 8px; }
  .collection-toolbar-actions { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .collection-toolbar-actions button { padding: 6px 4px; font-size: 8px; }
  .collection-grid { gap: 5px; padding-right: 2px; min-height: 150px; }
  .collection-card { border-radius: 10px; }
  .collection-card-body { padding: 4px 4px 5px; gap: 2px; }
  .collection-card-actions { gap: 2px; }
  .collection-card-actions button { border-radius: 5px; padding: 3px 2px; font-size: 7px; }
  .collection-card-badges { top: 3px; left: 3px; right: 35px; gap: 2px; }
  .collection-price-tag { top: 3px; right: 3px; padding: 1px 4px; font-size: 6px; }
  .collection-sold-stamp { padding: 3px 6px; border-width: 1.5px; border-radius: 5px; }
  .collection-export-panel { gap: 5px; padding-top: 6px; }
  .collection-export-fields { flex: 1 1 100%; flex-direction: column; gap: 4px; }
  .collection-export-fields input { padding: 6px 8px; font-size: 8.5px; }
  .collection-export-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .collection-export-actions button { padding: 7px 5px; font-size: 8.5px; }
  .collection-empty { min-height: 210px; padding: 18px 12px; }
  .collection-empty-icon { font-size: 36px; }
  .collection-empty h3 { font-size: 13px; }
  .collection-empty p { font-size: 9px; }
  .collection-editor-dialog { width: 96vw; max-height: 94vh; padding: 12px; border-radius: 18px; }
  .collection-form-grid { grid-template-columns: 1fr; gap: 6px; }
  .collection-form-grid .is-wide { grid-column: auto; }
  .collection-editor-actions button { padding: 7px 9px; font-size: 9px; }
  .collection-preview-dialog { width: 97vw; max-height: 95vh; padding: 9px; border-radius: 16px; }
  .collection-preview-head strong { font-size: 11px; }
  .collection-preview-head span { font-size: 7.5px; }
  .collection-preview-head > div:last-child button { padding: 6px 8px; font-size: 8px; }
}

/* ================= 🃏 卡册 / 💰 追星总账本 双标签 ================= */
.collection-tabs {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #e9eef5, #f7f9fc);
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.07), inset -2px -2px 5px #fff;
}
.collection-tab {
  min-width: 132px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.collection-tab.is-active {
  background: linear-gradient(145deg, #ffffff, #f2f6fa);
  color: #0f172a;
  box-shadow: 2px 3px 8px rgba(15, 23, 42, 0.09), inset 1px 1px 1px #fff;
}
.collection-pane,
.ledger-pane {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}
.collection-pane.hidden,
.ledger-pane.hidden,
.checklist-pane.hidden { display: none !important; }

.checklist-pane {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}
.checklist-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-toolbar select {
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  outline: 0;
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.05), inset -2px -2px 4px #fff;
}
.checklist-progress {
  flex: 1 1 0;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.checklist-progress span {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}
.checklist-show-hint {
  color: #94a3b8;
  font-size: 8px;
  font-weight: 600;
}
.checklist-progress-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(145deg, #e9eef5, #f7f9fc);
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.07), inset -2px -2px 4px #fff;
  overflow: hidden;
}
.checklist-progress-track div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #94a3b8, #334155);
  transition: width 0.18s ease;
}
.checklist-templates {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.checklist-template-btn {
  padding: 7px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  color: #334155;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}
.checklist-add-row {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}
.checklist-add-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  color: #0f172a;
  font-size: 10px;
  outline: 0;
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.05), inset -2px -2px 4px #fff;
}
.checklist-list {
  flex: 1 1 auto;
  min-height: 110px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1px 2px 4px 1px;
}
.checklist-empty {
  padding: 18px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  color: #94a3b8;
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
.checklist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05), inset 1px 1px 1px #fff;
}
.checklist-check {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.checklist-check input {
  width: 15px;
  height: 15px;
  accent-color: #334155;
  flex: 0 0 auto;
}
.checklist-check span {
  min-width: 0;
  color: #334155;
  font-size: 10px;
  line-height: 1.4;
  word-break: break-word;
}
.checklist-row.is-done .checklist-check span {
  color: #94a3b8;
  text-decoration: line-through;
}
.checklist-delete {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9eef5, #f7f9fc);
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.checklist-footnote {
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.ledger-stats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.ledger-stats > div {
  min-width: 0;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.05), inset 1px 1px 1px #fff;
}
.ledger-stats span {
  display: block;
  color: #94a3b8;
  font-size: 7.8px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ledger-stats strong {
  display: block;
  margin-top: 1px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.ledger-stats small {
  display: block;
  margin-top: 1px;
  color: #94a3b8;
  font-size: 7px;
  font-weight: 700;
}
.ledger-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.ledger-filters,
.ledger-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.ledger-filters select {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 9.5px;
  font-weight: 700;
  color-scheme: light;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}
.ledger-actions button,
.ledger-form-actions button,
.ledger-empty button {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
}
.ledger-actions .collection-primary-btn,
.ledger-form-actions .collection-primary-btn {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.2);
}
.ledger-form {
  flex: 0 0 auto;
  padding: 9px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
}
.ledger-form.hidden { display: none !important; }
.ledger-form-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr 1.8fr;
  gap: 6px;
}
.ledger-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ledger-form-grid label > span {
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
}
.ledger-form-grid input,
.ledger-form-grid select {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #f6f8fb;
  color: #334155;
  font-size: 9.5px;
  font-weight: 600;
  outline: 0;
  box-shadow: inset 2px 2px 4px rgba(15, 23, 42, 0.05), inset -2px -2px 4px #fff;
}
.ledger-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 7px;
}
.ledger-form-actions span {
  flex: 1 1 auto;
  color: #94a3b8;
  font-size: 8px;
  font-weight: 600;
}
.ledger-bars {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.04), inset 1px 1px 1px #fff;
}
.ledger-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.ledger-section-head span {
  color: #334155;
  font-size: 9.5px;
  font-weight: 900;
}
.ledger-section-head small {
  color: #94a3b8;
  font-size: 7.5px;
  font-weight: 700;
}
.ledger-bar-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 86px;
  align-items: center;
  gap: 7px;
}
.ledger-bar-label {
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ledger-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
  box-shadow: inset 1px 1px 3px rgba(15, 23, 42, 0.08);
}
.ledger-bar-track i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  transition: width 0.25s ease;
}
.ledger-bar-row b {
  color: #475569;
  font-size: 8px;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger-empty-line {
  padding: 4px 0;
  color: #94a3b8;
  font-size: 8.5px;
  font-weight: 600;
}
.ledger-list {
  flex: 1 1 auto;
  min-height: 110px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1px 2px 4px 1px;
}
.ledger-list .ledger-section-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 2px 2px 6px;
  background: linear-gradient(to bottom, #f3f6fa 70%, rgba(243, 246, 250, 0));
}
.ledger-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  padding: 7px 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff, #f2f5f9);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.05), inset 1px 1px 1px #fff;
}
.ledger-row.is-income { background: linear-gradient(145deg, #f7fffb, #edf9f3); }
.ledger-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
}
.ledger-row-main { min-width: 0; }
.ledger-row-title {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.ledger-row-title b {
  min-width: 0;
  color: #334155;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ledger-source {
  flex: 0 0 auto;
  padding: 1px 4px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 6.5px;
  font-weight: 800;
}
.ledger-source.is-collection { background: #fff7ed; color: #c2410c; }
.ledger-row-main p {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 7.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ledger-row-amount {
  color: #be123c;
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger-row.is-income .ledger-row-amount { color: #059669; }
.ledger-lock {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  opacity: 0.65;
}
.ledger-delete {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff1f2;
  color: #be123c;
  font-size: 13px;
  line-height: 1;
}
.ledger-empty {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.5);
}
.ledger-empty-icon { font-size: 28px; line-height: 1; }
.ledger-empty h4 { margin: 5px 0 0; color: #334155; font-size: 11px; font-weight: 900; }
.ledger-empty p { max-width: 440px; margin: 3px 0 8px; color: #94a3b8; font-size: 8.5px; line-height: 1.6; }
.ledger-empty button {
  border: 0;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
}
.ledger-footnote {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px solid rgba(203, 213, 225, 0.65);
  color: #94a3b8;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.4;
}
#ledger-filter-summary { text-align: right; white-space: nowrap; }

@media (max-width: 640px) {
  .collection-tabs { width: 100%; gap: 2px; padding: 3px; }
  .collection-tab { flex: 1 1 0; min-width: 0; padding: 6px 4px; font-size: 9px; }
  .collection-pane, .ledger-pane, .checklist-pane { gap: 6px; }
  .checklist-toolbar { gap: 5px; }
  .checklist-progress { min-width: 104px; }
  .checklist-templates { gap: 4px; }
  .checklist-template-btn { padding: 6px 7px; font-size: 7.8px; }
  .checklist-list { min-height: 90px; gap: 5px; }
  .checklist-row { gap: 6px; padding: 6px 7px; border-radius: 10px; }
  .checklist-check span { font-size: 8.5px; }
  .checklist-delete { width: 21px; height: 21px; font-size: 11px; }
  .ledger-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .ledger-stats > div { padding: 5px 6px; border-radius: 9px; }
  .ledger-stats span { font-size: 6.3px; }
  .ledger-stats strong { font-size: 11.5px; }
  .ledger-stats small { font-size: 6px; }
  .ledger-toolbar { gap: 4px; }
  .ledger-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 3px; }
  .ledger-filters select { width: 100%; min-height: 27px; padding: 4px 6px; font-size: 8px; }
  .ledger-actions { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .ledger-actions button { padding: 6px 3px; font-size: 7.8px; }
  .ledger-form { padding: 7px; border-radius: 11px; }
  .ledger-form-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .ledger-form-grid label.is-wide { grid-column: 1 / -1; }
  .ledger-form-grid input, .ledger-form-grid select { padding: 5px 6px; font-size: 8.5px; }
  .ledger-form-actions span { font-size: 7px; }
  .ledger-form-actions button { padding: 5px 7px; font-size: 8px; }
  .ledger-bars { padding: 6px 7px; gap: 3px; }
  .ledger-section-head span { font-size: 8.5px; }
  .ledger-section-head small { font-size: 6.5px; }
  .ledger-bar-row { grid-template-columns: 62px minmax(0, 1fr) 59px; gap: 4px; }
  .ledger-bar-label { font-size: 7px; }
  .ledger-bar-row b { font-size: 6.5px; }
  .ledger-bar-track { height: 7px; }
  .ledger-list { min-height: 90px; }
  .ledger-row { grid-template-columns: 6px minmax(0, 1fr) auto 20px; gap: 5px; padding: 5px 6px; border-radius: 9px; }
  .ledger-row-dot { width: 6px; height: 6px; }
  .ledger-row-title b { font-size: 8px; }
  .ledger-source { font-size: 5.8px; padding: 1px 3px; }
  .ledger-row-main p { font-size: 6.8px; }
  .ledger-row-amount { font-size: 8.5px; }
  .ledger-delete, .ledger-lock { width: 18px; height: 18px; font-size: 7px; }
  .ledger-footnote { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 6.8px; }
  #ledger-filter-summary { text-align: left; white-space: normal; }
  .ledger-empty { min-height: 110px; }
  .ledger-empty h4 { font-size: 10px; }
  .ledger-empty p { font-size: 7.8px; }
}

.collection-pane:not(.hidden),
.ledger-pane:not(.hidden),
.checklist-pane:not(.hidden) { animation: collectionPaneIn 0.18s ease both; }
@keyframes collectionPaneIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .collection-pane:not(.hidden),
  .ledger-pane:not(.hidden),
  .checklist-pane:not(.hidden) { animation: none; }
}

/* ================= 🚇 散场离线避堵指南 ================= */
.exit-guide-stack { display: flex; flex-direction: column; gap: 10px; }
.exit-guide-transport {
  padding: 9px 10px;
  border: 1px solid rgba(203, 213, 225, 0.65);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  font-size: 11px;
  line-height: 1.65;
}
.exit-guide-transport-title { margin-bottom: 3px; color: #1e293b; font-weight: 800; }
.exit-guide-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 0%, rgba(50, 181, 225, 0.12), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #eef3f9 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.98),
    inset 0 -1px 2px rgba(148, 163, 184, 0.12),
    0 6px 18px rgba(15, 23, 42, 0.08);
  color: #334155;
}
.exit-guide-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  box-shadow: inset 1px 1px 3px rgba(148, 163, 184, 0.1);
}
.exit-guide-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.exit-guide-heading { min-width: 0; }
.exit-guide-kicker {
  display: block;
  color: #94a3b8;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.exit-guide-heading h4 {
  display: inline;
  margin: 1px 0 0;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}
.exit-guide-source {
  display: inline-flex;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 6.5px;
  font-weight: 800;
  vertical-align: 2px;
}
.exit-guide-offline {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, #ffffff, #eaf0f6);
  color: #3b82a6;
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 1px 2px 5px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
}
.exit-guide-list { position: relative; display: flex; flex-direction: column; gap: 6px; }
.exit-guide-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 1px 1px 2px #fff, 0 2px 6px rgba(15, 23, 42, 0.035);
}
.exit-guide-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #f8fafc, #e8eef5);
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 1px 1px 2px #fff, 1px 1px 3px rgba(15, 23, 42, 0.06);
}
.exit-guide-item b {
  display: block;
  margin-bottom: 2px;
  color: #1e293b;
  font-size: 9.5px;
  line-height: 1.35;
  font-weight: 900;
}
.exit-guide-item p {
  margin: 0;
  color: #64748b;
  font-size: 9px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.exit-guide-copy {
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #edf2f7);
  color: #475569;
  font-size: 7.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 1px 2px 4px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
}
.exit-guide-copy:active { transform: translateY(1px); box-shadow: inset 1px 1px 3px rgba(15, 23, 42, 0.08); }

@media (max-width: 640px) {
  .exit-guide-card { padding: 10px; border-radius: 14px; }
  .exit-guide-card::before { inset: 3px; border-radius: 11px; }
  .exit-guide-top { gap: 5px; }
  .exit-guide-heading h4 { font-size: 12px; }
  .exit-guide-offline { padding: 2px 5px; font-size: 6.2px; }
  .exit-guide-item { grid-template-columns: 22px minmax(0, 1fr); gap: 5px; padding: 6px; }
  .exit-guide-icon { width: 22px; height: 22px; font-size: 11px; }
  .exit-guide-copy { grid-column: 2; justify-self: start; margin-top: 2px; }
  .exit-guide-item p { font-size: 8.5px; }
}

/* ================= 📱 手机端演出卡片：顶部四胶囊单行 / 标题留白 / › 内联 ================= */
@media (max-width: 768px) {
  /* 顶部标签行：ONER / + 想去 / + 足迹 / ⚡ 下一场 强制同一行，禁止折行 */
  #home-upcoming-timeline .timeline-title-row,
  .show-card-top-row,
  .archive-title-row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 3px !important;
    row-gap: 0 !important;
    margin-bottom: 4px !important;
    min-width: 0;
    overflow: hidden;
  }
  .tour-top-tags {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  /* 覆盖旧规则：手机端不再隐藏「+ 想去」 */
  #home-upcoming-timeline .tl-plan-action,
  .tour-top-tags .tl-plan-action,
  .tour-top-tags .plan-chip.tour-top-badge {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  /* 四枚胶囊紧凑化：窄屏也不挤出第二行 */
  #home-upcoming-timeline .timeline-title-row .timeline-artist-badge,
  #home-upcoming-timeline .timeline-title-row .plan-chip,
  #home-upcoming-timeline .timeline-title-row .tl-state-chip,
  #home-upcoming-timeline .timeline-title-row .show-status-chip,
  .show-card-top-row .show-card-artist-badge,
  .show-card-top-row .plan-chip,
  .show-card-top-row .tl-state-chip,
  .show-card-top-row .show-status-chip,
  .archive-title-row .archive-artist-badge,
  .archive-title-row .plan-chip,
  .archive-title-row .tl-state-chip,
  .archive-title-row .show-status-chip {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 4px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    letter-spacing: -0.2px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }
  #home-upcoming-timeline .timeline-title-row .card-head-right,
  .show-card-top-row .card-head-right,
  .archive-title-row .card-head-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }
  /* 标签行与主标题之间留白，避免紧贴 */
  #home-upcoming-timeline .timeline-card-title,
  .show-card-title,
  .archive-strip-title {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    overflow-wrap: anywhere;
    line-height: 1.3;
    margin-top: 4px !important;
  }
  /* 标题下方日期行：略收紧，与标题呼吸感刚好 */
  #home-upcoming-timeline .timeline-card-meta,
  .show-card-body .card-venue-meta,
  .archive-strip-body .card-venue-meta {
    margin-top: 4px !important;
  }
  /* › 箭头紧跟标题最后一个字，纯内联，绝不掉行 */
  #home-upcoming-timeline .timeline-card-title .title-chevron,
  .show-card-title .title-chevron,
  .archive-strip-title .title-chevron {
    display: inline !important;
    white-space: nowrap !important;
    margin-left: 3px !important;
    opacity: 0.65;
    vertical-align: baseline;
  }
}

/* ================= 🖥️ 桌面端演出卡片：标签行与主标题拉开呼吸间距（手机端不受影响） ================= */
@media (min-width: 641px) {
  #home-upcoming-timeline .timeline-title-row,
  .show-card-top-row,
  .archive-title-row {
    margin-bottom: 10px !important;
  }
  #home-upcoming-timeline .timeline-card-title,
  .show-card-title,
  .archive-strip-title {
    margin-top: 0 !important;
  }
  #home-upcoming-timeline .timeline-card-meta,
  .show-card-body .card-venue-meta,
  .archive-strip-body .card-venue-meta {
    margin-top: 7px !important;
  }
}

/* ================= 📋 全站场馆名一键复制：微图标 / 详情弹窗可点态 ================= */
.venue-copy-ico {
  display: inline-block;
  margin-left: 4px;
  font-size: 9.5px;
  line-height: 1;
  opacity: 0.55;
  vertical-align: 1px;
  pointer-events: none;
}
.meta-expandable .venue-copy-ico { pointer-events: none; }
.show-info-venue-copy {
  cursor: pointer;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}
.show-info-venue-copy:hover { color: #0f172a; }
@media (max-width: 640px) {
  .venue-copy-ico { font-size: 9px; margin-left: 3px; }
}

/* ================= 📱 移动端表单控件 ≥16px：阻止 iOS Safari 聚焦自动放大 ================= */
@media (max-width: 640px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px !important;
    line-height: 1.35 !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
  }
  /* 弹窗内多列表单：避免 16px 撑破网格，允许自然换行 */
  .chronicle-card input,
  .chronicle-card textarea,
  .chronicle-card select {
    max-width: 100% !important;
  }
}

/* ================= 📱 手机端快捷工具：置于微时间轴标题上方 ================= */
.home-quick-tools-mobile { display: none; }
@media (max-width: 640px) {
  .home-quick-tools-mobile {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 10px 0 13px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .home-quick-tools-mobile::-webkit-scrollbar { display: none; }
  .home-quick-tools-mobile .almanac-entry-pill { flex: 0 0 auto; white-space: nowrap; }
  /* 标题行与首张卡片衔接更紧凑 */
  #view-home-page .space-y-2\.5 > .flex.items-center.justify-between { margin-top: 0 !important; margin-bottom: 2px; }
}

/* ================= 🧹 应援歌词编辑器：合并断行 / 成员唱段快捷条 ================= */
.chant-speaker-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0 8px;
}
.chant-speaker-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.chant-speaker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06);
}
.chant-speaker-pill:hover { color: #0f172a; border-color: #94a3b8; }
.chant-speaker-pill.chant-ai-prompt-btn {
  color: #9f1239;
  border-color: #fecdd3;
  background: linear-gradient(180deg, #fff7f8, #ffe9ec);
}
@media (max-width: 640px) {
  .chant-speaker-bar { gap: 5px; }
  .chant-speaker-pill { height: 28px; padding: 0 9px; font-size: 12px; }
}

/* 多人合唱演唱者标注：分隔符保持默认灰色，人名各自应援色 */
.chant-singer-sep {
  margin: 0 3px;
  color: #94a3b8;
  font-size: 0.9em;
  font-weight: 600;
  -webkit-text-fill-color: #94a3b8;
}

/* ================= 🔄 改期信息浮层 + 海报改期条幅 ================= */
.reschedule-tip {
  position: fixed;
  z-index: 260;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  pointer-events: none;
}
.tour-reschedule-pill,
.tour-reschedule-origin-pill { cursor: help; }

.phd-reschedule {
  margin: 0 0 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  word-break: break-word;
}

/* ================= 📱 应援宝典筛选折叠（仅手机端） + 卡册账本输入框紧凑 ================= */
.chant-filter-summary { display: none; }
.chant-filter-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
@media (max-width: 768px) {
  .chant-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7px 9px;
  }
  .chant-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #eef2f7);
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    box-shadow: inset 1px 1px 0 #fff, 0 1px 4px rgba(15, 23, 42, 0.05);
  }
  .chant-filter-summary-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .chant-filter-summary-toggle {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 800;
  }
  .chant-filter-body {
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.26s ease, opacity 0.2s ease;
  }
  .chant-filter-bar:not(.is-mobile-collapsed) { gap: 6px; padding-bottom: 9px; }
  .chant-filter-bar:not(.is-mobile-collapsed) .chant-filter-body {
    max-height: 460px;
    opacity: 1;
  }

  /* 卡册与账本底部出物说明 / 联系暗号：恢复紧凑单行高度 */
  .collection-export-fields { flex-direction: column; }
  .collection-export-fields input {
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.3;
  }
}

/* 🔗 卡册与账本：复制直达链接按钮 */
.collection-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.collection-copy-link {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: inset 1px 1px 0 #fff, 0 1px 4px rgba(15, 23, 42, 0.05);
}
.collection-copy-link:active { transform: translateY(1px); }
@media (max-width: 640px) {
  .collection-copy-link { padding: 5px 8px; font-size: 8.5px; }
}

/* ================= 🔍 ? 指南：功能搜索 ================= */
.help-guide-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 4px 0 2px;
}
.help-guide-search input {
  width: 100%;
  height: 32px;
  padding: 4px 28px 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  outline: 0;
  box-shadow: inset 1px 1px 3px rgba(15, 23, 42, 0.05), inset -1px -1px 3px #fff;
  -webkit-appearance: none;
  appearance: none;
}
.help-guide-search input::placeholder { font-size: 12px; color: #94a3b8; font-weight: 500; }
.help-guide-search input::-webkit-search-cancel-button,
.help-guide-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.help-guide-search input:focus { border-color: #94a3b8; box-shadow: inset 1px 1px 3px rgba(15, 23, 42, 0.08), 0 0 0 2px rgba(148, 163, 184, 0.18); }
.help-guide-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.help-guide-search-clear:hover { background: rgba(148, 163, 184, 0.28); color: #0f172a; }
.help-guide-empty {
  margin: 6px 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(203, 213, 225, 0.9);
  background: rgba(248, 250, 252, 0.9);
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}
.help-guide-hit {
  padding: 0 2px;
  border-radius: 4px;
  background: rgba(250, 204, 21, 0.35);
  color: #7c2d12;
  font-weight: 800;
}
.help-guide-item[hidden] { display: none; }
@media (max-width: 640px) {
  .help-guide-search input { height: 36px; font-size: 16px; padding: 5px 30px 5px 11px; border-radius: 999px; }
}

/* ================= 🏛️ 待开演空档期引导 ================= */
.show-empty-upcoming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  text-align: center;
  box-shadow: inset 1px 1px 0 #fff, 0 2px 8px rgba(15, 23, 42, 0.05);
}
.show-empty-upcoming-text {
  margin: 0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}
.show-empty-archive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #e9eef5);
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: inset 1px 1px 0 #fff, 0 2px 6px rgba(15, 23, 42, 0.07);
}
.show-empty-archive-btn:active { transform: translateY(1px); }
@media (max-width: 640px) {
  .show-empty-upcoming { padding: 15px 12px; gap: 9px; }
  .show-empty-archive-btn { padding: 8px 13px; font-size: 11.5px; }
}

/* 💰 票价：仅实际溢出截断时才提示可点开完整明细 */
.ticket-price-row { cursor: inherit; }
.ticket-price-row.is-overflow {
  cursor: pointer;
  text-decoration: underline dotted rgba(148, 163, 184, 0.85);
  text-underline-offset: 2px;
}
@media (min-width: 769px) {
  .ticket-price-row { cursor: pointer; }
}

/* ================= 🏛️ 往季巡演与音乐节专题：可折叠胶囊组 ================= */
#tour-themes-bar { width: 100%; box-sizing: border-box; min-width: 0; }
.theme-collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  box-shadow: inset 1px 1px 0 #fff, 0 1px 4px rgba(15, 23, 42, 0.05);
}
.theme-collapse-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.theme-collapse-action {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}
.theme-collapse-body {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-top: 6px;
}
#tour-themes-bar.is-collapsed-open .theme-collapse-body { display: flex; }
@media (max-width: 640px) {
  .theme-collapse-toggle { padding: 7px 9px; font-size: 10.5px; }
  .theme-collapse-action { font-size: 10px; }
}


/* ================= 🤖 站内小助手：冷白银灰新拟态悬浮气泡 ================= */
.header-assistant-btn { display: none !important; }

.assistant-fab {
  position: fixed;
  right: 28px;
  bottom: 144px;
  z-index: 950;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 100%);
  color: #475569;
  cursor: pointer;
  box-shadow: 7px 7px 16px rgba(15, 23, 42, 0.13), -6px -6px 14px rgba(255, 255, 255, 0.96), inset 1px 1px 1px rgba(255, 255, 255, 0.98);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.assistant-fab:hover { transform: translateY(-2px); }
.assistant-fab:active { transform: translateY(1px) scale(0.95); }

.assistant-panel {
  position: fixed;
  right: 12px;
  bottom: 156px;
  z-index: 100000;
  width: 340px;
  height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 14px 16px 32px rgba(15, 23, 42, 0.18), -8px -8px 18px rgba(255, 255, 255, 0.92), inset 1px 1px 1px rgba(255, 255, 255, 0.98);
}
.assistant-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}
.assistant-close {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.assistant-messages {
  flex: 1;
  min-height: 0;
  padding: 12px;
  padding-top: 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.assistant-msg { display: flex; }
.assistant-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}
.assistant-cards > .assistant-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.assistant-msg--user { justify-content: flex-end; }
.assistant-bubble,
.assistant-welcome,
.assistant-card {
  max-width: 92%;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
}
.assistant-msg--user .assistant-bubble {
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #334155;
  border: 1px solid rgba(203, 213, 225, 0.7);
}
.assistant-welcome {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.55);
  color: #334155;
  font-weight: 700;
}
.assistant-welcome-sub { margin-top: 4px; font-size: 11px; font-weight: 500; color: #64748b; }
.assistant-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: inset 1px 1px 0 #fff, 0 2px 8px rgba(15, 23, 42, 0.06);
}
.assistant-card-title { font-weight: 800; color: #1e293b; }
.assistant-card-text { margin-top: 4px; color: #475569; }
.assistant-card-meta { margin-top: 5px; font-size: 10.5px; color: #94a3b8; }
.assistant-card:empty { display: none; }
.assistant-card-action {
  margin: 8px auto 0;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.assistant-fallback { color: #64748b; font-size: 12px; line-height: 1.6; }
.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 8px;
}
.assistant-chip {
  padding: 5px 9px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}

.ext-ticket-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ext-ticket-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ext-ticket-pill:hover {
  color: #0f172a;
  border-color: #94a3b8;
}

.assistant-ticket-pills { margin-top: 8px; }
.assistant-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
}
.assistant-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  font-size: 12px;
  outline: none;
}
.assistant-send {
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  background: linear-gradient(135deg, #e2e8f0, #ffffff);
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 640px) {
  .header-assistant-btn {
    display: inline-flex;
    height: 28px;
    padding: 0 10px;
    font-size: 13px;
  }
  .assistant-fab { display: none; }
  .assistant-panel {
    right: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    bottom: max(76px, env(safe-area-inset-bottom, 0px) + 64px);
    height: min(72vh, 560px);
    max-height: 72vh;
  }
  .assistant-form { padding-bottom: max(12px, env(safe-area-inset-bottom, 0px) + 8px); }
}

/* ================= 📱 手机端表单与标签防裁切兜底 ================= */
.footprint-map-toggle {
  display: none;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
  cursor: pointer;
}
/* 足迹地图标题栏：手机端单行整条可点，紧凑玻璃胶囊显示统计与箭头 */
.footprint-map-head {
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 639.98px) {
  .footprint-map-head {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    cursor: pointer;
    user-select: none;
  }
  .footprint-map-title {
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .footprint-map-stat { display: none; }
  .footprint-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    padding: 3px 9px;
    font-size: 12px;
    white-space: nowrap;
    color: #b91c1c;
  }
  .footprint-map-toggle-text {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  .footprint-map-caret {
    font-size: 11px;
    line-height: 1;
    color: #94a3b8;
  }
  .footprint-map-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.24s ease;
  }
  .footprint-map-body.is-open {
    max-height: 3000px;
    opacity: 1;
    pointer-events: auto;
  }
}

/* 票根生成器场次下拉：与票夹统一表单同规格 42px，文字垂直居中不裁切 */
#tk-show-pick.select-clean,
#tk-show-pick {
  min-height: 42px;
  height: 42px;
  padding: 0 32px 0 12px;
  line-height: 1.4;
  font-size: 12.5px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#view-footprint-page input[type="text"],
#view-footprint-page input[type="date"],
#view-footprint-page input[type="search"] {
  height: 36px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}
#view-footprint-page input::placeholder {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

@media (max-width: 639.98px) {
  /* 全站原生表单控件：安全盒模型 + 足够内边距，杜绝文字被 height 裁切 */
  select,
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]),
  textarea {
    box-sizing: border-box;
    line-height: 1.4;
    max-width: 100%;
  }
  select {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    height: auto !important;
    min-height: 32px;
    line-height: 1.4 !important;
    text-overflow: ellipsis;
  }
  /* 多行按钮 / 标签组：折行后保留行间距，防止上下行文字粘连 */
  .daily-year-row,
  .ticket-mode-switch,
  .flex-wrap,
  .almanac-badges,
  .chant-part-tags,
  .collection-filters,
  .archive-filter-selects,
  .help-guide-actions,
  .home-quick-tools,
  .fp-buddy-row {
    row-gap: 8px;
    line-height: 1.4;
  }
  html, body { line-height: 1.45; }
}

/* ================= 📱 手机端顶部留白统一收紧 ================= */
@media (max-width: 639.98px) {
  main.max-w-5xl {
    padding-top: 8px !important;
    padding-bottom: 18px !important;
  }
  #view-home-page,
  #view-shows-page,
  #view-chant-page,
  #view-daily-page,
  #view-footprint-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  main > section > :first-child { margin-top: 0 !important; }
  main > section > div:empty { display: none !important; }
  main .space-y-4 > * + *,
  main .space-y-5 > * + *,
  main .space-y-6 > * + * { margin-top: 12px !important; }
  /* 物料页年份胶囊收成单行横向滑动条，避免首屏堆叠 */
  .daily-filter-bar { gap: 6px; margin: 6px 0 8px; }
  .daily-year-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    row-gap: 0;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .daily-year-row::-webkit-scrollbar { display: none; }
  .daily-year-chip { flex: 0 0 auto; }
  .daily-month-row { margin-top: 0 !important; padding: 5px 7px; }
  .daily-hot-tags { row-gap: 6px; }
  /* 各页顶部标题头收紧 */
  #view-daily-page .daily-head,
  #view-chant-page .chant-head,
  #view-footprint-page .footprint-head,
  #view-shows-page .archive-head { margin-bottom: 0 !important; padding-bottom: 4px !important; }
}

/* ================= 📱 商务档案：标题与「补充商务」同行 ================= */
@media (max-width: 639.98px) {
  .brand-toolbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
  }
  .brand-toolbar-copy { flex: 1 1 auto; min-width: 0; }
  .brand-toolbar-actions {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .brand-toolbar-actions .brand-submit-btn,
  .brand-toolbar-actions .brand-add-btn,
  .brand-toolbar-actions .brand-sync-btn,
  .brand-toolbar-actions .brand-refresh-btn {
    height: 28px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
    line-height: 1;
    white-space: nowrap;
    flex: 0 1 auto;
  }
  .brand-toolbar-actions .brand-admin-toolbar { width: 100%; min-width: 0; flex: 1 1 100%; justify-content: flex-start; gap: 6px; }
}

/* ================= 🗓️ 商务档案：官宣年份胶囊 ================= */
.brand-filter-years { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.brand-filter-years .brand-filter-chip { font-size: 12px; }
@media (max-width: 639.98px) {
  .brand-filter-years {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    width: 100%;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .brand-filter-years::-webkit-scrollbar { display: none; }
  .brand-filter-years .brand-filter-chip { flex: 0 0 auto; font-size: 12px; }
}

/* ================= 💼 商务档案：品牌名内嵌官宣外链 ================= */
.brand-name { display: flex; align-items: center; gap: 4px; min-width: 0; }
.brand-name-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, text-shadow 0.16s ease;
}
.brand-name-link:hover,
.brand-name-link:focus-visible {
  color: #475569;
  border-bottom-color: rgba(148, 163, 184, 0.85);
  text-shadow: 0 0 8px rgba(148, 163, 184, 0.35);
  outline: none;
}
.brand-name-link .link-arrow {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1;
  transform: translateY(-1px);
}
.brand-name-link:hover .link-arrow { color: #475569; }
.brand-card { padding-bottom: 10px; }
.brand-card-foot { margin-top: 2px; padding-top: 6px; }

/* ================= 🚫 交互控件防长按误选（不影响正文复制） ================= */
#woodfish-fab,
#woodfish-fab *,
#woodfish-hit,
#woodfish-hit *,
button,
[role="button"],
.bottom-nav,
.bottom-nav *,
header button,
header .nav-pill,
.nav-pill,
.nav-segment button,
.pill,
.tag-pill,
.filter-chip,
[class*="pill"],
[class*="badge"],
[class*="chip"],
summary,
details > summary,
.card-head-clickable,
.almanac-yiji-trigger,
.almanac-auspicious-toggle,
.daily-row-main,
.ticket-mode-btn,
.tour-action-btn {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation;
}

/* 明确保留可复制区域：输入框、歌词正文、地址、笔记与帮助说明 */
input,
textarea,
select,
[contenteditable="true"],
.chant-lyrics,
.chant-line,
.chant-line-body,
.chant-song-sub,
.venue-address,
.venue-address *,
.footprint-address,
.brand-note,
.fp-address,
.help-guide-item,
.help-guide-item p,
.help-guide-item span,
.feedback-inbox-body,
.daily-note-preview,
.ticket-journal-hint,
.brand-meta,
.almanac-answer-text,
.almanac-inspiration-verse,
.almanac-draw-tip {
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* ================= 🎬 物料头部：标题与投稿按钮同行 ================= */
.daily-hero {
  align-items: center;
  row-gap: 4px;
  padding: 12px 14px;
}
.daily-hero-main { flex: 1 1 240px; min-width: 0; }
.daily-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.daily-hero-title-row h2 { min-width: 0; }
.daily-hero-sub { margin: 4px 0 0; font-size: 11px; color: #64748b; line-height: 1.45; }
/* 顶部右侧操作按钮组：+ 投稿物料 与 🔄 刷新合集 共用同一套冷白银灰新拟态样式 */
.daily-hero-btn-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.daily-hero .daily-hero-btn-group .tour-action-btn.daily-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #334155;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), inset -1px -1px 1px rgba(163, 177, 198, 0.22), 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.daily-hero .daily-hero-btn-group .tour-action-btn.daily-hero-btn:hover {
  border-color: #94a3b8;
  color: #1e293b;
}
.daily-hero .daily-hero-btn-group .tour-action-btn.daily-hero-btn:active {
  box-shadow: inset 2px 2px 5px rgba(163, 177, 198, 0.35), inset -1px -1px 1px rgba(255, 255, 255, 0.9);
}
.daily-hero-actions { flex: 0 0 auto; }
@media (max-width: 639.98px) {
  .daily-hero { padding: 10px 12px; row-gap: 2px; }
  .daily-hero-title-row { gap: 6px; }
  .daily-hero-title-row h2 { font-size: 15px; }
  .daily-hero .daily-hero-btn-group .tour-action-btn.daily-hero-btn {
    height: 30px;
    min-height: 30px;
    padding: 0 10px;
    font-size: 11.5px;
    border-radius: 10px;
  }
}

/* ================= 首页「💖 特别鸣谢」与页脚分割线间距收紧 ================= */
/* 鸣谢卡为首页最后一个模块：去掉主容器底部内边距与残留空容器占位，避免与 footer 的 margin 双倍叠加 */
main.max-w-5xl { padding-bottom: 0 !important; }
#view-home-page > #home-contributor-credits { margin-bottom: 0 !important; }
main > section#view-home-page > *:empty:not([id]) { display: none !important; }
footer.site-footer {
  margin-top: 22px !important;
  padding-top: 18px !important;
  padding-bottom: 20px !important;
}
@media (max-width: 639.98px) {
  footer.site-footer {
    margin-top: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 20px !important;
  }
}

/* ================= 📱 手机端顶栏下方留白最终收敛（消除巨大空白断层） ================= */
@media (max-width: 639.98px) {
  main.max-w-5xl {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
    padding-bottom: 18px !important;
  }
  #view-home-page,
  #view-shows-page,
  #view-chant-page,
  #view-daily-page,
  #view-footprint-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  main > section > :first-child { margin-top: 0 !important; }
  main > section > div:empty { display: none !important; }
  /* 管理入口行在没有可见按钮时彻底不占高 */
  .view-admin-shortcut-row:not(:has(button:not(.hidden))) { display: none !important; }
  /* 各标签页首张卡片紧贴标题 */
  #view-home-page > div:first-child,
  #view-daily-page #oner-daily-root,
  #view-daily-page .daily-hero,
  #view-chant-page > div:first-child,
  #view-shows-page > div:first-child,
  #view-footprint-page > div:first-child { margin-top: 0 !important; }

  /* 物料顶栏按钮：小圆角矩形，不再被拉宽 */
  #view-daily-page .daily-hero-btn-group { width: auto !important; flex: 0 0 auto !important; }
  #view-daily-page .daily-hero-btn-group .tour-action-btn.daily-hero-btn,
  #view-daily-page .daily-submit-entry {
    width: auto !important;
    flex: 0 0 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  /* 热门看点折叠条：收起时彻底不占位，杜绝半透明重影与空占位 */
  .daily-tag-filter-wrap { gap: 0; }
  .daily-tag-filter-wrap.is-open { gap: 10px; }
  .daily-tag-filter-wrap:not(.is-open) .daily-tag-filter-row {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .daily-tag-filter-wrap:not(.is-open) .daily-tag-filter-chips { display: none !important; }
  .daily-tag-filter-wrap.is-open .daily-tag-filter-row {
    border: 1px solid #dbe3eb;
    background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 55%, #eaf0f6 100%);
    box-shadow: inset 0 1px 0 #ffffff, 0 2px 7px rgba(15, 23, 42, 0.04);
    padding: 0;
  }
  .daily-tag-filter-row,
  .daily-tag-filter-chips {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  /* 折叠条与下方「最新在前 + 搜索框」保持 10px 干净间距 */
  .daily-filter-bar { gap: 6px; }
  .daily-tag-filter-wrap + .daily-tool-row,
  .daily-tag-filter-wrap + .daily-tag-filter-tool-row { margin-top: 4px; }
}

/* 顶栏「登录 / 指南」统一基线（桌面 32px / 手机 28px，同圆角同阴影） */
.header-actions .header-unified-btn,
.header-actions #user-auth-btn.header-unified-btn,
.header-actions #top-guide-btn.header-unified-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .header-actions { gap: 6px !important; }
  .header-actions .header-unified-btn,
  .header-actions #user-auth-btn.header-unified-btn,
  .header-actions #top-guide-btn.header-unified-btn {
    height: 28px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11.5px;
    max-width: none;
  }
}

/* 物料工具行：📝 仅看有笔记 单颗筛选按钮，与「最新在前」同规格 */
.daily-tool-row .tour-action-btn.daily-notes-only-btn {
  border-radius: 10px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 639.98px) {
  .daily-tool-row .tour-action-btn.daily-notes-only-btn {
    height: 30px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 11.5px;
  }
}

/* 物料工具行：排序按钮、有笔记与搜索框严格等高同胶囊（30px / 999px / 11.5px） */
.daily-tool-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; width: 100%; }
.daily-tool-row > .tour-action-btn,
.daily-tool-row .tour-action-btn.daily-notes-only-btn {
  box-sizing: border-box;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  padding: 0 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
#view-daily-page .daily-tool-row > .daily-search,
#view-daily-page .daily-tool-row input.daily-search,
#view-daily-page #oner-daily-search {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #ffffff;
  font-size: 11.5px !important;
  line-height: 1 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.055);
}
#view-daily-page .daily-tool-row > .daily-search::placeholder,
#view-daily-page #oner-daily-search::placeholder {
  font-size: 11.5px;
  color: #94a3b8;
}
@media (max-width: 639.98px) {
  .daily-tool-row { gap: 5px; flex-wrap: nowrap; }
  .daily-tool-row > .tour-action-btn,
  .daily-tool-row .tour-action-btn.daily-notes-only-btn,
  #view-daily-page .daily-tool-row > .daily-search,
  #view-daily-page #oner-daily-search {
    height: 29px !important;
    min-height: 29px !important;
    max-height: 29px !important;
    font-size: 11px !important;
    border-radius: 999px !important;
  }
  .daily-tool-row > .tour-action-btn,
  .daily-tool-row .tour-action-btn.daily-notes-only-btn { padding: 0 8px !important; }
  #view-daily-page .daily-tool-row > .daily-search,
  #view-daily-page #oner-daily-search { padding: 0 10px !important; }
  #view-daily-page .daily-tool-row > .daily-search::placeholder,
  #view-daily-page #oner-daily-search::placeholder { font-size: 11px; }
}

/* 首页「💖 特别鸣谢」超过 6 位自动折叠：展开/收起按钮 */
.contributor-credits-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.07);
  transition: color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.contributor-credits-more:hover { color: #1e293b; border-color: #94a3b8; }
.contributor-credits-more:active { box-shadow: inset 2px 2px 4px rgba(163, 177, 198, 0.3); }

/* 🗺️ 足迹点亮地图：收紧容器高度，放大主体轮廓、减少底部与两侧空白 */
.footprint-map-frame {
  position: relative;
  height: 380px;
  max-height: 380px;
  overflow: hidden;
  padding: 6px !important;
}
.footprint-map-frame .footprint-map-canvas,
.footprint-map-canvas {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: 380px;
}
@media (max-width: 639.98px) {
  .footprint-map-frame {
    height: 260px;
    max-height: 260px;
    padding: 4px !important;
  }
  .footprint-map-frame .footprint-map-canvas,
  .footprint-map-canvas {
    height: 100% !important;
    max-height: 260px;
  }
}

/* 🎫 足迹页统一折叠标题栏：单行、44px 基线、10px 内部控件 */
.fp-collapse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.fp-collapse-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}
.fp-collapse-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-collapse-meta {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-collapse-caret {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #64748b;
  font-size: 11px;
  line-height: 1;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.07);
}
.fp-collapse-body { display: block; min-width: 0; max-width: 100%; box-sizing: border-box; overflow-x: clip; }
.fp-collapse-body[hidden] { display: none !important; }
#view-footprint-page,
#footprint-map-box,
#footprint-map-box > * {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}
.fp-archive-list {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
.fp-record-card { max-width: 100%; min-width: 0; box-sizing: border-box; }
.fp-record-row { min-width: 0; max-width: 100%; }
.fp-record-main { min-width: 0; flex: 1 1 auto; }
.fp-record-dot { width: 8px; height: 8px; flex: 0 0 8px; flex-shrink: 0; }
.fp-record-text { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.fp-record-actions { flex: 0 0 auto; }
@media (max-width: 639.98px) {
  .fp-collapse-title { font-size: 13px; white-space: normal; overflow: visible; text-overflow: clip; }
  .fp-collapse-meta { font-size: 10.5px; max-width: none; }
  .fp-record-row { flex-wrap: wrap; align-items: flex-start; gap: 6px; }
  .fp-record-main { flex: 1 1 100%; align-items: flex-start; }
  .fp-record-dot { margin-top: 4px; }
  .fp-record-text { white-space: normal; word-break: break-word; overflow-wrap: anywhere; line-height: 1.45; }
  .fp-record-actions { margin-left: auto; }
}

/* ================= 📱 手机端全站底部留白统一收敛（5 个标签页一致） ================= */
@media (max-width: 639.98px) {
  body { padding-bottom: 0 !important; }
  main.max-w-5xl {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 74px) !important;
  }
  #view-home-page,
  #view-shows-page,
  #view-chant-page,
  #view-daily-page,
  #view-footprint-page {
    min-height: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  main > section > :last-child { margin-bottom: 0 !important; }
  footer.site-footer {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 0 !important;
  }
  footer.site-footer > :last-child { margin-bottom: 0 !important; }
  #footer-feedback-bar { padding-bottom: 0 !important; }
}

/* 📺 物料页：头部卡片与下方分类胶囊行之间保留 12px 呼吸间距（与各筛选行间距统一） */
#view-daily-page .daily-hero { margin-bottom: 12px !important; }
#view-daily-page .daily-channel-row { margin-top: 0 !important; margin-bottom: 4px !important; }
@media (max-width: 639.98px) {
  #view-daily-page .daily-hero { margin-bottom: 12px !important; }
  #view-daily-page .daily-channel-row { margin-top: 0 !important; }
}

/* 🎫 足迹页折叠卡片：收起态纤细紧凑（40~44px 条状、10px 卡片间距） */
#view-footprint-page > * {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
#view-footprint-page > *:last-child { margin-bottom: 0 !important; }
#view-footprint-page .fp-card-collapsed {
  padding: 9px 14px !important;
  space-y-0;
}
#view-footprint-page .fp-card-collapsed > .fp-collapse-head {
  min-height: 26px;
  padding: 0 !important;
  margin: 0 !important;
}
#view-footprint-page .fp-card-collapsed > .fp-collapse-body,
#view-footprint-page .fp-card-collapsed > [hidden] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#view-footprint-page .fp-collapse-head { min-height: 30px; }
#view-footprint-page .fp-collapse-title { font-size: 14px !important; line-height: 1.25 !important; }
#view-footprint-page .fp-collapse-meta { font-size: 12px !important; }
#view-footprint-page .fp-collapse-caret,
#view-footprint-page .fp-collapse-head > .onb-help-dot,
#view-footprint-page .onb-help-dot.is-inline {
  width: 24px !important;
  height: 24px !important;
  font-size: 11px !important;
}
@media (max-width: 639.98px) {
  #view-footprint-page .fp-card-collapsed { padding: 8px 12px !important; }
  #view-footprint-page .fp-collapse-head { min-height: 28px; flex-wrap: wrap; row-gap: 6px; align-items: center; }
  #view-footprint-page .fp-collapse-title { flex: 1 1 100%; font-size: 13px !important; line-height: 1.3 !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  #view-footprint-page .fp-collapse-actions { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; flex-wrap: wrap; justify-content: flex-start !important; align-items: center; gap: 6px; margin-left: 0 !important; }
  #view-footprint-page .fp-collapse-meta { font-size: 10.5px !important; max-width: none; margin-left: auto; }
}

/* ================= 📱 手机端：显示页脚帮助与反馈按钮 + 底部安全留白 ================= */
@media (max-width: 639.98px) {
  footer.site-footer #footer-feedback-bar {
    display: flex !important;
    padding-top: 10px !important;
    /* 底部固定导航约 52px，这里留出安全距离，按钮才不会被导航条压住 */
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 68px) !important;
  }
  footer.site-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px) !important;
  }
  main.max-w-5xl {
    padding-bottom: 0 !important;
  }
}

/* ================= 📱 手机端：首页「时光提醒」紧凑双行 ================= */
@media (max-width: 639.98px) {
  #home-anniversary-box .anniv-card {
    padding: 10px 12px !important;
    row-gap: 6px !important;
  }
  #home-anniversary-box .anniv-card > .flex { row-gap: 4px; }
  #home-anniversary-box .anniv-meet-line,
  #home-anniversary-box .anniv-milestone-line { display: none !important; }
  #home-anniversary-box .anniv-greeting {
    gap: 6px !important;
    font-size: 11px !important;
    flex-wrap: wrap !important;
  }
  #home-anniversary-box .anniv-greeting .theme-pill {
    height: 22px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
  }
  #home-anniversary-box .anniv-shortcuts {
    display: inline-flex !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    margin-top: 4px;
  }
  #home-anniversary-box .anniv-shortcuts .tour-action-btn {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  #home-anniversary-box .anniv-main-line {
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #home-anniversary-box .anniv-bottom-bar {
    padding-top: 2px !important;
    border-top: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  #home-anniversary-box .anniv-day-strip {
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    font-size: 11px !important;
    gap: 4px !important;
  }
  #home-anniversary-box .anniv-day-strip > * { font-size: 11px !important; }
  #home-anniversary-box .anniv-manage-link {
    width: auto !important;
    flex: 0 0 auto;
    text-align: right !important;
  }
}

/* ================= 📣 应援宝典顶部：标题与离线按钮同行 ================= */
.chant-page-head { align-items: center; }
.chant-offline-label-short { display: none; }
.chant-page-title { white-space: nowrap; flex-shrink: 0; }
.chant-page-head .chant-offline-btn {
  height: 32px;
  min-height: 32px;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 639.98px) {
  .chant-page-head .chant-offline-btn { padding: 0 8px; font-size: 11.5px; }
  .chant-page-head .chant-offline-label-long { display: none; }
  .chant-page-head .chant-offline-label-short { display: inline; }
}
#view-chant-page .chant-page-head + .chant-search-bar { margin-top: 10px; }

/* ================= 📺 物料页：控制区顺序与紧凑间距 ================= */
.daily-order-block { display: flex; flex-direction: column; gap: 10px; }
.daily-order-block > * { margin: 0 !important; }
@media (max-width: 639.98px) {
  #view-daily-page { margin-top: 0 !important; padding-top: 0 !important; }
  #view-daily-page > *:first-child { margin-top: 0 !important; }
  #view-daily-page .daily-hero { margin-top: 0 !important; }
}

/* ================= 🎫 足迹地图卡：与其余卡片等宽 ================= */
#footprint-map-box,
#footprint-china-map-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
@media (max-width: 639.98px) {
  #footprint-map-box.fp-card-collapsed,
  #footprint-china-map-card { padding: 8px 12px !important; }
}

/* 📋 管理员反馈箱：一键复制待处理反馈按钮 */
.fb-pending-tools { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.fb-copy-pending-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(145deg, #ffffff, #eef2f7);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 2px 6px rgba(15, 23, 42, 0.08);
}
.fb-copy-pending-btn:active { transform: translateY(1px); }
.fb-batch-resolve-btn { opacity: 0.55; }
.fb-batch-resolve-btn.is-ready {
  opacity: 1;
  color: #0f766e;
  border-color: rgba(153, 246, 228, 0.95);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.95), 0 2px 8px rgba(13, 148, 136, 0.18);
}
.fb-batch-resolve-btn[disabled] { cursor: default; }

/* ✨ 时光提醒：生日倒计时紧凑单段文案（单行不挤压右侧「管理 ›」） */
.anniv-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.anniv-day-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.anniv-day-item--compact {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  vertical-align: middle;
}
.anniv-day-item--compact .anniv-days { font-weight: 800; }
.anniv-manage-link { flex-shrink: 0; white-space: nowrap; }

/* 🗺️ 足迹页：地图卡与其余折叠卡等宽 + 内容与页脚间距收紧 */
#view-footprint-page #footprint-map-box { display: block !important; width: 100% !important; }
#view-footprint-page #footprint-china-map-card,
#view-footprint-page .footprint-map-body,
#view-footprint-page .footprint-map-frame {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}
#view-footprint-page > div:empty { display: none !important; }
@media (max-width: 639.98px) {
  #view-footprint-page > *:last-child { margin-bottom: 0 !important; }
  #view-footprint-page + p,
  #view-footprint-page + div { margin-top: 12px !important; }
  footer.site-footer { margin-top: 12px !important; }
}

/* 📺 物料页：管理员批量操作条紧贴排序与搜索行下方 */
.daily-order-block .daily-batch-bar {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 10px;
}

/* 📺 物料页手机端：分类与年份胶囊自动换行紧凑平铺（取消横滑） */
@media (max-width: 639.98px) {
  #view-daily-page .daily-channel-row {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 4px !important;
    margin: 0 0 6px !important;
  }
  #view-daily-page .daily-channel-chip {
    flex: 0 0 auto !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #view-daily-page .daily-year-row {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    gap: 6px !important;
    row-gap: 6px !important;
    padding-bottom: 0 !important;
  }
  #view-daily-page .daily-year-chip {
    flex: 0 0 auto !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ===== 应援宝典单页浏览分页条 ===== */
#chant-pager { display: flex; justify-content: center; margin: 10px 0 2px; }
#chant-pager.hidden { display: none !important; }
#chant-pager .chant-pager-inner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 8px; border-radius: 12px;
  background: var(--surface, #eef1f6);
  box-shadow: 2px 2px 5px rgba(163, 177, 198, .45), -2px -2px 5px rgba(255, 255, 255, .9);
}
#chant-pager .chant-pager-btn {
  height: 30px; min-width: 62px; padding: 0 10px;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 12px; line-height: 30px;
  color: #46516a; background: #eef1f6;
  box-shadow: 2px 2px 4px rgba(163, 177, 198, .45), -2px -2px 4px rgba(255, 255, 255, .9);
  transition: all .16s ease;
}
#chant-pager .chant-pager-btn:hover:not(:disabled) { color: #2b6cf6; }
#chant-pager .chant-pager-btn:active:not(:disabled) { box-shadow: inset 1px 1px 3px rgba(163, 177, 198, .55), inset -1px -1px 3px rgba(255, 255, 255, .9); }
#chant-pager .chant-pager-btn:disabled { opacity: .42; cursor: default; }
#chant-pager .chant-pager-info { font-size: 12px; color: #6b7688; letter-spacing: .3px; }
@media (max-width: 639.98px) {
  #chant-pager { margin: 8px 0 0; }
  #chant-pager .chant-pager-inner { gap: 6px; padding: 3px 6px; }
  #chant-pager .chant-pager-btn { height: 28px; min-width: 56px; padding: 0 8px; line-height: 28px; font-size: 11px; }
  #chant-pager .chant-pager-info { font-size: 11px; }
}

/* ===== ONER 物料单页浏览分页条 ===== */
.daily-pager { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 10px 0 4px; }
.daily-pager .daily-pager-inner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 8px; border-radius: 12px;
  background: #eef1f6;
  box-shadow: 2px 2px 5px rgba(163, 177, 198, .45), -2px -2px 5px rgba(255, 255, 255, .9);
}
.daily-pager .daily-pager-btn {
  height: 30px; min-width: 62px; padding: 0 10px;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 12px; line-height: 30px; color: #46516a; background: #eef1f6;
  box-shadow: 2px 2px 4px rgba(163, 177, 198, .45), -2px -2px 4px rgba(255, 255, 255, .9);
  transition: all .16s ease;
}
.daily-pager .daily-pager-btn:hover:not(:disabled) { color: #2b6cf6; }
.daily-pager .daily-pager-btn:active:not(:disabled) { box-shadow: inset 1px 1px 3px rgba(163, 177, 198, .55), inset -1px -1px 3px rgba(255, 255, 255, .9); }
.daily-pager .daily-pager-btn:disabled { opacity: .42; cursor: default; }
.daily-pager .daily-pager-info { font-size: 12px; color: #6b7688; letter-spacing: .3px; }
.daily-pager .daily-pager-hint { font-size: 10.5px; color: #97a1b1; }
@media (max-width: 639.98px) {
  .daily-pager { margin: 8px 0 2px; gap: 4px; }
  .daily-pager .daily-pager-inner { gap: 6px; padding: 3px 6px; }
  .daily-pager .daily-pager-btn { height: 28px; min-width: 56px; padding: 0 8px; line-height: 28px; font-size: 11px; }
  .daily-pager .daily-pager-info { font-size: 11px; }
}

/* ===== 档案页单页浏览分页条 ===== */
.archive-pager { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 8px 0 2px; }
.archive-pager .archive-pager-inner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 8px; border-radius: 12px;
  background: #eef1f6;
  box-shadow: 2px 2px 5px rgba(163, 177, 198, .45), -2px -2px 5px rgba(255, 255, 255, .9);
}
.archive-pager .archive-pager-btn {
  height: 30px; min-width: 62px; padding: 0 10px;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 12px; line-height: 30px; color: #46516a; background: #eef1f6;
  box-shadow: 2px 2px 4px rgba(163, 177, 198, .45), -2px -2px 4px rgba(255, 255, 255, .9);
  transition: all .16s ease;
}
.archive-pager .archive-pager-btn:hover:not(:disabled) { color: #2b6cf6; }
.archive-pager .archive-pager-btn:active:not(:disabled) { box-shadow: inset 1px 1px 3px rgba(163, 177, 198, .55), inset -1px -1px 3px rgba(255, 255, 255, .9); }
.archive-pager .archive-pager-btn:disabled { opacity: .42; cursor: default; }
.archive-pager .archive-pager-info { font-size: 12px; color: #6b7688; letter-spacing: .3px; }
.archive-pager .archive-pager-hint { font-size: 10.5px; color: #97a1b1; }
@media (max-width: 639.98px) {
  .archive-pager { margin: 6px 0 0; gap: 4px; }
  .archive-pager .archive-pager-inner { gap: 6px; padding: 3px 6px; }
  .archive-pager .archive-pager-btn { height: 28px; min-width: 56px; padding: 0 8px; line-height: 28px; font-size: 11px; }
  .archive-pager .archive-pager-info { font-size: 11px; }
}

/* ===== 首页近期演出微时间轴：手机端单卡主位 + 横向滑动 ===== */
@media (max-width: 639.98px) {
  #home-upcoming-timeline.is-rail {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  #home-upcoming-timeline.is-rail::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #home-upcoming-timeline.is-rail > .timeline-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
  }
}

/* ✨ 时光提醒：成员倒计时之间统一「 · 」分隔，单行不换行 */
.anniv-day-item--compact .anniv-day-sep { color: #b6bfcd; margin: 0 1px; font-weight: 600; }
.anniv-bottom-bar .anniv-day-strip { display: flex; flex-wrap: nowrap !important; align-items: center; overflow: hidden; }
.anniv-bottom-bar .anniv-day-item--compact { flex: 1 1 auto; min-width: 0; }

/* ✨ 时光提醒：倒计时首尾呼吸间距（距 / 天） */
.anniv-day-item--compact .anniv-day-prefix { margin-right: 2px; }
.anniv-day-item--compact .anniv-day-suffix { margin-left: 2px; }

/* ✨ 时光提醒：成员倒计时后缀词（默认「生日」） */
.anniv-day-item--compact .anniv-day-label { color: #7b8698; margin-right: 1px; }

/* ===== 📱 手机端底部导航：冷白银灰毛玻璃 + 顺滑动效 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    background: rgba(244, 247, 251, 0.72) !important;
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    backdrop-filter: blur(14px) saturate(155%);
    border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 -1px 0 rgba(148, 163, 184, 0.28), 0 -8px 22px rgba(100, 116, 139, 0.14) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    background: transparent !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    background: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(100, 116, 139, 0.12) !important;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease !important;
    will-change: transform;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active {
    transform: scale(0.96);
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 244, 250, 0.92) 55%, rgba(222, 230, 240, 0.88) 100%) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      inset 0 -1px 2px rgba(148, 163, 184, 0.18),
      0 2px 8px rgba(100, 116, 139, 0.16) !important;
    color: #0f172a !important;
  }
}

/* ===== 📱 手机端底部导航：5 标签同屏固定 + 激活态高亮 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    background: rgba(246, 248, 251, 0.96) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 -1px 0 rgba(148, 163, 184, 0.26), 0 -4px 14px rgba(100, 116, 139, 0.1) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding: 6px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    touch-action: auto !important;
    overscroll-behavior-x: auto !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 4px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    background: rgba(236, 240, 246, 0.92) !important;
    color: #64748b !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(100, 116, 139, 0.1) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transition: all 0.18s ease !important;
    will-change: auto;
  }
  nav.fixed.bottom-0 .nav-segment--block #bottom-tab-home {
    flex: 0 0 auto !important;
    padding: 6px 10px !important;
    font-size: 15px !important;
  }
  nav.fixed.bottom-0 .nav-segment--block #bottom-tab-home .nav-label { display: none !important; }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active { transform: scale(0.97); }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active {
    background: linear-gradient(135deg, #33415c 0%, #1f2937 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 3px 10px rgba(31, 41, 55, 0.32),
      0 1px 2px rgba(31, 41, 55, 0.24) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  }
}

/* ===== 📱 手机端底部导航：与整站统一的冷白银灰新拟态 10px 圆角矩形 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    background: #e9edf3 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.9), 0 -6px 18px rgba(163, 177, 198, 0.32) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    background: #eef1f6 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(163, 177, 198, 0.28) !important;
    padding: 6px 8px !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    background: #eef1f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 10px !important;
    color: #5b6678 !important;
    box-shadow: 2px 2px 4px rgba(163, 177, 198, 0.5), -2px -2px 4px rgba(255, 255, 255, 0.92) !important;
    text-shadow: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active {
    box-shadow: inset 1px 1px 3px rgba(163, 177, 198, 0.6), inset -1px -1px 3px rgba(255, 255, 255, 0.92) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active {
    background: linear-gradient(140deg, #3b4a63 0%, #1f2937 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      0 3px 9px rgba(31, 41, 55, 0.3) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.26);
  }
}

/* ===== 📱 手机端底部导航：浅色半透明底栏 + 选中项冷白银灰新拟态 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    background: rgba(248, 250, 252, 0.76) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
    backdrop-filter: blur(10px) saturate(140%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 -1px 0 rgba(148, 163, 184, 0.2), 0 -6px 16px rgba(100, 116, 139, 0.12) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    background: rgba(255, 255, 255, 0.32) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 10px !important;
    color: #6b7688 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active {
    background: rgba(238, 242, 246, 0.85) !important;
    box-shadow: inset 1px 1px 3px rgba(163, 177, 198, 0.5) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active {
    background: #eef1f6 !important;
    color: #33415c !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      2px 2px 5px rgba(163, 177, 198, 0.45),
      -2px -2px 5px rgba(255, 255, 255, 0.92) !important;
    text-shadow: none;
  }
}

/* ===== 📱 首页近期演出微时间轴：多场滑动提示 + 右侧微露 ===== */
.home-swipe-hint { display: none; }
@media (max-width: 639.98px) {
  #home-upcoming-timeline.is-rail > .timeline-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }
  #home-upcoming-swipe-hint.home-swipe-hint:not(.hidden) {
    display: block;
    margin: 6px 0 0;
    text-align: center;
    font-size: 10.5px;
    letter-spacing: .2px;
    color: #8b95a5;
  }
}

/* ===== 📱 手机端底栏：上边缘柔化，无生硬分割线 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 -4px 16px rgba(148, 163, 184, 0.14) !important;
  }
}

/* ===== 📱 手机端底栏标签：对齐网页版标签的冷白银灰新拟态质感 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 .nav-segment--block {
    gap: 6px !important;
    padding: 5px 7px !important;
    background: rgba(248, 250, 252, 0.66) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 10px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -1px 2px rgba(163, 177, 198, 0.16) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill,
  nav.fixed.bottom-0 .nav-segment--block .nav-segment button {
    font-weight: 500 !important;
    font-size: 12px !important;
    letter-spacing: 0.2px !important;
    color: #64748b !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(241, 245, 249, 0.6) 100%) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 10px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 1px 2px rgba(148, 163, 184, 0.12) !important;
    text-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:hover,
  nav.fixed.bottom-0 .nav-segment--block .nav-segment button:hover {
    color: #334155 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 247, 251, 0.8) 100%) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active {
    transform: scale(0.97) !important;
    box-shadow: inset 1px 1px 3px rgba(163, 177, 198, 0.5) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill[aria-current="page"] {
    color: #2c3a52 !important;
    font-weight: 600 !important;
    background: #eef1f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 10px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      inset 0 -1px 2px rgba(163, 177, 198, 0.18),
      2px 2px 5px rgba(163, 177, 198, 0.42),
      -2px -2px 5px rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
  }
}

/* ===== 📱 手机端分页控件：轻量为微拟态小胶囊 ===== */
@media (max-width: 639.98px) {
  #chant-pager .chant-pager-inner,
  .daily-pager .daily-pager-inner,
  .archive-pager .archive-pager-inner {
    gap: 6px !important;
    padding: 2px 4px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #chant-pager .chant-pager-btn,
  .daily-pager .daily-pager-btn,
  .archive-pager .archive-pager-btn {
    height: 28px !important;
    min-width: auto !important;
    padding: 0 10px !important;
    line-height: 28px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #5a6579 !important;
    background: rgba(241, 245, 249, 0.85) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
  }
  #chant-pager .chant-pager-btn:hover:not(:disabled),
  .daily-pager .daily-pager-btn:hover:not(:disabled),
  .archive-pager .archive-pager-btn:hover:not(:disabled) {
    color: #33415c !important;
    background: rgba(248, 250, 252, 0.95) !important;
    border-color: rgba(148, 163, 184, 0.42) !important;
  }
  #chant-pager .chant-pager-btn:active:not(:disabled),
  .daily-pager .daily-pager-btn:active:not(:disabled),
  .archive-pager .archive-pager-btn:active:not(:disabled) {
    background: rgba(226, 232, 240, 0.9) !important;
    box-shadow: none !important;
  }
  #chant-pager .chant-pager-btn:disabled,
  .daily-pager .daily-pager-btn:disabled,
  .archive-pager .archive-pager-btn:disabled {
    opacity: 0.4 !important;
    box-shadow: none !important;
  }
  #chant-pager .chant-pager-info,
  .daily-pager .daily-pager-info,
  .archive-pager .archive-pager-info {
    font-size: 11.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
  }
  .daily-pager .daily-pager-hint,
  .archive-pager .archive-pager-hint { font-size: 10px !important; color: #9aa4b5 !important; }
}

/* ===== 📱 手机端底栏：圆润胶囊分段轨道 + 凸起亮白激活胶囊 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 {
    background: rgba(248, 250, 252, 0.8) !important;
    -webkit-backdrop-filter: blur(12px) saturate(145%) !important;
    backdrop-filter: blur(12px) saturate(145%) !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 -4px 18px rgba(148, 163, 184, 0.16) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 2px !important;
    width: auto !important;
    margin: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 5px 6px !important;
    background: linear-gradient(180deg, #eaeef4 0%, #f2f5f9 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 999px !important;
    box-shadow:
      inset 0 1px 2px rgba(163, 177, 198, 0.28),
      inset 0 -1px 1px rgba(255, 255, 255, 0.8) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill,
  nav.fixed.bottom-0 .nav-segment--block .nav-segment button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 34px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    color: #7b869a !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block #bottom-tab-home .nav-label {
    display: inline !important;
    margin-left: 1px !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:active {
    transform: scale(0.96) !important;
    box-shadow: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill[aria-current="page"],
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.active {
    color: #2b3a52 !important;
    font-weight: 600 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 999px !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 2px 6px rgba(100, 116, 139, 0.22),
      0 1px 2px rgba(148, 163, 184, 0.18) !important;
    text-shadow: none !important;
  }
}

/* ===== 📱 手机端底栏 5 个标签：字号与图标尺寸完全统一 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 .nav-segment--block .nav-pill,
  nav.fixed.bottom-0 .nav-segment--block .nav-segment button,
  nav.fixed.bottom-0 .nav-segment--block #bottom-tab-home {
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block #bottom-tab-home .nav-label {
    display: inline !important;
    font-size: 11px !important;
    font-weight: inherit !important;
    line-height: 1 !important;
    margin-left: 1px !important;
    vertical-align: baseline !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill[aria-current="page"],
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.active {
    font-weight: 600 !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active #bottom-tab-home,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active .nav-label {
    font-size: 11px !important;
  }
}

/* ===== 📱 悬浮电子木鱼：整体下移，保持与底栏安全间距 ===== */
@media (max-width: 639.98px) {
  .woodfish-fab-wrap {
    right: 16px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 104px) !important;
  }
}

/* ===== 悬浮电子木鱼：屏内拖拽 / 隐藏与唤回 ===== */
.woodfish-fab-wrap.is-dragged {
  right: auto !important;
  bottom: auto !important;
  touch-action: none;
  cursor: grab;
  transition: none;
}
.woodfish-fab-wrap.is-dragged:active { cursor: grabbing; }
.woodfish-fab-wrap.is-hidden { display: none !important; }
.woodfish-restore {
  position: fixed;
  left: 14px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 901;
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #47556d;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.woodfish-restore:hover { background: rgba(255, 255, 255, 0.95); }
.woodfish-restore:active { transform: scale(0.96); }
.woodfish-restore.hidden { display: none !important; }
@media (max-width: 639.98px) {
  .woodfish-restore {
    left: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 66px);
    height: 28px;
    font-size: 11px;
    padding: 0 10px;
  }
}
.woodfish-toggle--ghost {
  color: #7a8496 !important;
  background: rgba(241, 245, 249, 0.9) !important;
  box-shadow: none !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
}

/* ===== 🏛️ 往日演出档案：空状态 ===== */
.archive-empty-state {
  padding: 22px 16px;
  text-align: center;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.72);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

/* ===== 📱 时光提醒：手机端编辑与管理弹窗适配 ===== */
@media (max-width: 639.98px) {
  .anniv-inline-input {
    height: 32px !important;
    width: auto !important;
    min-width: 104px;
    max-width: 62vw;
    padding: 0 8px !important;
    font-size: 16px !important; /* 避免 iOS 聚焦自动放大 */
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.55) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(148, 163, 184, 0.18) !important;
  }
  .anniv-inline-input:focus {
    border-color: rgba(100, 116, 139, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.22) !important;
  }
  #anniversary-manager-modal {
    padding: 10px !important;
    align-items: flex-start !important;
  }
  #anniversary-manager-modal > .chronicle-card {
    max-height: 90vh !important;
    margin-top: 5vh !important;
    border-radius: 16px !important;
  }
  #anniversary-manager-body {
    padding: 12px !important;
  }
  #anniversary-manager-body input[type="text"],
  #anniversary-manager-body input[type="date"] {
    font-size: 16px !important;
    height: 36px;
    border-radius: 10px !important;
    box-sizing: border-box;
  }
  #anniversary-manager-body .min-w-\[7rem\],
  #anniversary-manager-body .min-w-\[8rem\] {
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
  #anniversary-manager-body .tour-action-btn,
  #anniversary-manager-body button {
    border-radius: 10px !important;
  }
  .anniv-day-strip {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== 🗓️ 时光提醒：内置日期基准快捷芯片 ===== */
.anniv-baseline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 2px 0;
}
.anniv-baseline-label {
  width: 100%;
  font-size: 10px;
  color: #94a3b8;
}
.anniv-baseline-chip {
  height: 24px;
  padding: 0 8px;
  font-size: 10.5px;
  color: #5a6579;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.anniv-baseline-chip:hover {
  color: #33415c;
  background: #ffffff;
}
@media (max-width: 639.98px) {
  .anniv-baseline-chip { height: 28px; font-size: 11.5px; border-radius: 10px; }
}

/* ===== 📱 手机端底栏：彻底隔离粉籍应援色，避免串色/泛黄 ===== */
@media (max-width: 639.98px) {
  nav.fixed.bottom-0 .nav-segment--block,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:link,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill:visited {
    --fan-theme: transparent;
    --fan-theme-solid: #33415c;
    --fan-theme-bg: transparent;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block {
    background-color: #eef2f7 !important;
    background-image: linear-gradient(180deg, #ebeff5 0%, #f3f6fa 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: inset 0 1px 2px rgba(163, 177, 198, 0.26), inset 0 -1px 1px rgba(255, 255, 255, 0.8) !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill {
    color: #7b869a !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    filter: none !important;
  }
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.nav-pill-active,
  nav.fixed.bottom-0 .nav-segment--block .nav-pill[aria-current="page"],
  nav.fixed.bottom-0 .nav-segment--block .nav-pill.active {
    color: #2b3a52 !important;
    font-weight: 600 !important;
    background-color: #ffffff !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.98) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 2px 6px rgba(100, 116, 139, 0.2) !important;
    filter: none !important;
  }
  /* 手机上其它“会亮起应援色”的小按钮统一走银灰，避免颜色渗到相邻元素 */
  nav.fixed.bottom-0 .nav-segment--block .theme-pill,
  nav.fixed.bottom-0 .nav-segment--block .colored-pill {
    background: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
  }
}

/* ===== 手机端物料页年份筛选条：默认单行 + 展开/收起（桌面端不受影响） ===== */
@media (max-width: 639.98px) {
  #view-daily-page .daily-year-row {
    flex-wrap: wrap !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    row-gap: 6px;
    padding-bottom: 0 !important;
  }
  #view-daily-page .daily-year-row.is-collapsed {
    max-height: 33px !important;
    overflow: hidden !important;
  }
  #view-daily-page .daily-year-row:not(.is-collapsed) {
    max-height: none !important;
    overflow: visible !important;
  }
  #view-daily-page .daily-year-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #dbe3eb;
    background: linear-gradient(180deg, #ffffff, #eef3f8);
    color: #5b6678;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 3px rgba(15, 23, 42, .05);
    cursor: pointer;
  }
  #view-daily-page .daily-year-toggle.hidden { display: none !important; }
}

/* ===== 网页版分页控件：去掉厚重双层拟态外壳，改轻巧微拟态小胶囊 ===== */
@media (min-width: 640px) {
  #chant-pager .chant-pager-inner,
  .daily-pager .daily-pager-inner,
  .archive-pager .archive-pager-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  #chant-pager .chant-pager-btn,
  .daily-pager .daily-pager-btn,
  .archive-pager .archive-pager-btn {
    height: 30px;
    min-width: auto;
    padding: 0 12px;
    line-height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(241, 245, 249, 0.88);
    box-shadow: none;
    color: #5a6579;
    font-size: 12.5px;
    font-weight: 500;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }
  #chant-pager .chant-pager-btn:hover:not(:disabled),
  .daily-pager .daily-pager-btn:hover:not(:disabled),
  .archive-pager .archive-pager-btn:hover:not(:disabled) {
    color: #33415c;
    background: rgba(226, 232, 240, 0.9);
    border-color: rgba(148, 163, 184, 0.45);
  }
  #chant-pager .chant-pager-btn:active:not(:disabled),
  .daily-pager .daily-pager-btn:active:not(:disabled),
  .archive-pager .archive-pager-btn:active:not(:disabled) {
    background: rgba(226, 232, 240, 0.95);
    box-shadow: none;
  }
  #chant-pager .chant-pager-btn:disabled,
  .daily-pager .daily-pager-btn:disabled,
  .archive-pager .archive-pager-btn:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
  }
  #chant-pager .chant-pager-info,
  .daily-pager .daily-pager-info,
  .archive-pager .archive-pager-info {
    font-size: 12.5px;
    font-weight: 500;
    color: #6b7688;
    letter-spacing: 0.3px;
  }
  .daily-pager .daily-pager-hint,
  .archive-pager .archive-pager-hint {
    font-size: 11px;
    color: #97a1b1;
    margin-top: 2px;
  }
}

/* ===== 档案页顶部并列切换：近期演出 / 往期演出 ===== */
.shows-seg-head { margin-bottom: 2px; }
.shows-seg-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef2f7, #f6f9fc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(148, 163, 184, 0.12);
}
.shows-seg-group .seg-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #62708a;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.shows-seg-group .seg-btn.is-active {
  color: #1F2A44;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  box-shadow: 0 1px 3px rgba(148, 163, 184, 0.24), inset 0 1px 0 #ffffff;
}
@media (max-width: 639.98px) {
  .shows-seg-group { width: 100%; justify-content: center; }
  .shows-seg-group .seg-btn { flex: 1 1 0; min-width: 0; height: 29px; padding: 0 6px; font-size: 11.5px; }
}

/* ===== 巡演卡天气信息：字号/行高/颜色与同区域日期、场馆完全统一 ===== */
.timeline-card-meta .timeline-weather-badge,
.timeline-meta-head .timeline-weather-badge,
.archive-strip .timeline-weather-badge,
.show-card .timeline-weather-badge {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #5b6777 !important;
  letter-spacing: normal !important;
  vertical-align: baseline;
}
@media (max-width: 639.98px) {
  .timeline-card-meta .timeline-weather-badge,
  .timeline-meta-head .timeline-weather-badge,
  .archive-strip .timeline-weather-badge,
  .show-card .timeline-weather-badge {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #5b6777 !important;
  }
}

/* ===== 管理演出表单：冷白银灰微拟态分类标签 ===== */
.adm-form-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.12);
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.adm-form-tabs::-webkit-scrollbar { display: none; }
.adm-form-tab {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.adm-form-tab:hover { color: #334155; background: rgba(255, 255, 255, 0.7); }
.adm-form-tab.is-active {
  color: #1e293b;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.adm-sec-off { display: none !important; }
.adm-form-foot {
  position: sticky;
  bottom: 0;
  padding: 8px 0 2px;
  margin-top: 4px;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.92) 40%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5;
}
@media (max-width: 639.98px) {
  .adm-form-tabs { gap: 5px; padding: 5px; border-radius: 12px; }
  .adm-form-tab { padding: 6px 10px; font-size: 11.5px; }
}

/* ===== 档案卡片：多轮开票明细（冷白银灰） ===== */
.archive-sale-rounds {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.archive-sale-round {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.6;
  color: #64748b;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-sale-round .archive-sale-name {
  font-weight: 600;
  color: #475569;
  flex: 0 0 auto;
}
.archive-sale-round .archive-sale-time {
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.archive-sale-round .archive-sale-plat {
  color: #94a3b8;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.archive-sale-round .archive-sale-status {
  flex: 0 0 auto;
  color: #94a3b8;
}
.archive-sale-round.is-past {
  opacity: 0.78;
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(148, 163, 184, 0.22);
}
.archive-sale-round.is-soldout .archive-sale-status,
.archive-sale-round.is-pending .archive-sale-status { color: #b45309; }
.archive-sale-round.is-upcoming {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.35);
}
.archive-sale-round.is-active {
  color: #1e293b;
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.archive-sale-round.is-active .archive-sale-name { color: #0f172a; }
.archive-sale-round .archive-sale-countdown {
  font-weight: 700;
  color: var(--fan-theme-solid, #C8102E);
  background: var(--fan-theme, #C8102E);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 11px;
}
@media (max-width: 639.98px) {
  .archive-sale-round { font-size: 10.5px; padding: 2px 7px; gap: 5px; }
  .archive-sale-round .archive-sale-countdown { font-size: 10.5px; }
}

/* ===== 档案开票明细：场次标签与折叠 ===== */
.archive-sale-round .archive-sale-tag {
  flex: 0 0 auto;
  padding: 0 5px;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}
.archive-sale-more { display: none; }
.archive-sale-rounds.is-open .archive-sale-more {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1 0 100%;
}
.archive-sale-toggle {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10.5px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.archive-sale-toggle:hover { color: #334155; background: #ffffff; }
.sale-rounds-panel .sale-rounds-more { display: none; }
.sale-rounds-panel.is-open .sale-rounds-more { display: block; }
.sale-rounds-toggle {
  width: 100%;
  margin-top: 2px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 10.5px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.sale-rounds-toggle:hover { color: #334155; background: #ffffff; }

/* ================= 🏛️ 往期演出卡片顶行：艺人标签 + 足迹 居左，✏️ 编辑 居右，两端对齐且永不换行 ================= */
.archive-strip .archive-title-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  row-gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* 左侧标签组：艺人徽章 + 状态 / 想去 / 足迹胶囊，内部也不换行 */
.archive-strip .archive-title-row > .archive-head-left {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden;
}
.archive-strip .archive-title-row > .archive-head-left > * {
  flex: 0 0 auto !important;
}
.archive-strip .archive-title-row > .archive-head-left .tour-top-tags {
  flex-wrap: nowrap !important;
  gap: 4px !important;
  min-width: 0;
  overflow: hidden;
}
/* ================= 🏛️ 档案页类型筛选胶囊：按实际分类动态生成（含周年派对 / 见面会 / 演唱会） ================= */
.archive-filter-bar .seg-group {
  flex-wrap: wrap;
  max-width: 100%;
}
.archive-filter-bar .seg-btn {
  white-space: nowrap;
}
.arc-type-count {
  margin-left: 4px;
  font-size: 9px;
  font-weight: 600;
  opacity: 0.55;
}
@media (max-width: 640px) {
  .archive-filter-bar .seg-group {
    gap: 2px;
    padding: 3px;
  }
  .archive-filter-bar .seg-btn {
    height: 24px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* ================= 🏷️ 批量管理：批量移动分类控件 ================= */
.admin-batch-move-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.admin-batch-move-group.hidden {
  display: none !important;
}
.admin-batch-move-group .admin-batch-category-select {
  height: 26px;
  padding: 0 6px;
  font-size: 11px;
  max-width: 120px;
}
@media (max-width: 640px) {
  .admin-batch-move-group {
    flex: 1 1 100%;
  }
  .admin-batch-move-group .admin-batch-category-select {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* ================= 🛠️ 独立管理台：统一字号 + 手机端表单单列 ================= */
/* 一级标签（演出管理 / 物料管理 / 应援词管理 / 系统与备份）与二级标签统一 13px */
#hidden-admin-modal .admin-console-tab,
#hidden-admin-modal .adm-form-tab {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* 功能按钮 / 胶囊按钮 / 文件上传按钮统一 13px（含 上传海报图片、识别海报场次、批量管理演出、压缩云端历史大图、同步发布） */
#hidden-admin-modal .admin-console-panel button,
#hidden-admin-modal .admin-console-panel label.cursor-pointer,
#hidden-admin-modal .admin-console-panel .tour-action-btn,
#hidden-admin-modal .admin-console-panel .liquid-silver-btn,
#hidden-admin-modal .adm-form-foot button {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* 前缀标签 / 小标题（演出分类、演出海报、座位图、初版官宣海报…）统一 13px */
#hidden-admin-modal .admin-console-panel span.font-semibold,
#hidden-admin-modal .admin-console-panel span.font-bold,
#hidden-admin-modal .admin-console-panel .adm-field-label {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* 输入框 / 下拉框 / 多行文本统一 14px，消除「下拉框文字比按钮大一圈」的割裂感 */
#hidden-admin-modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
#hidden-admin-modal textarea {
  font-size: 14px !important;
  line-height: 1.4 !important;
}
/* select 用固定行高，保证 32px 胶囊内文字仍垂直居中 */
#hidden-admin-modal select {
  font-size: 14px !important;
  line-height: 30px !important;
}

/* 「重置」按钮：冷白银灰微拟态胶囊，杜绝裸文字按钮 */
#hidden-admin-modal .adm-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF2F7 100%);
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
#hidden-admin-modal .adm-reset-btn:hover {
  color: #0F172A;
  border-color: rgba(100, 116, 139, 0.62);
}
#hidden-admin-modal .adm-reset-btn:active {
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
  /* 两列并排表单 → 单列全宽堆叠，彻底解决占位文字被截断 */
  #hidden-admin-modal .admin-console-panel .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #hidden-admin-modal .admin-console-panel .col-span-2 {
    grid-column: auto !important;
  }
  #hidden-admin-modal .admin-console-panel input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
  #hidden-admin-modal .admin-console-panel select,
  #hidden-admin-modal .admin-console-panel textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  #hidden-admin-modal .admin-console-tab { height: 32px; padding: 0 12px; }
  #hidden-admin-modal .adm-form-tab { padding: 8px 11px; }
}

/* ================= 🥚 电子木鱼连击彩蛋：专属飘字 / 光效 / 高光提示 ================= */
/* 悬浮木鱼左上角「收起」按钮：折叠贴边隐藏，左下角「🐟 木鱼」一键恢复 */
.woodfish-fab-hide {
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 901;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e8edf4);
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 2px 2px 6px rgba(15, 23, 42, 0.16), inset 1px 1px 1px #fff;
  opacity: 0.72;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.woodfish-fab-hide:hover { opacity: 1; color: #0f172a; transform: scale(1.06); }
.woodfish-fab-hide:active { transform: scale(0.94); }

/* 连击光效：木鱼本体按彩蛋颜色打一圈微拟态光环 */
.woodfish-fab.is-egg-glow,
.woodfish-hit.is-egg-glow {
  animation: woodfish-egg-glow 0.95s ease-out;
}
@keyframes woodfish-egg-glow {
  0% { filter: drop-shadow(0 0 0 var(--woodfish-egg-glow, #94A3B8)); }
  35% { filter: drop-shadow(0 0 16px var(--woodfish-egg-glow, #94A3B8)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.85)); }
  100% { filter: drop-shadow(0 0 0 var(--woodfish-egg-glow, #94A3B8)); }
}

/* 彩蛋飘字：更大字号 + 同色描边光晕 */
.woodfish-float.is-egg,
.woodfish-fab-float.is-egg {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  max-width: min(72vw, 330px);
  white-space: normal;
  line-height: 1.42;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 #fff, 0 0 14px var(--woodfish-egg-glow, rgba(148, 163, 184, 0.55)), 0 4px 14px rgba(15, 23, 42, 0.18);
  animation-duration: 1.45s;
}
.woodfish-fab-float.is-egg { font-size: 14px; max-width: min(60vw, 250px); }
.woodfish-float.is-glow-gold,
.woodfish-fab-float.is-glow-gold { color: #B7791F; }
.woodfish-float.is-glow-silver,
.woodfish-fab-float.is-glow-silver { color: #64748B; }

/* 弹窗内高光提示条 */
#woodfish-modal .woodfish-dialog { position: relative; }
.woodfish-egg-toast {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 9;
  max-width: calc(100% - 28px);
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
  color: var(--woodfish-egg-glow, #475569);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14), inset 0 1px 0 #fff;
  animation: woodfish-egg-toast 2.3s ease forwards;
  pointer-events: none;
}
.woodfish-egg-toast.is-oner {
  border-color: var(--woodfish-egg-glow, #DD0514);
  box-shadow: 0 6px 22px var(--woodfish-egg-glow, rgba(221, 5, 20, 0.35)), inset 0 1px 0 #fff;
}
@keyframes woodfish-egg-toast {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.94); }
  12% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -6px) scale(0.98); }
}
.woodfish-egg-hint {
  margin: 9px auto 0;
  max-width: 94%;
  padding: 6px 11px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(226, 232, 240, 0.55);
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
  box-shadow: inset 0 1px 0 #fff;
}

/* ================= 🎫 开票明细：右侧信息容器与每一行都不得横向出框 ================= */
.show-card-body,
.show-card .card-venue-meta,
.show-card .card-venue-meta-main,
.archive-strip-body {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.sale-rounds-panel,
.sale-rounds-panel.countdown-glass,
.sale-rounds-more,
.archive-sale-rounds,
.archive-sale-more {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.sale-round-row,
.archive-sale-round {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.sale-round-row .sale-round-main { flex: 1 1 auto; min-width: 0; }
.sale-round-row .sale-round-side { flex: 0 0 auto; }
.sale-round-row .sale-round-status,
.sale-round-row .sale-round-countdown,
.sale-round-row .sale-round-ics,
.archive-sale-round .archive-sale-status,
.archive-sale-round .archive-sale-countdown {
  flex-shrink: 0;
}

/* 开票时间：电脑端完整年月日，手机端精简为 MM-DD HH:mm */
.sale-round-time-full,
.sale-round-time-short { white-space: nowrap; }
.sale-round-time-short { display: none; }

@media (max-width: 640px) {
  .sale-round-time-full { display: none; }
  .sale-round-time-short { display: inline; }

  .sale-round-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
  }
  .sale-round-main {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .sale-round-name,
  .sale-round-tag,
  .sale-round-time { flex: 0 0 auto; }
  .sale-round-platform {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sale-round-side { flex: 0 0 auto; }
  .sale-round-status,
  .sale-round-countdown { flex-shrink: 0; white-space: nowrap; }

  .archive-sale-round {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .archive-sale-round .archive-sale-plat {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .archive-sale-round .archive-sale-status,
  .archive-sale-round .archive-sale-countdown { flex-shrink: 0; white-space: nowrap; }
}

/* ================= ✉️ ONERLAND 追星明信片 · 信箱与复古液态银白灰微拟态 ================= */
.postcard-entry-btn { position: relative !important; }
.postcard-unread-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.18), 0 1px 3px rgba(127, 29, 29, 0.4);
  animation: postcard-dot-pulse 1.8s ease-in-out infinite;
}
.postcard-unread-dot.hidden { display: none !important; }
@keyframes postcard-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.75; }
}
.postcard-modal,
.postcard-reminder {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.postcard-modal.hidden,
.postcard-reminder.hidden { display: none !important; }
.postcard-modal-backdrop,
.postcard-reminder-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
}
.postcard-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 48%, #dce3ec 100%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: inset 0 1px 0 #fff, 0 22px 60px rgba(30, 41, 59, 0.28);
}
.postcard-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}
.postcard-modal-title { margin: 0; font-size: 17px; font-weight: 800; color: #1e293b; letter-spacing: 0.02em; }
.postcard-modal-sub { margin: 4px 0 0; font-size: 11.5px; color: #64748b; }
.postcard-close-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(145deg, #fff, #e2e8f0);
  color: #475569;
  font-size: 13px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 5px rgba(100, 116, 139, 0.18);
  cursor: pointer;
}
.postcard-modal-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 16px 22px 22px; }
.postcard-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(226, 232, 240, 0.7);
  box-shadow: inset 0 1px 3px rgba(100, 116, 139, 0.16);
}
.postcard-tab {
  flex: 1 1 0;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}
.postcard-tab.is-active {
  color: #0f172a;
  background: linear-gradient(145deg, #fff, #eef2f7);
  border-color: rgba(148, 163, 184, 0.42);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(100, 116, 139, 0.16);
}
.postcard-mailbox-layout {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.postcard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
}
.postcard-list-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 #fff;
  cursor: pointer;
}
.postcard-list-item.is-active {
  border-color: rgba(148, 163, 184, 0.7);
  background: linear-gradient(145deg, #fff, #e9eef5);
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(100, 116, 139, 0.16);
}
.postcard-list-stamp {
  grid-row: 1 / 3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  padding: 5px 7px;
  border: 1px dashed rgba(100, 116, 139, 0.5);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.8);
}
.postcard-list-label { font-size: 12px; font-weight: 700; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.postcard-list-meta { font-size: 10px; color: #94a3b8; }
.postcard-mini-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #dc2626; vertical-align: middle; }
.postcard-detail { min-width: 0; }
.postcard-empty {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
}
.postcard-paper {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 16px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.045) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #ffffff 0%, #f4f7fa 46%, #e2e8f0 100%);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(71, 85, 105, 0.16);
}
.postcard-paper::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(148, 163, 184, 0.42);
  border-radius: 12px;
  pointer-events: none;
}
.postcard-paper-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.postcard-postmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  border: 1px dashed rgba(100, 116, 139, 0.55);
  border-radius: 9px;
  background: rgba(248, 250, 252, 0.75);
}
.postcard-postmark strong { font-size: 10px; letter-spacing: 0.12em; color: #475569; }
.postcard-postmark span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 800; color: #1e293b; }
.postcard-wax {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: radial-gradient(circle at 34% 28%, #fff6 0%, transparent 42%), var(--postcard-accent, #DD0514);
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.28), inset 0 2px 4px rgba(255, 255, 255, 0.55);
}
.postcard-heading { margin-top: 18px; font-size: 22px; font-weight: 900; letter-spacing: 0.02em; color: #0f172a; }
/* 💌 收件人 To: 昵称（点击可改名）——明信片的主标题位 */
.postcard-recipient { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; min-width: 0; }
.postcard-recipient-label { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #94a3b8; }
.postcard-recipient-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.7);
  background: none;
  font-family: inherit;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #0f172a;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.postcard-recipient-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.postcard-recipient-name:hover,
.postcard-recipient-name:focus-visible { color: var(--postcard-accent, #DD0514); border-bottom-color: currentColor; outline: none; }
.postcard-recipient-edit { flex: 0 0 auto; font-size: 10.5px; font-style: normal; font-weight: 700; color: #94a3b8; opacity: 0.9; }
.postcard-recipient-name:hover .postcard-recipient-edit { color: inherit; opacity: 1; }
.postcard-recipient--reminder { margin-top: 10px; margin-right: 58px; }
.postcard-recipient--reminder .postcard-recipient-name { font-size: 20px; }
/* 🏷️ 周期称号：小号胶囊徽章，与周期副标题并列 */
.postcard-badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.postcard-title-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(241, 245, 249, 0.92);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--postcard-accent, #DD0514);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.postcard-reminder-period { font-size: 10.5px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.postcard-period { margin-top: 5px; font-size: 11px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.postcard-message { margin: 12px 0 16px; font-size: 12.5px; line-height: 1.8; color: #475569; }
.postcard-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.postcard-stat-grid > div {
  min-width: 0;
  padding: 9px 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: inset 0 1px 0 #fff;
  text-align: center;
}
.postcard-stat-grid b { display: block; font-size: 15px; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.postcard-stat-grid span { display: block; margin-top: 2px; font-size: 10px; color: #94a3b8; }
.postcard-private { letter-spacing: 0.12em; }
.postcard-distribution { margin-top: 12px; font-size: 11px; color: #64748b; }
.postcard-paper-foot { margin-top: 10px; font-size: 10px; letter-spacing: 0.08em; color: #b6c2d0; text-align: right; }
.postcard-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* 轻量拆信浮窗 */
.postcard-reminder-card {
  position: relative;
  width: min(420px, 100%);
  padding: 26px 24px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #eef2f7 60%, #dfe6ef 100%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: inset 0 1px 0 #fff, 0 20px 50px rgba(30, 41, 59, 0.3);
  animation: postcard-reminder-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes postcard-reminder-in {
  from { opacity: 0; transform: translateY(18px) rotate(-2deg) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.postcard-reminder-seal {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  background: radial-gradient(circle at 34% 28%, #fff6 0%, transparent 42%), var(--postcard-accent, #DD0514);
  box-shadow: 0 4px 10px rgba(71, 85, 105, 0.26);
}
.postcard-reminder-kicker { font-size: 10.5px; letter-spacing: 0.08em; color: #64748b; font-weight: 700; }
.postcard-reminder-card h4 { margin: 10px 60px 8px 0; font-size: 19px; color: #0f172a; }
.postcard-reminder-card p { margin: 0; font-size: 12px; line-height: 1.8; color: #475569; }
.postcard-reminder-quote {
  margin: 8px 0 0 !important;
  color: var(--postcard-accent, #DD0514) !important;
  font-size: 11.5px !important;
  font-style: italic;
  line-height: 1.65 !important;
}
.postcard-reminder-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

@media (max-width: 640px) {
  .postcard-modal { padding: 8px; }
  .postcard-modal-dialog { max-height: 92vh; border-radius: 18px; }
  .postcard-modal-head { padding: 14px 14px 10px; }
  .postcard-modal-body { padding: 12px 14px 18px; }
  .postcard-mailbox-layout { grid-template-columns: minmax(0, 1fr); }
  .postcard-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .postcard-list-item { flex: 0 0 auto; min-width: 170px; }
  .postcard-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .postcard-heading { font-size: 19px; }
  .postcard-recipient-name { font-size: 19px; }
  .postcard-recipient--reminder { margin-right: 52px; }
  .postcard-reminder-card { padding: 22px 18px 16px; }
}

/* 👁️ 追星明信片：立即预览 + 内置纪念日限定邮戳 */
.postcard-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: rgba(226, 232, 240, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.postcard-preview-btn {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 55%, #e2e8f0 100%);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(100, 116, 139, 0.16);
  cursor: pointer;
}
.postcard-preview-btn.is-active {
  color: var(--postcard-accent, #DD0514);
  border-color: var(--postcard-accent, #DD0514);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px color-mix(in srgb, var(--postcard-accent, #DD0514) 14%, transparent);
}
.postcard-year-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}
.postcard-year-pick select {
  padding: 4px 8px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #fff;
  color: #334155;
  font-size: 12px;
}
.postcard-preview-hint { font-size: 10.5px; color: #94a3b8; }
.postcard-anniversary-stamp {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--postcard-accent, #DD0514);
  border: 1px dashed var(--postcard-accent, #DD0514);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 12px color-mix(in srgb, var(--postcard-accent, #DD0514) 18%, transparent);
}
.postcard-paper.is-anniversary {
  border-color: color-mix(in srgb, var(--postcard-accent, #DD0514) 55%, #cbd5e1);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--postcard-accent, #DD0514) 16%, transparent),
    0 0 26px color-mix(in srgb, var(--postcard-accent, #DD0514) 22%, transparent),
    0 12px 28px rgba(71, 85, 105, 0.16);
}
.postcard-paper.is-anniversary .postcard-postmark strong,
.postcard-paper.is-anniversary .postcard-postmark span { color: var(--postcard-accent, #DD0514); }
.postcard-reminder-card.is-anniversary {
  border-color: color-mix(in srgb, var(--postcard-accent, #DD0514) 55%, #cbd5e1);
  box-shadow: inset 0 1px 0 #fff, 0 0 30px color-mix(in srgb, var(--postcard-accent, #DD0514) 22%, transparent),
    0 20px 50px rgba(30, 41, 59, 0.3);
}

/* ✍️ 明信片手写寄语 + 📮 时光信 */
.postcard-note {
  margin: 12px 0 14px;
  padding: 11px 14px;
  border-left: 3px solid var(--postcard-accent, #DD0514);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.7));
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(100, 116, 139, 0.1);
}
.postcard-note-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--postcard-accent, #DD0514);
}
.postcard-note-text {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.85;
  color: #334155;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-style: italic;
}
.postcard-note-editor {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(226, 232, 240, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.postcard-note-editor label { display: block; font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 6px; }
.postcard-note.is-pool {
  background: linear-gradient(100deg, color-mix(in srgb, var(--postcard-accent, #DD0514) 9%, #fff), rgba(241, 245, 249, 0.78));
}
.postcard-note-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.postcard-note-editor-head label { margin-bottom: 6px; }
.postcard-quote-btn {
  flex: 0 0 auto;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--postcard-accent, #DD0514) 36%, #cbd5e1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--postcard-accent, #DD0514);
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(100, 116, 139, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.postcard-quote-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(100, 116, 139, 0.18); }
.postcard-quote-btn:active { transform: translateY(0); }
.postcard-note-editor textarea,
.postcard-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b;
  font-size: 12.5px;
  line-height: 1.6;
  resize: vertical;
  box-shadow: inset 0 1px 3px rgba(100, 116, 139, 0.08);
  outline: none;
}
.postcard-note-editor textarea:focus,
.postcard-input:focus { border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18); }
.postcard-note-hint { display: block; margin-top: 5px; font-size: 10px; color: #94a3b8; }
.postcard-future-layout { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.postcard-compose {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 241, 248, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(100, 116, 139, 0.12);
}
.postcard-compose-title { font-size: 15px; font-weight: 800; color: #0f172a; }
.postcard-compose-desc { margin: 0; font-size: 11px; color: #64748b; }
.postcard-quick-dates { display: flex; flex-direction: column; gap: 6px; }
.postcard-quick-dates > span { font-size: 11px; font-weight: 700; color: #64748b; }
.postcard-quick-dates > div { display: flex; flex-wrap: wrap; gap: 6px; }
.postcard-quick-date {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px dashed rgba(100, 116, 139, 0.5);
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  font-size: 10.5px;
  cursor: pointer;
}
.postcard-quick-date:hover { border-style: solid; color: #0f172a; }
.postcard-compose-actions { display: flex; justify-content: flex-end; }
.capsule-list-title { font-size: 12.5px; font-weight: 800; color: #475569; }
.capsule-list { display: flex; flex-direction: column; gap: 8px; }
.capsule-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 249, 0.8));
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(100, 116, 139, 0.12);
  overflow: hidden;
}
.capsule-item.is-openable { border-color: color-mix(in srgb, var(--postcard-accent, #DD0514) 45%, #cbd5e1); }
.capsule-item-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.capsule-seal {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  background: radial-gradient(circle at 34% 28%, #fff6 0%, transparent 42%), var(--postcard-accent, #DD0514);
  box-shadow: 0 3px 9px rgba(71, 85, 105, 0.24);
}
.capsule-item-main { flex: 1 1 auto; min-width: 0; }
.capsule-item-title { font-size: 13px; font-weight: 800; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capsule-item-meta { margin-top: 3px; font-size: 10.5px; color: #94a3b8; }
.capsule-letter-body {
  margin: 0 14px 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #334155;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.capsule-item .postcard-detail-actions { margin: 0 14px 14px; }
@media (max-width: 640px) {
  .capsule-item-head { flex-wrap: wrap; }
  .capsule-item-head .tour-action-btn { margin-left: auto; }
}

/* ================= 📷 演出回忆相册墙（纯本机 / 冷银白微拟态） ================= */
.fp-album-wall {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.9));
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(100, 116, 139, 0.12);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.fp-album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.fp-album-count { font-weight: 500; color: #94a3b8; font-size: 10px; }
.fp-album-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  min-width: 0;
  max-width: 100%;
}
.fp-album-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #f8fafc;
  cursor: zoom-in;
}
.fp-album-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-album-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
}
/* 「📷 现场相册墙（共 X 张）」缩略图网格 */
.fp-album-thumbs.fp-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
  overflow: visible;
  padding-bottom: 0;
}
.fp-album-grid .fp-album-thumb { width: 100%; height: 56px; }
.fp-album-more {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
  white-space: nowrap;
}
.fp-album-more:hover { color: #0f172a; text-decoration: underline; }
.photo-album-lightbox {
  position: fixed;
  inset: 0;
  touch-action: pan-y;
  z-index: 12060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.86);
  cursor: zoom-out;
}
.photo-album-lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 批量导入弹窗 */
.photo-album-modal {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
}
.photo-album-modal.hidden { display: none; }
.photo-album-modal-panel {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(165deg, #ffffff, #f1f5f9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
}
.photo-album-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.photo-album-modal-head h3 { font-size: 14px; font-weight: 800; color: #0f172a; }
.photo-album-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
}
.photo-album-modal-note { margin-top: 6px; font-size: 11px; color: #64748b; line-height: 1.6; }
.photo-album-summary {
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.85);
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
}
.photo-album-groups { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.photo-album-group {
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
}
.photo-album-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.photo-album-group-count { font-weight: 500; color: #94a3b8; font-size: 10.5px; }
.photo-album-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.photo-album-thumb {
  width: 74px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #f8fafc;
}
.photo-album-thumb img { width: 100%; height: 74px; object-fit: cover; display: block; }
.photo-album-thumb-date { display: block; font-size: 9.5px; color: #64748b; text-align: center; padding: 2px 0; }
.photo-album-thumb-select {
  width: 100%;
  font-size: 9px;
  border: 0;
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  background: #fff;
  color: #334155;
  padding: 2px;
}
.photo-album-empty { font-size: 11px; color: #94a3b8; }
.photo-album-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 640px) {
  .fp-album-thumb { width: 56px; height: 56px; }
  .photo-album-thumb { width: 64px; }
  .photo-album-thumb img { height: 64px; }
  .photo-album-modal-panel { padding: 14px 12px 12px; }
}

/* ================= 🎟️ 我的票夹与票根墙（复古液态银白灰） ================= */
.ticket-wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.56);
}
.ticket-wallet-modal.hidden { display: none; }
.ticket-wallet-panel {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 16px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  box-shadow: 0 24px 66px rgba(15, 23, 42, 0.34);
}
.ticket-wallet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-wallet-head h3 { font-size: 15px; font-weight: 800; color: #0f172a; }
.ticket-wallet-head-actions { display: flex; align-items: center; gap: 8px; }
.ticket-wallet-close {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.95); background: #fff; color: #64748b; font-size: 12px; cursor: pointer;
}
.ticket-wallet-tabs { display: flex; gap: 8px; margin-top: 12px; }
.ticket-wallet-tab {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.86);
  font-size: 12px; font-weight: 700; color: #475569; cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.ticket-wallet-tab.is-active {
  background: linear-gradient(160deg, #1e293b, #334155);
  border-color: #1e293b; color: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.24);
}
.ticket-wallet-form {
  margin-top: 12px; padding: 10px; border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
}
.ticket-wallet-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.ticket-wallet-form-grid > * { min-width: 0; }
.ticket-wallet-form-grid .ticket-wallet-form-wide { grid-column: 1 / -1; }
/* 票夹表单下拉框：固定 42px + 纯左右内边距，文字垂直居中不被裁切 */
.ticket-wallet-form-grid select,
.ticket-wallet-form-grid select.select-clean {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 32px 0 12px;
  line-height: 1.4;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px 7px;
  font-size: 12.5px;
  color: #334155;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
}
.ticket-wallet-form-grid select:hover { border-color: #C7D2E0; }
.ticket-wallet-form-grid select:focus,
.ticket-wallet-form-grid select:focus-visible {
  outline: none;
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}
.ticket-wallet-form-grid input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  line-height: 1.4;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: #fff;
  font-size: 12.5px;
  color: #334155;
  vertical-align: middle;
}
.ticket-wallet-form-grid input:focus,
.ticket-wallet-form-grid input:focus-visible {
  outline: none;
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}
/* 文件选择框保留原生控件外观，不参与 42px 拉高 */
.ticket-wallet-form-grid input[type="file"] {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  max-width: 220px;
  color: #475569;
}
.ticket-wallet-form-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(203, 213, 225, 0.9);
  background: rgba(248, 250, 252, 0.92);
}
.ticket-wallet-form-tools .tour-action-btn { font-size: 11px; }
.ticket-wallet-form-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px;
  font-size: 11px; color: #64748b;
}
.ticket-wallet-file { display: inline-flex; align-items: center; gap: 6px; }
.tw-save-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}
/* 冷白银灰微拟态小复选框：默认勾选 */
.tw-sync-check {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 8px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(145deg, #ffffff, #e8edf3);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.95), inset -1px -1px 0 rgba(148, 163, 184, 0.22), 0 2px 4px rgba(100, 116, 139, 0.14);
  font-size: 11px; font-weight: 600; color: #475569; cursor: pointer;
  transition: box-shadow .14s ease, color .14s ease, transform .14s ease;
  -webkit-user-select: none; user-select: none;
}
.tw-sync-check:hover { color: #0f172a; transform: translateY(-1px); }
.tw-sync-check input[type="checkbox"] {
  width: 14px; height: 14px; margin: 0; flex: 0 0 auto;
  appearance: none; -webkit-appearance: none;
  border-radius: 4px; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: #f8fafc;
  box-shadow: inset 1px 1px 2px rgba(148, 163, 184, 0.45);
  position: relative;
  transition: background .14s ease, border-color .14s ease;
}
.tw-sync-check input[type="checkbox"]:checked {
  background: #475569; border-color: #475569;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(71, 85, 105, 0.3);
}
.tw-sync-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute; inset: -2px 0 0 0;
  font-size: 12px; line-height: 14px; font-weight: 700;
  color: #fff; text-align: center;
}
.tw-sync-check:has(input:checked) { color: #1e293b; }
.ticket-wallet-file input[type=file] { font-size: 11px; max-width: 220px; }
.ticket-wallet-image-preview { display: inline-flex; align-items: center; gap: 6px; }
.ticket-wallet-image-preview img {
  width: 40px; height: 40px; object-fit: cover; border-radius: 8px;
  border: 1px solid rgba(203, 213, 225, 0.95);
}
.ticket-wallet-summary { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }.ticket-wallet-summary-main { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #475569; }
.ticket-wallet-summary-main b { color: #0f172a; }
.ticket-wallet-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-chip {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  border: 1px solid rgba(203, 213, 225, 0.95); background: rgba(255, 255, 255, 0.9);
  color: #475569; cursor: pointer;
}
.tw-chip.is-active { border-color: var(--tw-color, #334155); color: var(--tw-color, #334155); background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1); }
.ticket-wallet-body { margin-top: 12px; }
.ticket-wallet-empty { font-size: 12px; color: #94a3b8; padding: 12px 4px; }
/* 📋 合并后的单一图文卡片列表：桌面自适应多列，手机紧凑单列 / 双列 */
.ticket-wallet-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: stretch;
}
.tw-card {
  display: flex; flex-direction: column; gap: 0;
  border-radius: 14px; overflow: hidden; min-width: 0;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(100, 116, 139, 0.12);
  transition: box-shadow .16s ease, transform .16s ease;
}
.tw-card:hover { box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(100, 116, 139, 0.18); transform: translateY(-1px); }
.tw-card-cover {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: #f1f5f9; aspect-ratio: 16 / 9; overflow: hidden; position: relative;
}
.tw-card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.tw-card-cover.is-custom-cover { background: #0f172a; }
.tw-card-cover .tw-stub-cover { aspect-ratio: auto; height: 100%; border-radius: 0; min-height: 100%; }
.tw-card-main { display: flex; flex-direction: column; gap: 6px; padding: 9px 11px 10px; min-width: 0; }
.tw-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.tw-card-title {
  font-size: 13px; font-weight: 700; color: #0f172a; margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tw-card-meta {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  font-size: 11px; color: #64748b; line-height: 1.5;
}
.tw-card-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tw-card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.tw-card-actions .tour-action-btn { font-size: 10.5px; }
/* 冷白银灰小胶囊：📖 现场回忆 */
.tw-mem-btn {
  padding: 2px 10px !important; border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.6) !important;
  background: linear-gradient(145deg, #ffffff, #e8edf3) !important;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.95), inset -1px -1px 0 rgba(148, 163, 184, 0.2), 0 1px 3px rgba(100, 116, 139, 0.14) !important;
  color: #475569 !important; font-weight: 700;
}
.tw-mem-btn:hover { color: #0f172a !important; transform: translateY(-1px); }
.tw-mem-btn:active { transform: translateY(1px); box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.4) !important; }
@media (max-width: 639.98px) {
  .ticket-wallet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tw-card-cover { aspect-ratio: 4 / 3; }
  .tw-card-main { padding: 7px 8px 8px; gap: 5px; }
  .tw-card-title { font-size: 11.5px; }
  .tw-card-meta { font-size: 10px; gap: 2px 6px; }
  .tw-card-meta span:nth-child(n+3) { display: none; }
  .tw-card-actions { gap: 4px; }
  .tw-card-actions .tour-action-btn { font-size: 9.5px; padding: 2px 5px; }
  .tw-mem-btn { padding: 2px 6px !important; }
}
.ticket-wallet-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-wallet-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff; box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(100, 116, 139, 0.1);
  min-width: 0;
}
.ticket-wallet-row-thumb {
  width: 46px; height: 46px; flex: 0 0 46px; object-fit: cover;
  border-radius: 9px; border: 1px solid rgba(203, 213, 225, 0.9); cursor: zoom-in;
}
.ticket-wallet-row-thumb.is-blank {
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; font-size: 18px; cursor: default;
}
.ticket-wallet-row-main { flex: 1 1 auto; min-width: 0; }
.ticket-wallet-row-title { font-size: 12.5px; font-weight: 700; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-wallet-row-meta {
  display: flex; gap: 8px; flex-wrap: wrap; font-size: 10.5px; color: #64748b; margin-top: 3px;
  min-width: 0;
}
.tw-badge {
  padding: 1px 7px; border-radius: 999px; font-weight: 700;
  color: #fff; background: var(--tw-color, #64748b);
}
.ticket-wallet-row-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.ticket-wallet-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tw-wall-card {
  position: relative; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; min-width: 0;
}
.tw-wall-card > img,
.tw-stub-cover {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}
.tw-wall-meta { display: block; font-size: 10px; color: #64748b; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-stub-cover {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 14px 14px 16px;
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 48%, #e2e8f0 100%);
  overflow: hidden;
}
.tw-stub-cover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: repeating-linear-gradient(90deg, rgba(148,163,184,0.5) 0 6px, transparent 6px 12px);
}
.tw-stub-platform { font-size: 11px; font-weight: 800; color: var(--tw-color, #475569); letter-spacing: 0.06em; }
.tw-stub-title { font-size: 13px; font-weight: 800; color: #0f172a; line-height: 1.35; }
.tw-stub-date { font-size: 11px; color: #475569; }
.tw-stub-seat { font-size: 10.5px; color: #64748b; }
.tw-stub-price { font-size: 12px; font-weight: 800; color: #0f172a; }
.tw-lightbox-stub { width: min(78vw, 320px); }
@media (max-width: 640px) {
  .ticket-wallet-form-grid { grid-template-columns: 1fr; }
  .tw-save-bar { gap: 6px; }
  .tw-save-bar .tour-action-btn { flex: 1 1 100%; }
  .tw-sync-check { flex: 1 1 auto; justify-content: center; font-size: 10.5px; }
  .ticket-wallet-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket-wallet-panel { padding: 14px 12px; }
  .ticket-wallet-row-actions .tour-action-btn { padding: 2px 6px; font-size: 10px; }
}

/* ================= 🎟️ 票夹：已观看 / 待观看状态 ================= */
.ticket-wallet-filter--status { padding-bottom: 2px; }
.tw-status-pill {
  padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; line-height: 1.6;
}
.tw-status-pill.is-watched {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.42);
  color: #047857;
}
.tw-status-pill.is-pending {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.42);
  color: #b45309;
}
.tw-stub-status {
  margin-top: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
}
.tw-stub-status.is-watched { color: #047857; }
.tw-stub-status.is-pending { color: #b45309; }
.tw-wall-item { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tw-wall-card { position: relative; }
.tw-wall-card.is-watched > img { filter: saturate(0.82) brightness(0.96); }
.tw-used-stamp {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%) rotate(-14deg);
  padding: 6px 12px;
  border: 2.4px double rgba(4, 120, 87, 0.82);
  border-radius: 8px;
  color: rgba(4, 120, 87, 0.88);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.16);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.tw-used-stamp em { font-style: normal; font-size: 9px; letter-spacing: 0.22em; }
.tw-pending-ribbon {
  position: absolute;
  left: 8px; bottom: 30px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  pointer-events: none;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tw-wall-status {
  align-self: flex-start;
  padding: 2px 9px; border-radius: 999px; font-size: 10px; font-weight: 700;
  border: 1px solid rgba(203, 213, 225, 0.95); background: #fff; color: #475569; cursor: pointer;
}
.tw-wall-status.is-watched { color: #047857; border-color: rgba(16, 185, 129, 0.45); }
.tw-wall-status.is-pending { color: #b45309; border-color: rgba(245, 158, 11, 0.45); }

/* ================= 🎨 票夹：4 套票根模版 ================= */
.tw-filter-label { font-size: 11px; font-weight: 700; color: #64748b; align-self: center; }
.tw-chip--tpl { border-style: dashed; }
.tw-chip--tpl.is-active { background: linear-gradient(135deg, #fff, #f1f5f9); border-style: solid; border-color: #334155; color: #0f172a; }
.tw-stub-perf { display: none; }
.tw-stub-tpl-tag {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  padding: 1px 6px; border-radius: 999px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.72); color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

/* ① 液态银白灰（默认） */
.tw-stub-cover.tw-tpl-silver {
  background:
    linear-gradient(160deg, #ffffff 0%, #f1f5f9 42%, #e2e8f0 72%, #cbd5e1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), inset 0 0 0 6px rgba(148, 163, 184, 0.18), 0 8px 20px rgba(15, 23, 42, 0.16);
  border-color: rgba(148, 163, 184, 0.6);
}
.tw-stub-cover.tw-tpl-silver::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.7) 50%, transparent 60%);
  pointer-events: none;
}
/* 主副票半圆切口 + 撕裂虚线 */
.tw-stub-cover .tw-stub-notch::before,
.tw-stub-cover .tw-stub-notch::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  bottom: 22px; background: #ffffff;
}
.tw-stub-cover .tw-stub-notch::before { left: -10px; }
.tw-stub-cover .tw-stub-notch::after { right: -10px; }
.tw-stub-cover .tw-stub-notch {
  position: absolute; left: 0; right: 0; bottom: 30px; height: 0;
  background-image: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.85) 0 5px, transparent 5px 10px);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 14px 0;
}

/* ② 应援色高光版 */
.tw-stub-cover.tw-tpl-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(150deg, #ffffff 0%, color-mix(in srgb, var(--tw-color) 16%, #ffffff) 55%, color-mix(in srgb, var(--tw-color) 34%, #ffffff) 100%);
  border: 1px solid color-mix(in srgb, var(--tw-color) 55%, #ffffff);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--tw-color) 32%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}
.tw-stub-cover.tw-tpl-glow::after {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, color-mix(in srgb, var(--tw-color) 45%, transparent) 52%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%);
  height: 100%; opacity: 0.55; mix-blend-mode: screen;
}
.tw-stub-cover.tw-tpl-glow .tw-stub-platform {
  display: inline-block; align-self: flex-start;
  padding: 1px 8px; border-radius: 999px;
  background: #fff; color: var(--tw-color); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}
.tw-stub-cover.tw-tpl-glow .tw-stub-price { color: var(--tw-color); }
.tw-stub-cover.tw-tpl-glow .tw-stub-notch {
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 5px, transparent 5px 10px);
}

/* ③ 热敏打印小票 */
.tw-stub-cover.tw-tpl-receipt {
  background: #fffef7;
  border: 1px dashed rgba(15, 23, 42, 0.35);
  border-radius: 4px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, "Courier New", monospace;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.tw-stub-cover.tw-tpl-receipt::after {
  display: none;
}
.tw-stub-cover.tw-tpl-receipt .tw-stub-perf {
  display: block; height: 0; margin: 2px 0 4px;
  border-top: 1px dashed rgba(15, 23, 42, 0.45);
}
.tw-stub-cover.tw-tpl-receipt .tw-stub-platform { color: #0f172a; letter-spacing: 0.1em; }
.tw-stub-cover.tw-tpl-receipt .tw-stub-title { font-family: inherit; letter-spacing: -0.01em; }
.tw-stub-cover.tw-tpl-receipt .tw-stub-date,
.tw-stub-cover.tw-tpl-receipt .tw-stub-seat,
.tw-stub-cover.tw-tpl-receipt .tw-stub-price { color: #1f2937; font-variant-numeric: tabular-nums; }
.tw-stub-cover.tw-tpl-receipt .tw-stub-notch { display: none; }
.tw-stub-barcode {
  margin-top: 2px; height: 26px; display: flex; align-items: flex-end; gap: 1px;
  background: repeating-linear-gradient(90deg, #111827 0 2px, transparent 2px 5px);
  background-size: 100% 100%; position: relative;
}
.tw-stub-barcode span {
  position: absolute; left: 0; right: 0; bottom: -11px;
  font-size: 8px; letter-spacing: 0.18em; color: #475569; text-align: center;
}
.tw-stub-cover.tw-tpl-receipt { padding-bottom: 26px; }

/* ④ 跨城奔赴登机牌 */
.tw-stub-cover.tw-tpl-boarding {
  background: #ffffff;
  border-radius: 10px;
  justify-content: flex-start;
  padding-top: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}
.tw-stub-cover.tw-tpl-boarding::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 52px;
  background: linear-gradient(100deg, var(--tw-color), color-mix(in srgb, var(--tw-color) 58%, #ffffff));
}
.tw-stub-cover.tw-tpl-boarding::after {
  background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.6) 0 5px, transparent 5px 10px);
  height: 1px; bottom: 0; top: auto; transform: none; opacity: 0.4;
}
.tw-stub-route {
  position: relative; z-index: 1;
  font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.02em;
  margin-bottom: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tw-stub-cover.tw-tpl-boarding .tw-stub-platform { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.92); margin-top: -26px; }
.tw-stub-cover.tw-tpl-boarding .tw-stub-notch { display: none; }
.tw-stub-cover.tw-tpl-boarding .tw-stub-price { margin-top: auto; color: var(--tw-color); }

/* 灯箱工具条 */
.tw-lightbox-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 86vw; }
.tw-lightbox-inner > img { max-width: 92vw; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35); background: #0f172a; }
.tw-lightbox-tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* ================= 足迹顶部：访客也可见的工具入口 ================= */
.fp-tool-btn {
  display: inline-flex !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 46%, #e8edf3 100%) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(148, 163, 184, 0.35) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.fp-tool-btn:hover {
  color: #0f172a !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  transform: translateY(-1px);
}
.fp-tool-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.14) !important;
}
@media (max-width: 640px) {
  .view-admin-shortcut-row { justify-content: flex-start !important; row-gap: 6px; }
  .fp-tool-btn { flex: 1 1 auto; min-width: 0; justify-content: center; font-size: 10.5px !important; padding: 5px 8px !important; }
}

/* ================= 🎟️ 票夹表单：下拉框裁切 & 弹窗安全区修复 ================= */
.ticket-wallet-panel {
  max-height: 88vh !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 16px !important;
  scroll-padding-top: 12px;
}
.ticket-wallet-head { position: sticky; top: -16px; z-index: 3; padding: 6px 0 8px; background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 78%, rgba(247, 249, 252, 0) 100%); }
@media (max-height: 720px) {
  .ticket-wallet-modal { align-items: flex-start !important; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 640px) {
  .ticket-wallet-modal { align-items: flex-start !important; padding: 8px; }
  .ticket-wallet-panel { max-height: 92vh !important; border-radius: 16px; padding: 14px 12px 14px !important; }
  .ticket-wallet-form-grid { grid-template-columns: 1fr !important; }
  .ticket-wallet-form-grid select,
  .ticket-wallet-form-grid input { font-size: 13px; }
}

/* ================= 📱 档案页手机端：对齐首页微时间轴紧凑双栏 ================= */
@media (max-width: 768px) {
  .show-card.archive-strip { padding: 12px 12px 10px !important; }
  .show-card.archive-strip > .flex.flex-col { gap: 0 !important; }
  .show-card.archive-strip .archive-card-main {
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .show-card.archive-strip .tour-poster-wrap {
    border-radius: 10px !important;
    align-self: flex-start !important;
  }
  .show-card.archive-strip .archive-strip-body { gap: 4px !important; }
  .show-card.archive-strip .archive-title-row {
    align-items: flex-start;
    gap: 6px;
    flex-wrap: nowrap;
    min-height: 0;
  }
  .show-card.archive-strip .archive-strip-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .show-card.archive-strip .card-venue-meta { margin-top: 2px !important; }
  .show-card.archive-strip .card-venue-meta-main { gap: 2px !important; }
  .show-card.archive-strip .archive-date-row,
  .show-card.archive-strip .archive-venue-row,
  .show-card.archive-strip .archive-price-row {
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
  .show-card.archive-strip .show-card-sale-status,
  .show-card.archive-strip [data-countdown],
  .show-card.archive-strip [data-countdown-plain] {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }
  /* 大尺寸组件下移后的通栏区：海报下方、底部 6 个功能按钮上方 */
  .archive-mobile-full {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 10px; padding-top: 8px;
    border-top: 1px dashed rgba(203, 213, 225, 0.9);
  }
  .archive-mobile-full .archive-sale-rounds { margin: 0 !important; }
  .archive-mobile-full .archive-sale-toggle { width: 100%; justify-content: center; }
  .archive-mobile-full .card-venue-actions--desktop { display: flex !important; }
  .archive-mobile-full .card-venue-quick-pair {
    display: flex; gap: 6px; flex-wrap: wrap; width: 100%;
  }
  .archive-mobile-full .card-venue-quick-pair .tour-action-btn {
    flex: 1 1 46%; justify-content: center;
  }
  .show-card.archive-strip .archive-actions-row {
    margin-top: 8px !important;
    justify-content: flex-start !important;
    gap: 5px !important;
  }
  .show-card.archive-strip .archive-actions-row .tour-action-btn { font-size: 10.5px !important; padding: 3px 7px !important; }
}

/* ================= 🎟️ 我的票夹合并面板（制作/录票 · 清单 · 海报墙） ================= */
.tw-pane-tip { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: #64748b; }
.tw-generator-slot { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.tw-generator-slot .ticket-mode-switch { margin-top: 0; }
.tw-generator-slot canvas { max-width: 100%; height: auto; }
#tw-pane-browse { margin-top: 4px; }

/* ================= 🖼️ 足迹地图：海报卡片气泡 ================= */
.fp-map-mode-switch { display: inline-flex; gap: 0; border: 1px solid rgba(203, 213, 225, 0.95); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: inset 0 1px 0 #fff; }
.fp-map-mode-btn { padding: 3px 9px; font-size: 10.5px; font-weight: 700; color: #64748b; background: transparent; border: 0; cursor: pointer; white-space: nowrap; }
.fp-map-mode-btn:not(.is-active):hover { background: #f1f5f9; color: #0f172a; }
.fp-map-mode-btn.is-active { background: linear-gradient(160deg, #1e293b, #334155); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.fp-map-mode-btn + .fp-map-mode-btn { border-left: 1px solid rgba(203, 213, 225, 0.8); }
/* HTML 浮层：铺在 SVG 地图之上，容器不吃指针，只有缩略图卡片可点 */
.fp-map-pin-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 20; overflow: hidden;
}
.fp-map-pin-overlay.is-hidden { display: none; }
.fp-map-pin {
  position: absolute; width: 48px;
  transform: translate(-50%, calc(-100% + 12px));
  pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  cursor: zoom-in; filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.28));
  transition: filter 0.16s ease;
}
.fp-map-pin:hover { filter: drop-shadow(0 7px 14px rgba(15, 23, 42, 0.4)); z-index: 9; }
.fp-pin-card {
  position: relative; width: 48px; height: 64px; border-radius: 6px; overflow: visible;
  background: linear-gradient(165deg, #ffffff, #e2e8f0);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.fp-pin-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
/* 无本地照片时的中性占位，不再塞会被挤裁的 emoji 残影 */
.fp-pin-blank {
  display: block; width: 100%; height: 100%; border-radius: 4px;
  background: linear-gradient(155deg, #f8fafc 0%, #e2e8f0 55%, #cbd5e1 100%);
}
.fp-pin-badge {
  position: absolute; top: -7px; right: -8px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; border: 1.5px solid #fff;
  background: linear-gradient(160deg, #e11d48, #be123c);
  color: #fff; font-size: 9.5px; font-weight: 800; line-height: 14px; text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
}
.fp-pin-badge.is-check { background: linear-gradient(160deg, #10b981, #047857); font-size: 10px; }
.fp-pin-tip {
  width: 0; height: 0; margin-top: -1px;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid #fff;
}
.fp-pin-date {
  margin-top: 1px; padding: 0 3px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 8px; font-weight: 700; color: #0f172a; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .fp-pin-date { font-size: 7px; }
  .fp-map-mode-btn { padding: 3px 7px; font-size: 9.5px; }
}

/* 足迹地图气泡点开的相册墙弹窗 */
.fp-memory-wall {
  display: flex; flex-direction: column; gap: 10px;
  width: min(92vw, 720px); max-height: 88vh; overflow-y: auto;
  padding: 14px 14px 12px; border-radius: 16px;
  background: linear-gradient(168deg, #ffffff, #eef2f7);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
}
.fp-memory-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #0f172a; }
.fp-memory-head strong { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-memory-count { font-size: 11px; color: #64748b; font-variant-numeric: tabular-nums; }
.fp-memory-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.fp-memory-stage img {
  max-width: 100%; max-height: 64vh; border-radius: 12px; object-fit: contain;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
  transition: transform .2s ease, opacity .2s ease;
  will-change: transform, opacity;
}
.fp-memory-stage img.is-swipe-next { animation: fp-memory-in-next .22s ease-out; }
.fp-memory-stage img.is-swipe-prev { animation: fp-memory-in-prev .22s ease-out; }
@keyframes fp-memory-in-next {
  from { opacity: .2; transform: translateX(34px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes fp-memory-in-prev {
  from { opacity: .2; transform: translateX(-34px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
.fp-memory-nav {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.95); background: #fff; color: #334155;
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}
.fp-memory-tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.fp-memory-empty { font-size: 12px; color: #64748b; line-height: 1.7; margin: 0; }

/* ================= 档案卡片：桌面端保持「左侧主内容 + 右侧按钮区」同一行横向并排 ================= */
/* 结构由 .show-card.archive-strip > .flex.sm:flex-row 负责；这里不再添加任何纵向堆叠 / 通栏覆盖规则 */

/* ================= 档案卡片：通栏区（开票倒计时 / 座位按钮）================= */
.archive-card-full-row {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  flex: 1 1 100% !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}
.archive-card-full-row:empty { display: none; }
.archive-card-full-row .showtime-meta-row,
.archive-card-full-row .archive-sale-rounds { width: 100%; margin: 0; }
.archive-card-full-row .archive-sale-round {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; white-space: normal;
}
.archive-card-full-row .archive-sale-time,
.archive-card-full-row .archive-sale-plat,
.archive-card-full-row .archive-sale-name,
.archive-card-full-row .archive-sale-tag,
.archive-card-full-row .countdown-badge,
.archive-card-full-row .archive-sale-status {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100%;
  word-break: break-word;
  flex: 0 0 auto;
}
.archive-card-full-row .archive-sale-time .sale-round-time-short { display: none; }
.archive-card-full-row .archive-sale-time .sale-round-time-full { display: inline; }
.archive-card-full-row .card-venue-actions--desktop { display: flex !important; }
.archive-card-full-row .card-venue-quick-pair { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; }
.archive-card-full-row .archive-sale-toggle { align-self: flex-start; }

@media (max-width: 768px) {
  .archive-card-full-row { gap: 6px; }
  .archive-card-full-row .archive-sale-toggle { width: 100%; justify-content: center; }
  .archive-card-full-row .card-venue-quick-pair .tour-action-btn { flex: 1 1 46%; justify-content: center; }
}

/* ================= 档案卡片通栏：时间 / 平台完整展示，不省略 ================= */
.archive-card-full-row { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.archive-card-full-row .archive-sale-round { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; white-space: normal; }
.archive-card-full-row .archive-sale-time,
.archive-card-full-row .archive-sale-plat,
.archive-card-full-row .archive-sale-time *,
.archive-card-full-row .archive-sale-plat * {
  text-overflow: clip !important;
  overflow: visible !important;
  white-space: normal !important;
  max-width: 100%;
  word-break: break-word;
}
.archive-card-full-row .archive-sale-time .sale-round-time-short { display: none; }
.archive-card-full-row .archive-sale-time .sale-round-time-full { display: inline; }

/* ================= 近期演出卡片：与往期一致（倒计时整行 + 座位按钮均分整行 + 海报齐平票价） ================= */
.show-card-main > .poster-square-box {
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 124px !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 94px !important;
  border-radius: 10px !important;
  align-self: flex-start !important;
}

.archive-full-countdown,
.archive-full-countdown > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  margin-top: 8px;
}
.archive-full-countdown .show-card-sale-status,
.archive-full-countdown .sale-round,
.archive-full-countdown .showtime-meta-row { width: 100% !important; max-width: 100% !important; white-space: normal !important; }
.archive-full-countdown .sale-time,
.archive-full-countdown .sale-plat,
.archive-full-countdown .sale-time *,
.archive-full-countdown .sale-plat * {
  text-overflow: clip !important;
  overflow: visible !important;
  white-space: normal !important;
  max-width: 100%;
  word-break: break-word;
}

.archive-full-venue-bar,
.archive-full-venue-bar > div,
.archive-full-venue-bar .card-venue-actions--mobile,
.archive-full-venue-bar .card-venue-actions--desktop,
.archive-full-venue-bar .card-venue-quick-pair {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  gap: 8px;
  box-sizing: border-box;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}
.archive-full-venue-bar { margin-top: 6px; }
.archive-full-venue-bar .card-venue-quick-pair { flex-wrap: nowrap !important; align-items: stretch; }
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn,
.archive-full-venue-bar .tour-action-btn {
  flex: 1 1 0% !important;
  width: 100%;
  min-width: 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .show-card-main > .poster-square-box {
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    height: 112px !important;
    max-height: 112px !important;
    flex: 0 0 84px !important;
  }
  .archive-full-venue-bar .card-venue-quick-pair .tour-action-btn { font-size: 10.5px; padding: 3px 4px; }
}

/* ================= 📱 手持弹幕：入口按钮 / 每句口号快捷投屏 / 全屏横屏灯牌 ================= */
/* 应援宝典顶部工具栏：冷白银灰微拟态 */
.led-entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(160deg, #ffffff 0%, #eef2f7 52%, #e2e8f0 100%);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.98), inset -1px -1px 2px rgba(148, 163, 184, 0.2), 0 2px 5px rgba(15, 23, 42, 0.07);
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.led-entry-btn:hover {
  color: #C8102E;
  border-color: #e9c3ca;
  box-shadow: inset 1px 1px 1px #ffffff, inset -1px -1px 2px rgba(148, 163, 184, 0.16), 0 3px 9px rgba(200, 16, 46, 0.14);
}
.led-entry-btn:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.32), 0 1px 2px rgba(15, 23, 42, 0.06);
}
.led-entry-label-short { display: none; }
@media (max-width: 639.98px) {
  .led-entry-btn { height: 32px; min-height: 32px; padding: 0 8px; font-size: 11.5px; }
  .led-entry-label-long { display: none; }
  .led-entry-label-short { display: inline; }
}

/* ---------- 全屏横屏灯牌 ---------- */
#led-banner-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  background: var(--led-bg, #04050a);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity .2s ease;
  --led-color: #C8102E;
  --led-glow: rgba(200, 16, 46, 0.82);
  --led-tint: rgba(200, 16, 46, 0.2);
  --led-bg: #04050a;
}
#led-banner-overlay.is-open { display: block; }
#led-banner-overlay.is-visible { opacity: 1; }

.led-banner-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, var(--led-tint) 0%, rgba(4, 5, 10, 0) 66%),
    var(--led-bg, #04050a);
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.9) inset;
}
#led-banner-overlay.is-portrait .led-banner-stage { transform: translate(-50%, -50%) rotate(90deg); }
#led-banner-overlay.is-landscape .led-banner-stage { transform: translate(-50%, -50%); }

.led-banner-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
#led-banner-overlay.is-scroll .led-banner-viewport { justify-content: flex-start; }
#led-banner-overlay.is-controls-open .led-banner-viewport { transform: translateY(-15%); }

.led-banner-track {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.led-banner-text {
  display: inline-block;
  white-space: pre;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .05em;
  padding: 0 .14em;
  color: var(--led-color);
  text-shadow:
    0 0 8px var(--led-glow),
    0 0 24px var(--led-glow),
    0 0 52px var(--led-glow),
    0 0 96px var(--led-glow);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.42);
}

/* ONER 团色：复古星曜红底 + 粉蓝紫流光高亮 */
.led-banner-text.is-oner {
  color: #FF4D6D;
  -webkit-text-stroke: 0;
  background-image: linear-gradient(92deg, #FF6FA5 0%, #7BB8FF 26%, #B388FF 52%, #FF4D6D 74%, #FF6FA5 100%);
  background-size: 280% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 0 10px rgba(255, 111, 165, 0.85))
    drop-shadow(0 0 26px rgba(123, 184, 255, 0.6))
    drop-shadow(0 0 50px rgba(179, 136, 255, 0.42));
  animation: led-oner-flow 7s linear infinite;
}
@keyframes led-oner-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .led-banner-text.is-oner {
    color: #FF4D6D;
    -webkit-text-fill-color: #FF4D6D;
    text-shadow: 0 0 12px rgba(255, 111, 165, 0.9), 0 0 34px rgba(123, 184, 255, 0.6), 0 0 70px rgba(179, 136, 255, 0.45);
  }
}

/* LED 点阵纹理：暗点压在字上，切出灯珠颗粒感 */
.led-banner-matrix {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.92) 0 .9px, rgba(0, 0, 0, 0) 1.5px);
  background-size: 4px 4px;
  transition: opacity .2s ease;
}
#led-banner-overlay.is-matrix .led-banner-matrix { opacity: 1; }

.led-banner-hint {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(241, 245, 249, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .5s ease;
}
.led-banner-hint.is-fade { opacity: 0; }

/* 控制抽屉 */
.led-banner-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  max-height: 70%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 14px;
  background: linear-gradient(180deg, rgba(14, 17, 24, 0.55) 0%, rgba(10, 12, 18, 0.93) 40%, rgba(6, 8, 12, 0.98) 100%);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  transform: translateY(112%);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
#led-banner-overlay.is-controls-open .led-banner-controls { transform: translateY(0); }

.led-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.led-panel-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #f8fafc;
}
.led-panel-exit {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.led-panel-exit:hover { background: rgba(200, 16, 46, 0.9); border-color: rgba(255, 255, 255, 0.32); }

.led-text-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.led-text-input::placeholder { color: rgba(226, 232, 240, 0.42); font-weight: 500; }
.led-text-input { -webkit-user-select: text; user-select: text; }
.led-text-input:focus {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.led-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.led-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe4ee;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.led-chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); }
.led-chip:active { transform: scale(.96); }

.led-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
.led-row-label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #94a3b8;
}
.led-preset-list { display: flex; flex-wrap: wrap; gap: 6px; }
.led-preset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.led-preset-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, #C8102E);
  box-shadow: 0 0 8px var(--dot, #C8102E);
}
.led-preset.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.15);
}

/* 自定义取色器：字色 / 底色 */
.led-color-fields {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}
.led-color-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.led-color-field:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); }
.led-color-field input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.led-color-field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; border-radius: 50%; }
.led-color-field input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}
.led-color-field input[type="color"]::-moz-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

/* 浅色底：描边压暗，避免白边糊掉 */
#led-banner-overlay.is-light-bg .led-banner-text { -webkit-text-stroke-color: rgba(0, 0, 0, 0.34); }

.led-seg {
  display: flex;
  flex: 1 1 auto;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}
.led-seg-btn {
  flex: 1 1 0;
  padding: 6px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b6c2d2;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.led-seg-btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.led-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.led-toggle.is-on {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
}
.led-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  transition: background .16s ease, box-shadow .16s ease;
}
.led-toggle.is-on .led-toggle-dot { background: #4ade80; box-shadow: 0 0 8px #4ade80; }

@media (max-height: 420px) {
  .led-banner-controls { padding: 8px 12px 10px; }
  .led-panel-head { margin-bottom: 6px; }
  .led-text-input { height: 34px; }
  .led-row { margin-top: 7px; }
}

/* ================= 🎫 足迹档案标题栏：+ 添加足迹（银白灰微拟态） ================= */
.fp-quick-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(160deg, #ffffff 0%, #eef2f7 55%, #e3e9f0 100%);
  color: #5b6b7c;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.98), inset -1px -1px 2px rgba(148, 163, 184, 0.18), 0 1px 2px rgba(15, 23, 42, 0.07);
  transition: color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
.fp-quick-add-btn:hover {
  color: #C8102E;
  border-color: #e9c3ca;
  box-shadow: inset 1px 1px 1px #ffffff, inset -1px -1px 2px rgba(148, 163, 184, 0.14), 0 2px 7px rgba(200, 16, 46, 0.16);
}
.fp-quick-add-btn:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.3), 0 1px 1px rgba(15, 23, 42, 0.05);
}
.fp-quick-add-btn:focus-visible {
  outline: 2px solid rgba(200, 16, 46, 0.35);
  outline-offset: 1px;
}
@media (max-width: 379.98px) {
  .fp-quick-add-btn { padding: 2px 7px; font-size: 10px; }
}

/* ================= 📝 物料「有笔记」筛选：整页笔记视图 ================= */
.daily-notes-sort-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
  padding: 7px 9px;
  border-radius: 12px;
  background: #eef2f6;
  border: 1px solid #dbe3eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.daily-notes-sort-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-right: auto;
}
.daily-notes-sort-group {
  display: inline-flex;
  gap: 3px;
  padding: 2px;
  border-radius: 9px;
  background: #e2e8f0;
}
.daily-notes-sort-btn {
  border: 0;
  border-radius: 7px;
  padding: 4px 9px;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.daily-notes-sort-btn.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}
.daily-notes-sort-btn:hover { color: #0f172a; }
.daily-notes-export-btn {
  background: #fff;
  border: 1px solid #dbe3eb;
  box-shadow: inset 1px 1px 1px #fff, 0 1px 2px rgba(15, 23, 42, .06);
}
.daily-note-group-title {
  margin: 10px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #94a3b8;
}
.daily-note-group-title:first-child { margin-top: 0; }
.daily-note-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5eaf1;
  box-shadow: inset 1px 1px 1px #fff, 0 1px 3px rgba(15, 23, 42, .05);
  text-align: left;
}
.daily-note-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.5;
}
.daily-note-card-cat {
  padding: 1px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-weight: 700;
}
.daily-note-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}
.daily-note-card-date { color: #94a3b8; }
.daily-note-card-time { margin-left: auto; color: #b6c2d2; }
.daily-note-card-body {
  margin: 6px 0 0;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(254, 243, 199, .6);
  border: 1px solid rgba(245, 158, 11, .2);
  color: #5f4208;
  font-size: 12px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
}
.daily-note-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.daily-notes-empty {
  padding: 20px 12px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: rgba(248, 250, 252, .85);
  text-align: center;
  font-size: 12px;
  color: #64748b;
}
.daily-notes-empty p { margin: 0 0 10px; }
@media (max-width: 639.98px) {
  .daily-note-card-time { margin-left: 0; }
  .daily-notes-sort-label { width: 100%; margin-right: 0; }
  .daily-notes-sort-group { flex: 1 1 auto; }
  .daily-notes-sort-btn { flex: 1 1 0; text-align: center; }
}

/* ================= ✍️ 我的记忆：冷白银灰微拟态入口 / 摘要 / 编辑弹窗 ================= */
.fp-story-slot { margin-top: 8px; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.fp-story-neu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.62);
  background: linear-gradient(145deg, #ffffff, #e6ecf3);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.95), inset -1px -1px 0 rgba(148, 163, 184, 0.28), 0 2px 5px rgba(100, 116, 139, 0.16);
  color: #334155; font-size: 11px; font-weight: 700; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: transform .14s ease, box-shadow .14s ease;
}
.fp-story-neu-btn:hover { transform: translateY(-1px); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(148, 163, 184, 0.32), 0 4px 9px rgba(100, 116, 139, 0.24); }
.fp-story-neu-btn:active { transform: translateY(1px); box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.42), inset -1px -1px 0 #fff; }
.fp-story-neu-btn.is-primary { color: #0f172a; border-color: rgba(100, 116, 139, 0.7); }
.fp-story-neu-btn.is-edit { color: #475569; }
.fp-story-neu-btn.is-danger { color: #9f1239; border-color: rgba(190, 18, 60, 0.32); }
.fp-story-summary {
  width: 100%; padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(226, 232, 240, 0.86));
  box-shadow: inset 0 1px 0 #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.fp-story-summary strong { font-size: 11.5px; color: #0f172a; }
.fp-story-summary p {
  margin: 0; font-size: 11px; line-height: 1.6; color: #475569;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-memory-tools .fp-story-neu-btn { font-size: 10.5px; }
.fp-story-modal {
  position: fixed; inset: 0; z-index: 13000;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(15, 23, 42, 0.78); backdrop-filter: blur(4px);
}
.fp-story-modal.hidden { display: none; }
.fp-story-dialog {
  width: min(94vw, 460px); max-height: 88vh; overflow-y: auto;
  padding: 16px; border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(160deg, #ffffff, #e2e8f0);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.42), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.fp-story-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-story-head strong { font-size: 14px; color: #0f172a; }
.fp-story-close {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(145deg, #fff, #e2e8f0); color: #475569; font-size: 13px;
}
.fp-story-meta { display: flex; align-items: center; gap: 11px; }
.fp-story-cover {
  width: 58px; height: 76px; flex: 0 0 58px; border-radius: 7px; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 2px 7px rgba(15, 23, 42, 0.2);
  background: linear-gradient(155deg, #f8fafc, #cbd5e1);
  display: flex; align-items: center; justify-content: center;
}
.fp-story-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-story-cover-blank { font-size: 20px; }
.fp-story-meta-lines { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fp-story-meta-lines b { font-size: 13px; color: #0f172a; font-variant-numeric: tabular-nums; }
.fp-story-meta-lines span { font-size: 12px; color: #475569; word-break: break-all; }
.fp-story-meta-lines small { font-size: 11px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-story-field { display: flex; flex-direction: column; gap: 6px; }
.fp-story-field > span { font-size: 11.5px; font-weight: 700; color: #475569; }
.fp-story-field input, .fp-story-field textarea {
  width: 100%; box-sizing: border-box; padding: 9px 11px; border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.62);
  background: #f8fafc; color: #0f172a; font-size: 12.5px; line-height: 1.6;
  box-shadow: inset 2px 2px 4px rgba(148, 163, 184, 0.22), inset -1px -1px 0 #fff;
  outline: none; resize: vertical;
}
.fp-story-field input:focus, .fp-story-field textarea:focus { border-color: #94a3b8; background: #fff; }
.fp-story-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
@media (max-width: 639.98px) {
  .fp-story-dialog { padding: 13px; }
  .fp-story-actions .fp-story-neu-btn { flex: 1 1 auto; }
}

/* ================= 📖 回忆录：全部我的记忆总览 ================= */
.fp-story-neu-btn.is-memoir { padding: 3px 9px; font-size: 10.5px; }
.fp-memoir-modal {
  position: fixed; inset: 0; z-index: 12800;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(15, 23, 42, 0.78); backdrop-filter: blur(4px);
}
.fp-memoir-modal.hidden { display: none; }
.fp-memoir-dialog {
  width: min(94vw, 760px); max-height: 88vh; overflow-y: auto;
  padding: 16px; border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: linear-gradient(160deg, #ffffff, #e2e8f0);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.42), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.fp-memoir-head { display: flex; align-items: center; gap: 9px; }
.fp-memoir-head strong { flex: 1 1 auto; font-size: 14px; color: #0f172a; }
.fp-memoir-head > span { font-size: 11px; color: #64748b; font-variant-numeric: tabular-nums; }
.fp-memoir-list { display: flex; flex-direction: column; gap: 10px; }
.fp-memoir-card {
  display: flex; gap: 12px; padding: 10px; border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.88));
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(100, 116, 139, 0.14);
}
.fp-memoir-cover {
  flex: 0 0 64px; width: 64px; height: 88px; border-radius: 8px; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 2px 7px rgba(15, 23, 42, 0.18);
  background: linear-gradient(155deg, #f8fafc, #cbd5e1);
  display: flex; align-items: center; justify-content: center;
}
.fp-memoir-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-memoir-cover-blank { font-size: 20px; }
.fp-memoir-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fp-memoir-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 11px; color: #64748b; }
.fp-memoir-meta b { color: #0f172a; font-size: 12px; font-variant-numeric: tabular-nums; }
.fp-memoir-title { margin: 0; font-size: 13px; color: #0f172a; }
.fp-memoir-body {
  margin: 0; font-size: 12px; line-height: 1.7; color: #475569;
  white-space: pre-line; word-break: break-word;
}
.fp-memoir-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.fp-memoir-empty {
  padding: 22px 12px; text-align: center; font-size: 12px; color: #64748b;
  border: 1px dashed #cbd5e1; border-radius: 12px; background: rgba(248, 250, 252, 0.85);
}
@media (max-width: 639.98px) {
  .fp-memoir-card { gap: 9px; padding: 9px; }
  .fp-memoir-cover { flex-basis: 54px; width: 54px; height: 74px; }
}

/* ================= 🎟️ 票夹 → 现场回忆：跳转落点高亮 ================= */
.fp-jump-highlight {
  outline: 2px solid rgba(200, 16, 46, 0.55);
  outline-offset: 2px;
  border-radius: 10px;
  animation: fp-jump-pulse 1.1s ease-in-out 2;
  background: rgba(255, 245, 246, 0.9) !important;
}
@keyframes fp-jump-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.28); }
  50% { box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.1); }
}

/* ================= 🖼️ 档案 -> 往期演出：统一竖图容器 + 自定义裁切焦点与微调弹窗 ================= */
.show-card.archive-strip .archive-card-main > .poster-square-box {
  position: relative;
  width: 118px !important;
  min-width: 118px !important;
  max-width: 118px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3 / 4 !important;
  flex: 0 0 118px !important;
  align-self: flex-start !important;
  object-fit: cover !important;
}
@media (max-width: 768px) {
  .show-card.archive-strip .archive-card-main > .poster-square-box {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 4 !important;
    flex: 0 0 96px !important;
  }
}
@media (max-width: 379.98px) {
  .show-card.archive-strip .archive-card-main > .poster-square-box {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    flex-basis: 88px !important;
  }
}
.show-card.archive-strip .archive-card-main > .poster-square-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--poster-pos, center) !important;
  transform: scale(var(--poster-scale, 1));
  transform-origin: var(--poster-pos, center);
}
.show-card.archive-strip .archive-card-main > .poster-square-box:hover img {
  transform: scale(calc(var(--poster-scale, 1) * 1.03));
}
.archive-poster-crop-btn {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 4;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
}
.archive-poster-crop-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: scale(1.06);
}
.archive-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 12080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.archive-crop-modal.hidden { display: none; }
.archive-crop-dialog {
  width: min(94vw, 500px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.36), inset 0 1px 0 #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}
.archive-crop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.archive-crop-head strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}
.archive-crop-subtitle {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.archive-crop-close {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: #fff;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
}
.archive-crop-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.archive-crop-stage-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.archive-crop-stage {
  position: relative;
  width: 162px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.archive-crop-stage:active { cursor: grabbing; }
.archive-crop-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.archive-crop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.14);
}
.archive-crop-hint {
  margin: 0;
  max-width: 170px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.4;
  color: #64748b;
}
.archive-crop-controls {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-crop-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #334155;
}
.archive-crop-field b {
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.archive-crop-field input[type="range"] {
  width: 100%;
  accent-color: #334155;
}
.archive-crop-code {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: rgba(255, 255, 255, 0.85);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.5;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-all;
}
.archive-crop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}
.archive-crop-foot-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .archive-crop-body {
    flex-direction: column;
    align-items: stretch;
  }
  .archive-crop-controls {
    flex-basis: auto;
    width: 100%;
  }
}

/* ================= 🎟️ 「我的票夹」弹窗：iOS Safari 日期框溢出与横向边界锁死 ================= */
.ticket-wallet-modal {
  box-sizing: border-box;
  overflow-x: clip;
}
.ticket-wallet-panel,
#tw-pane-make,
#tw-pane-browse,
#tw-generator-slot,
#ticket-generator-card,
#ticket-generator-body,
.ticket-wallet-form,
.ticket-wallet-form-grid,
.ticket-journal-fields {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}
.ticket-wallet-panel {
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
.ticket-wallet-form-grid > *,
.ticket-journal-fields > *,
.ticket-journal-note-label,
.ticket-sticker-field {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ticket-wallet-form-grid input,
.ticket-wallet-form-grid select,
.ticket-wallet-form-grid select.select-clean,
.ticket-wallet-form-grid textarea,
.ticket-journal-fields input,
.ticket-journal-fields select,
.ticket-journal-fields textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.ticket-wallet-form-grid input[type="date"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.ticket-wallet-form-tools {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ticket-wallet-form-tools .tour-action-btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
.ticket-wallet-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}
.ticket-wallet-file span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ticket-wallet-file input[type="file"],
.ticket-wallet-form-grid input[type="file"],
.ticket-wallet-form-tools input[type="file"] {
  display: none !important;
}
.tw-upload-filename {
  font-size: 11px;
  color: #475569;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .ticket-wallet-form-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket-wallet-form-tools .tw-upload-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .ticket-wallet-form-tools .tw-reset-btn {
    align-self: stretch;
  }
}
.tw-form-action-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
}
.tw-form-action-stack .tw-reset-btn,
.tw-form-action-stack .tw-save-wallet-btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
@media (min-width: 641px) {
  .tw-form-action-stack {
    align-items: flex-start;
  }
  .tw-form-action-stack .tw-reset-btn,
  .tw-form-action-stack .tw-save-wallet-btn {
    width: auto;
    min-width: 148px;
  }
}

/* ================= 🎟️ 「我的票夹」列表优先 & 独立录票动线样式 ================= */
.ticket-wallet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ticket-wallet-topbar .ticket-wallet-tabs {
  margin-top: 0;
}
.tw-top-shortcuts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tw-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.tw-empty-state .ticket-wallet-empty {
  padding: 0;
  margin: 0;
  color: #64748b;
}
.tw-empty-cta {
  padding: 7px 16px !important;
  font-size: 12px !important;
}
.tw-make-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 6px;
}
.tw-quick-fill-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.tw-quick-fill-row .tw-ocr-btn {
  height: 42px;
  padding: 0 12px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .tw-quick-fill-row {
    grid-template-columns: 1fr;
  }
  .tw-quick-fill-row .tw-ocr-btn {
    width: 100%;
    height: auto;
    min-height: 38px;
    padding: 8px 12px;
    justify-content: center;
  }
}
.tw-generator-slot .ticket-mode-switch {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  padding: 4px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(241, 245, 249, 0.95);
}
.tw-generator-slot .ticket-mode-btn {
  color: #475569;
  font-weight: 700;
}
.tw-generator-slot .ticket-mode-btn.is-active {
  background: linear-gradient(160deg, #1e293b, #334155) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.24) !important;
}
.tw-form-action-bottom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}

/* ================= 🖼️ 手帐拼贴 ⇄ 足迹相册/笔记联动 ================= */
.tw-journal-album-bridge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.78);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.tw-journal-album-bridge.hidden { display: none; }
.tw-album-bridge-head {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}
.tw-album-bridge-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tw-album-bridge-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  background: #e2e8f0;
  cursor: pointer;
  flex: 0 0 auto;
}
.tw-album-bridge-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tw-album-bridge-thumb.is-picked {
  border-color: #1e293b;
  box-shadow: 0 0 0 2px rgba(30, 41, 59, 0.28);
}
.tw-album-bridge-check {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #1e293b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.tw-journal-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.tw-journal-note-btn.hidden { display: none; }

/* 管理员编辑沿用「+ 足迹」胶囊；仅空间不足时整组自然换行，不再孤立靠右或裁切。 */
.show-card-top-row.has-admin-edit,
.archive-title-row.has-admin-edit {
  flex-wrap: wrap !important;
  overflow: visible !important;
  row-gap: 4px !important;
}
.archive-strip .archive-title-row > .archive-head-left.has-admin-edit {
  flex-wrap: wrap !important;
  overflow: visible !important;
  row-gap: 4px !important;
}
.archive-strip .archive-title-row > .archive-head-left .tour-top-tags.has-admin-edit,
.tour-top-tags.has-admin-edit {
  flex-wrap: wrap !important;
  overflow: visible !important;
  row-gap: 4px !important;
}
.tour-top-tags .plan-chip.card-edit-pill {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

/* 演出管理员工具栏：同一层银白微粉胶囊，分类下拉不再嵌套外框。 */
.shows-admin-toolbar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0;
  max-width: 100%;
}
.admin-toolbar-pill,
.shows-admin-toolbar .admin-toolbar-pill,
.admin-batch-move-group.admin-toolbar-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(244, 114, 182, 0.28) !important;
  border-radius: 999px !important;
  outline: none !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #e8edf3 100%) !important;
  color: #526174 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(148, 163, 184, 0.12),
    0 2px 5px rgba(190, 24, 93, 0.07) !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
}
.admin-toolbar-pill:hover,
.shows-admin-toolbar .admin-toolbar-pill:hover {
  border-color: rgba(219, 39, 119, 0.46) !important;
  color: #9f1239 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 3px 8px rgba(190, 24, 93, 0.11) !important;
}
.admin-toolbar-pill:focus-visible {
  border-color: rgba(219, 39, 119, 0.58) !important;
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.14) !important;
}
.admin-toolbar-pill:disabled { opacity: 0.5; cursor: not-allowed; }
.admin-toolbar-pill.hidden,
.shows-admin-toolbar .admin-toolbar-pill.hidden { display: none !important; }
@media (max-width: 640px) {
  .shows-admin-toolbar { gap: 6px !important; }
  .admin-toolbar-pill,
  .shows-admin-toolbar .admin-toolbar-pill,
  .admin-batch-move-group.admin-toolbar-pill {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 10.5px !important;
  }
}

/* ================= 顶部工具栏 / 管理功能区：统一胶囊按钮（卡片内按钮不受影响） ================= */
/* 普通工具栏：今日黄历同款银白胶囊 */
#view-home-page .almanac-entry-pill,
#view-shows-page .almanac-entry-pill,
.almanac-entry-pill {
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 48%, #dfe5ee 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

/* 批量管理悬浮条：管理员浅粉描边胶囊 */
#admin-batch-bar .tour-action-btn {
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(244, 114, 182, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #e8edf3 100%);
  color: #526174;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(148, 163, 184, 0.12), 0 2px 5px rgba(190, 24, 93, 0.07);
}
#admin-batch-bar .tour-action-btn:hover {
  border-color: rgba(219, 39, 119, 0.46);
  color: #9f1239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 3px 8px rgba(190, 24, 93, 0.11);
}
#admin-batch-bar #admin-batch-delete-btn { color: #be123c; }

/* 管理台 / 批量编辑台：弹窗级操作按钮统一胶囊 */
#hidden-admin-modal .liquid-silver-btn,
#hidden-admin-modal .tour-action-btn,
#admin-batch-editor .tour-action-btn,
#batch-edit-modal .tour-action-btn {
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(244, 114, 182, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #e8edf3 100%);
  color: #526174;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(148, 163, 184, 0.12), 0 2px 5px rgba(190, 24, 93, 0.07);
}
#hidden-admin-modal .liquid-silver-btn:hover,
#hidden-admin-modal .tour-action-btn:hover,
#admin-batch-editor .tour-action-btn:hover {
  border-color: rgba(219, 39, 119, 0.46);
  color: #9f1239;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 3px 8px rgba(190, 24, 93, 0.11);
}

@media (max-width: 640px) {
  #admin-batch-bar .tour-action-btn,
  #hidden-admin-modal .liquid-silver-btn,
  #hidden-admin-modal .tour-action-btn,
  #admin-batch-editor .tour-action-btn {
    height: 27px;
    min-height: 27px;
    padding: 0 10px;
    font-size: 10.5px;
  }
  #admin-batch-bar .flex { row-gap: 6px; }
}

/* ================= 全站薄扁胶囊化（仅工具栏与卡片操作区，顶部标签行保持原样） ================= */
/* 顶栏：明信片 / 登录 / 指南 */
.header-actions .header-unified-btn,
.header-actions #user-auth-btn.header-unified-btn,
.header-actions #top-guide-btn.header-unified-btn,
#top-postcard-btn.header-unified-btn,
#user-auth-btn.header-unified-btn,
.nav-guide-btn {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
@media (max-width: 768px) {
  .header-actions .header-unified-btn,
  .header-actions #user-auth-btn.header-unified-btn,
  .header-actions #top-guide-btn.header-unified-btn,
  #top-postcard-btn.header-unified-btn,
  #user-auth-btn.header-unified-btn,
  .nav-guide-btn {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }
}

/* 时光提醒卡片快捷入口 */
.anniv-shortcuts .tour-action-btn {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}

/* 应援页工具栏 */
.led-entry-btn,
.chant-page-head .chant-offline-btn,
#view-chant-page .view-admin-shortcut-btn {
  height: 27px !important;
  min-height: 27px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
#view-chant-page .view-admin-shortcut-btn {
  border-color: rgba(244, 114, 182, 0.28) !important;
  color: #526174 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 2px 5px rgba(190, 24, 93, 0.07) !important;
}

/* 物料页工具栏 / 批量栏 / 行内按钮 */
#view-daily-page .tour-action-btn,
.daily-tool-row .tour-action-btn,
.daily-batch-bar .tour-action-btn {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
.daily-batch-bar .tour-action-btn,
.daily-batch-bar select {
  border-color: rgba(244, 114, 182, 0.28) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #e8edf3 100%) !important;
  color: #526174 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 2px 5px rgba(190, 24, 93, 0.07) !important;
}
.daily-batch-bar select {
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
}
.daily-batch-bar .tour-action-btn.text-rose-600 { color: #be123c !important; }

/* 演出卡片操作区：两列等宽 + 薄扁胶囊；顶部 ONER / 想去 / 足迹 / 编辑标签不受影响 */
.show-card .tour-actions-row,
.timeline-card .tl-quick-bar {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  align-items: stretch !important;
  width: 100% !important;
}
.show-card .tour-actions-row .tour-action-btn,
.timeline-card .tl-quick-bar .tl-quick-btn,
.archive-card .tour-action-btn,
.archive-full-venue-bar .tour-action-btn,
.card-venue-quick-pair .tour-action-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 48%, #dfe5ee 100%) !important;
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(15, 23, 42, 0.06) !important;
}
.archive-full-venue-bar,
.archive-full-venue-bar > div,
.archive-full-venue-bar .card-venue-actions--mobile,
.archive-full-venue-bar .card-venue-actions--desktop,
.archive-full-venue-bar .card-venue-quick-pair,
.card-venue-quick-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
}
.timeline-card .tl-quick-bar .tl-quick-btn:last-child:nth-child(odd),
.show-card .tour-actions-row .tour-action-btn:last-child:nth-child(odd) {
  grid-column: auto;
}
/* 无论 3 按钮还是 4 按钮，右侧操作区都必须有 320px 上限，否则会把左侧文字栏压成 0 宽 */
.archive-actions-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 320px !important;
  margin-left: auto !important;
}
@media (max-width: 640px) {
  .archive-actions-row { max-width: 100% !important; margin-left: 0 !important; }
}

/* ================= 去厚渐变 / 去倒角阴影：胶囊统一平薄轻量 ================= */
/* 普通胶囊：纯白极淡底 + 1px 浅银灰边 + 极轻外阴影，去掉底部深灰渐变与内外立体阴影 */
.tour-action-btn:not(.is-active):not([aria-expanded="true"]):not(.colored-pill),
.liquid-silver-btn:not(.is-active):not(.colored-pill),
.obsidian-btn:not(.is-active):not(.colored-pill),
.header-unified-btn,
.nav-guide-btn,
.almanac-entry-pill,
.brand-submit-btn,
.brand-add-btn,
.brand-sync-btn,
.brand-refresh-btn,
.anniv-shortcuts .tour-action-btn,
.led-entry-btn,
.chant-page-head .chant-offline-btn,
.daily-tool-row .tour-action-btn,
.daily-batch-bar .tour-action-btn,
.show-card .tour-actions-row .tour-action-btn,
.timeline-card .tl-quick-bar .tl-quick-btn,
.archive-card .tour-action-btn,
.archive-actions-row .tour-action-btn,
.archive-full-venue-bar .tour-action-btn,
.card-venue-quick-pair .tour-action-btn {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.055) !important;
  text-shadow: none !important;
}
.tour-action-btn:not(.is-active):not([aria-expanded="true"]):not(.colored-pill):hover,
.liquid-silver-btn:not(.is-active):not(.colored-pill):hover,
.header-unified-btn:hover,
.nav-guide-btn:hover,
.almanac-entry-pill:hover,
.brand-submit-btn:hover,
.brand-add-btn:hover,
.brand-sync-btn:hover,
.brand-refresh-btn:hover,
.anniv-shortcuts .tour-action-btn:hover,
.led-entry-btn:hover,
.chant-page-head .chant-offline-btn:hover,
.daily-tool-row .tour-action-btn:hover,
.daily-batch-bar .tour-action-btn:hover,
.show-card .tour-actions-row .tour-action-btn:hover,
.timeline-card .tl-quick-bar .tl-quick-btn:hover,
.archive-card .tour-action-btn:hover,
.archive-actions-row .tour-action-btn:hover,
.archive-full-venue-bar .tour-action-btn:hover,
.card-venue-quick-pair .tour-action-btn:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(100, 116, 139, 0.42) !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.07) !important;
  transform: none !important;
}

/* 管理员胶囊：保留柔和浅粉描边与极轻微光 */
.admin-toolbar-pill,
.shows-admin-toolbar .admin-toolbar-pill,
.admin-batch-move-group.admin-toolbar-pill,
.brand-admin-toolbar .brand-add-btn,
.brand-admin-toolbar .brand-sync-btn,
.brand-admin-toolbar .brand-refresh-btn,
#view-chant-page .view-admin-shortcut-btn,
.daily-batch-bar select {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(244, 114, 182, 0.28) !important;
  box-shadow: 0 1px 2px rgba(190, 24, 93, 0.06) !important;
}
.admin-toolbar-pill:hover,
.brand-admin-toolbar .brand-add-btn:hover,
.brand-admin-toolbar .brand-sync-btn:hover,
.brand-admin-toolbar .brand-refresh-btn:hover {
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(219, 39, 119, 0.44) !important;
  box-shadow: 0 2px 4px rgba(190, 24, 93, 0.09) !important;
  transform: none !important;
}

/* 顶栏胶囊：去掉所有厚重内阴影，只留浅边与极轻外阴影 */
#top-postcard-btn.header-unified-btn,
#user-auth-btn.header-unified-btn,
#top-guide-btn.header-unified-btn {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.055) !important;
}

/* ================= 💺 座位图 / 视野 live：等宽两列，防重叠与文字溢出 ================= */
.card-venue-actions--desktop,
.card-venue-actions--mobile,
.card-venue-quick-pair,
.archive-card-full-row .card-venue-quick-pair,
.archive-mobile-full .card-venue-quick-pair,
.archive-full-venue-bar .card-venue-quick-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: static !important;
}
.card-venue-quick-pair .tour-action-btn,
.card-venue-actions--desktop .tour-action-btn,
.card-venue-actions--mobile .tour-action-btn,
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  flex: none !important;
  position: static !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.055) !important;
}
@media (max-width: 400px) {
  .card-venue-quick-pair .tour-action-btn,
  .card-venue-actions--desktop .tour-action-btn,
  .card-venue-actions--mobile .tour-action-btn,
  .archive-full-venue-bar .card-venue-quick-pair .tour-action-btn {
    font-size: 10px !important;
    padding: 0 4px !important;
    gap: 3px !important;
  }
}

/* ================= 🗓️ 微时间轴标题行：全部演出固定在右侧 ================= */
.micro-timeline-head-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex-wrap: nowrap !important;
}
.micro-timeline-head-main {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  flex-wrap: wrap !important;
}
.micro-timeline-head-main h2 { flex: 0 1 auto; min-width: 0; }
.micro-timeline-head-sub { flex: 0 1 auto; min-width: 0; }
.micro-timeline-all-btn {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  white-space: nowrap !important;
  align-self: center !important;
}
@media (max-width: 639.98px) {
  .micro-timeline-head-row { gap: 6px !important; }
  .micro-timeline-head-main { row-gap: 2px !important; }
  .micro-timeline-head-main h2 { font-size: 13px !important; line-height: 1.25 !important; }
  .micro-timeline-head-sub {
    flex: 1 1 100% !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  .micro-timeline-all-btn {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 10.5px !important;
  }
}

/* ================= 🛠️ 访客隐藏「管理演出」：覆盖 admin-toolbar-pill 的强制显示 ================= */
.shows-admin-toolbar .view-admin-shortcut-btn:not(.is-unlocked) {
  display: none !important;
}
.shows-admin-toolbar .view-admin-shortcut-btn.is-unlocked {
  display: inline-flex !important;
}

/* ================= 🔭 视野 live / 💺 座位图：内容自适应，不再被父级网格压成小椭圆 ================= */
.card-venue-actions--desktop,
.card-venue-actions--mobile,
.archive-full-venue-bar .card-venue-actions--desktop,
.archive-full-venue-bar .card-venue-actions--mobile {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.card-venue-quick-pair,
.archive-full-venue-bar .card-venue-quick-pair,
.archive-card-full-row .card-venue-quick-pair,
.archive-mobile-full .card-venue-quick-pair {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.card-venue-quick-pair .tour-action-btn,
.card-venue-actions--desktop .tour-action-btn,
.card-venue-actions--mobile .tour-action-btn,
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: 100% !important;
  padding: 0 11px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}
@media (max-width: 400px) {
  .card-venue-quick-pair,
  .archive-full-venue-bar .card-venue-quick-pair {
    gap: 6px !important;
  }
  .card-venue-quick-pair .tour-action-btn,
  .archive-full-venue-bar .card-venue-quick-pair .tour-action-btn {
    padding: 0 9px !important;
    font-size: 10.5px !important;
  }
}

/* ================= 🏛️ 往期卡片操作按钮：统一为近期同款平薄全圆角胶囊 ================= */
.archive-actions-row .tour-action-btn,
.archive-card .archive-actions-row .tour-action-btn,
.archive-actions-row.is-four-actions > .tour-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.055) !important;
  color: #475569 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-shadow: none !important;
}
.archive-actions-row .tour-action-btn:hover,
.archive-card .archive-actions-row .tour-action-btn:hover {
  background: #f8fafc !important;
  background-image: none !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
  transform: none !important;
}

/* ================= 💺 座位图 / 视野 live：两列等宽平薄胶囊（最终覆盖） ================= */
.card-venue-quick-pair,
.card-venue-actions--desktop .card-venue-quick-pair,
.card-venue-actions--mobile .card-venue-quick-pair,
.archive-full-venue-bar .card-venue-quick-pair,
.archive-card-full-row .card-venue-quick-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.card-venue-quick-pair .tour-action-btn,
.card-venue-actions--desktop .card-venue-quick-pair .tour-action-btn,
.card-venue-actions--mobile .card-venue-quick-pair .tour-action-btn,
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn,
.archive-full-venue-bar .tour-action-btn,
.archive-card-full-row .card-venue-quick-pair .tour-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  box-sizing: border-box !important;
}
.card-venue-quick-pair .tour-action-btn:only-child {
  grid-column: 1 / -1;
}
@media (max-width: 420px) {
  .card-venue-quick-pair .tour-action-btn {
    font-size: 10.5px !important;
    padding: 0 6px !important;
  }
}

/* ================= 🗓️ 近期演出标题行：全部演出固定最右，手机端独占整行 ================= */
.micro-timeline-head-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}
.micro-timeline-head-main {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.micro-timeline-all-btn {
  flex-shrink: 0 !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}
@media (max-width: 639.98px) {
  .micro-timeline-header {
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .micro-timeline-header > .micro-timeline-head-row {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .micro-timeline-header > .flex {
    width: 100% !important;
  }
  .micro-timeline-head-sub {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

/* ================= 🧰 通用纯工具模式 ================= */
.tool-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(145deg, #ffffff 0%, #eef2f7 55%, #dfe5ee 100%);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 3px rgba(15,23,42,.06);
}
.tool-mode-toggle.is-on {
  color: #0f172a;
  border-color: rgba(100, 116, 139, 0.55);
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
}
@media (max-width: 639.98px) {
  .tool-mode-toggle { height: 28px; padding: 0 8px; font-size: 10.5px; }
  .tool-mode-toggle-label { display: none; }
}

.tool-mode-home { display: none; }
body.tool-mode #tool-mode-home { display: block !important; }
body.tool-mode #home-timeline-block,
body.tool-mode #home-contributor-credits,
body.tool-mode #home-quick-tools-mobile,
body.tool-mode #top-postcard-btn,
body.tool-mode #postcard-unread-dot,
body.tool-mode #top-tab-shows,
body.tool-mode #top-tab-chant,
body.tool-mode #top-tab-daily,
body.tool-mode #bottom-tab-shows,
body.tool-mode #bottom-tab-chant,
body.tool-mode #bottom-tab-daily,
body.tool-mode #view-shows-page,
body.tool-mode #view-chant-page,
body.tool-mode #view-daily-page,
body.tool-mode #tk-show-pick,
body.tool-mode .woodfish-egg-hint,
body.tool-mode .postcard-entry-btn { display: none !important; }

.tool-home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 55%, #e2e8f0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 18px rgba(15,23,42,.06);
}
.tool-home-head h2 { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; }
.tool-home-head p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #64748b; }
.tool-home-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.45);
  background: #f8fafc;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}
.tool-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 639.98px) {
  .tool-home-grid { grid-template-columns: 1fr; }
}
.tool-home-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 15px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 60%, #e6ebf2 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 12px rgba(15,23,42,.05);
  color: #334155;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tool-home-card:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 18px rgba(15,23,42,.08); }
.tool-home-icon { font-size: 20px; line-height: 1; }
.tool-home-card strong { font-size: 13px; font-weight: 800; color: #0f172a; }
.tool-home-card small { font-size: 11px; line-height: 1.45; color: #64748b; }
.tool-home-card--split { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.tool-home-card--split button {
  flex: 1 1 0;
  min-width: 0;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.4);
  background: #f8fafc;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tool-venue-panel {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 60%, #e9eef5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 18px rgba(15,23,42,.05);
}
.tool-venue-head h3 { margin: 0; font-size: 14px; font-weight: 800; color: #0f172a; }
.tool-venue-head p { margin: 3px 0 0; font-size: 11px; color: #64748b; }
.tool-venue-search-row { margin-top: 10px; }
.tool-venue-search-row input,
.tool-venue-custom-row input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.45);
  background: #fff;
  font-size: 12px;
  color: #334155;
  outline: none;
}
.tool-venue-custom-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
  margin-top: 8px;
}
.tool-venue-custom-row button {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.45);
  background: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 639.98px) {
  .tool-venue-custom-row { grid-template-columns: 1fr; }
  .tool-venue-custom-row button { width: 100%; }
}
.tool-venue-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-height: 360px; overflow: auto; }
.tool-venue-row {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.3);
  background: #fff;
}
.tool-venue-row-main { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool-venue-name { font-size: 12px; font-weight: 700; color: #0f172a; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-venue-city { font-size: 10.5px; color: #64748b; flex-shrink: 0; }
.tool-venue-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tool-venue-actions button {
  height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.4);
  background: linear-gradient(145deg,#fff,#eef2f7);
  color: #475569;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.tool-venue-empty { padding: 14px 4px; font-size: 11.5px; color: #94a3b8; text-align: center; }
body.tool-mode .nav-segment #top-tab-home::after { content: ''; }

/* ================= 💺 手机端座位图 / 视野 live 防挤压兜底 ================= */
.card-venue-actions--desktop,
.card-venue-actions--mobile,
.card-venue-actions--mobile.card-venue-actions--desktop {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}
.card-venue-quick-pair,
.card-venue-actions--mobile .card-venue-quick-pair,
.card-venue-actions--desktop .card-venue-quick-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.card-venue-quick-pair .tour-action-btn,
.card-venue-actions--mobile .card-venue-quick-pair .tour-action-btn,
.card-venue-actions--desktop .card-venue-quick-pair .tour-action-btn {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* ================= 💺 近期演出页：座位图 / 视野 live 强制两列等宽且与下方按钮同尺寸 ================= */
#view-shows-page .archive-full-venue-bar,
#view-shows-page .archive-full-venue-bar > div,
#view-shows-page .archive-full-venue-bar .card-venue-actions--mobile,
#view-shows-page .archive-full-venue-bar .card-venue-actions--desktop,
.archive-full-venue-bar .card-venue-actions--mobile,
.archive-full-venue-bar .card-venue-actions--desktop {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#view-shows-page .archive-full-venue-bar .card-venue-quick-pair,
.archive-full-venue-bar .card-venue-quick-pair {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#view-shows-page .archive-full-venue-bar .card-venue-quick-pair .tour-action-btn,
#view-shows-page .archive-full-venue-bar .card-venue-quick-pair .card-venue-quick-mobile,
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn,
.archive-full-venue-bar .card-venue-quick-pair .card-venue-quick-mobile {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  flex: none !important;
}
#view-shows-page .archive-full-venue-bar .card-venue-quick-pair .tour-action-btn:only-child,
.archive-full-venue-bar .card-venue-quick-pair .tour-action-btn:only-child {
  grid-column: 1 / -1 !important;
}

/* ================= 🧰 纯工具模式：保留时光倒计时（去 ONER 化）& 自定义卡册对象 ================= */
body.tool-mode #home-anniversary-box .anniv-milestone-line,
body.tool-mode #home-anniversary-box .anniv-meet-line,
body.tool-mode #home-anniversary-box .brand-entry-btn,
body.tool-mode #home-anniversary-box [onclick*="openChantDictModal"] {
  display: none !important;
}
.collection-custom-member-field { display: none; }
body.tool-mode .collection-member-field,
body.tool-mode #collection-filter-member {
  display: none !important;
}
body.tool-mode .collection-custom-member-field {
  display: flex !important;
}

/* ================= 🧰 纯工具模式：单行折叠功能条 ================= */
.tool-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.tool-acc-item {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 60%, #e9eef5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 10px rgba(15,23,42,.04);
  overflow: hidden;
}
.tool-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.tool-acc-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.tool-acc-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.tool-acc-meta {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tool-acc-caret {
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}
.tool-acc-body {
  padding: 0 14px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}
.tool-acc-desc {
  margin: 8px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #64748b;
}
.tool-acc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ================= 🚫 已取消场次单独折叠收纳 + [hidden] 属性兜底 ================= */
.tour-action-btn[hidden],
[hidden] {
  display: none !important;
}
.cancelled-archive-collapse {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fa 60%, #e9eef5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 10px rgba(15,23,42,.04);
  overflow: hidden;
}
.cancelled-archive-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-align: left;
}
.cancelled-archive-caret {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}
.cancelled-archive-body {
  padding: 6px 12px 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cancelled-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.65);
}
.cancelled-compact-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.cancelled-compact-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}
.cancelled-compact-meta {
  font-size: 11px;
  color: #64748b;
}
.cancelled-compact-actions {
  flex-shrink: 0;
}

.cancelled-compact-thumb {
  width: 36px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  cursor: pointer;
  filter: grayscale(25%);
  opacity: 0.9;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* ================= 📈 访问统计面板：冷银灰玻璃 + 平薄胶囊 ================= */
.an-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.an-head h3 { font-size: 15px; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
.an-head p { margin-top: 3px; font-size: 11px; line-height: 1.5; color: #64748b; }
.an-head-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.an-head-actions .tour-action-btn { height: 26px; min-height: 26px; padding: 0 10px; font-size: 11px; }
.an-head-actions .tour-action-btn.is-active {
  border-color: rgba(15, 23, 42, 0.35) !important;
  background: #0f172a !important; color: #fff !important;
}
.an-close {
  width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff; color: #475569; font-size: 17px; line-height: 1; cursor: pointer;
}
.an-body { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.an-kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.an-kpi {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 60%, #eaeff6 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(15, 23, 42, 0.05);
}
.an-kpi-title { font-size: 11px; font-weight: 700; color: #64748b; }
.an-kpi-num { font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1.15; font-variant-numeric: tabular-nums; }
.an-kpi-sub { font-size: 10px; color: #94a3b8; }
.an-block h4 { font-size: 12px; font-weight: 800; color: #334155; margin-bottom: 8px; }
.an-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.an-chart { display: flex; align-items: flex-end; gap: 4px; height: 118px; padding: 6px 4px 0; }
.an-bar-wrap { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.an-bar-value { font-size: 9px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.an-bar {
  width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #64748b 0%, #cbd5e1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  min-height: 3px;
}
.an-bar-day { font-size: 9px; color: #94a3b8; }
.an-rank { display: flex; flex-direction: column; gap: 6px; }
.an-rank li { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #475569; }
.an-rank-no { width: 15px; flex-shrink: 0; text-align: center; color: #94a3b8; font-variant-numeric: tabular-nums; }
.an-rank-label { max-width: 90px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0f172a; font-weight: 600; }
.an-rank-track { flex: 1 1 auto; height: 6px; border-radius: 999px; background: rgba(226, 232, 240, 0.9); overflow: hidden; }
.an-rank-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 100%); }
.an-rank-num { flex-shrink: 0; font-variant-numeric: tabular-nums; color: #334155; }
.an-rank-num em { font-style: normal; color: #94a3b8; }
.an-empty { font-size: 12px; color: #94a3b8; text-align: center; padding: 18px 6px; line-height: 1.7; }
.an-error code { background: #f1f5f9; border-radius: 4px; padding: 1px 4px; font-size: 11px; color: #334155; }
@media (max-width: 640px) {
  .an-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .an-kpi { padding: 8px 9px; }
  .an-kpi-num { font-size: 18px; }
  .an-two-col { grid-template-columns: 1fr; }
  .an-chart { height: 96px; }
}

/* 📈 数据入口：只在 ≥1280px 的宽屏头部显示，窄屏走 #stats 直达，避免挤动导航 */
#analytics-entry-btn { display: inline-flex !important; }
@media (max-width: 1279.98px) {
  #analytics-entry-btn { display: none !important; }
}

/* 往期分类：放不下的部分用「更多」按钮展开，比纯横滑更好发现 */
#arc-type-filter.is-open {
  flex-wrap: wrap !important;
  overflow-x: visible !important;
}
#arc-type-more {
  flex: 0 0 auto;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #EEF2F6;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border: 0;
  cursor: pointer;
}
#arc-type-more:hover { background: #e4eaf1; }
@media (max-width: 768px) {
  .archive-filter-bar > #arc-type-more { order: 1; }
  .archive-filter-bar .archive-filter-selects { order: 2; }
}

/* ===== 出行比价（手机）：压缩上半部分，日期框不再撑出容器 ===== */
@media (max-width: 640px) {
  .travel-shell { max-width: 100vw; overflow-x: hidden; }
  .travel-head { padding: 10px 13px 7px; }
  .travel-title { font-size: 14px; }
  .travel-sub { font-size: 10px; margin-top: 2px; }

  .travel-controls {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 7px 13px 2px;
    width: 100%;
    box-sizing: border-box;
  }
  .travel-controls .travel-field:first-child { grid-column: 1 / -1; }
  .travel-controls .travel-field { min-width: 0; overflow: hidden; gap: 3px; }
  .travel-controls .travel-field > span { font-size: 10px; }

  .travel-controls .travel-field input,
  .travel-controls .travel-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    height: 30px;
    padding: 0 6px;
    font-size: 11px;
  }
  /* iOS 的日期控件默认自带较宽的最小宽度，这里强制按容器收窄 */
  .travel-controls input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    text-align: center;
    line-height: 1.1;
  }
  .travel-controls input[type="date"]::-webkit-date-and-time-value { text-align: center; }

  /* 热门出发城市：单行横向滑动，省掉两行高度 */
  .travel-hot-cities {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 13px 2px;
  }
  .travel-hot-cities::-webkit-scrollbar { display: none; }
  .travel-hot-chip { flex: 0 0 auto; }
}

/* iOS / 安卓日期框内文字居中（原生控件内部是 shadow DOM，需要逐层指定） */
@media (max-width: 640px) {
  .travel-controls input[type="date"] {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-indent: 0;
  }
  .travel-controls input[type="date"]::-webkit-date-and-time-value {
    text-align: center !important;
    margin: 0 auto;
    display: block;
    width: 100%;
  }
  .travel-controls input[type="date"]::-webkit-datetime-edit {
    text-align: center !important;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .travel-controls input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* ===== 出行比价：出发站点选择（高铁站 / 机场） ===== */
.travel-origin-hubs { padding: 4px 16px 0; }
.travel-origin-hubs .travel-dest-options {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.travel-origin-hubs .travel-dest-options::-webkit-scrollbar { display: none; }
.travel-origin-hubs .travel-dest-chip { flex: 0 0 auto; }
@media (max-width: 640px) {
  .travel-origin-hubs { padding: 3px 13px 0; }
}

/* 日期框：文字垂直居中，贴底问题修正 */
@media (max-width: 640px) {
  .travel-controls input[type="date"] {
    height: 32px;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 13px !important;
    display: block;
  }
  .travel-controls input[type="date"]::-webkit-date-and-time-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    text-align: center !important;
  }
  .travel-controls input[type="date"]::-webkit-datetime-edit {
    align-items: center;
    height: 100%;
    line-height: 1;
  }
}

/* 出发城市：手机上收掉胶囊排，改用原生下拉（可选全量城市 / 站点） */
@media (max-width: 640px) {
  .travel-hot-cities { display: none !important; }
  #travel-origin-hubs { display: none !important; }
  #travel-origin-hub-field { grid-column: 1 / -1; }
  #travel-origin-hub-field.hidden { display: none !important; }
}

/* 查看出处：桌面留在操作行；手机收进标题行（地点名右侧），两处只出现一个 */
.checkin-proof-action { display: inline-flex; }
.checkin-head-proof { display: none !important; }
.checkin-head-proof,
.checkin-head-edit,
.checkin-head-delete {
  min-height: 25px;
  padding: 3px 9px;
  font-size: 10.5px;
  white-space: nowrap;
}
.checkin-head-acts { gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 768px) {
  .checkin-head-proof { display: inline-flex !important; }
  .checkin-proof-action { display: none !important; }
  .checkin-head-acts { max-width: 62%; }
}

/* ===== 城市美食直达卡：横排紧凑卡片，两列铺满不留大片空白 ===== */
.checkin-quick-links.checkin-quick-links--duo {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 8px !important;
}
.cq-card {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid #dbe3ec;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fb 60%, #e9f0f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 3px rgba(100, 116, 139, 0.08);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.cq-card:hover { transform: translateY(-1px); border-color: #b6c2cf; box-shadow: 0 4px 10px rgba(100, 116, 139, 0.16); }
.cq-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef2f7;
  font-size: 13px;
  line-height: 1;
}
.cq-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.cq-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cq-desc {
  font-size: 10px;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cq-arrow { flex: 0 0 auto; font-size: 11px; color: #94a3b8; }
@media (max-width: 640px) {
  .checkin-quick-links.checkin-quick-links--duo { grid-template-columns: 1fr !important; gap: 6px !important; }
  .cq-card { padding: 8px 10px; }
}

/* ===== 出行比价（桌面）：控件一行排完、链接卡铺满，消掉右侧大片空白 ===== */
@media (min-width: 641px) {
  .travel-controls {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
    grid-template-columns: none !important;
  }
  .travel-controls .travel-field { flex: 1 1 0; min-width: 0; }
  .travel-controls .travel-field:first-child { flex: 1.25 1 0; }
  #travel-origin-hub-field.hidden { display: none !important; }

  /* 链接卡：按数量均分整行，不再右边空一块 */
  .travel-link-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .travel-link-grid > .travel-link-wrap { flex: 1 1 190px; min-width: 0; display: flex; }
  .travel-link-grid > .travel-link-wrap > .travel-link { flex: 1 1 auto; width: 100%; }

  /* 分组之间收紧一点，折叠态不再显得空 */
  .travel-body { gap: 8px; }
  .travel-group-head { min-height: 40px; padding: 8px 11px; }
}

@media (max-width: 640px) {
  .travel-controls { display: flex !important; flex-wrap: wrap; gap: 6px; }
  .travel-controls .travel-field { flex: 1 1 45%; min-width: 0; }
  .travel-controls .travel-field:first-child,
  #travel-origin-hub-field { flex: 1 1 100%; }
}

/* 🎟️ 票根收纳 tab（并进卡册与账本） */
.collection-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.collection-tabs::-webkit-scrollbar { display: none; }
.collection-tab { min-width: 0; flex: 0 0 auto; }

.wallet-pane {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}
.wallet-pane.hidden { display: none !important; }
.wallet-pane-toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.wallet-pane-summary { font-size: 11px; font-weight: 800; color: #64748b; }
.wallet-pane-acts { display: flex; gap: 6px; }
.wallet-pane-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}
.wallet-pane-empty {
  padding: 22px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}
.wallet-row {
  display: flex;
  gap: 10px;
  padding: 9px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 2px 3px 8px rgba(15, 23, 42, 0.06), inset 1px 1px 1px #fff;
}
.wallet-row-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 68px;
  border-radius: 9px;
  object-fit: cover;
  background: #e8edf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #94a3b8;
}
.wallet-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wallet-row-title {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-row-meta {
  font-size: 10px;
  color: #64748b;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.wallet-row-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wallet-row-price { font-size: 11px; font-weight: 800; color: #0f172a; }
.wallet-row-acts { display: flex; gap: 5px; }
.wallet-row-btn {
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #0f172a, #334155);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.wallet-row-btn.is-ghost {
  background: linear-gradient(145deg, #eef2f7, #ffffff);
  color: #475569;
  box-shadow: inset 1px 1px 2px rgba(15, 23, 42, 0.06);
}
@media (max-width: 640px) {
  .collection-tab { padding: 6px 11px; font-size: 9.5px; }
  .wallet-row-thumb { width: 46px; height: 60px; }
}
.wallet-pane-acts .collection-primary-btn {
  padding: 6px 12px;
  font-size: 10px;
  border-radius: 999px;
}
.wallet-pane-list { max-height: 52vh; }

/* 票夹内的大图查看层，需高于票夹弹窗 */
.photo-album-lightbox.tw-lightbox { z-index: 100070; }

/* 存入票夹 = 表单主操作，和「下载票根长图」分开 */
.tw-primary-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #f8fafc, #e9eef5);
  box-shadow: inset 1px 1px 2px rgba(15, 23, 42, 0.06), inset -1px -1px 1px #fff;
}
.tw-primary-save-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0f172a, #334155);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}
.tw-primary-save-btn:hover { color: #fff; filter: brightness(1.1); }
.tw-primary-reset-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}
.tw-primary-reset-btn:hover { color: #0f172a; }
.tw-save-sync-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}
.tw-export-bar {
  justify-content: space-between;
  border-top: 0;
  padding-top: 4px;
}
.tw-export-label { font-size: 11px; color: #94a3b8; line-height: 1.5; }
@media (max-width: 640px) {
  .tw-primary-action-row { padding: 9px 10px; }
  .tw-primary-save-btn { flex: 1 1 100%; width: 100%; }
  .tw-save-sync-row { margin-left: 0; }
  .tw-export-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}
/* 生成器还在足迹页未并入票夹时，不显示「存入票夹」主操作，避免重复入口 */
#ticket-generator-body:not(.tw-in-wallet) .tw-primary-action-row { display: none; }
@media (max-width: 340px) {
  .home-quick-tools-mobile { gap: 5px; }
  .home-quick-tools-mobile .almanac-entry-pill { padding: 0 8px; font-size: 10px; }
}
/* 保存条紧跟票根预览，导出条再下一层，形成 表单→样式→预览→保存→导出 的顺序 */
.tw-primary-action-row { margin: 14px 0 6px; }
.tw-export-bar { margin-top: 4px; }
@media (min-width: 641px) {
  .tw-primary-action-row {
    position: sticky;
    bottom: 6px;
    z-index: 3;
    backdrop-filter: blur(6px);
  }
}
@media (min-width: 641px) {
  .tw-primary-action-row {
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.10), inset 1px 1px 2px rgba(15, 23, 42, 0.05);
  }
}

/* 🌐 线上场（无固定场馆）：不显示依赖场馆的功能，只留一个轻标识 */
.tl-online-tag,
.show-card-venue.tl-online-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.5;
}

/* ===== 商务图集（多图）+ 合作年份 ===== */
.brand-gallery-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brand-gallery-add .brand-form-input { flex: 1 1 200px; min-width: 0; }
.brand-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.brand-gallery-empty { font-size: 11px; color: #94a3b8; padding: 10px 2px; }
.brand-gallery-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(148,163,184,.35); background: #f8fafc; }
.brand-gallery-item.is-cover { border-color: #0f172a; box-shadow: 0 0 0 1px #0f172a inset; }
.brand-gallery-thumb { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; background: #eef2f7; cursor: zoom-in; }
.brand-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-gallery-cover-tag,
.brand-gallery-mini { position: absolute; left: 4px; bottom: 4px; font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgba(15,23,42,.82); color: #fff; border: 0; }
.brand-gallery-mini { cursor: pointer; background: rgba(255,255,255,.9); color: #334155; }
.brand-gallery-remove { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(15,23,42,.75); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; }
.brand-gallery-entry { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(148,163,184,.45); background: rgba(148,163,184,.12); font-size: 10.5px; font-weight: 700; color: #475569; cursor: pointer; }
.brand-card-poster-count { position: absolute; right: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(15,23,42,.72); color: #fff; font-size: 10px; font-weight: 700; }
.brand-card-poster { position: relative; }

.brand-gallery-lightbox { position: fixed; inset: 0; z-index: 100080; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; background: rgba(8,12,20,.86); backdrop-filter: blur(6px); }
.brand-gallery-stage { margin: 0; max-width: min(92vw, 860px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brand-gallery-stage img { max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.45); object-fit: contain; }
.brand-gallery-stage figcaption { color: #cbd5e1; font-size: 11.5px; font-weight: 600; }
.brand-gallery-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.brand-gallery-lightbox.is-single .brand-gallery-nav { display: none; }
.brand-gallery-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
@media (max-width: 640px) {
  .brand-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
  .brand-gallery-nav { width: 32px; height: 32px; font-size: 18px; }
}

/* ===== 商务档案：合作说明（直播空降 / 短期 / 长期 / 自定义） ===== */
.brand-period-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.brand-period-type { flex: 0 0 auto; min-width: 140px; }
.brand-period-extra { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1 1 240px; min-width: 0; }
.brand-period-extra .brand-form-input { flex: 1 1 130px; min-width: 0; }
.brand-period-date { max-width: 190px; }
.brand-period-tilde { color: #94a3b8; font-weight: 700; }
@media (max-width: 640px) {
  .brand-period-type { min-width: 0; width: 100%; }
}

/* ===== 商务档案：批量编辑 ===== */
.brand-card.is-batch { cursor: pointer; }
.brand-card.is-batch.is-selected { border-color: #0f172a; box-shadow: 0 0 0 1.5px #0f172a inset; }
.brand-batch-check { position: absolute; top: 8px; right: 8px; z-index: 3; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(148,163,184,.7); background: rgba(255,255,255,.92); color: #0f172a; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; }
.brand-batch-check.is-on { background: #0f172a; border-color: #0f172a; color: #fff; }
.brand-card { position: relative; }
.brand-batch-bar { margin-top: 12px; padding: 12px; border-radius: 14px; border: 1px solid rgba(148,163,184,.4); background: rgba(248,250,252,.95); display: flex; flex-direction: column; gap: 8px; }
.brand-batch-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #334155; flex-wrap: wrap; }
.brand-batch-head strong { font-size: 12.5px; }
.brand-batch-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.brand-batch-field { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; color: #64748b; font-weight: 600; }
.brand-batch-field .select-clean,
.brand-batch-field .brand-form-input { min-width: 132px; }
.brand-batch-extra { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.brand-batch-extra .brand-form-input { min-width: 130px; }
@media (max-width: 640px) {
  .brand-batch-field, .brand-batch-field .select-clean, .brand-batch-field .brand-form-input { min-width: 0; width: 100%; }
  .brand-batch-fields { flex-direction: column; align-items: stretch; }
}
.brand-batch-period-field { flex: 1 1 320px; min-width: 0; }
.brand-batch-period-inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.brand-batch-period-inline .select-clean { min-width: 118px; }
.brand-batch-extra .brand-form-input { flex: 1 1 120px; max-width: 170px; width: auto; }

/* 商务卡横版封面：整卡宽幅 + 模糊底衬，图片完整不裁切 */
.brand-card-poster-bg {
  display: none;
  position: absolute;
  inset: -14px;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.1);
  opacity: 0.26;
  transform: scale(1.08);
  pointer-events: none;
}
.brand-card.has-poster.is-wide-poster {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.brand-card.is-wide-poster .brand-card-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  max-height: 260px;
  cursor: zoom-in;
}
.brand-card.is-wide-poster .brand-card-poster-bg { display: block; }
.brand-card.is-wide-poster .brand-card-poster img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}
.brand-card.is-wide-poster .brand-card-poster-count { z-index: 2; }
@media (max-width: 720px) {
  .brand-card.is-wide-poster .brand-card-poster,
  .brand-card.is-wide-poster .brand-card-poster img { max-height: 220px; }
}

/* ===== 横版海报：抽成全卡宽幅条，原图完整展示（不裁切） ===== */
.wide-poster-banner { position: relative; }
.wide-poster-banner img { display: block; width: auto; max-width: 100%; height: auto; max-height: 230px; margin: 0 auto; object-fit: contain; object-position: center; transform: none !important; cursor: zoom-in; }
.wide-poster-banner:hover img { transform: none !important; }
@media (max-width: 640px) {
  .wide-poster-banner img { max-height: 190px; }
}

/* 🍜 同款出处大图灯箱（图下直接带看原帖 / 看原视频） */
.checkin-proof-viewer {
  position: fixed;
  inset: 0;
  z-index: 100090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkin-proof-viewer.hidden { display: none; }
.checkin-proof-stage {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(3px);
}
.checkin-proof-figure {
  position: relative;
  margin: 0;
  max-width: min(92vw, 900px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.checkin-proof-figure img {
  display: block;
  max-width: 100%;
  max-height: 74vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #0f172a;
  object-fit: contain;
}
.checkin-proof-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: #e2e8f0;
  font-size: 12.5px;
}
.checkin-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.checkin-proof-link:hover { background: rgba(255, 255, 255, 0.22); }
.checkin-proof-link.hidden { display: none; }
.checkin-proof-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 640px) {
  .checkin-proof-viewer { padding: 12px; }
  .checkin-proof-figure img { max-height: 68vh; }
  .checkin-proof-close { top: 4px; right: 4px; }
}

/* 同款打卡：编辑态提示与取消按钮 */
.checkin-form-edit-hint {
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1d4ed8;
  font-size: 11.5px;
  line-height: 1.5;
}
.checkin-cancel-btn {
  width: 100%;
  margin-top: 8px;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.7);
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
}

/* 📱 足迹地图气泡：手机端放大点击区 + 现场海报横滑条 */
@media (max-width: 640px) {
  .fp-map-pin { width: 62px; }
  .fp-pin-card { width: 62px; height: 82px; border-radius: 9px; border-width: 2.5px; }
  .fp-pin-badge {
    min-width: 20px; height: 20px; padding: 0 5px;
    font-size: 11px; line-height: 16px; top: -8px; right: -9px;
  }
  .fp-pin-badge.is-check { font-size: 11px; }
  .fp-pin-date { font-size: 9px; padding: 0 4px; }
  .fp-pin-tip { border-left-width: 6px; border-right-width: 6px; border-top-width: 8px; }
}

.fp-pin-strip-wrap { margin-top: 4px; }
.fp-pin-strip-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 10.5px; font-weight: 700; color: #475569; padding: 0 2px 6px;
}
.fp-pin-strip-head span { font-size: 9.5px; font-weight: 500; color: #94a3b8; }
.fp-pin-strip {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
  padding: 2px 2px 8px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.fp-pin-strip::-webkit-scrollbar { height: 5px; }
.fp-pin-strip::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.5); border-radius: 999px; }
.fp-pin-strip-item {
  flex: 0 0 auto; width: 84px; padding: 0; border: 0; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  scroll-snap-align: start; cursor: zoom-in;
}
.fp-pin-strip-thumb {
  position: relative; width: 84px; height: 110px; border-radius: 10px;
  border: 2px solid #fff; background: linear-gradient(160deg, #ffffff, #dbe3ec);
  box-shadow: 0 3px 9px rgba(15, 23, 42, 0.22);
  display: flex; align-items: center; justify-content: center;
}
.fp-pin-strip-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.fp-pin-strip-thumb .fp-pin-blank { border-radius: 8px; }
.fp-pin-strip-badge {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px; border: 1.5px solid #fff;
  background: linear-gradient(160deg, #e11d48, #be123c);
  color: #fff; font-size: 10px; font-weight: 800; line-height: 15px; text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
}
.fp-pin-strip-badge.is-check { background: linear-gradient(160deg, #10b981, #047857); }
.fp-pin-strip-date { font-size: 10px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }
.fp-pin-strip-city {
  font-size: 9.5px; color: #64748b; max-width: 84px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 城市筛选胶囊：点一下只看这个城市的现场海报与地图气泡，再点一下回到全部 */
.fp-pin-city-chips {
  display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.fp-pin-city-chips::-webkit-scrollbar { display: none; }
.fp-pin-city-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px;
  min-height: 26px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.85);
  color: #475569; font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.fp-pin-city-chip b { font-size: 9px; font-weight: 800; color: #94a3b8; }
.fp-pin-city-chip.is-active {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}
.fp-pin-city-chip.is-active b { color: rgba(255, 255, 255, 0.75); }

/* ---------- 反馈：管理员自定义回复 ---------- */
.fb-custom-reply { margin-top: 9px; display: flex; flex-direction: column; gap: 6px; }
.fb-custom-reply-input {
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(145deg, #ffffff, #f4f7fa);
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
  resize: vertical;
  outline: none;
}
.fb-custom-reply-input:focus { border-color: rgba(100, 116, 139, 0.7); box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16); }
.fb-custom-reply-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-reply-btn--primary {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0) !important;
  border-color: rgba(100, 116, 139, 0.55) !important;
  color: #0f172a !important;
  font-weight: 700;
}
.fb-custom-reply-hint { font-size: 10px; color: #94a3b8; }

/* 反馈箱：截图下载 */
.fb-inbox-shot { position: relative; display: inline-block; margin-top: 6px; margin-right: 6px; }
.fb-shot-download {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.94);
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(4px);
}
.fb-shot-download:hover { background: #fff; color: #0f172a; }

/* 照片导入：未识别分组批量指定场次 */
.photo-album-group-head { flex-wrap: wrap; row-gap: 6px; }
.photo-album-batch-select {
  max-width: 100%;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(145deg, #fff, #eef2f7);
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  outline: none;
}
@media (max-width: 639.98px) {
  .photo-album-batch-select { width: 100%; }
}
