/* =========================================================
   一刻 · 短视频
   ========================================================= */

:root {
  --text-2: rgba(255, 255, 255, .64);
  --text-3: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .09);
  --accent: #ff2d55;
  --grad: linear-gradient(135deg, #ff2d55 0%, #ff6b3d 100%);
  --tab-h: 58px;
  --sb-h: 10px;
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #e8ecf4;
  background-image:
    radial-gradient(900px 520px at 12% -8%, #fdfdff 0%, rgba(253, 253, 255, 0) 60%),
    radial-gradient(760px 460px at 92% 108%, #d9e0f0 0%, rgba(217, 224, 240, 0) 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- 桌面端：居中窄列（移动端全屏） ---------- */
.stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

.device {
  position: relative;
  width: 390px;
  height: 100dvh;
  max-height: none;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  isolation: isolate;
}

/* ---------- 页面 ---------- */
.app { position: absolute; inset: 0; }

.page {
  position: absolute;
  inset: 0;
  padding-bottom: var(--tab-h);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s;
}
.page.is-active { opacity: 1; visibility: visible; }

/* =========================================================
   刷内容
   ========================================================= */
.page--feed { background: #000; }

.feed {
  position: absolute;
  inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.feed::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #08080a;
}

.card-media { position: absolute; inset: 0; overflow: hidden; }

.card-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: opacity .5s ease;
}
.card.is-video-ready .card-poster { opacity: 0; }

.card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  background: #000;
}
.card.is-video-ready .card-video { opacity: 1; }

.card.is-video-error .card-poster,
.card.is-paused .card-poster { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.15) translate3d(-1.5%, -2%, 0); }
}

.card-shade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 18%),
    linear-gradient(0deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 16%);
}

.card.is-paused .card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .22);
}

.card-state {
  position: absolute;
  top: 50%; left: 50%;
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .34);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(.86);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  z-index: 6;
}
.card-state svg { width: 32px; height: 32px; fill: #fff; stroke: none; margin-left: 3px; }
.card.is-paused .card-state { opacity: 1; transform: scale(1); }

.card-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: rgba(255, 255, 255, .14);
  z-index: 7;
}
.card-progress i {
  display: block; height: 100%; width: 0%;
  background: rgba(255, 255, 255, .88);
}

/* 声音 */
.sound-btn {
  position: absolute;
  top: calc(var(--sb-h) + 6px);
  right: 14px;
  width: 32px; height: 32px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  color: #fff;
  z-index: 31;
  cursor: pointer;
  transition: transform .15s;
}
.sound-btn:active { transform: scale(.9); }

.feed-hint {
  position: absolute;
  left: 50%;
  bottom: calc(var(--tab-h) + 152px);
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  z-index: 31;
  pointer-events: none;
  opacity: 0;
  animation: hintIn .4s .8s forwards;
  transition: opacity .5s;
}
.feed-hint.is-gone { opacity: 0 !important; }
@keyframes hintIn { to { opacity: 1; } }

/* ---------- 右侧操作（仅数量展示） ---------- */
.rail {
  position: absolute;
  right: 10px;
  bottom: calc(var(--tab-h) + 26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 8;
}

.rail-btn {
  border: 0;
  background: none;
  padding: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font: inherit;
  width: 46px;
  cursor: default;
}
.rail-btn .ico { width: 31px; height: 31px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45)); transition: transform .18s cubic-bezier(.2, 1.6, .4, 1); }
.rail-btn b { font-size: 11.5px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }

.rail-btn--like { cursor: pointer; }
.rail-btn--like:active .ico { transform: scale(.84); }
.rail-btn--like.is-on { color: var(--accent); }
.rail-btn--like.is-on .ico { fill: var(--accent); stroke: var(--accent); }
.rail-btn--like.pop .ico { animation: pop .42s cubic-bezier(.2, 1.7, .4, 1); }
@keyframes pop {
  0% { transform: scale(1); }
  38% { transform: scale(1.34); }
  62% { transform: scale(.94); }
  100% { transform: scale(1); }
}

/* 双击爱心 */
.burst {
  position: absolute;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  pointer-events: none;
  z-index: 12;
  color: var(--accent);
  animation: burst .82s cubic-bezier(.15, .9, .3, 1) forwards;
}
.burst svg { width: 100%; height: 100%; fill: currentColor; stroke: none; filter: drop-shadow(0 4px 16px rgba(255, 45, 85, .5)); }
@keyframes burst {
  0% { opacity: 0; transform: scale(.2) rotate(-14deg); }
  26% { opacity: 1; transform: scale(1.18) rotate(4deg); }
  46% { transform: scale(.96) rotate(-2deg); }
  62% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: translateY(-52px) scale(.82); }
}
.spark {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff5e7d;
  pointer-events: none;
  z-index: 11;
  animation: spark .62s ease-out forwards;
}
@keyframes spark {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); }
}

/* =========================================================
   创作
   ========================================================= */
.page--create { background: #08080b; }

.cr-scroll {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: calc(var(--sb-h) + 18px) 20px 26px;
}
.cr-scroll::-webkit-scrollbar { display: none; }

.cr-head { margin-bottom: 20px; }
.cr-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cr-head p { margin: 0; font-size: 12.5px; color: var(--text-3); }

.cr-drop {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1.5px dashed rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: #101015;
  color: #fff;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.cr-drop:active { background: #131319; }

.cr-drop-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.cr-drop-empty[hidden] { display: none; }
.cr-drop-ico {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  display: grid; place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 4px;
}
.cr-drop-empty b { font-size: 14px; font-weight: 600; }
.cr-drop-empty i { font-size: 11.5px; color: var(--text-3); font-style: normal; }

.cr-thumb {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cr-thumb[hidden] { display: none; }

.cr-change {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  color: #fff;
  z-index: 2;
}
.cr-change[hidden] { display: none; }

.cr-form { margin-top: 20px; }

.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  margin-bottom: 20px;
}
.seg-btn {
  flex: 1;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 13px;
  padding: 9px 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.seg-btn .ico { width: 15px; height: 15px; }
.seg-btn.is-active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }

.cr-styles {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.cr-styles::-webkit-scrollbar { display: none; }

.cr-style {
  flex: none;
  width: 82px;
  border: 0;
  background: none;
  padding: 0;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cr-style-thumb {
  display: block;
  width: 82px;
  height: 104px;
  border-radius: 9px;
  background: #1a1a22 center/cover no-repeat;
  background-image: linear-gradient(150deg, #4b4b5e 0%, #26262f 55%, #191920 100%);
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.cr-style.is-active .cr-style-thumb {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(255, 45, 85, .55);
}
.cr-style b { display: block; font-size: 12px; font-weight: 600; margin-top: 7px; }
.cr-style i { display: block; font-size: 10px; color: var(--text-3); font-style: normal; margin-top: 2px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 风格预览滤镜 */
.cr-style-thumb[data-look="comic"] { filter: saturate(1.7) contrast(1.28); }
.cr-style-thumb[data-look="neon"] { filter: saturate(2.1) contrast(1.2) brightness(.85) hue-rotate(-12deg); }
.cr-style-thumb[data-look="vintage"] { filter: sepia(.5) saturate(.82) contrast(.94); }
.cr-style-thumb[data-look="oil"] { filter: saturate(1.4) contrast(1.1) blur(.6px); }
.cr-style-thumb[data-look="sketch"] { filter: grayscale(1) contrast(1.4); }
.cr-style-thumb[data-look="zoom"] { animation: thumbZoom 3.4s ease-in-out infinite alternate; }
.cr-style-thumb[data-look="pulse"] { animation: thumbPulse 1.5s ease-in-out infinite alternate; }
.cr-style-thumb[data-look="flow"] { filter: saturate(1.2) brightness(1.08); }
.cr-style-thumb[data-look="glitch"] { filter: hue-rotate(8deg) contrast(1.15); }
.cr-style-thumb[data-look="film"] { filter: sepia(.22) contrast(.96) brightness(1.02); }
@keyframes thumbZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes thumbPulse { from { transform: scale(1.02); } to { transform: scale(1.09); } }

.cr-go {
  width: 100%;
  height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(255, 45, 85, .75);
  transition: transform .16s, opacity .2s;
}
.cr-go .ico { width: 18px; height: 18px; }
.cr-go:active { transform: scale(.985); }
.cr-go:disabled { opacity: .38; box-shadow: none; cursor: default; }

.cr-tip { margin: 12px 0 0; text-align: center; font-size: 11px; color: rgba(255, 255, 255, .22); }

/* ---------- 生成结果层 ---------- */
.cr-overlay {
  position: absolute;
  inset: 0;
  z-index: 78;
  background: #08080a;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s, visibility .24s;
}
.cr-overlay[data-open="true"] { opacity: 1; visibility: visible; }

.cr-close {
  position: absolute;
  top: calc(var(--sb-h) + 4px);
  right: 14px;
  width: 34px; height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  z-index: 3;
  cursor: pointer;
}

.cr-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.cr-stage video, .cr-stage img {
  position: absolute;
  top: 62px;
  left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 70px);
  object-fit: contain;
  border-radius: 10px;
}

.cr-loading {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
}
.cr-loading[hidden] { display: none; }
.cr-loading p { margin: 0; font-size: 13px; }
.cr-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .13);
  border-top-color: var(--accent);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cr-bar {
  width: 176px; height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.cr-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .12s linear; }

.cr-error {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  text-align: center;
  color: var(--text-3);
  display: grid;
  gap: 8px;
}
.cr-error b { font-size: 14px; color: rgba(255, 255, 255, .8); }
.cr-error span { font-size: 12.5px; line-height: 1.6; }

.cr-actions {
  display: flex;
  gap: 10px;
  padding: 10px 20px calc(22px + env(safe-area-inset-bottom));
  background: #08080a;
}
.cr-actions[hidden] { display: none; }

.cr-btn {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: transform .15s, filter .2s;
}
.cr-btn .ico { width: 17px; height: 17px; }
.cr-btn:active { transform: scale(.97); }
.cr-btn--ghost { background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .9); }
.cr-btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -12px rgba(255, 45, 85, .8); }

/* ---------- 带货商品挂件 ---------- */
.goods {
  position: absolute;
  left: 12px;
  bottom: calc(var(--tab-h) + 16px);
  width: 96px;
  height: 124px;
  border-radius: 7px;
  overflow: hidden;
  z-index: 9;
  cursor: pointer;
  background: #1a1a20;
  border: 1.5px solid rgba(255, 255, 255, .3);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .65);
  animation: goodsIn .5s .4s both cubic-bezier(.2, .9, .3, 1);
}
@keyframes goodsIn { from { opacity: 0; transform: translateY(14px); } }

.goods-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.goods-tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 6px 7px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .32) 58%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.goods-tag .ico { width: 11px; height: 11px; stroke-width: 2; flex: none; }
.goods-tag em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  margin-right: 1px;
  vertical-align: 1px;
}

