/* Sidra 固定页面接入：只负责主层、状态栏变量与全屏遮罩，不修改源抖音图片节点。 */
#douyin-app {
  --status-safe-top: 0px;
  --status-bar-height: 36.8px;
  --status-bar-space: calc(var(--status-safe-top) + var(--status-bar-height));
  --status-bar-inset-x: 40px;
  --status-battery-shell: rgba(255,255,255,0.22);
  --status-battery-number: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.32,0.72,0,1), visibility 0s linear 0.4s;
}
#douyin-app.is-open { transition-delay: 0s; }
.sidra-viewport.douyin-active { background: #000; }
.sidra-viewport.douyin-active::before { background-color: #000; background-image: none; }
.sidra-viewport.douyin-active .star-field { opacity: 0; visibility: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 全局状态栏 */
#desktop-root.status-bar-hidden{--status-safe-top:0px;--status-bar-height:0px;--status-bar-space:0px;}
#desktop-root.status-bar-motion-ready .page,
#desktop-root.status-bar-motion-ready .settings-scroll,
#desktop-root.status-bar-motion-ready .wechat-header,
#desktop-root.status-bar-motion-ready .wallpaper-scroll{transition:padding-top 340ms cubic-bezier(.22,1,.36,1);}
.system-status-bar{position:absolute;inset:0 0 auto;z-index:500;width:100%;height:var(--status-bar-space);padding:var(--status-safe-top) var(--status-bar-inset-x) 0;display:flex;align-items:center;justify-content:space-between;overflow:hidden;color:var(--ink);background:transparent;opacity:1;visibility:visible;transform:translateY(0) scale(1);transform-origin:top center;filter:blur(0);user-select:none;pointer-events:none;will-change:height,padding-top,opacity,transform,filter;}
#desktop-root.status-bar-motion-ready .system-status-bar{transition:height 340ms cubic-bezier(.22,1,.36,1),padding-top 340ms cubic-bezier(.22,1,.36,1),opacity 190ms ease,transform 340ms cubic-bezier(.22,1,.36,1),filter 220ms ease,visibility 0s linear;}
#desktop-root.status-bar-hidden .system-status-bar{opacity:0;visibility:hidden;transform:translateY(-6px) scale(.985);filter:blur(1.6px);}
#desktop-root.status-bar-motion-ready.status-bar-hidden .system-status-bar{transition-delay:0s,0s,0s,0s,0s,260ms;}
.system-status-time{min-width:56.32px;font-size:16.72px;font-weight:680;line-height:1;letter-spacing:0.01em;font-variant-numeric:tabular-nums;}
.system-status-right{min-width:103.84px;display:flex;align-items:center;justify-content:flex-end;gap:7.04px;}
.system-status-signal{width:21.12px;height:14.08px;flex:0 0 auto;}
.system-status-wifi{width:22px;height:15.84px;flex:0 0 auto;margin-left:-1.76px;}
.system-status-battery{position:relative;width:30.8px;height:14.08px;flex:0 0 auto;margin-left:-1.76px;}
.system-status-battery-shell{position:relative;width:26.4px;height:14.08px;overflow:hidden;border-radius:4.4px;background:var(--status-battery-shell);}
.system-status-battery-level{position:absolute;inset:0 auto 0 0;width:80%;background:currentColor;}
.system-status-battery-number{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:var(--status-battery-number);font-size:13.2px;font-weight:800;line-height:1;letter-spacing:-0.07em;font-variant-numeric:tabular-nums;}
.system-status-battery-cap{position:absolute;left:27.28px;top:50%;width:2.64px;height:4.4px;transform:translateY(-50%);border-radius:0 999px 999px 0;background:var(--status-battery-shell);}

/* ================= 抖音 APP 专有样式 ================= */
#douyin-app {
  background: #000;
  color: #fff;
}
/* 状态栏在抖音打开时强制变白 */
#desktop-root.douyin-active .system-status-time,
#desktop-root.douyin-active .system-status-right {
  color: #FFFFFF !important;
}
#desktop-root.douyin-active:not(.douyin-solid) .system-status-time,
#desktop-root.douyin-active:not(.douyin-solid) .system-status-right {
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.dy-tab-layer {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  animation: fadeIn 0.3s ease;
}
.dy-tab-layer.active {
  display: block;
}
.dy-scroll-content {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: calc(env(safe-area-inset-bottom) + 54px);
}
.dy-scroll-content::-webkit-scrollbar {
  display: none;
}
.dy-pt-header {
  padding-top: calc(var(--status-bar-space) + 54px);
}

/* 沉浸式视频层 (首页 & 朋友) */
.dy-media-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.dy-media-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dy-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 15%, transparent 60%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}
.dy-top-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--status-bar-space) + 8px) 16px 12px;
  font-size: 17px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.dy-top-nav i {
  font-size: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 4px;
}
.dy-tabs {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.dy-tabs span {
  cursor: pointer;
}
.dy-tabs span.active {
  color: #fff;
  font-weight: 600;
  position: relative;
}
.dy-tabs span.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
}
.dy-right-actions {
  position: absolute;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 72px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.dy-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.dy-action-item i {
  font-size: 32px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
  transition: transform 0.2s, color 0.2s;
}
.dy-action-item span {
  font-size: 12px;
  font-weight: 500;
}
/* 点赞特效 */
.dy-action-item.liked i {
  color: #FE2C55;
  animation: dyHeartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes dyHeartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.dy-avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}
.dy-avatar-wrap .dy-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #333;
  overflow: hidden;
  object-fit: cover;
}
.dy-avatar-wrap .dy-add-follow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: #FE2C55;
  font-size: 20px !important;
  background: #fff;
  border-radius: 50%;
  line-height: 1;
}
.dy-record {
  margin-top: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dySpin 4s linear infinite;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.1);
}
.dy-record i {
  font-size: 18px;
  color: #fff;
}
@keyframes dySpin {
  100% { transform: rotate(360deg); }
}
.dy-bottom-info {
  position: absolute;
  left: 16px;
  right: 80px;
  bottom: calc(env(safe-area-inset-bottom) + 64px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.dy-username {
  font-size: 17px;
  font-weight: 600;
}
.dy-caption {
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dy-tag {
  font-weight: 600;
}
.dy-music {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 2px;
}
.dy-music i {
  font-size: 13px;
}
.dy-music-scroll {
  width: 140px;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.dy-music-scroll span {
  display: inline-block;
  animation: dyMarquee 6s linear infinite;
}
@keyframes dyMarquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 消息 & 我 实体背景头部 */
.dy-header-solid {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: calc(var(--status-bar-space) + 8px) 16px 12px;
  background: #161823;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.dy-header-solid .dy-title {
  font-size: 17px;
  font-weight: 600;
}
.dy-header-solid i {
  font-size: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: #fff;
}

/* 消息页内容 */
.dy-msg-shortcuts {
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.dy-msg-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dy-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.dy-icon-circle.blue { background: #24F6F0; color: #fff; }
.dy-icon-circle.pink { background: #FE2C55; color: #fff; }
.dy-icon-circle.yellow { background: #FFB300; color: #fff; }
.dy-msg-icon-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.dy-msg-list {
  padding-top: 10px;
}
.dy-chat-cell {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dy-chat-cell:active { background: rgba(255,255,255,0.05); }
.dy-chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 14px;
}
.dy-chat-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dy-chat-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.dy-chat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dy-chat-cam {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-left: 10px;
  flex-shrink: 0;
}

/* 个人主页内容 */
.dy-profile-cover {
  width: 100%;
  height: 180px;
  position: relative;
}
.dy-profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dy-profile-nav {
  position: absolute;
  top: calc(var(--status-bar-space) + 8px);
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
}
.dy-profile-nav-right {
  display: flex;
  gap: 16px;
}
.dy-profile-nav i {
  font-size: 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  cursor: pointer;
}
.dy-profile-main {
  padding: 0 16px;
  margin-top: -24px;
  position: relative;
  z-index: 10;
}
.dy-profile-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.dy-profile-avatar-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid #161823;
  object-fit: cover;
  background: #333;
}
.dy-profile-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.dy-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dy-btn-icon {
  padding: 8px 12px;
}
.dy-profile-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dy-profile-id {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.dy-profile-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.dy-profile-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.dy-tag-pill {
  background: rgba(255,255,255,0.08);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}
.dy-profile-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.dy-stat {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.dy-stat-num {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-right: 4px;
}
.dy-profile-tabs-wrap {
  display: flex;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 2px;
}
.dy-p-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  position: relative;
  cursor: pointer;
}
.dy-p-tab.active {
  color: #fff;
  font-weight: 600;
}
.dy-p-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #FFDF00;
}
.dy-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.dy-grid-item {
  aspect-ratio: 3/4;
  background: #333;
  position: relative;
}
.dy-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dy-play-count {
  position: absolute;
  bottom: 6px; left: 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dy-play-count i { font-size: 10px; }

/* 底部导航栏 */
.dy-bottom-tabbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: calc(env(safe-area-inset-bottom) + 54px);
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding-top: 14px;
  z-index: 50;
  transition: background 0.3s;
}
.dy-bottom-tabbar.solid {
  background: #161823;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.dy-tab-item {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 4px 8px;
}
.dy-tab-item.active {
  color: #fff;
  font-weight: 600;
}
.dy-create-btn {
  padding: 0;
  margin-top: -2px;
}
.dy-create-inner {
  width: 44px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dy-create-inner::before {
  content: '';
  position: absolute;
  top: 0; left: -3px; bottom: 0; width: 10px;
  background: #24F6F0;
  border-radius: 8px 0 0 8px;
  z-index: -1;
}
.dy-create-inner::after {
  content: '';
  position: absolute;
  top: 0; right: -3px; bottom: 0; width: 10px;
  background: #FE2C55;
  border-radius: 0 8px 8px 0;
  z-index: -1;
}
.dy-create-inner i {
  color: #000;
  font-size: 16px;
}

/* 扩展：评论区面板 */
.dy-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.dy-mask.active {
  display: block;
  opacity: 1;
}
.dy-comments-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: #161823;
  border-radius: 16px 16px 0 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dy-comments-sheet.active {
  transform: translateY(0);
}
.dy-sheet-header {
  padding: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.dy-sheet-header i {
  position: absolute;
  right: 16px; top: 16px;
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dy-sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: none;
}
.dy-sheet-content::-webkit-scrollbar { display: none; }
.dy-comment-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.dy-comment-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.dy-comment-main { flex: 1; }
.dy-comment-name {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.dy-comment-text {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 6px;
}
.dy-comment-time {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.dy-comment-like {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dy-comment-like i { font-size: 14px; }
.dy-comment-like.liked i { color: #FE2C55; }
.dy-comment-like span { font-size: 11px; }
.dy-sheet-footer {
  padding: 12px 16px calc(env(safe-area-inset-bottom) + 12px);
  background: #161823;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dy-sheet-footer input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.dy-sheet-footer input::placeholder { color: rgba(255,255,255,0.4); }
.dy-sheet-footer i {
  font-size: 24px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}

/* 扩展：搜索页与聊天页 (全屏浮层) */
.dy-overlay-page {
  position: absolute;
  inset: 0;
  background: #161823;
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dy-overlay-page.active {
  transform: translateX(0);
}
/* 搜索页 */
.dy-search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(var(--status-bar-space) + 8px) 16px 12px;
}
.dy-search-header > i {
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}
.dy-search-input-box {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
}
.dy-search-input-box i {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}
.dy-search-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.dy-search-input-box input::placeholder { color: rgba(255,255,255,0.4); }
.dy-search-btn {
  font-size: 15px;
  color: #FE2C55;
  font-weight: 500;
  cursor: pointer;
}
.dy-search-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}
.dy-search-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.dy-search-title i { color: rgba(255,255,255,0.5); font-size: 13px;}
.dy-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.dy-search-tag {
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.dy-hot-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dy-hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.dy-hot-num {
  font-weight: bold;
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.dy-hot-num.top1 { color: #FE2C55; }
.dy-hot-num.top2 { color: #FF6A00; }
.dy-hot-num.top3 { color: #FFB300; }
.dy-hot-num { color: rgba(255,255,255,0.4); }
.dy-hot-text { flex: 1; color: rgba(255,255,255,0.9); }
.dy-hot-icon {
  background: #FE2C55;
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  transform: scale(0.9);
}

/* 聊天页 */
.dy-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--status-bar-space) + 8px) 16px 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.dy-chat-header i { font-size: 20px; cursor: pointer; color: #fff;}
.dy-chat-title { font-size: 17px; font-weight: 600; }
.dy-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dy-msg-bubble-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dy-msg-bubble-wrap.right {
  flex-direction: row-reverse;
}
.dy-msg-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.dy-msg-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.dy-msg-bubble-wrap.left .dy-msg-bubble {
  background: #2a2a2a;
  border-top-left-radius: 2px;
}
.dy-msg-bubble-wrap.right .dy-msg-bubble {
  background: #38A6FA;
  border-top-right-radius: 2px;
}
.dy-chat-footer {
  padding: 10px 16px calc(env(safe-area-inset-bottom) + 10px);
  background: #161823;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dy-chat-footer i {
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.dy-chat-footer input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.dy-chat-footer input::placeholder { color: rgba(255,255,255,0.4); }
