/* 深入 · 抖音 — 全屏竖滑剧场 · 右栏互动 · 消息/主页浅色（独有布局） */
#dp-douyin.dp-douyin,
.dp-douyin {
  --dy-ink: #111111;
  --dy-soft: #5c5c5c;
  --dy-mute: #8e8e93;
  --dy-line: rgba(17, 17, 17, 0.08);
  --dy-line-2: rgba(17, 17, 17, 0.14);
  --dy-paper: #f7f7f8;
  --dy-card: #ffffff;
  --dy-accent: #fe2c55;
  --dy-cyan: #25f4ee;
  --dy-glass: rgba(255, 255, 255, 0.12);
  --dy-glass-dark: rgba(0, 0, 0, 0.28);
  --dy-r: 22px;
  --dy-r-lg: 28px;
  --dy-r-sm: 14px;
  --dy-sans: "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --dy-dock-h: 58px;
  position: fixed !important;
  inset: 0 !important;
  z-index: 562 !important;
  display: flex !important;
  flex-direction: column;
  background: #000 !important;
  color: #fff !important;
  font-family: var(--dy-sans);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  transition: opacity 0.32s ease, background 0.28s ease;
  -webkit-font-smoothing: antialiased;
}

.dp-douyin[hidden],
#dp-douyin.dp-douyin[hidden] { display: none !important; }
.dp-douyin.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
/* 关闭动画期间：父级 pointer-events:none 拦不住仍设为 auto 的子元素，会挡住整台手机 */
.dp-douyin:not(.is-open),
.dp-douyin:not(.is-open) * {
  pointer-events: none !important;
}
.dp-douyin.is-light {
  background: #fff !important;
  color: var(--dy-ink) !important;
}
.dp-douyin.is-page-me {
  background: #f5f6f7 !important;
}

/* chrome */
.dp-douyin__chrome {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: max(10px, env(safe-area-inset-top, 0px)) 14px 6px;
  background: transparent;
}
.dp-douyin.is-dark .dp-douyin__chrome {
  position: absolute;
  left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 100%);
  pointer-events: none;
}
.dp-douyin.is-dark .dp-douyin__chrome > * { pointer-events: auto; }
.dp-douyin.is-light .dp-douyin__chrome {
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 12;
  background: transparent;
  border: none;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  pointer-events: none;
}
.dp-douyin.is-light .dp-douyin__chrome > * { pointer-events: auto; }
.dp-douyin.is-light .dp-douyin__chrome-title { display: none; }
.dp-douyin.is-page-me .dp-douyin__chrome,
.dp-douyin.is-page-msg .dp-douyin__chrome,
.dp-douyin.is-page-friends .dp-douyin__chrome {
  justify-content: flex-start;
}
.dp-douyin.is-page-me .dp-douyin__chrome {
  display: none !important;
}
.dp-douyin.is-page-me .dp-douyin__chrome #dp-douyin-refresh,
.dp-douyin.is-page-msg .dp-douyin__chrome #dp-douyin-refresh,
.dp-douyin.is-page-friends .dp-douyin__chrome #dp-douyin-refresh {
  margin-left: auto;
  opacity: 0;
  pointer-events: none;
  width: 0;
  padding: 0;
  border: none;
  overflow: hidden;
}
.dp-douyin__icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: var(--dy-glass);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.dp-douyin.is-light .dp-douyin__icon {
  border-color: transparent;
  background: rgba(255,255,255,0.55);
  color: var(--dy-ink);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dp-douyin.is-page-me .dp-douyin__icon,
.dp-douyin.is-page-msg .dp-douyin__icon,
.dp-douyin.is-page-friends .dp-douyin__icon {
  background: rgba(255,255,255,0.65);
}
.dp-douyin__icon:active { transform: scale(0.94); }
.dp-douyin__icon.is-spinning svg {
  animation: dy-spin 0.85s linear infinite;
}
@keyframes dy-spin {
  to { transform: rotate(360deg); }
}
.dp-douyin__chrome-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.dp-douyin__chrome-title small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.55;
  margin-top: 1px;
}
.dp-douyin.is-dark .dp-douyin__chrome-title { color: rgba(255,255,255,0.9); }