.goods-close {
  position: absolute;
  top: 5px; right: 5px;
  width: 19px; height: 19px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
}
.goods-close .ico { stroke-width: 2.8; }

/* =========================================================
   通用弹层
   ========================================================= */
.sheet { position: absolute; inset: 0; z-index: 70; pointer-events: none; }
.sheet[data-open="true"] { pointer-events: auto; }

.sheet-mask {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .3s;
}
.sheet[data-open="true"] .sheet-mask { opacity: 1; }

.sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #16161b;
  border-radius: 12px 12px 0 0;
  transform: translateY(101%);
  transition: transform .34s cubic-bezier(.22, .9, .28, 1);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
}
.sheet[data-open="true"] .sheet-panel { transform: translateY(0); }

.sheet-grip {
  width: 38px; height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .16);
  margin: 8px auto 0;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }

.icon-btn {
  width: 30px; height: 30px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* 确认订单 */
.co-goods { display: flex; gap: 12px; padding: 16px 18px; }
.co-goods img { width: 68px; height: 68px; border-radius: 7px; object-fit: cover; background: #26262e; flex: none; }
.co-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
.co-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-price { display: flex; align-items: baseline; gap: 7px; }
.co-price b { font-size: 18px; color: #ff4d6a; font-weight: 800; }
.co-price s { font-size: 11px; color: var(--text-3); }

.co-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--text-3);
  border-top: 1px solid var(--line);
}
.co-row b { color: rgba(255, 255, 255, .8); font-weight: 500; font-size: 12.5px; }

.co-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-3);
}
.co-total b { font-size: 20px; color: #ff4d6a; font-weight: 800; }
.co-foot { padding: 4px 18px 18px; }

.btn-primary {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(255, 45, 85, .8);
}
.btn-primary:active { transform: scale(.985); }

/* =========================================================
   订单页
   ========================================================= */
.order-page {
  position: absolute;
  inset: 0;
  z-index: 76;
  background: #0a0a0d;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .9, .28, 1);
}
.order-page[data-open="true"] { transform: translateX(0); }

.op-head { display: flex; align-items: center; gap: 10px; padding: calc(var(--sb-h) + 4px) 16px 6px; }
.op-head h1 { margin: 0; font-size: 16px; font-weight: 700; }
.op-back {
  width: 32px; height: 32px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transform: rotate(180deg);
  cursor: pointer;
}

.op-tabs { display: flex; gap: 8px; padding: 10px 16px 14px; }
.op-tabs button {
  border: 0;
  background: rgba(255, 255, 255, .07);
  color: var(--text-2);
  font: inherit;
  font-size: 12.5px;
  padding: 7px 15px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.op-tabs button.is-active { background: #fff; color: #101014; font-weight: 700; }

.op-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
}
.op-list::-webkit-scrollbar { display: none; }

.order { background: #14141a; border-radius: 10px; padding: 12px 14px; }
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 10px;
}
.os { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.os--wait { background: rgba(255, 150, 60, .14); color: #ffa64d; }
.os--done { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); }

.order-mid { display: flex; gap: 10px; }
.order-mid img { width: 62px; height: 62px; border-radius: 6px; object-fit: cover; background: #22222a; flex: none; }
.order-info { flex: 1; min-width: 0; }
.order-info p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-price {
  font-size: 13px;
  color: #ff4d6a;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.order-price s { font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.order-price em { font-style: normal; font-size: 11px; color: var(--text-3); font-weight: 400; }

.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
}
.order-act { display: flex; align-items: center; gap: 10px; }
.order-act b { font-size: 12.5px; color: rgba(255, 255, 255, .9); font-weight: 600; }
.order-act button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: none;
  color: rgba(255, 255, 255, .85);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.op-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.op-empty .ico { width: 34px; height: 34px; opacity: .35; margin-bottom: 4px; }
.op-empty b { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.op-empty span { font-size: 12px; line-height: 1.7; }

/* 「我的」订单入口 */
.order-entry {
  display: flex;
  align-items: center;
  gap: 11px;
  width: calc(100% - 40px);
  margin: 0 20px 18px;
  padding: 13px 15px;
  border: 0;
  border-radius: 10px;
  background: #14141a;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.order-entry:active { background: #1a1a21; }
.oe-ico {
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 77, 106, .14);
  color: #ff4d6a;
  flex: none;
  display: grid;
  place-items: center;
}
.oe-txt { flex: 1; min-width: 0; }
.oe-txt b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.oe-txt i { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.oe-arrow { width: 14px; height: 14px; color: var(--text-3); flex: none; }

/* =========================================================
   我的
   ========================================================= */
.page--me { background: #0a0a0d; }

.me-scroll {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding-top: calc(var(--sb-h) + 30px);
  padding-bottom: 20px;
}
.me-scroll::-webkit-scrollbar { display: none; }

.profile { padding: 8px 20px 0; }
.profile-avatar {
  width: 82px; height: 82px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  border: 2px solid rgba(255, 255, 255, .1);
  display: block;
  margin-bottom: 15px;
}
.profile-name { margin: 0 0 5px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.profile-id { margin: 0 0 9px; font-size: 12.5px; color: var(--text-3); }
.profile-bio { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 320px; }

.stats { display: flex; align-items: center; margin-bottom: 22px; }
.stat { display: flex; align-items: baseline; gap: 5px; }
.stat b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--text-3); }
.stat-sep { width: 1px; height: 11px; background: var(--line); margin: 0 14px; }

.me-title {
  padding: 0 20px 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.me-title b { font-weight: 500; font-size: 12px; color: var(--text-3); margin-left: 3px; }

.me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding-top: 2px;
  min-height: 120px;
}

.cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #14141a;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
}
.cell img, .cell video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.cell:active img { transform: scale(1.06); }
.cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 46%);
}
.cell-badge {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 2;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}
.cell--empty { background: #101015; }

.me-empty {
  grid-column: 1 / -1;
  padding: 52px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  color: var(--text-3);
}
.me-empty .ico { width: 32px; height: 32px; opacity: .35; margin-bottom: 4px; }
.me-empty b { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.me-empty span { font-size: 12px; line-height: 1.7; }

.me-footer {
  margin: 40px 0 30px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .18);
  letter-spacing: .08em;
}

/* =========================================================
   底部 Tab
   ========================================================= */
.tabbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--tab-h);
  display: flex;
  z-index: 60;
  background: rgba(10, 10, 13, .84);
  backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .4);
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: color .2s;
}
.tab .ico { width: 23px; height: 23px; transition: transform .22s cubic-bezier(.2, 1.5, .4, 1); }
.tab span { font-size: 10.5px; letter-spacing: .02em; }
.tab.is-active { color: #fff; }
.tab.is-active .ico { fill: currentColor; fill-opacity: .16; stroke-width: 2; transform: translateY(-1px); }
.tab.is-active span { font-weight: 700; }

/* 中间创作按钮 */
.tab--create { justify-content: center; }
.tab--create .fab {
  width: 36px; height: 36px;
  padding: 8px;
  border-radius: 8px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px -5px rgba(255, 45, 85, .7);
  transition: transform .22s cubic-bezier(.2, 1.5, .4, 1);
}
.tab--create .fab .ico { width: 100%; height: 100%; stroke-width: 2.6; fill: none; fill-opacity: 0; }
.tab--create.is-active .fab { transform: scale(1.06); }
.tab--create > span:last-child { font-size: 10.5px; color: rgba(255, 255, 255, .72); }
.tab--create.is-active > span:last-child { color: #fff; }

/* =========================================================
   全屏预览
   ========================================================= */
.viewer {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 75;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s, visibility .24s;
}
.viewer[data-open="true"] { opacity: 1; visibility: visible; }
.viewer video, .viewer img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.viewer-close {
  position: absolute;
  top: calc(var(--sb-h) + 4px);
  right: 14px;
  width: 34px; height: 34px;
  padding: 8px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  z-index: 2;
  cursor: pointer;
}

/* Toast */
.toast {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.9);
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(20, 20, 26, .92);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .24s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  max-width: 82%;
}
.toast.is-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 启动 */
.splash {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: #08080a;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  transition: opacity .5s ease, visibility .5s;
}
.splash.is-hidden { opacity: 0; visibility: hidden; }
.splash-logo {
  width: 62px; height: 62px;
  border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 12px 34px -8px rgba(255, 45, 85, .6);
  animation: logoIn .7s cubic-bezier(.2, 1.3, .4, 1) both;
}
.splash-logo svg { width: 26px; height: 26px; fill: #fff; stroke: none; margin-left: 3px; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7); } }
.splash-name { font-size: 22px; font-weight: 700; letter-spacing: .32em; text-indent: .32em; }
.splash-tip { font-size: 11.5px; color: rgba(255, 255, 255, .3); letter-spacing: .18em; margin-top: 6px; }

/* =========================================================
   移动端全屏
   ========================================================= */
@media (max-width: 560px) {
  body { background: #000; }
  .stage { width: 100%; height: 100%; }
  .device {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  :root { --sb-h: 10px; }
  .sound-btn { top: calc(env(safe-area-inset-top) + 10px); }  .cr-scroll { padding-top: calc(env(safe-area-inset-top) + 26px); }
  .me-scroll { padding-top: calc(env(safe-area-inset-top) + 32px); }
  .viewer-close, .cr-close { top: calc(env(safe-area-inset-top) + 10px); }
  .tabbar { height: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .page { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .rail { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 26px); }
  .goods { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px); }
  .op-head { padding-top: calc(env(safe-area-inset-top) + 10px); }
  .feed-hint { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 152px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 视频叠加层：白色圆形底 + 深色图标，任何画面都清晰 */
.rail { gap: 12px; }
.rail-btn {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 46px;
  color: #15151d;
  cursor: default;
}
.rb-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #15151d;
  border: 1px solid rgba(17, 17, 26, .05);
  box-shadow: 0 4px 14px rgba(20, 24, 50, .18);
  transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), background .2s;
}
.rb-ico .ico {
  width: 22px;
  height: 22px;
  filter: none;
  stroke-width: 1.8;
}
.rail-btn b {
  font-size: 11.5px;
  font-weight: 700;
  color: #15151d;
  text-shadow: 0 0 7px rgba(255, 255, 255, .95), 0 1px 2px rgba(255, 255, 255, .9);
  font-variant-numeric: tabular-nums;
}

.rail-btn--like { cursor: pointer; }
.rail-btn--like:active .rb-ico { transform: scale(.9); }
.rail-btn--like.is-on .rb-ico {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 45, 85, .45);
}
.rail-btn--like.is-on .rb-ico .ico { fill: #fff; stroke: #fff; }
.rail-btn--like.is-on b { color: #e01340; }
.rail-btn--like.pop .rb-ico { animation: pop .42s cubic-bezier(.2, 1.7, .4, 1); }

/* 商品挂件在浅色画面上也立得住 */
.goods {
  border-color: rgba(17, 17, 26, .08);
  box-shadow: 0 8px 22px -6px rgba(20, 24, 50, .38);
}

/* 中间按钮阴影收敛一点，白底上不晕红 */
.tab--create .fab { box-shadow: 0 4px 12px -7px rgba(255, 45, 85, .55); }

/* =========================================================
   我的：信息区居中 + 细节打磨
   ========================================================= */
.me-scroll { padding-top: calc(var(--sb-h) + 34px); }

.profile {
  padding: 0 26px;
  text-align: center;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-width: 2px;
  border-color: rgba(17, 17, 26, .06);
  box-shadow: 0 8px 22px -10px rgba(20, 24, 50, .3);
}
.profile-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.profile-id { font-size: 12.5px; color: #9a9aa6; margin: 0 0 12px; }
.profile-bio {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 320px;
  margin: 0 auto 22px;
}

.stats { justify-content: center; margin-bottom: 24px; }
.stat { gap: 5px; }
.stat b { font-size: 18px; }
.stat span { font-size: 12.5px; }
.stat-sep { margin: 0 18px; height: 12px; background: rgba(17, 17, 26, .1); }

.order-entry {
  width: calc(100% - 40px);
  margin: 0 20px 22px;
}

.me-title {
  padding: 0 22px 11px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a46;
}
.me-title b { font-size: 12px; }

.me-empty { padding: 40px 20px 46px; gap: 6px; }
.me-empty .ico { width: 30px; height: 30px; opacity: .3; }
.me-empty b { font-size: 13.5px; font-weight: 600; }
.me-empty span { font-size: 12px; line-height: 1.65; color: #a2a2ae; }
.me-footer { margin: 24px 0 26px; }

/* =========================================================
   订单页：居中标题 + 满屏空态
   ========================================================= */
.op-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--sb-h) + 6px) 14px 10px;
}
.op-back {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 26, .05);
  color: #2c2c36;
  transform: rotate(180deg);
  cursor: pointer;
  transition: background .2s;
}
.op-back:active { background: rgba(17, 17, 26, .1); }
.op-head h1 {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #12121a;
}
.op-spacer { width: 32px; flex: none; }

.op-tabs {
  justify-content: center;
  padding: 6px 16px 16px;
  gap: 8px;
}
.op-tabs button {
  padding: 7px 16px;
  font-size: 12.5px;
  border: 1px solid rgba(17, 17, 26, .06);
  box-shadow: none;
  transition: background .2s, color .2s, border-color .2s;
}
.op-tabs button.is-active {
  background: #12121a;
  color: #fff;
  border-color: #12121a;
}

.op-list { padding: 0 14px calc(16px + env(safe-area-inset-bottom)); }

.op-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 36px 54px;
  gap: 7px;
}
.op-empty .ico {
  width: 44px;
  height: 44px;
  opacity: 1;
  color: #d2d4de;
  margin-bottom: 10px;
  stroke-width: 1.4;
}
.op-empty b {
  font-size: 14px;
  font-weight: 600;
  color: #3c3c48;
}
.op-empty span {
  font-size: 12.5px;
  line-height: 1.65;
  color: #a2a2ae;
}
.op-empty-btn {
  margin-top: 16px;
  height: 38px;
  padding: 0 24px;
  border: 1px solid rgba(17, 17, 26, .12);
  border-radius: 13px;
  background: #fff;
  color: #33333d;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.op-empty-btn:active { transform: scale(.97); background: #f2f3f7; }

/* =========================================================
   地址管理
   ========================================================= */
.op-link {
  width: 32px;
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: #6b6b78;
  text-align: center;
  cursor: pointer;
}
.op-add {
  width: 32px;
  height: 32px;
  flex: none;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 26, .05);
  color: #2c2c36;
  cursor: pointer;
}
.op-add:active { background: rgba(17, 17, 26, .1); }

.addr-page {
  position: absolute;
  inset: 0;
  z-index: 79;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .9, .28, 1);
}
.addr-page[data-open="true"] { transform: translateX(0); }

.addr-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
}
.addr-list::-webkit-scrollbar { display: none; }

.addr-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 15px 6px;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .05);
}
.addr-card.is-default { box-shadow: 0 1px 3px rgba(20, 24, 50, .05), inset 0 0 0 1.5px rgba(255, 45, 85, .3); }

