/* C 端暗色界面（找票 / 合集 / 邀请 / 我的） */

#app.c-mode { background: #0a0a0f; }
#app.c-mode .main { background: transparent; }
#app.c-mode .topbar { display: none; }
#app.c-mode .view { padding: 0; overflow-y: auto; overflow-x: hidden; background: #0a0a0f; }
#app.c-mode:not(.is-admin) .sidebar,
#app.c-mode:not(.is-admin) .sidebar-mask { display: none !important; }

/* ---------- 底部 Tab ---------- */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(480px, 100%);
  display: flex;
  z-index: 50;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  background: rgba(16, 16, 24, 0.96);
  border-top: 1px solid #22222c;
  backdrop-filter: blur(12px);
}
.tabbar[hidden] { display: none !important; }
.c-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: #7d7d8b;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  cursor: pointer;
}
.c-tab.active { color: #ff3d6e; }
.c-ico { width: 20px; height: 20px; display: block; }

/* ---------- 屏幕容器 ---------- */
.c-screen {
  --c-bg: #0b0b10;
  --c-panel: #16161d;
  --c-panel2: #1d1d26;
  --c-line: #272730;
  --c-ink: #f4f4f7;
  --c-muted: #8d8d9a;
  --c-accent: #ff3d6e;
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  padding: 0 16px calc(84px + env(safe-area-inset-bottom));
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 14px;
}
@media (min-width: 520px) {
  .c-screen { box-shadow: 0 0 60px rgba(0, 0, 0, 0.45); }
}

/* ---------- 头部 ---------- */
.c-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(16px + env(safe-area-inset-top)) 0 12px;
  position: sticky;
  top: 0;
  z-index: 6;
  background: linear-gradient(180deg, var(--c-bg) 72%, rgba(11, 11, 16, 0.85));
  backdrop-filter: blur(10px);
}
.c-head-main { flex: 1; min-width: 0; }
.c-head h1 { margin: 0; font-size: 20px; font-weight: 700; }
.c-sub {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-back {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #17171f;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.c-back .c-ico { width: 18px; height: 18px; }
.c-chip {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  color: #ff96ad;
  background: rgba(255, 61, 110, 0.12);
  border: 1px solid rgba(255, 61, 110, 0.36);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.c-hint { font-size: 12px; color: var(--c-muted); line-height: 1.6; }
.c-muted { color: var(--c-muted); }
.c-ok { color: #34d399; }
.c-accent { color: var(--c-accent); }
.c-empty { padding: 60px 0; text-align: center; color: var(--c-muted); font-size: 13px; }

.c-warn {
  margin-top: 10px;
  background: rgba(255, 193, 7, 0.09);
  border: 1px solid rgba(255, 193, 7, 0.28);
  color: #ffd27a;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.7;
}

/* 公告条（票务助手页顶，点击看全部公告）与公告弹层内容 */
.c-notice {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 61, 110, 0.09);
  border: 1px solid rgba(255, 61, 110, 0.28);
  color: var(--c-ink);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.7;
  font-family: inherit;
  text-align: left;
  cursor: default;
  overflow: hidden;
}
.c-notice-tag { flex-shrink: 0; color: var(--c-accent); font-weight: 600; }
.c-notice-text { flex: 1; min-width: 0; overflow: hidden; position: relative; }
.c-notice-track { display: inline-flex; align-items: baseline; white-space: nowrap; will-change: transform; }
.c-notice-seq { display: inline-block; }
.c-notice-item + .c-notice-item { margin-top: 14px; }
.c-notice-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.c-notice-item-head b { min-width: 0; overflow-wrap: anywhere; }
.c-notice-body { white-space: pre-wrap; font-size: 13px; line-height: 1.7; margin-top: 4px; overflow-wrap: anywhere; }
.c-notice-img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 10px;
  margin: 6px 0;
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- 卡片 / 按钮 ---------- */
.c-card { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 16px; }
.c-pad { padding: 14px; }
.c-card + .c-card { margin-top: 12px; }

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--c-line);
  background: #1c1c25;
  color: var(--c-ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
}
.c-btn:active { transform: scale(0.98); }
.c-btn.primary { background: linear-gradient(135deg, #ff3d6e, #ff2f7d); border-color: transparent; color: #fff; font-weight: 700; }
.c-btn.block { width: 100%; }
.c-btn:disabled { opacity: 0.6; }
.c-text-btn { border: 0; background: transparent; color: #a9a9b8; font-size: 12px; cursor: pointer; padding: 4px 2px; }
.c-text-btn:hover { color: #fff; }

/* ---------- 表单 ---------- */
.c-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.c-field-k { font-size: 11px; color: var(--c-muted); }
.c-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.c-actions .c-btn { flex: 1; min-width: 0; padding: 9px 8px; font-size: 13px; }
.c-inline { display: flex; gap: 8px; }
.c-inline .c-input { flex: 1; }

.c-select,
.c-input {
  width: 100%;
  background: var(--c-panel2);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  color: var(--c-ink);
  padding: 11px 12px;
  font-size: 16px;
  appearance: none;
  outline: none;
}
.c-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d8d9a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.c-input::placeholder { color: #6f6f7d; }
.c-select:focus,
.c-input:focus,
.c-pill-v:focus { border-color: rgba(255, 61, 110, 0.5); box-shadow: 0 0 0 2px rgba(255, 61, 110, 0.22); }

/* ---------- 找票筛选 ---------- */
.c-find-top { display: flex; gap: 8px; align-items: stretch; }
.c-event-select { flex: 1; min-width: 0; }
.c-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.c-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--c-panel2);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 0;
}
.c-pill-k { font-size: 11px; color: var(--c-muted); }
.c-pill-v {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  font-size: 16px;
  padding: 0;
  appearance: none;
  outline: none;
  min-height: 24px;
}
select.c-pill-v {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238d8d9a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 18px;
}
.c-pill-wide { grid-column: span 2; }
.c-panel-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 8px; }
.c-pill-v::-webkit-outer-spin-button,
.c-pill-v::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 底部主按钮 ---------- */
.c-cta {
  position: fixed;
  left: 50%;
  bottom: calc(66px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(480px, 100%);
  padding: 10px 16px 0;
  z-index: 45;
  background: linear-gradient(180deg, rgba(11, 11, 16, 0), rgba(11, 11, 16, 0.92) 45%);
}
.c-cta .c-btn { min-height: 46px; font-size: 15px; border-radius: 14px; }
.c-screen.c-with-cta { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

/* ---------- 筛选结果 ---------- */
.c-result-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.c-sort-select { width: auto; padding: 7px 30px 7px 10px; font-size: 13px; border-radius: 10px; }
.c-result-body { min-height: calc(100dvh - 260px); }

/* ---------- 合集 ---------- */
.c-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 18px 0 10px; }
.c-gallery-title { font-size: 16px; font-weight: 700; }
.c-gallery { display: flex; flex-direction: column; gap: 10px; padding-bottom: 80px; }
.c-gimg { background: #0f0f15; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.c-gimg img { width: 100%; display: block; }
.c-gcap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--c-muted);
}
.c-glist { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-bottom: 12px; }
.c-gcard {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 10px;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.c-gcover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #22222c; flex: 0 0 52px; }
.c-gbody { flex: 1; min-width: 0; }
.c-gtitle { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-gmeta { font-size: 11px; color: var(--c-muted); margin-top: 3px; }
.c-gcard .c-ico { width: 16px; height: 16px; color: #6f6f7d; flex: 0 0 16px; }

/* ---------- 我的 ---------- */
.c-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #191922, #14141b);
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 16px;
  margin-top: 4px;
}
.c-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3d6e, #7c3aed);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  flex: 0 0 56px;
}
.c-profile-main { min-width: 0; }
.c-profile-name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.c-badge { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: #2a2a35; color: #c9c9d4; }
.c-badge.vip { background: rgba(255, 193, 7, 0.15); color: #ffd166; }
.c-badge.svip { background: rgba(255, 61, 110, 0.16); color: #ff8aa6; }

.c-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 14px 0;
  margin-top: 12px;
}
.c-stat { text-align: center; }
.c-stat b { display: block; font-size: 18px; font-weight: 700; }
.c-stat span { font-size: 11px; color: var(--c-muted); }

.c-sec-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; font-size: 15px; font-weight: 700; }
.c-hscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px 4px;
}
.c-hscroll::-webkit-scrollbar { display: none; }
.c-hcard {
  flex: 0 0 132px;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.c-hcard img { width: 100%; height: 78px; object-fit: cover; display: block; background: #22222c; }
.c-hcard span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 9px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-hcard em { display: block; font-style: normal; font-size: 11px; color: var(--c-muted); padding: 2px 9px 9px; }

.c-menu { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 16px; margin-top: 14px; overflow: hidden; }
.c-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #21212a;
  color: var(--c-ink);
  padding: 14px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.c-menu-item:last-child { border-bottom: 0; }
.c-menu-item.danger { color: #ff6b81; }
.c-menu-label { flex: 1; min-width: 0; }
.c-menu-right { font-size: 12px; color: var(--c-muted); }
.c-menu-item .c-ico { width: 16px; height: 16px; color: #6f6f7d; }

/* ---------- 邀请 ---------- */
.c-invite-hero { margin-top: 4px; text-align: center; }
.c-invite-code { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #ff8aa6; margin: 8px 0 14px; }
.c-invite-hero .c-actions { justify-content: center; }
.c-invite-hero .c-actions .c-btn { flex: 0 0 auto; }
.c-reward {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #21212a;
  font-size: 13px;
}
.c-reward:last-child { border-bottom: 0; }
.c-reward b { color: #ff96ad; }
.c-list { display: flex; flex-direction: column; }
.c-list-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #21212a;
  font-size: 12px;
}
.c-list-row:last-child { border-bottom: 0; }
.c-fb { padding: 8px 0; border-bottom: 1px solid #21212a; }
.c-fb-content { font-size: 13px; line-height: 1.6; }
.c-fb-reply {
  margin-top: 6px;
  background: rgba(255, 61, 110, 0.08);
  border: 1px solid rgba(255, 61, 110, 0.22);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  color: #ffb3c2;
}
.c-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c9c9d4; padding: 4px 0; }

/* ---------- 暗色底部弹层 ---------- */
.c-sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.c-sheet {
  --c-panel: #16161d;
  --c-panel2: #1d1d26;
  --c-line: #2a2a34;
  --c-ink: #f4f4f7;
  --c-muted: #8d8d9a;
  --c-accent: #ff3d6e;
  width: min(480px, 100%);
  max-height: 88dvh;
  overflow: auto;
  background: #14141c;
  color: var(--c-ink);
  border-radius: 20px 20px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}
.c-sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: #33333f; margin: 2px auto 10px; }
.c-sheet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.c-sheet-head h3 { margin: 0; font-size: 17px; }
.c-sheet-x {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #22222c;
  color: #c9c9d4;
  cursor: pointer;
}
.c-sheet-desc { font-size: 12px; color: var(--c-muted); line-height: 1.7; margin-bottom: 8px; }
.c-sheet-body { display: flex; flex-direction: column; gap: 10px; padding-bottom: 4px; }
.c-sheet-sec { margin-top: 10px; }
.c-sheet-sec-title { font-size: 12px; color: var(--c-muted); margin: 10px 0 8px; letter-spacing: 0.02em; }
.c-sheet .c-menu-item { border-radius: 10px; border-bottom: 1px solid #21212a; }
.c-sheet .c-menu-item:last-child { border-bottom: 0; }

.c-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: #1a1a23;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
  cursor: pointer;
}
.c-opt.on { border-color: rgba(255, 61, 110, 0.6); background: rgba(255, 61, 110, 0.08); }
.c-opt-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #4a4a58;
  flex: 0 0 16px;
  margin-top: 2px;
}
.c-opt.on .c-opt-dot {
  border-color: var(--c-accent);
  background: radial-gradient(circle, var(--c-accent) 0 45%, transparent 46%);
}
.c-opt b { display: block; font-size: 14px; }
.c-opt-desc { display: block; font-size: 11px; color: var(--c-muted); margin-top: 3px; }
.c-opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-opt.static { cursor: default; }

.c-seg { display: flex; background: #1a1a23; border: 1px solid var(--c-line); border-radius: 12px; padding: 3px; gap: 3px; }
.c-seg-btn {
  flex: 1;
  border: 0;
  background: transparent;
  color: #a5a5b2;
  font-size: 12px;
  padding: 8px 6px;
  border-radius: 9px;
  cursor: pointer;
}
.c-seg-btn.on { background: rgba(255, 61, 110, 0.16); color: #ff96ad; }

.c-quota { background: #1a1a23; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px; }
.c-quota-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.c-bar { height: 6px; border-radius: 3px; background: #2a2a35; margin-top: 10px; overflow: hidden; }
.c-bar-fill { height: 100%; background: linear-gradient(90deg, #ff3d6e, #ff2f7d); border-radius: 3px; }

@media (max-width: 480px) {
  .c-screen { padding-left: 14px; padding-right: 14px; }
  .c-cta { padding-left: 14px; padding-right: 14px; }
  .c-hscroll { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
}

/* 归组弹层里的复选框 */
.c-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: #ff3d6e;
  flex: 0 0 18px;
}

/* ---------- 演出搜索下拉 ---------- */
.c-combo { position: relative; flex: 1; min-width: 0; }
.c-combo-input {
  width: 100%;
  background: var(--c-panel2);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  color: var(--c-ink);
  padding: 11px 34px 11px 12px;
  font-size: 16px;
  outline: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d8d9a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.c-combo-input:focus { border-color: rgba(255, 61, 110, 0.5); box-shadow: 0 0 0 2px rgba(255, 61, 110, 0.22); }
.c-combo-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #1b1b24;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  max-height: 260px;
  overflow: auto;
  z-index: 30;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.c-combo.open .c-combo-list { display: block; }
.c-combo-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--c-ink);
  padding: 11px 12px;
  font-size: 14px;
  cursor: pointer;
}
.c-combo-item:hover { background: #242430; }
.c-combo-count { color: var(--c-muted); font-size: 11px; flex: 0 0 auto; }
.c-combo-empty { padding: 14px; color: var(--c-muted); font-size: 12px; }

/* ---------- 筛选结果列表 ---------- */
.c-res-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.c-res-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
  cursor: pointer;
}
.c-res-main { flex: 1; min-width: 0; }
.c-res-title {
  font-size: 13px;
  font-weight: 600;
  color: #d9d9e3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-res-meta { font-size: 12px; color: var(--c-muted); margin-top: 3px; word-break: break-word; }
.c-res-note { font-size: 12px; color: #b9b9c6; margin-top: 4px; line-height: 1.5; word-break: break-word; }
.c-res-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.c-tag { font-size: 10px; color: #c9c9d4; background: #24242e; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.c-res-price { flex: 0 0 auto; text-align: right; padding-top: 1px; }
.c-res-price b { display: block; font-size: 17px; color: #ff5c85; }
.c-res-price span { font-size: 10px; color: var(--c-muted); }
.c-result-tip { padding: 12px 0 0; text-align: center; }
.c-result-foot { padding: 16px 0 8px; }
.c-source img { width: 100%; display: block; border-radius: 12px; }
.c-source-copy { padding: 12px 0 4px; }
.c-gcard { padding: 14px; }

/* 导出售后图片预览 */
.c-brand-img { margin: 8px 0; }
.c-brand-img img { max-width: 100%; border-radius: 10px; display: block; }
.c-brand-img .c-hint { padding: 8px 0; }

/* 我的合集：纯文字 + 导出日期 */
.c-dl-list { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.c-dl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #21212a;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 13px 14px;
  font-size: 13px;
  cursor: pointer;
}
.c-dl-row:last-child { border-bottom: 0; }
.c-dl-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-dl-date { flex: 0 0 auto; font-size: 11px; color: var(--c-muted); }

/* 添加到桌面步骤 */
.c-steps { margin: 4px 0 6px; padding-left: 20px; color: #c9c9d4; font-size: 13px; line-height: 1.9; }
.c-steps li { margin: 2px 0; }

.c-load-more { margin-top: 10px; }

/* 长列表渲染优化：视口外的行跳过布局与绘制，滚动/重渲更顺滑 */
.c-res-row, .c-dl-row, .c-coll-row { content-visibility: auto; contain-intrinsic-size: auto 64px; }

/* ---------- 电脑端适配：铺满全屏，列数随宽度自适应 ---------- */
@media (min-width: 768px) {
  #app.c-mode .view {
    background: radial-gradient(1600px 700px at 50% -160px, #1a1a24 0%, #0a0a0f 60%);
  }
  .c-screen {
    max-width: none;
    padding-left: 36px;
    padding-right: 36px;
    border: 0;
    box-shadow: none;
  }
  .c-screen .c-head { padding-top: calc(26px + env(safe-area-inset-top)); }
  .tabbar { width: 100%; border-left: 0; border-right: 0; }
  .c-sheet { width: min(720px, 100%); border-radius: 18px 18px 0 0; }
  .c-head h1 { font-size: 25px; }
  .c-gmeta, .c-res-meta { font-size: 13px; }
  /* 公告条：桌面端放大内边距/字号，文字同样滚动 */
  .c-notice { margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: 13px; }
  .c-notice-tag { font-size: 13px; }
  #app.c-mode.is-admin .main { padding-left: 0; }
}
@media (min-width: 1100px) {
  .c-screen { padding-left: 48px; padding-right: 48px; }
  .c-head h1 { font-size: 27px; }
  /* 合集卡片自适应多列 */
  .c-glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr)); gap: 12px; }
  /* 我的页菜单自适应多列 */
  .c-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 10px; }
  /* 合集图库自适应多列 */
  .c-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 16px; align-items: start; }
}