/* status */
.dp-douyin__status {
  position: relative;
  z-index: 9;
  margin: 0 14px 8px;
  padding: 10px 14px;
  border-radius: var(--dy-r-sm);
  font-size: 12px;
  letter-spacing: 0.01em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dp-douyin.is-dark .dp-douyin__status {
  position: absolute;
  left: 14px; right: 14px;
  top: calc(52px + env(safe-area-inset-top, 0px));
  margin: 0;
}
.dp-douyin__status.is-loading {
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.dp-douyin.is-light .dp-douyin__status.is-loading {
  background: rgba(17,17,17,0.92);
  color: #fff;
}
.dp-douyin__status.is-success {
  background: rgba(37, 244, 238, 0.16);
  color: #0a7a74;
  border: 1px solid rgba(37, 244, 238, 0.28);
}
.dp-douyin__status.is-error {
  background: rgba(254, 44, 85, 0.12);
  color: #c4183d;
  border: 1px solid rgba(254, 44, 85, 0.22);
}

/* scroll / empty */
.dp-douyin__scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}
.dp-douyin.is-dark .dp-douyin__scroll,
.dp-douyin.is-dark .dp-douyin__stream,
.dp-douyin.is-dark .dp-douyin__theater,
.dp-douyin.is-dark .dp-douyin__reel {
  background: #000;
}
.dp-douyin.is-light .dp-douyin__scroll {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  background: #fff;
}
.dp-douyin__empty {
  margin: auto 22px;
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--dy-r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
}
.dp-douyin.is-light .dp-douyin__empty {
  background: var(--dy-card);
  border-color: var(--dy-line);
  box-shadow: 0 16px 40px rgba(17,17,17,0.05);
  color: var(--dy-ink);
}
.dp-douyin__empty-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, var(--dy-cyan), transparent 55%),
    linear-gradient(225deg, var(--dy-accent), #111 70%);
  box-shadow: 0 12px 28px rgba(254, 44, 85, 0.25);
  animation: dy-pulse 2.4s ease-in-out infinite;
}
@keyframes dy-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}
.dp-douyin__empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.dp-douyin__empty p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
}
.dp-douyin.is-light .dp-douyin__empty p { color: var(--dy-mute); }
.dp-douyin__empty-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--dy-accent), #ff6b8a);
  box-shadow: 0 8px 22px rgba(254, 44, 85, 0.35);
}
.dp-douyin__stream {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dp-douyin.is-light .dp-douyin__stream {
  display: block;
  overflow: visible;
  height: auto;
  flex: 0 0 auto;
  min-height: 100%;
  background: #fff;
  padding-bottom: calc(var(--dy-dock-h) + env(safe-area-inset-bottom, 0px) + 16px);
}
.dp-douyin.is-page-me .dp-douyin__scroll,
.dp-douyin.is-page-me .dp-douyin__stream {
  background: #f5f6f7;
}

/* theater / reel */
.dp-douyin__theater {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
}
.dp-douyin__home-top {
  position: absolute;
  z-index: 5;
  left: 0; right: 0;
  top: calc(48px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.dp-douyin__home-top > * { pointer-events: auto; }
.dp-douyin__menu,
.dp-douyin__search-ico,
.dp-douyin__icon-ghost {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.dp-douyin__menu span,
.dp-douyin__icon-ghost span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.dp-douyin__icon-ghost.is-dark { color: var(--dy-ink); }
.dp-douyin__htabs {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dp-douyin__htab {
  border: none;
  background: none;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  letter-spacing: 0.02em;
}
.dp-douyin__htab.is-on {
  color: #fff;
  font-weight: 700;
}
.dp-douyin__htab.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 2.5px;
  margin-left: -9px;
  border-radius: 2px;
  background: #fff;
}

.dp-douyin__reel {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.dp-douyin__slide {
  position: relative;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.dp-douyin__stage {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #111;
  color: inherit;
  text-align: left;
  overflow: hidden;
}
.dp-douyin__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, rgba(0,0,0,0.55) 78%, rgba(0,0,0,0.78) 100%);
}
.dp-douyin__slide[data-tone="rose"] .dp-douyin__stage { background: linear-gradient(160deg, #3a1520, #1a0a10 55%, #0a0a0b); }
.dp-douyin__slide[data-tone="ink"] .dp-douyin__stage { background: linear-gradient(160deg, #1c1c22, #0c0c10 55%, #050506); }
.dp-douyin__slide[data-tone="mist"] .dp-douyin__stage { background: linear-gradient(160deg, #2a3340, #12161c 55%, #080a0c); }
.dp-douyin__slide[data-tone="sand"] .dp-douyin__stage { background: linear-gradient(160deg, #3a2e22, #16110c 55%, #0a0806); }
.dp-douyin__slide[data-tone="sky"] .dp-douyin__stage { background: linear-gradient(160deg, #16324a, #0a1620 55%, #060a0e); }
.dp-douyin__slide[data-tone="plum"] .dp-douyin__stage { background: linear-gradient(160deg, #2e1a3a, #140c1a 55%, #08060c); }
.dp-douyin__slide[data-tone="tea"] .dp-douyin__stage { background: linear-gradient(160deg, #2a3220, #12160e 55%, #080a06); }
.dp-douyin__slide[data-tone="night"] .dp-douyin__stage { background: linear-gradient(160deg, #12182a, #080a12 55%, #040508); }
.dp-douyin__slide[data-tone="cream"] .dp-douyin__stage { background: linear-gradient(160deg, #3a3428, #1a1610 55%, #0c0a08); }
.dp-douyin__slide[data-tone="coral"] .dp-douyin__stage { background: linear-gradient(160deg, #3a1e1a, #1a0e0c 55%, #0c0808); }
.dp-douyin__slide[data-tone="neon"] .dp-douyin__stage {
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(37,244,238,0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(254,44,85,0.28), transparent 50%),
    linear-gradient(160deg, #1a1220, #0a0a0e 60%, #050506);
}
.dp-douyin__slide[data-tone="slate"] .dp-douyin__stage { background: linear-gradient(160deg, #222830, #101418 55%, #080a0c); }

.dp-douyin__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dp-douyin__subtitle {
  position: absolute;
  left: 18px;
  right: 88px;
  bottom: 42%;
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 0 12px rgba(0,0,0,0.4);
  pointer-events: none;
  animation: dy-fade-up 0.5s ease both;
}
@keyframes dy-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dp-douyin__meta {
  position: absolute;
  left: 14px;
  right: 86px;
  bottom: calc(var(--dy-dock-h) + 18px);
  z-index: 3;
  pointer-events: none;
}
.dp-douyin__meta > * { pointer-events: auto; }
.dp-douyin__author {
  border: none;
  background: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.dp-douyin__caption {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dp-douyin__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.dp-douyin__tag {
  font-size: 13px;
  font-weight: 560;
  color: rgba(255,255,255,0.95);
}
.dp-douyin__music {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.dp-douyin__music i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  flex-shrink: 0;
}
.dp-douyin__music i::after {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 1.5px;
  height: 6px;
  background: currentColor;
}
.dp-douyin__music span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* right rail */
.dp-douyin__rail {
  position: absolute;
  right: 10px;
  bottom: calc(var(--dy-dock-h) + 28px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.dp-douyin__rail-av {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, #3a3a44, #1a1a22);
  color: #fff;
  font-size: 18px;
  font-weight: 650;
  padding: 0;
  margin-bottom: 4px;
}
.dp-douyin__rail-av[data-tone="rose"] { background: linear-gradient(145deg, #e86a8a, #8a2040); }
.dp-douyin__rail-av[data-tone="sky"] { background: linear-gradient(145deg, #5ab4e8, #204868); }
.dp-douyin__rail-av[data-tone="plum"] { background: linear-gradient(145deg, #b07ae8, #482068); }
.dp-douyin__rail-av[data-tone="neon"] { background: linear-gradient(145deg, var(--dy-cyan), var(--dy-accent)); }
.dp-douyin__rail-av[data-tone="mist"] { background: linear-gradient(145deg, #8aa0b8, #304050); }
.dp-douyin__rail-av em {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dy-accent);
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-douyin__rail-av em.is-on { background: #8e8e93; font-size: 11px; }
.dp-douyin__rail-btn {
  border: none;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  transition: transform 0.15s ease;
}
.dp-douyin__rail-btn:active { transform: scale(0.9); }
.dp-douyin__rail-btn.is-on { color: var(--dy-accent); }
.dp-douyin__rail-btn span {
  font-size: 11px;
  font-weight: 560;
}
.dp-douyin__disk {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #2a2a32 0 28%, transparent 29%),
    conic-gradient(from 0deg, #1a1a22, #4a4a55, #1a1a22, #3a3a44, #1a1a22);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dy-spin 4s linear infinite;
  margin-top: 4px;
}
.dp-douyin__disk i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--dy-cyan), var(--dy-accent));
}
.dp-douyin__empty-feed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.7);
}
.dp-douyin__empty-feed button {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
}

/* light pages */
.dp-douyin__page {
  padding: 0;
  min-height: 0;
  background: #fff;
  box-sizing: border-box;
}
.dp-douyin.is-light .dp-douyin__page {
  min-height: 100%;
}
.dp-douyin__page--friends,
.dp-douyin__page--msg {
  padding-top: 44px;
}
.dp-douyin__muted {
  margin: 28px 20px;
  font-size: 13px;
  color: var(--dy-mute);
  text-align: center;
}
.dp-douyin__ghost-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--dy-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.dp-douyin__story-rail {
  display: flex;
  gap: 16px;
  padding: 6px 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dp-douyin__story-rail::-webkit-scrollbar { display: none; }
.dp-douyin__story {
  flex: 0 0 auto;
  width: 68px;
  border: none;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.dp-douyin__story-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #7ee8e4, #ff7aa8 55%, #ff4d6d);
}
.dp-douyin__story-ring i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--dy-ink);
  font-size: 20px;
  font-weight: 650;
  font-style: normal;
  border: 2.5px solid #fff;
}
.dp-douyin__story-name {
  font-size: 11px;
  color: #333;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dp-douyin__story-label {
  font-size: 10px;
  color: var(--dy-mute);
  margin-top: -2px;
}

/* friends — same palette as messages */
.dp-douyin__page--friends {
  background: #fff;
}
.dp-douyin__friend-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px;
}
.dp-douyin__friend-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: #fff;
  text-align: left;
  width: 100%;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.dp-douyin__friend-row:active {
  background: #f7f7f8;
}
.dp-douyin__friend-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dp-douyin__friend-copy strong {
  font-size: 15px;
  font-weight: 600;
  color: #161616;
}
.dp-douyin__friend-copy em {
  font-style: normal;
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dp-douyin__friend-copy p {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f7f8;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.dp-douyin__friend-row--video {
  align-items: center;
}
.dp-douyin__friend-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #d8dce2, #a8b0bc);
}
.dp-douyin__friend-row--video[data-tone="rose"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #f0b8c8, #c87890); }
.dp-douyin__friend-row--video[data-tone="sky"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #a8d4f0, #6898c0); }
.dp-douyin__friend-row--video[data-tone="plum"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #d4b0e8, #9870b8); }
.dp-douyin__friend-row--video[data-tone="mist"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #c0ccd8, #8090a0); }
.dp-douyin__friend-row--video[data-tone="sand"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #e8d4b0, #b89868); }
.dp-douyin__friend-row--video[data-tone="neon"] .dp-douyin__friend-thumb { background: linear-gradient(160deg, #8ee8e4, #ff7aa8); }

/* messages — Douyin style */
.dp-douyin__page--msg {
  background: #fff;
}
.dp-douyin__msg-head {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  align-items: center;
  padding: 2px 8px 10px 48px;
}
.dp-douyin__msg-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dp-douyin__msg-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.dp-douyin__msg-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #25f4ee, #fe2c55, #25f4ee);
  box-shadow: inset 0 0 0 2px #fff;
}
.dp-douyin__msg-tools {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
.dp-douyin__msg-ico {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #161616;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.dp-douyin__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  background: #f3f3f4;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}
.dp-douyin__alert i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.4px solid #999;
  position: relative;
  flex-shrink: 0;
}
.dp-douyin__alert i::before {
  content: '!';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #888;
  font-style: normal;
}
.dp-douyin__alert span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dp-douyin__alert em {
  font-style: normal;
  color: #333;
  font-weight: 500;
  flex-shrink: 0;
}
.dp-douyin__msg-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px;
}
.dp-douyin__notice,
.dp-douyin__chat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: #fff;
  text-align: left;
  width: 100%;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.dp-douyin__notice:active,
.dp-douyin__chat-row:active {
  background: #f7f7f8;
}
.dp-douyin__notice-ico,
.dp-douyin__chat-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 650;
  font-size: 17px;
}
.dp-douyin__notice[data-kind="follow"] .dp-douyin__notice-ico { background: #3d9bff; }
.dp-douyin__notice[data-kind="interact"] .dp-douyin__notice-ico { background: #ff5b8a; }
.dp-douyin__notice[data-kind="group"] .dp-douyin__notice-ico { background: #ff9f1a; }
.dp-douyin__notice[data-kind="system"] .dp-douyin__notice-ico { background: #9aa0a8; }
.dp-douyin__notice[data-kind="chat"] .dp-douyin__notice-ico { background: #2ad4cc; }
.dp-douyin__chat-av { background: #c8ccd4; }
.dp-douyin__chat-av[data-tone="plum"] { background: linear-gradient(145deg, #c49ae8, #7a4aa0); }
.dp-douyin__chat-av[data-tone="rose"] { background: linear-gradient(145deg, #e89ab0, #a05068); }
.dp-douyin__chat-av[data-tone="sky"] { background: linear-gradient(145deg, #7ec4e8, #3a78a0); }
.dp-douyin__chat-av[data-tone="neon"] { background: linear-gradient(145deg, #25f4ee, #fe2c55); }
.dp-douyin__chat-av[data-tone="mist"] { background: linear-gradient(145deg, #a8b4c4, #5a6878); }
.dp-douyin__notice-copy,
.dp-douyin__chat-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dp-douyin__notice-copy strong,
.dp-douyin__chat-copy strong {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #161616;
}
.dp-douyin__notice-copy strong b {
  font-size: 10px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 3px;
  background: #f0f0f0;
  color: #888;
}
.dp-douyin__notice-copy em,
.dp-douyin__chat-copy em {
  font-style: normal;
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dp-douyin__notice-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 2px;
}
.dp-douyin__notice-side i,
.dp-douyin__chat-time {
  font-style: normal;
  font-size: 11px;
  color: #bbb;
}
.dp-douyin__notice-x {
  border: none;
  background: none;
  color: #c8c8c8;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
}
.dp-douyin__chat-row.is-unread .dp-douyin__chat-copy strong::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dy-accent);
  display: inline-block;
}

/* me page — match Douyin profile */
.dp-douyin__page--me {
  position: relative;
  padding-top: 0;
  background: #fff;
  overflow: visible;
}
.dp-douyin__me-banner {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 168px;
  background:
    radial-gradient(ellipse 90% 80% at 18% 20%, rgba(150, 200, 235, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 85% 0%, rgba(255,255,255,0.85) 0%, transparent 50%),
    linear-gradient(180deg, #dceaf4 0%, #eef4f8 55%, #ffffff 100%);
  pointer-events: none;
}
.dp-douyin__me-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top, 0px)) 12px 8px 16px;
}
.dp-douyin__me-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dp-douyin__me-nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #161616;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dp-douyin__me-visitor {
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.72);
  color: #161616;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.dp-douyin__me-body {
  position: relative;
  z-index: 1;
  padding: 4px 0 0;
  background: transparent;
}
.dp-douyin__me-profile {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 6px 16px 14px;
}
.dp-douyin__me-av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #b8c4d0, #6a7888);
  box-shadow: 0 2px 0 rgba(255,255,255,0.8);
  flex-shrink: 0;
  position: relative;
  border: 3px solid #fff;
}
.dp-douyin__me-av span { line-height: 1; }
.dp-douyin__me-av em {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #20c45a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  line-height: 22px;
  text-align: center;
  border: 2.5px solid #fff;
}
.dp-douyin__me-av[data-tone="rose"] { background: linear-gradient(145deg, #e8a0b4, #a05068); }
.dp-douyin__me-av[data-tone="sky"] { background: linear-gradient(145deg, #8ec8e8, #3a78a0); }
.dp-douyin__me-av[data-tone="neon"] { background: linear-gradient(145deg, #25f4ee, #fe2c55); }
.dp-douyin__me-av[data-tone="plum"] { background: linear-gradient(145deg, #c49ae8, #684088); }
.dp-douyin__me-copy {
  flex: 1;
  min-width: 0;
}
.dp-douyin__me-copy h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dp-douyin__me-copy h2 i {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #333;
  margin-top: 4px;
}
.dp-douyin__me-id {
  margin: 0 0 8px;
  font-size: 12px;
  color: #888;
}
.dp-douyin__me-ai {
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
}
.dp-douyin__me-stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 12px;
}
.dp-douyin__me-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-width: 0;
}
.dp-douyin__me-stats div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.dp-douyin__me-stats strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #161616;
}
.dp-douyin__me-stats span {
  font-size: 12px;
  color: #888;
}
.dp-douyin__me-edit {
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #161616;
}
.dp-douyin__me-intro {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(100% - 32px);
  margin: 0 16px 10px;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  color: #666;
  font-size: 13px;
}
.dp-douyin__me-intro span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dp-douyin__me-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px 16px;
}
.dp-douyin__me-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3f3f4;
  color: #666;
}
.dp-douyin__me-tags span.is-add {
  color: #999;
  background: #f7f7f8;
}
.dp-douyin__me-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 8px 8px;
  border-bottom: 8px solid #f5f5f6;
}
.dp-douyin__me-sc {
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 14px;
  color: #333;
  font-size: 11px;
}
.dp-douyin__me-sc-ico {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
}
.dp-douyin__me-tabs {
  display: flex;
  gap: 0;
  padding: 0 8px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 3;
}
.dp-douyin__me-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 14px 0 12px;
  font-size: 15px;
  color: #999;
  font-weight: 500;
  position: relative;
}
.dp-douyin__me-tab.is-on {
  color: #161616;
  font-weight: 700;
}
.dp-douyin__me-tab.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  margin-left: -14px;
  border-radius: 2px;
  background: #161616;
}
.dp-douyin__me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #fff;
  padding: 1px 0 0;
}
.dp-douyin__tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border: none;
  padding: 0;
  overflow: hidden;
  background: #2a2a32;
}
.dp-douyin__tile[data-tone="rose"] { background: linear-gradient(160deg, #5a2030, #1a0a10); }
.dp-douyin__tile[data-tone="sky"] { background: linear-gradient(160deg, #204868, #0a1620); }
.dp-douyin__tile[data-tone="neon"] { background: linear-gradient(160deg, #204850, #2a1030); }
.dp-douyin__tile[data-tone="mist"] { background: linear-gradient(160deg, #304050, #101418); }
.dp-douyin__tile[data-tone="tea"] { background: linear-gradient(160deg, #384028, #12160e); }
.dp-douyin__tile[data-tone="coral"] { background: linear-gradient(160deg, #5a3028, #1a100c); }
.dp-douyin__tile[data-tone="night"] { background: linear-gradient(160deg, #1a2240, #080a12); }
.dp-douyin__tile[data-tone="plum"] { background: linear-gradient(160deg, #402860, #140c1a); }
.dp-douyin__tile[data-tone="sand"] { background: linear-gradient(160deg, #4a3a28, #1a1410); }
.dp-douyin__tile[data-tone="cream"] { background: linear-gradient(160deg, #4a4030, #1c1810); }
.dp-douyin__tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45) 100%);
}
.dp-douyin__tile-likes {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.dp-douyin__tile-likes i {
  width: 11px;
  height: 11px;
  background: #fff;
  clip-path: path('M5.5 10.2C2.2 7.6.8 5.6.8 3.8A2.7 2.7 0 0 1 5.5 2.2 2.7 2.7 0 0 1 10.2 3.8c0 1.8-1.4 3.8-4.7 6.4z');
}
.dp-douyin__me-empty {
  grid-column: 1 / -1;
  padding: 20px 16px 28px;
}
.dp-douyin__me-empty-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f7f7f8;
}
.dp-douyin__me-empty-thumb {
  width: 56px;
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(160deg, #7eb8d8, #3a6a88);
  flex-shrink: 0;
}
.dp-douyin__me-empty-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #161616;
}
.dp-douyin__me-empty-card p {
  margin: 0;
  font-size: 12px;
  color: #999;
}
.dp-douyin__me-empty-card em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--dy-accent);
  border-radius: 999px;
  padding: 7px 12px;
  flex-shrink: 0;
}

/* dock */
.dp-douyin__dock-host {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #000;
  transition: opacity 0.22s ease;
}
.dp-douyin.is-light .dp-douyin__dock-host {
  background: #fff;
}
.dp-douyin__dock-host.is-dim { opacity: 0; pointer-events: none; }
.dp-douyin__dock {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--dy-dock-h);
  padding: 0 6px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dp-douyin.is-light .dp-douyin__dock {
  background: transparent;
  border-top-color: var(--dy-line);
}
.dp-douyin__dock-btn {
  flex: 1;
  border: none;
  background: none;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
}
.dp-douyin.is-light .dp-douyin__dock-btn { color: var(--dy-mute); }
.dp-douyin__dock-btn.is-on {
  color: #fff;
  font-weight: 700;
}
.dp-douyin.is-light .dp-douyin__dock-btn.is-on { color: var(--dy-ink); }
.dp-douyin__dock-plus {
  width: 48px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: -3px 0 0 var(--dy-cyan), 3px 0 0 var(--dy-accent);
}
.dp-douyin.is-light .dp-douyin__dock-plus {
  background: var(--dy-ink);
  box-shadow: -3px 0 0 var(--dy-cyan), 3px 0 0 var(--dy-accent);
}
.dp-douyin__dock-plus span {
  width: 16px;
  height: 2px;
  background: #111;
  position: relative;
  border-radius: 2px;
}
.dp-douyin.is-light .dp-douyin__dock-plus span { background: #fff; }
.dp-douyin__dock-plus span::after {
  content: '';
  position: absolute;
  left: 7px; top: -7px;
  width: 2px;
  height: 16px;
  background: inherit;
  border-radius: 2px;
}

/* sheet overlay */
.dp-douyin__sheet {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: transparent;
  pointer-events: none;
}
.dp-douyin__sheet.is-open {
  pointer-events: auto;
}
.dp-douyin__sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.dp-douyin__sheet.is-open::before {
  opacity: 1;
}
.dp-douyin__sheet-scroll {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 10%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.dp-douyin__sheet.is-open .dp-douyin__sheet-scroll {
  transform: translate3d(0, 0, 0);
}
.dp-douyin__sheet-panel {
  min-height: 100%;
  background: var(--dy-paper);
  color: var(--dy-ink);
  border-radius: 28px 28px 0 0;
  padding-bottom: 40px;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
}
.dp-douyin__sheet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  position: sticky;
  top: 0;
  background: rgba(247,247,248,0.94);
  backdrop-filter: blur(14px);
  z-index: 2;
  border-radius: 28px 28px 0 0;
}
.dp-douyin__sheet-head > button:first-child {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dy-line);
  border-radius: 12px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: var(--dy-ink);
}
.dp-douyin__sheet-head > div { flex: 1; min-width: 0; }
.dp-douyin__sheet-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.dp-douyin__sheet-head p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--dy-mute);
}
.dp-douyin__sheet-like {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(254, 44, 85, 0.12);
  color: var(--dy-accent);
}
.dp-douyin__sheet-like.is-on {
  background: var(--dy-accent);
  color: #fff;
}
.dp-douyin__sheet-stage {
  margin: 0 16px 16px;
  height: 180px;
  border-radius: var(--dy-r);
  position: relative;
  overflow: hidden;
  background: #1a1a22;
}
.dp-douyin__sheet-stage[data-tone="neon"] {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(37,244,238,0.3), transparent 55%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(254,44,85,0.35), transparent 55%),
    #141018;
}
.dp-douyin__sheet-stage[data-tone="rose"] { background: linear-gradient(160deg, #5a2030, #1a0a10); }
.dp-douyin__sheet-stage[data-tone="sky"] { background: linear-gradient(160deg, #204868, #0a1620); }
.dp-douyin__sheet-stage[data-tone="night"] { background: linear-gradient(160deg, #1a2240, #080a12); }
.dp-douyin__sheet-stage[data-tone="plum"] { background: linear-gradient(160deg, #402860, #140c1a); }
.dp-douyin__sheet-stage span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4));
}
.dp-douyin__sheet-stage em {
  position: absolute;
  left: 16px; right: 16px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-style: normal;
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.dp-douyin__sheet-stage i {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.35);
  padding: 2px 8px;
  border-radius: 6px;
}
.dp-douyin__sheet-body {
  padding: 0 18px 24px;
}
.dp-douyin__sheet-cap {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dy-ink);
}
.dp-douyin__sheet-body .dp-douyin__tags .dp-douyin__tag {
  color: #2a6fd4;
}
.dp-douyin__sheet-body .dp-douyin__music {
  color: var(--dy-soft);
  margin-bottom: 14px;
}
.dp-douyin__note {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: var(--dy-r-sm);
  background: rgba(17,17,17,0.04);
  border: 1px solid var(--dy-line);
}
.dp-douyin__note header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dp-douyin__note header em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  color: var(--dy-accent);
  letter-spacing: 0.04em;
}
.dp-douyin__note header span {
  font-size: 11px;
  color: var(--dy-mute);
}
.dp-douyin__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--dy-soft);
}
.dp-douyin__sheet-h {
  margin: 8px 0 12px;
  font-size: 14px;
  font-weight: 700;
}
.dp-douyin__comments {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dp-douyin__comment {
  display: flex;
  gap: 12px;
}
.dp-douyin__comment-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c0c4cc, #707480);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dp-douyin__comment strong {
  display: block;
  font-size: 12px;
  color: var(--dy-mute);
  margin-bottom: 4px;
}
.dp-douyin__comment p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.45;
}
.dp-douyin__comment em {
  font-style: normal;
  font-size: 11px;
  color: var(--dy-mute);
}

/* chat thread */
.dp-douyin__thread {
  padding: 12px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dp-douyin__bubble {
  max-width: 78%;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--dy-line);
  border-radius: 18px 18px 18px 6px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(17,17,17,0.04);
}
.dp-douyin__bubble.is-me {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(37,244,238,0.18), rgba(254,44,85,0.12));
  border-color: transparent;
  border-radius: 18px 18px 6px 18px;
}
.dp-douyin__bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.dp-douyin__bubble i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 10px;
  color: var(--dy-mute);
  text-align: right;
}

/* toast */
.dp-douyin__toast {
  position: absolute;
  left: 50%;
  bottom: calc(var(--dy-dock-h) + 28px);
  transform: translateX(-50%) translateY(12px);
  z-index: 30;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(17,17,17,0.88);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
  max-width: 86%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dp-douyin__toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