.ac-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ac-top b { font-size: 14.5px; font-weight: 700; color: #12121a; }
.ac-top span { font-size: 12.5px; color: #8a8a96; }
.ac-top em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #ff2d55;
  background: rgba(255, 45, 85, .1);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
}
.ac-detail { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: #4a4a56; }

.ac-acts {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 9px 0 7px;
  border-top: 1px solid rgba(17, 17, 26, .06);
}
.ac-acts button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: #6b6b78;
  cursor: pointer;
}
.ac-acts button[data-adel] { color: #e0556b; }

.addr-form { padding: 4px 18px 0; }
.af-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.af-row > span {
  width: 62px;
  flex: none;
  font-size: 13px;
  color: #6b6b78;
  padding-top: 2px;
}
.af-row input, .af-row textarea {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: #12121a;
  outline: none;
  resize: none;
  padding: 0;
}
.af-row input::placeholder, .af-row textarea::placeholder { color: #b8b8c2; }

.af-default {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 8px;
}
.af-txt b { display: block; font-size: 13.5px; font-weight: 600; color: #12121a; margin-bottom: 2px; }
.af-txt i { font-style: normal; font-size: 11.5px; color: #9a9aa6; }
.af-foot { padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); }

.switch {
  flex: none;
  width: 46px;
  height: 27px;
  border: 0;
  border-radius: 99px;
  background: rgba(17, 17, 26, .14);
  position: relative;
  cursor: pointer;
  transition: background .22s;
}
.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .24s cubic-bezier(.3, 1.2, .4, 1);
}
.switch[aria-pressed="true"] { background: var(--accent); }
.switch[aria-pressed="true"] i { transform: translateX(19px); }

/* 确认单里的收货地址 */
.co-addr {
  display: flex;
  align-items: center;
  gap: 11px;
  width: calc(100% - 36px);
  margin: 14px 18px 4px;
  padding: 12px 13px;
  border: 0;
  border-radius: 8px;
  background: #f6f7fb;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ca-ico {
  width: 30px;
  height: 30px;
  flex: none;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 45, 85, .1);
  color: #ff2d55;
  display: grid;
  place-items: center;
}
.ca-txt { flex: 1; min-width: 0; }
.ca-txt b { display: block; font-size: 13.5px; font-weight: 600; color: #12121a; margin-bottom: 2px; }
.ca-txt i {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: #8a8a96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ca-arrow { width: 13px; height: 13px; color: #b4b4be; flex: none; }

/* 订单卡收货信息 */
.order-addr {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-size: 11.5px;
  color: #8a8a96;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-addr .ico { width: 12px; height: 12px; flex: none; color: #b4b4be; }

/* 地址表单要浮在地址页之上 */
#sheetAddr { z-index: 86; }

/* 地址表单：保存按钮撑满 + 遮罩柔化 */
#afSave { width: 100%; flex: none; }
.sheet-mask { background: rgba(20, 24, 40, .22); }

/* 上传框按图片比例自适应 */
.cr-drop {
  aspect-ratio: 16 / 10;
  height: auto;
  transition: height .32s cubic-bezier(.22, .9, .28, 1), background .2s;
}
.cr-drop.has-img { aspect-ratio: auto; }

/* 图片始终完整显示，不裁切 */
.cr-thumb { object-fit: contain; }

/* =========================================================
   积分体系 + 提示词输入
   ========================================================= */
.cr-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.cr-head-row h1 { margin: 0; }

.credit-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 11px 0 9px;
  border: 1px solid rgba(17, 17, 26, .08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .05);
  font: inherit;
  cursor: pointer;
  transition: background .2s;
}
.credit-pill:active { background: #f6f7fb; }
.credit-pill .ico { width: 13px; height: 13px; color: #f5a623; fill: #f5a623; stroke: none; }
.credit-pill b { font-size: 13.5px; font-weight: 800; color: #12121a; font-variant-numeric: tabular-nums; }
.credit-pill span { font-size: 11px; color: #9a9aa6; }

.seg-btn em {
  font-style: normal;
  font-size: 10.5px;
  color: #a2a2ae;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(17, 17, 26, .05);
}
.seg-btn.is-active em { background: rgba(255, 45, 85, .1); color: #ff2d55; }

.prompt-box {
  border: 1px solid rgba(17, 17, 26, .08);
  border-radius: 10px;
  background: #fafbfd;
  padding: 10px 14px 8px;
  transition: border-color .2s, background .2s;
}
.prompt-box:focus-within { border-color: rgba(255, 45, 85, .35); background: #fff; }
.prompt-box textarea {
  width: 100%;
  border: 0;
  background: none;
  resize: none;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: #12121a;
  outline: none;
  min-height: 46px;
  display: block;
}
.prompt-box textarea::placeholder { color: #b4b4be; }

.prompt-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.prompt-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}
.prompt-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  border: 1px solid rgba(17, 17, 26, .07);
  background: #fff;
  color: #5c5c68;
  font: inherit;
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.chip:active { background: #f2f3f7; border-color: rgba(17, 17, 26, .12); }
.prompt-count { font-size: 10.5px; color: #c4c4ce; flex: none; font-variant-numeric: tabular-nums; }

.cr-go em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .24);
  font-variant-numeric: tabular-nums;
}
.cr-go.is-short {
  background: #f0f1f6;
  color: #8a8a96;
  box-shadow: none;
}
.cr-go.is-short em { background: rgba(17, 17, 26, .06); color: #8a8a96; }
.cr-go.is-short .ico { color: #b4b4be; }

/* 我的页积分入口 */
.credit-entry {
  display: flex;
  align-items: center;
  gap: 11px;
  width: calc(100% - 40px);
  margin: 0 20px 10px;
  padding: 13px 15px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff9f0 0%, #fff3f6 100%);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter .2s;
}
.credit-entry:active { filter: brightness(.98); }
.ce-ico {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 176, 32, .18);
  color: #f0a018;
  display: grid;
  place-items: center;
  flex: none;
}
.ce-ico .ico { fill: currentColor; stroke: none; }
.ce-txt { flex: 1; min-width: 0; }
.ce-txt b {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 14px;
  font-weight: 600;
  color: #12121a;
  margin-bottom: 2px;
}
.ce-txt b i { font-style: normal; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ce-txt > i { font-style: normal; font-size: 11.5px; color: #9a9aa6; }
.ce-act {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: #ff2d55;
  padding: 5px 12px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .08);
}

/* 充值弹层 */
.sheet-panel--credit { max-height: 88%; overflow-y: auto; }

.credit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 18px 2px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff9ee 0%, #fff2f5 100%);
}
.credit-banner span { font-size: 12.5px; color: #8a8a96; }
.credit-banner b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 800;
  color: #12121a;
  font-variant-numeric: tabular-nums;
}
.credit-banner b .ico { width: 16px; height: 16px; color: #f5a623; fill: #f5a623; stroke: none; }
.credit-banner b i { font-style: normal; }

.credit-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 18px 6px;
}
.plan {
  position: relative;
  border: 1.5px solid rgba(17, 17, 26, .08);
  border-radius: 10px;
  background: #fff;
  padding: 15px 13px 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.plan.is-active { border-color: #ff2d55; background: #fff7f9; }
.plan em {
  position: absolute;
  top: -9px;
  right: 10px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #ff2d55;
  padding: 2px 7px;
  border-radius: 5px;
}
.plan b {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 19px;
  font-weight: 800;
  color: #12121a;
  font-variant-numeric: tabular-nums;
}
.plan b i { font-style: normal; font-size: 11px; font-weight: 500; color: #9a9aa6; }
.plan span { display: block; margin-top: 4px; font-size: 12.5px; color: #8a8a96; }

.credit-foot { padding: 12px 18px 4px; }
.credit-tip {
  margin: 10px 0 0;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: #b4b4be;
}

.credit-logs { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); }
.credit-logs h4 { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #8a8a96; }
.clog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(17, 17, 26, .05);
  font-size: 12.5px;
  color: #5c5c68;
}
.clog:last-child { border-bottom: 0; }
.clog b { font-weight: 700; font-variant-numeric: tabular-nums; }
.clog b.plus { color: #1aa260; }
.clog b.minus { color: #ff2d55; }

/* 生成按钮吸底 */
.cr-foot-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding: 16px 20px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 14%);
  z-index: 6;
  pointer-events: none;
}
.cr-foot-bar .cr-go { pointer-events: auto; }
.cr-foot-bar .cr-tip { pointer-events: auto; }
.cr-scroll { padding-bottom: 132px; }
.cr-go { margin-top: 0; }

/* 充值按钮撑满 */
.credit-foot .cr-btn { width: 100%; flex: none; }

/* =========================================================
   我的页：积分 + 订单入口统一成一组
   ========================================================= */
.credit-entry,
.order-entry {
  width: calc(100% - 40px);
  margin: 0 20px 10px;
  padding: 14px 15px;
  min-height: 68px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .05), inset 0 0 0 1px rgba(17, 17, 26, .045);
}
.order-entry { margin-bottom: 20px; }

.ce-ico { background: rgba(255, 176, 32, .15); color: #f0a018; }
.oe-ico { background: rgba(255, 77, 106, .1); color: #ff4d6a; }

.ce-txt b i { color: #f0a018; }
.ce-act {
  background: rgba(255, 45, 85, .08);
  box-shadow: none;
  color: #ff2d55;
}

/* =========================================================
   我的页：积分 / 订单并排
   ========================================================= */
.me-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 20px;
}

.credit-entry,
.order-entry {
  width: 100%;
  margin: 0;
  padding: 12px 12px;
  min-height: 66px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .05), inset 0 0 0 1px rgba(17, 17, 26, .045);
  display: flex;
  align-items: center;
  gap: 9px;
}

.ce-ico,
.oe-ico {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 6px;
  flex: none;
  display: grid;
  place-items: center;
}

.ce-txt,
.oe-txt { flex: 1; min-width: 0; }

.ce-txt b,
.oe-txt b {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 13px;
  font-weight: 700;
  color: #12121a;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
}
.ce-txt b i { font-style: normal; font-size: 15.5px; font-weight: 800; color: #f0a018; font-variant-numeric: tabular-nums; }

.ce-txt > i,
.oe-txt > i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  line-height: 1.2;
  color: #9a9aa6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.me-arrow { width: 12px; height: 12px; color: #b0b0bc; flex: none; }

/* =========================================================
   商品挂件：去黑边，改用倒影 & 投影突出
   ========================================================= */
.goods {
  border: 0;
  background: transparent;
  box-shadow: 0 14px 28px -10px rgba(8, 12, 30, .55), 0 3px 10px -4px rgba(8, 12, 30, .3);
  -webkit-box-reflect: unset;
  bottom: calc(var(--tab-h) + 26px);
}

.goods-img {
  border-radius: 7px;
  display: block;
}

.goods-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .95);
  color: #12121a;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(10, 14, 30, .22);
}
.goods-tag em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  margin-right: 1px;
  vertical-align: 1px;
}
.goods-tag .ico {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
  flex: none;
  color: #ff2d55;
  filter: none;
}

.goods-close {
  background: rgba(255, 255, 255, .92);
  color: #3a3a46;
  box-shadow: 0 2px 8px rgba(16, 20, 40, .28);
}

/* 首页顶部：最热 / 最新 */
.feed-tabs {
  position: absolute;
  top: calc(var(--sb-h) + 2px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 32;
}

.ft {
  position: relative;
  border: 0;
  background: none;
  padding: 6px 2px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .66);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: color .2s, transform .2s;
}
.ft.is-active {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.ft.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 2.5px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.ft:active { transform: scale(.96); }

@media (max-width: 560px) {
  .feed-tabs { top: calc(env(safe-area-inset-top) + 12px); }
}

/* =========================================================
   商品挂件：视频号式横条
   ========================================================= */
.goods {
  position: absolute;
  left: 12px;
  bottom: calc(var(--tab-h) + 16px);
  width: 214px;
  height: 66px;
  padding: 9px 10px 9px 9px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(18, 20, 28, .58);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
  -webkit-box-reflect: unset;
  z-index: 9;
  cursor: pointer;
  animation: goodsIn .5s .4s both cubic-bezier(.2, .9, .3, 1);
}

.goods-img {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  object-fit: cover;
  flex: none;
  background: #2a2c36;
  display: block;
}

.goods-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goods-title {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.32;
  color: rgba(255, 255, 255, .95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.goods-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}
.goods-price b {
  font-size: 13px;
  font-weight: 800;
  color: #ffc247;
  letter-spacing: -.01em;
}
.goods-price s {
  font-size: 10px;
  color: rgba(255, 255, 255, .42);
  text-decoration: line-through;
}

.goods-arrow {
  width: 12px;
  height: 12px;
  flex: none;
  color: rgba(255, 255, 255, .45);
  stroke-width: 2;
}

.goods-close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 19px;
  height: 19px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #4a4a56;
  box-shadow: 0 2px 7px rgba(10, 14, 30, .35);
  cursor: pointer;
}
.goods-close .ico { stroke-width: 2.6; }

/* =========================================================
   商品挂件：3:4 竖版小卡
   ========================================================= */
.goods {
  left: 12px;
  bottom: calc(var(--tab-h) + 20px);
  width: 96px;
  height: 128px;
  padding: 0;
  border-radius: 7px;
  display: block;
  gap: 0;
  background: #1b1d26;
  border: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px -9px rgba(8, 12, 30, .6);
  -webkit-box-reflect: unset;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: goodsIn .5s .4s both cubic-bezier(.2, .9, .3, 1);
}

.goods-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  display: block;
}

.goods-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .95);
  color: #12121a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(10, 14, 30, .28);
}
.goods-tag .ico {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
  color: #ff2d55;
}
.goods-tag em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  margin-right: 1px;
  vertical-align: 1px;
}

.goods-close {
  top: 5px;
  right: 5px;
  width: 19px;
  height: 19px;
  padding: 4px;
  background: rgba(255, 255, 255, .92);
  color: #3a3a46;
  box-shadow: 0 2px 7px rgba(10, 14, 30, .3);
}
.goods-close .ico { stroke-width: 2.6; }

/* =========================================================
   会员（权益：下载视频）
   ========================================================= */
.member-entry {
  display: flex;
  align-items: center;
  gap: 11px;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 14px 15px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8e8 0%, #fdefdc 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 158, 46, .2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter .2s;
}
.member-entry:active { filter: brightness(.985); }

.mb-ico {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f9d98e, #e3ad45);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px -3px rgba(214, 158, 46, .6);
}
.mb-ico .ico { fill: currentColor; stroke: none; }

.mb-txt { flex: 1; min-width: 0; }
.mb-txt b { display: block; font-size: 14px; font-weight: 700; color: #6b4a12; margin-bottom: 2px; }
.mb-txt i { font-style: normal; font-size: 11.5px; color: #a3824e; }

.mb-act {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #5c3f0d;
  padding: 6px 13px;
  border-radius: 99px;
  background: linear-gradient(135deg, #ffe2a8, #f5c76a);
  box-shadow: 0 3px 8px -3px rgba(214, 158, 46, .6);
}
.member-entry.is-active .mb-act {
  background: rgba(214, 158, 46, .14);
  color: #96762f;
  font-weight: 600;
  box-shadow: none;
}

/* 开通弹层 */
.sheet-panel--member { max-height: 88%; overflow-y: auto; }

.mb-hero { text-align: center; padding: 24px 30px 18px; }
.mb-hero-ico {
  width: 58px;
  height: 58px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9d98e, #e3ad45);
  color: #fff;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 12px 26px -10px rgba(214, 158, 46, .75);
}
.mb-hero-ico .ico { fill: currentColor; stroke: none; }
.mb-hero h2 { margin: 0 0 7px; font-size: 19px; font-weight: 800; color: #1a1a22; letter-spacing: -.01em; }
.mb-hero p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #8a8a96; }

.mb-list { padding: 0 18px 6px; }
.mb-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fbf8f1;
}
.mb-item .ico { width: 18px; height: 18px; flex: none; color: #d69e2e; margin-top: 1px; }
.mb-item b { display: block; font-size: 13px; font-weight: 600; color: #2a2a33; margin-bottom: 3px; }
.mb-item i { font-style: normal; font-size: 11.5px; color: #9a9aa6; line-height: 1.5; }

.mb-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 20px 18px 10px;
}
.mb-price b { font-size: 34px; font-weight: 800; color: #1a1a22; letter-spacing: -.03em; }
.mb-price span { font-size: 13px; color: #8a8a96; }
.mb-price em {
  font-style: normal;
  font-size: 11px;
  color: #b08430;
  background: rgba(214, 158, 46, .14);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

/* 结果页：未开通会员时下载按钮变金色锁 */
.cr-btn.is-locked {
  background: linear-gradient(135deg, #f7d181, #e3ad45);
  color: #5a3f0d;
  box-shadow: 0 10px 24px -12px rgba(214, 158, 46, .85);
}

/* 结果页底栏跟随浅色主题 */
.cr-actions { background: #ffffff; }

/* 首页下载按钮 */
.rail-btn--dl { cursor: pointer; }
.rail-btn--dl:active .rb-ico { transform: scale(.9); }

/* 会员套餐：月付 / 年付 */
.mb-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 18px 10px;
}
.mb-plan {
  position: relative;
  border: 1.5px solid rgba(17, 17, 26, .08);
  border-radius: 10px;
  background: #fff;
  padding: 17px 13px 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.mb-plan.is-active {
  border-color: #d69e2e;
  background: linear-gradient(135deg, #fffdf7 0%, #fff8e9 100%);
}
.mp-name {
  display: block;
  font-size: 12.5px;
  color: #8a8a96;
  margin-bottom: 7px;
}
.mb-plan.is-active .mp-name { color: #96762f; font-weight: 600; }
.mp-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a22;
  letter-spacing: -.02em;
}
.mp-price i { font-style: normal; font-size: 13px; font-weight: 700; margin-right: 1px; }
.mp-price em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: #9a9aa6;
  margin-left: 3px;
  letter-spacing: 0;
}
.mp-tag {
  position: absolute;
  top: -9px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f0b445, #d9982a);
  padding: 2px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 6px -2px rgba(214, 158, 46, .75);
}

/* 左右滑动切换时的过渡 */
@keyframes feedFromRight {
  from { opacity: .35; transform: translateX(7%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes feedFromLeft {
  from { opacity: .35; transform: translateX(-7%); }
  to { opacity: 1; transform: translateX(0); }
}
.feed.from-right { animation: feedFromRight .34s cubic-bezier(.22, .9, .28, 1); }
.feed.from-left { animation: feedFromLeft .34s cubic-bezier(.22, .9, .28, 1); }

/* 语言切换按钮 */
.lang-btn {
  position: absolute;
  top: calc(var(--sb-h) + 12px);
  right: 18px;
  z-index: 6;
  height: 28px;
  min-width: 46px;
  padding: 0 11px;
  border: 1px solid rgba(17, 17, 26, .08);
  border-radius: 10px;
  background: #fff;
  color: #5c5c68;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(20, 24, 50, .06);
  transition: background .2s;
}
.lang-btn:active { background: #f2f3f7; }

@media (max-width: 560px) {
  .lang-btn { top: calc(env(safe-area-inset-top) + 14px); }
}

/* =========================================================
   深色沉浸主题（覆盖此前的浅色设定）
   ========================================================= */
:root {
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .4);
  --line: rgba(255, 255, 255, .08);
}

body {
  background: #08080a;
  background-image: none;
}

.device {
  background: #000;
  box-shadow: none;
}

/* ---------- 首页 ---------- */
.page--feed { background: #000; }
.card { background: #0a0a0e; }
.card-video { background: #0a0a0e; }

.feed-hint {
  background: rgba(0, 0, 0, .5);
  color: rgba(255, 255, 255, .86);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.card-state { background: rgba(0, 0, 0, .4); box-shadow: none; }
.card-state svg { fill: #fff; }

.sound-btn {
  background: rgba(0, 0, 0, .35);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

/* 右侧按钮：裸白色图标 + 小字（参考短视频悬浮操作栏） */
.rb-ico {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.rb-ico .ico {
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .6));
  stroke-width: 1.9;
  width: 26px;
  height: 26px;
}
.rail-btn b {
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .65);
}
.rail-btn--like.is-on .rb-ico { background: transparent; }
.rail-btn--like.is-on .rb-ico .ico { fill: var(--accent); stroke: var(--accent); }
.rail-btn--like.is-on b { color: #fff; }

/* ---------- 底部导航 ---------- */
.tabbar {
  background: rgba(8, 8, 10, .95);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.tab { color: rgba(255, 255, 255, .42); }
.tab.is-active { color: #fff; }
.tab.is-active .ico { fill: currentColor; fill-opacity: .16; }
.tab--create > span:last-child { color: rgba(255, 255, 255, .72); }
.tab--create.is-active > span:last-child { color: #fff; }

/* ---------- 创作 ---------- */
.page--create { background: #08080a; }
.cr-head h1 { color: #fff; }
.cr-head p { color: rgba(255, 255, 255, .45); }

.credit-pill {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: none;
}
.credit-pill:active { background: rgba(255, 255, 255, .12); }
.credit-pill b { color: #fff; }
.credit-pill span { color: rgba(255, 255, 255, .5); }

.cr-drop {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.cr-drop:active { background: rgba(255, 255, 255, .08); }
.cr-drop-ico { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82); }
.cr-drop-empty b { color: #fff; }
.cr-drop-empty i { color: rgba(255, 255, 255, .42); }
.cr-change { background: rgba(0, 0, 0, .55); color: #fff; box-shadow: none; }

.seg { background: rgba(255, 255, 255, .07); }
.seg-btn { color: rgba(255, 255, 255, .5); }
.seg-btn.is-active { background: rgba(255, 255, 255, .13); color: #fff; box-shadow: none; }
.seg-btn em { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .5); }
.seg-btn.is-active em { background: rgba(255, 45, 85, .18); color: #ff5f7d; }

.prompt-box {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
}
.prompt-box:focus-within { background: rgba(255, 255, 255, .07); border-color: rgba(255, 45, 85, .55); }
.prompt-box textarea { color: #fff; }
.prompt-box textarea::placeholder { color: rgba(255, 255, 255, .34); }
.chip {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
}
.chip:active { background: rgba(255, 255, 255, .14); }
.prompt-count { color: rgba(255, 255, 255, .3); }
.cr-tip { color: rgba(255, 255, 255, .3); }
.cr-go:disabled { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .35); }
.cr-go.is-short { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); }
.cr-go.is-short em { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); }

.cr-overlay { background: #08080a; }
.cr-close { background: rgba(255, 255, 255, .1); color: #fff; }
.cr-loading { color: rgba(255, 255, 255, .6); }
.cr-bar { background: rgba(255, 255, 255, .12); }
.cr-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.cr-actions { background: #08080a; }
.cr-error { color: rgba(255, 255, 255, .45); }
.cr-error b { color: rgba(255, 255, 255, .85); }

/* ---------- 我的 ---------- */
.page--me { background: #08080a; }
.lang-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  box-shadow: none;
}
.lang-btn:active { background: rgba(255, 255, 255, .14); }

.profile-avatar { border-color: rgba(255, 255, 255, .12); box-shadow: none; background: #1a1a22; }
.profile-name { color: #fff; }
.profile-id { color: rgba(255, 255, 255, .45); }
.profile-bio { color: rgba(255, 255, 255, .82); }
.stat b { color: #fff; }
.stat span { color: rgba(255, 255, 255, .45); }
.stat-sep { background: rgba(255, 255, 255, .12); }

.credit-entry,
.order-entry {
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.ce-txt b,
.oe-txt b { color: #fff; }
.ce-txt > i,
.oe-txt > i { color: rgba(255, 255, 255, .45); }
.me-arrow { color: rgba(255, 255, 255, .3); }

.member-entry {
  background: linear-gradient(135deg, #2b2418 0%, #1a1610 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 158, 46, .26);
}
.mb-txt b { color: #f0c976; }
.mb-txt i { color: rgba(214, 158, 46, .72); }
.member-entry.is-active .mb-act {
  background: rgba(214, 158, 46, .18);
  color: #e8bb63;
}

.me-title { color: rgba(255, 255, 255, .85); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.me-title b { color: rgba(255, 255, 255, .4); }
.cell { background: #14141a; }
.cell--empty { background: #101016; }
.me-empty { color: rgba(255, 255, 255, .4); }
.me-empty b { color: rgba(255, 255, 255, .72); }
.me-footer { color: rgba(255, 255, 255, .2); }

/* ---------- 弹层通用 ---------- */
.sheet-panel { background: #16161b; box-shadow: 0 -12px 40px rgba(0, 0, 0, .6); }
.sheet-grip { background: rgba(255, 255, 255, .16); }
.sheet-head { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sheet-head h3 { color: #fff; }
.icon-btn { background: rgba(255, 255, 255, .08); color: #fff; }
.sheet-mask { background: rgba(0, 0, 0, .55); }

/* 确认订单 */
.co-addr { background: rgba(255, 255, 255, .06); }
.ca-txt b { color: #fff; }
.ca-txt i { color: rgba(255, 255, 255, .5); }
.ca-arrow { color: rgba(255, 255, 255, .3); }
.co-info p { color: rgba(255, 255, 255, .9); }
.co-row { color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .08); }
.co-row b { color: rgba(255, 255, 255, .85); }
.co-total { color: rgba(255, 255, 255, .45); }
.co-goods img { background: #26262e; }

/* 充值 */
.credit-banner { background: linear-gradient(135deg, #2b2418 0%, #1a1610 100%); }
.credit-banner span { color: rgba(255, 255, 255, .5); }
.credit-banner b { color: #fff; }
.plan { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.plan.is-active { border-color: var(--accent); background: rgba(255, 45, 85, .1); }
.plan b { color: #fff; }
.plan b i { color: rgba(255, 255, 255, .45); }
.plan span { color: rgba(255, 255, 255, .55); }
.credit-tip { color: rgba(255, 255, 255, .3); }
.credit-logs h4 { color: rgba(255, 255, 255, .5); }
.clog { color: rgba(255, 255, 255, .7); border-bottom: 1px solid rgba(255, 255, 255, .06); }

/* 会员 */
.mb-hero h2 { color: #fff; }
.mb-hero p { color: rgba(255, 255, 255, .5); }
.mb-item { background: rgba(255, 255, 255, .05); }
.mb-item b { color: rgba(255, 255, 255, .9); }
.mb-item i { color: rgba(255, 255, 255, .45); }
.mb-plan { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.mb-plan.is-active { border-color: #d69e2e; background: rgba(214, 158, 46, .12); }
.mp-name { color: rgba(255, 255, 255, .5); }
.mb-plan.is-active .mp-name { color: #e8bb63; }
.mp-price { color: #fff; }
.mp-price em { color: rgba(255, 255, 255, .45); }

/* 订单页 */
.order-page { background: #08080a; }
.op-head h1 { color: #fff; }
.op-back { background: rgba(255, 255, 255, .08); color: #fff; }
.op-link { color: rgba(255, 255, 255, .6); }
.op-add { background: rgba(255, 255, 255, .08); color: #fff; }
.op-tabs button {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.op-tabs button.is-active { background: #fff; color: #101014; border-color: #fff; }

.order { background: #14141a; box-shadow: none; }
.order-top { color: rgba(255, 255, 255, .45); }
.os--done { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); }
.order-mid img { background: #22222a; }
.order-info p { color: rgba(255, 255, 255, .9); }
.order-price s,
.order-price em { color: rgba(255, 255, 255, .38); }
.order-addr { color: rgba(255, 255, 255, .45); }
.order-foot { color: rgba(255, 255, 255, .4); border-top: 1px solid rgba(255, 255, 255, .08); }
.order-act b { color: #fff; }
.order-act button { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.op-empty { color: rgba(255, 255, 255, .4); }
.op-empty b { color: rgba(255, 255, 255, .72); }
.op-empty .ico { color: rgba(255, 255, 255, .18); }
.op-empty-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
}
.op-empty-btn:active { background: rgba(255, 255, 255, .14); }

/* 地址页 */
.addr-page { background: #08080a; }
.addr-card { background: #14141a; box-shadow: none; }
.addr-card.is-default { box-shadow: inset 0 0 0 1.5px rgba(255, 45, 85, .35); }
.ac-top b { color: #fff; }
.ac-top span { color: rgba(255, 255, 255, .45); }
.ac-detail { color: rgba(255, 255, 255, .78); }
.ac-acts { border-top: 1px solid rgba(255, 255, 255, .07); }
.ac-acts button { color: rgba(255, 255, 255, .6); }
.ac-acts button[data-adel] { color: #ff6b84; }

.af-row { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.af-row > span { color: rgba(255, 255, 255, .5); }
.af-row input,
.af-row textarea { color: #fff; }
.af-row input::placeholder,
.af-row textarea::placeholder { color: rgba(255, 255, 255, .3); }
.af-txt b { color: #fff; }
.af-txt i { color: rgba(255, 255, 255, .45); }
.switch { background: rgba(255, 255, 255, .18); }

/* 其他 */
.viewer { background: #000; }
.viewer video,
.viewer img { background: #000; }
.viewer-close { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }

.toast {
  background: rgba(28, 28, 34, .96);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .55);
}

.splash { background: #08080a; }
.splash-name { color: #fff; }
.splash-tip { color: rgba(255, 255, 255, .35); }

/* 吸底栏跟随深色 */
.cr-foot-bar {
  background: linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, #08080a 16%);
}
.goods-close {
  background: rgba(0, 0, 0, .45);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.goods-close .ico { stroke-width: 2.6; }

/* 启动页品牌名：五个字，收紧字距 */
.splash-name {
  font-size: 21px;
  letter-spacing: .14em;
  text-indent: .14em;
}

/* 订单筛选：三等分下划线 tab，替换胶囊样式 */
.op-tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 2px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin: 0 16px 12px;
}
.op-tabs button,
.op-tabs button.is-active {
  flex: 1;
  position: relative;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 11px 0 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  transition: color .2s;
}
.op-tabs button.is-active {
  color: #fff;
  font-weight: 700;
}
.op-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 26px;
  height: 2.5px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
}

/* 收支记录 */
.cl-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.cl-stats > div {
  flex: 1;
  padding: 10px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
}
.cl-stats b {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.cl-stats span { font-size: 10.5px; color: rgba(255, 255, 255, .42); }

.cl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.cl-row:last-child { border-bottom: 0; }

.cl-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.cl-ico.in { background: rgba(62, 207, 142, .16); color: #3ecf8e; }
.cl-ico.out { background: rgba(255, 107, 132, .15); color: #ff6b84; }

.cl-main { flex: 1; min-width: 0; }
.cl-main b {
  display: block;
  font-size: 12.8px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-main i { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .32); }

.cl-num { text-align: right; flex: none; }
.cl-num b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 3px;
}
.cl-num b.plus { color: #3ecf8e; }
.cl-num b.minus { color: #ff6b84; }
.cl-num i { font-style: normal; font-size: 10px; color: rgba(255, 255, 255, .3); }

.cl-empty {
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

/* 充值弹层内部滚动但不显示滚动条 */
.sheet-panel--credit { scrollbar-width: none; }
.sheet-panel--credit::-webkit-scrollbar { display: none; }

/* =========================================================
   积分充值：二级页面（右滑进入）
   ========================================================= */
.credit-page {
  position: absolute;
  inset: 0;
  z-index: 78;
  background: #08080a;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .9, .28, 1);
}
.credit-page[data-open="true"] { transform: translateX(0); }

.credit-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.credit-body::-webkit-scrollbar { display: none; }

.credit-page .credit-banner { margin: 6px 18px 2px; }
.credit-page .credit-plans { padding: 16px 18px 6px; }
.credit-page .credit-logs { padding: 14px 18px 16px; }

.credit-paybar {
  flex: none;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, #08080a 24%);
}
.credit-paybar .cr-btn { width: 100%; flex: none; }
.credit-paybar .credit-tip { margin: 9px 0 0; }

/* 套餐固定、流水单独滚动 */
.credit-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}
.credit-fixed { flex: none; }

.credit-logs-head { padding: 16px 18px 8px; }
.credit-logs-head h4 {
  margin: 0 0 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}
.credit-logs-head .cl-stats { margin-bottom: 0; }

.credit-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.credit-scroll::-webkit-scrollbar { display: none; }
.credit-scroll .cl-row:first-child { padding-top: 6px; }

/* 商品价格：去掉底板，直接落在图片右下角 */
.goods-tag {
  left: auto;
  right: 7px;
  bottom: 7px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, .9),
    0 0 8px rgba(0, 0, 0, .55),
    0 0 18px rgba(0, 0, 0, .35);
}
.goods-tag .ico {
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .85));
  stroke-width: 2.2;
}
.goods-tag em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  margin-right: 1px;
  vertical-align: 1px;
}

/* 价格文字压在图上，用描边 + 阴影保证可读 */
.goods-tag {
  font-size: 14px;
  -webkit-text-stroke: .6px rgba(0, 0, 0, .45);
  paint-order: stroke fill;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .95),
    0 0 6px rgba(0, 0, 0, .7),
    0 0 14px rgba(0, 0, 0, .45);
}

/* 价格：品牌红 + 白描边，明暗背景都清晰，且不需要底板 */
.goods-tag {
  color: #ff3b5c;
  font-size: 14.5px;
  -webkit-text-stroke: .8px rgba(255, 255, 255, .95);
  paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75), 0 0 8px rgba(0, 0, 0, .35);
}
.goods-tag em { color: #ff3b5c; }

/* 价格：白字 + 黑色描边外发光 */
.goods-tag {
  color: #fff;
  font-size: 14.5px;
  -webkit-text-stroke: .8px rgba(0, 0, 0, .6);
  paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 10px rgba(0, 0, 0, .5);
}
.goods-tag em { color: #fff; }

/* =========================================================
   商品详情
   ========================================================= */
.sheet-panel--goods {
  padding: 0;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sheet-panel--goods .sheet-grip {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.gd-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gd-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.gd-scroll::-webkit-scrollbar { display: none; }

.gd-hero {
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 46vh;
  background: #15151b;
}
.gd-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gd-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 15px 18px 0;
}
.gd-price b {
  font-size: 26px;
  font-weight: 800;
  color: #ff3b5c;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.gd-price s { font-size: 12.5px; color: rgba(255, 255, 255, .35); }
.gd-sold { margin-left: auto; font-size: 11.5px; color: rgba(255, 255, 255, .4); }
.gd-sold i { font-style: normal; }

.gd-title {
  margin: 9px 18px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -.01em;
}

.gd-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 0;
}
.gd-meta em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #ff6b84;
  background: rgba(255, 45, 85, .14);
  padding: 3px 8px;
  border-radius: 6px;
}
.gd-meta span { font-size: 12px; color: rgba(255, 255, 255, .5); }

.gd-desc {
  margin: 14px 18px 0;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .7);
}

.gd-shop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 18px 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}
.gd-shop-logo {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  background: rgba(255, 45, 85, .12);
  color: #ff6b84;
  display: grid;
  place-items: center;
  flex: none;
}
.gd-shop-name { flex: 1; font-size: 13px; color: rgba(255, 255, 255, .88); }
.gd-shop-go { font-size: 11.5px; color: rgba(255, 255, 255, .4); }

.gd-bar {
  flex: none;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(22, 22, 27, 0) 0%, #16161b 22%);
}
.gd-bar .cr-btn { width: 100%; flex: none; }

/* 详情图：横向滑动多图 */
.gd-gallery {
  display: flex;
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 46vh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: #15151b;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gd-gallery::-webkit-scrollbar { display: none; }

.gd-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
}
.gd-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
}
.gd-slide .gd-alt[data-zoom="1"] { transform: scale(1.85); object-position: 26% 32%; }
.gd-slide .gd-alt[data-zoom="2"] { transform: scale(1.65); object-position: 70% 66%; }

.gd-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: -17px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.gd-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .28), 0 1px 4px rgba(0, 0, 0, .6);
  transition: width .22s ease, background .22s ease;
}
.gd-dots i.is-on {
  width: 15px;
  border-radius: 3px;
  background: #fff;
}

/* 数量步进器 */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
}
.qs-btn {
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.qs-btn:active { background: rgba(255, 255, 255, .14); }
.qty-stepper b {
  min-width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

/* 地址行：与配送/数量同级，不再做成突出卡片 */
.co-row--addr {
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  gap: 10px;
  justify-content: flex-start;
}
.co-row--addr:active { background: rgba(255, 255, 255, .04); }
.co-row--addr > span {
  font-size: 12.5px;
  color: var(--text-3);
  flex: none;
}
.co-row--addr b {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.co-row--addr .ca-arrow {
  width: 13px;
  height: 13px;
  flex: none;
  color: rgba(255, 255, 255, .32);
}

/* 金币胶囊（首页顶部） */
.coin-pill {
  position: absolute;
  top: calc(var(--sb-h) + 4px);
  left: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(0, 0, 0, .38);
  color: #ffd54a;
  font: inherit;
  cursor: default;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.coin-pill .ico { width: 14px; height: 14px; stroke: #ffd54a; }
.coin-pill b {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffd54a;
  font-variant-numeric: tabular-nums;
}

/* 金币抵扣行 */
.co-row--coin {
  cursor: default;
}
.co-row--coin b { color: #ffd54a; }

/* 收益中心 */
.oe-ico--coin { background: rgba(255, 213, 74, .14); }
.oe-ico--coin .ico { color: #ffd54a; stroke: #ffd54a; }

.earning-page {
  position: absolute;
  inset: 0;
  z-index: 78;
  background: #08080a;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .9, .28, 1);
}
.earning-page[data-open="true"] { transform: translateX(0); }

.earning-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 18px 24px;
  scrollbar-width: none;
}
.earning-body::-webkit-scrollbar { display: none; }

.earn-banner {
  margin: 6px 0 16px;
  padding: 20px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2b2310 0%, #1a1608 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 74, .18);
}
.earn-banner > span {
  display: block;
  font-size: 12px;
  color: rgba(255, 213, 74, .6);
  margin-bottom: 8px;
}
.earn-banner > b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 34px;
  font-weight: 800;
  color: #ffd54a;
  font-variant-numeric: tabular-nums;
}
.earn-banner > b .ico { width: 26px; height: 26px; stroke: #ffd54a; }
.earn-banner p {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 213, 74, .72);
}

.earn-rule {
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  padding: 4px 16px 8px;
}
.earn-rule h4 {
  margin: 14px 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}
.er-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
}
.er-row:last-child { border-bottom: 0; }
.er-row span { color: rgba(255, 255, 255, .78); }
.er-row b { color: #ffd54a; font-weight: 700; }

.earn-note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .45);
}

/* 金币飞入层 */
.coin-fly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
}
.cf-coin {
  position: absolute;
  width: 20px;
  height: 20px;
  color: #ffd54a;
  opacity: 0;
  animation: coinFly 1.1s cubic-bezier(.3, .2, .4, 1) forwards;
}
.cf-coin .ico { width: 100%; height: 100%; stroke: #ffd54a; }
@keyframes coinFly {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  15% { opacity: 1; transform: translate(0, -14px) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.4); }
}

/* 金币胶囊弹跳 */
.coin-pill.is-bump { animation: coinBump .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes coinBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

/* 醒目 +N 金币提示 */
.coin-pop {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 41;
  pointer-events: none;
  opacity: 0;
}
.coin-pop .ico {
  width: 52px;
  height: 52px;
  stroke: #ffd54a;
  filter: drop-shadow(0 4px 14px rgba(255, 213, 74, .5));
}
.coin-pop b {
  font-size: 34px;
  font-weight: 900;
  color: #ffd54a;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  font-variant-numeric: tabular-nums;
}
.coin-pop span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 213, 74, .9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.coin-pop.is-show {
  animation: coinPop 1.4s cubic-bezier(.22, .9, .28, 1) forwards;
}
@keyframes coinPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  30% { transform: translate(-50%, -50%) scale(1); }
  75% { opacity: 1; transform: translate(-50%, -58%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -72%) scale(.9); }
}

/* =========================================================
   我的页：积分/收益中心并排 + 订单/创作 tab
   ========================================================= */
.me-entries--row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.me-entries--row .credit-entry {
  width: auto;
  margin: 0;
  min-height: 70px;
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.me-entries--row .credit-entry--coin {
  background: linear-gradient(135deg, #2b2310 0%, #1a1608 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 74, .18);
}
.ce-ico--coin { background: rgba(255, 213, 74, .16); }
.ce-ico--coin .ico { color: #ffd54a; stroke: #ffd54a; }

/* 订单 / 创作 tab */
.me-section-tabs {
  display: flex;
  gap: 0;
  margin: 0 20px 12px;
  border-bottom: 1px solid var(--line);
}
.me-section-tabs .mst {
  position: relative;
  flex: 1;
  border: 0;
  background: none;
  padding: 12px 0 13px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: color .2s;
}
.me-section-tabs .mst.is-active { color: #fff; font-weight: 700; }
.me-section-tabs .mst.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
}
.me-section-tabs .mst b { font-weight: 500; color: rgba(255, 255, 255, .4); }

/* 内嵌订单筛选 */
.me-op-filter {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
}
.me-op-filter button {
  border: 0;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .55);
  font: inherit;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.me-op-filter button.is-active {
  background: #fff;
  color: #101014;
  font-weight: 600;
}

/* 内嵌订单列表 */
.me-op-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 6px;
}
.me-op-addr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 40px);
  margin: 12px 20px 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .65);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.me-op-addr .ico { width: 14px; height: 14px; }
.me-op-addr:active { background: rgba(255, 255, 255, .08); }

/* 空态居中适配 */
.me-op-list .op-empty { margin-top: 12px; }

/* 内嵌创作网格 */
.me-section[data-panel="works"] { padding: 0; }

/* 左上角「我的订单」入口 */
.me-order-float {
  position: absolute;
  top: calc(var(--sb-h) + 12px);
  left: 16px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.me-order-float .ico { width: 13px; height: 13px; }
.me-order-float b {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  display: inline-block;
}
.me-order-float.is-active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

@media (max-width: 560px) {
  .me-order-float { top: calc(env(safe-area-inset-top) + 14px); }
}

/* 订单区块展开动画 */
.me-order-section { margin-bottom: 16px; }

/* 右上角「我的订单」入口 */
.me-order-top {
  position: absolute;
  top: calc(var(--sb-h) + 12px);
  left: 16px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.me-order-top .ico { width: 13px; height: 13px; }
.me-order-top b {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  display: inline-block;
}
.me-order-top:active { background: rgba(255, 255, 255, .12); }

@media (max-width: 560px) {
  .me-order-top { top: calc(env(safe-area-inset-top) + 14px); }
}

/* 金币获取记录 */
.earn-logs { margin-top: 16px; }
.earn-logs h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}
.el-list {
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  padding: 2px 16px;
}
.el-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.el-row:last-child { border-bottom: 0; }
.el-day { flex: 1; min-width: 0; }
.el-day b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 3px;
}
.el-day i {
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
}
.el-sum {
  font-size: 15px;
  font-weight: 800;
  color: #ffd54a;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.el-empty {
  padding: 26px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .32);
}

/* 下单：金币抵扣行高亮 + 实付提示 */
.co-row--coin b { color: rgba(255, 255, 255, .45); }
.co-row--coin b.is-on { color: #ffd54a; font-weight: 700; }
#coinPayHint {
  font-style: normal;
  font-size: 11px;
  color: #ffd54a;
  margin-left: 4px;
}

/* =========================================================
   金币视觉强化：金色发光 + 常驻呼吸 + 飞入金光
   ========================================================= */
.coin-pill {
  height: 30px;
  padding: 0 13px 0 10px;
  gap: 6px;
  border: 1px solid rgba(255, 213, 74, .38);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 213, 74, .22) 0%, rgba(230, 160, 30, .12) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 213, 74, .12) inset,
    0 2px 10px rgba(255, 180, 40, .22),
    0 0 18px rgba(255, 200, 60, .14);
  animation: coinPillGlow 2.8s ease-in-out infinite;
}
@keyframes coinPillGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 213, 74, .12) inset,
      0 2px 10px rgba(255, 180, 40, .22),
      0 0 18px rgba(255, 200, 60, .14);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 213, 74, .2) inset,
      0 2px 14px rgba(255, 190, 50, .38),
      0 0 26px rgba(255, 210, 70, .26);
  }
}

.coin-pill .ico {
  width: 15px;
  height: 15px;
  stroke: #ffd75e;
  filter: drop-shadow(0 0 4px rgba(255, 210, 70, .8));
  animation: coinSpin 6s linear infinite;
}
@keyframes coinSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.coin-pill b {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffdf72;
  text-shadow: 0 1px 6px rgba(255, 190, 50, .55);
  letter-spacing: -.01em;
}
.coin-pill b.coin-bump-num {
  animation: coinNumPop .45s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes coinNumPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.32); color: #fff6c4; }
  100% { transform: scale(1); }
}

/* 胶囊弹跳加强 */
.coin-pill.is-bump { animation: coinBumpStrong .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes coinBumpStrong {
  0% { transform: scale(1); }
  30% { transform: scale(1.22) translateY(-1px); }
  60% { transform: scale(.97); }
  100% { transform: scale(1); }
}

/* 飞入金币放大加亮 */
.cf-coin {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 6px rgba(255, 205, 60, .9));
}
.cf-coin .ico { stroke: #ffd75e; stroke-width: 1.6; }

/* 金币飞入时增发光尾迹 */
.cf-coin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 70, .5) 0%, transparent 70%);
}

/* 金币胶囊可点击 */
.coin-pill { cursor: pointer; }
.coin-pill:active {
  transform: scale(.94);
  background: linear-gradient(135deg, rgba(255, 213, 74, .32) 0%, rgba(230, 160, 30, .2) 100%);
}

/* =========================================================
   设置页
   ========================================================= */
.lang-btn--gear {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
}
.lang-btn--gear .ico { width: 16px; height: 16px; stroke-width: 1.8; }

.settings-page {
  position: absolute;
  inset: 0;
  z-index: 78;
  background: #08080a;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .9, .28, 1);
}
.settings-page[data-open="true"] { transform: translateX(0); }

.settings-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 30px;
  scrollbar-width: none;
}
.settings-body::-webkit-scrollbar { display: none; }

.set-group {
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  overflow: hidden;
}
.set-group-title {
  padding: 14px 16px 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .03em;
}

.set-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.set-group-title + .set-row { border-top: 0; }
.set-row:active { background: rgba(255, 255, 255, .05); }

.set-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  flex: none;
}
.set-ico .ico { width: 15px; height: 15px; color: rgba(255, 255, 255, .8); stroke-width: 1.8; }

.set-main { flex: 1; min-width: 0; }
.set-main b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}
.set-main i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .4);
}

.set-val {
  flex: none;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.set-arrow {
  width: 13px;
  height: 13px;
  flex: none;
  color: rgba(255, 255, 255, .28);
}

.set-tip {
  margin: 14px 4px 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .32);
}

/* 语言内联勾选 */
.set-row--static { cursor: default; }
.set-row--static:active { background: none; }

.set-langs {
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.set-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px 13px 55px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: none;
  font: inherit;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.set-lang:last-child { border-bottom: 0; }
.set-lang:active { background: rgba(255, 255, 255, .05); }
.set-lang .lang-check {
  width: 15px;
  height: 15px;
  flex: none;
  color: #ffd54a;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .18s, transform .18s;
}
.set-lang.is-active {
  color: #fff;
  font-weight: 600;
}
.set-lang.is-active .lang-check {
  opacity: 1;
  transform: scale(1);
}

/* 退出登录按钮（低调） */
.set-logout {
  display: block;
  width: auto;
  margin: 26px auto 0;
  padding: 9px 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .62);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.set-logout:active {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
}

/* 退出确认弹层 */
.sheet-panel--confirm { padding: 0 0 8px; }
.confirm-body { padding: 22px 22px 18px; text-align: center; }
.confirm-body h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.confirm-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
}
.confirm-acts {
  display: flex;
  gap: 9px;
  padding: 0 18px 12px;
}
.confirm-acts button {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-cancel {
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .85);
}
.btn-cancel:active { background: rgba(255, 255, 255, .14); }
.btn-confirm {
  background: #fff;
  color: #14141a;
}
.btn-confirm:active { background: rgba(255, 255, 255, .85); }

/* 退出确认弹层需高于设置页（设置页 z-index: 78） */
#sheetLogout { z-index: 92; }

/* 英文排版适配：副标题单行省略，避免长英文挤压 */
.me-entries--row .credit-entry {
  padding: 11px 10px;
  gap: 9px;
}
.me-entries--row .credit-entry .ce-ico {
  width: 28px;
  height: 28px;
  padding: 6px;
}
.ce-txt > i {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 1px;
}
.ce-txt b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-entry {
  gap: 9px;
  padding: 13px 13px;
}
.mb-txt b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mb-txt i {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.mb-act {
  margin-left: 4px;
  white-space: nowrap;
}
