/*
  ==============================================================================
  数字博主大屏主页样式 (Digital Creator TV Experience 1920x1080)
  设计标准：1920px × 1080px (FHD 电视大屏 10-foot UI)
  设计语言：深空曜石黑底、全息数字光晕、极光玻璃拟态 (Glassmorphism)、高对比度电视排版
  ==============================================================================
*/

:root {
  --bg-space: #060813;
  --bg-card: rgba(22, 28, 48, 0.65);
  --bg-card-hover: rgba(32, 42, 72, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(56, 189, 248, 0.9);
  --focus-glow: 0 0 0 3px rgba(56, 189, 248, 0.85), 0 16px 36px rgba(14, 165, 233, 0.35);
  --primary-cyan: #38bdf8;
  --primary-purple: #a855f7;
  --primary-pink: #ec4899;
  --primary-emerald: #10b981;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --accent-gold: #fbbf24;
  --accent-red: #f43f5e;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  user-select: none;
  outline: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #030408;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
}

/* ==============================================================================
   全屏视口居中适配器与 1920x1080 核心舞台
   ============================================================================== */
.screen-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0c1020 0%, #030408 100%);
}

.app-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  min-width: 1920px;
  min-height: 1080px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: center center;
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.95);
  background-color: var(--bg-space);
}

/* 主页全景背景 (高清地球夜景，弧线透亮，深空静谧) */
.creator-bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-layer-image {
  position: absolute;
  inset: -100px;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.95) contrast(1.15);
  transform: scale(1.28) translateY(-110px);
  transition: background-image 0.8s ease-in-out;
}

.ambient-layer-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(1200px 600px at 50% 25%, rgba(14, 165, 233, 0.18), transparent 70%),
    linear-gradient(to bottom, rgba(6, 9, 20, 0) 0%, rgba(6, 9, 20, 0.18) 35%, rgba(6, 9, 20, 0.82) 100%);
}

/* ==============================================================================
   2. 【信息展示】与【用户互动】核心英雄区 (严格对齐效果图无外框浮动排版)
   ============================================================================== */
.creator-hero-stage {
  position: relative;
  z-index: 10;
  padding: 44px 120px 16px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左侧资料区 */
.creator-profile-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* 头像 (带左下方青绿外发光弧圈与右下角在线胶囊) */
.avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.avatar-ring-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid rgba(45, 212, 191, 0.85);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.6), inset 0 0 10px rgba(56, 189, 248, 0.3);
  pointer-events: none;
}

.avatar-inner-box {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #070a13;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 头像右下角在线胶囊 */
.avatar-status-badge {
  position: absolute;
  bottom: 0;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #10b981;
  border: 2px solid #060913;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.avatar-status-badge.offline {
  background: #64748b;
  color: #e2e8f0;
}

/* 资料文字与按钮列 */
.creator-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-header-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-name {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* 名称旁边精致女性粉底白标徽标 ♀ */
.creator-gender-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: #d946ef;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.4);
}

/* 粉丝与获赞统计行 */
.creator-stats-line {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.stat-svg {
  color: #cbd5e1;
  width: 15px;
  height: 15px;
}

.stat-value {
  font-weight: 700;
  color: #ffffff;
}

.stat-text {
  color: #94a3b8;
  font-size: 14.5px;
}

/* 关注与语音沉浸互动横向按钮组 */
.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

/* + 关注 按钮 */
.btn-action-follow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-action-follow .follow-plus {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.btn-action-follow:hover,
.btn-action-follow.focused {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px #ffffff, 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-action-follow.followed {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

/* 🎙 语音沉浸互动 按钮 (炫彩蓝紫渐变胶囊) */
.btn-enter-interactive {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0284c7 0%, #3b82f6 30%, #8b5cf6 70%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-enter-interactive:hover,
.btn-enter-interactive.focused {
  transform: scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px #ffffff, 0 12px 30px rgba(99, 102, 241, 0.75);
}

.btn-enter-interactive.btn-disabled {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(100, 116, 139, 0.35) !important;
  box-shadow: none !important;
  opacity: 0.65;
  filter: grayscale(0.9);
}

/* 右侧两行简介与纯文本标签 (右对齐，严格对齐效果图大字号排版) */
.creator-profile-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 18px;
  padding-top: 4px;
}

.creator-bio-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-bio-row1 {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.creator-bio-row2 {
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* 纯文本竖线分隔标签 (无胶囊背景，字号放大至20px，空灵冰蓝调) */
.creator-tags-plain {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  color: #9bb5de;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tag-pipe-divider {
  color: rgba(155, 181, 222, 0.35);
  font-weight: 300;
  margin: 0 8px;
}

/* ==============================================================================
   3. 【全部作品】专区 (思维导图分支三)
   ============================================================================== */
.creator-works-section {
  position: relative;
  z-index: 10;
  flex: 1;
  padding: 0 120px 36px 120px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.works-filter-bar {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.works-section-title-wrap {
  display: flex;
  align-items: center;
}

.works-section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.works-total-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  background: rgba(28, 42, 70, 0.85);
  color: #93c5fd;
  font-size: 21px;
  font-weight: 800;
  border: 1px solid rgba(147, 197, 253, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

/* 作品网格视口 (4列 × 2行，1屏沉浸呈现) */
.works-scroll-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

.works-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  width: 100%;
}

/* 作品单卡 (按 0.9003 比例等比缩小，高度由 330px 变为 298px) */
.work-card-item {
  position: relative;
  width: 100%;
  height: 298px;
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* 严格对齐效果图 Card 1 聚焦态：纯白双线高亮边框 + 青蓝外发光 */
.work-card-item:hover,
.work-card-item.focused {
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5), 0 16px 36px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-2px);
  z-index: 10;
}

/* 视频封面与右上角药丸时长徽章 (高度等比缩小至 176px) */
.video-media-cover {
  position: relative;
  width: 100%;
  height: 176px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.duration-badge-topright {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 2.5px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
  z-index: 3;
}

.duration-badge-topright .play-tri {
  font-size: 10px;
  margin-right: 1px;
}

/* 文章卡片封面 (高度等比缩小至 176px，优雅靛青底色 + 浅蓝紫双引号放大 + 正文金字 + 落焦向上平滑滚动) */
.article-cover-panel {
  position: relative;
  width: 100%;
  height: 176px;
  background: #151b38;
  padding: 12px 16px 8px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.article-quote-viewport {
  position: relative;
  width: 100%;
  height: 138px;
  overflow: hidden;
  box-sizing: border-box;
}

.article-quote-viewport::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, #151b38, transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.article-quote-viewport::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(to top, #151b38, transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.article-quote-viewport.scrolling-active::before,
.article-quote-viewport.scrolling-active::after {
  opacity: 1;
}

.article-quote-scroll-track {
  display: block;
  width: 100%;
  transform: translateY(0);
  will-change: transform;
}

/* 双引号：等比微调至 38px，浅蓝紫高对比光感 */
.article-quote-mark {
  font-size: 38px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: #818cf8;
  line-height: 26px;
  height: 26px;
  margin: 0 0 4px 0;
  user-select: none;
  display: block;
  text-shadow: 0 0 14px rgba(129, 140, 248, 0.45);
}

.article-closing-quote {
  font-size: 26px;
  font-weight: 900;
  color: #818cf8;
  font-family: Georgia, 'Times New Roman', serif;
  margin-left: 6px;
  vertical-align: -2px;
  text-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
}

.article-snippet-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 正文字体：等比微调至 20.5px，明亮香槟金色 #fde047，行高 30px，大屏阅读舒展大气且完美容纳 */
.article-snippet-line {
  font-size: 20.5px;
  font-weight: 600;
  color: #fde047;
  line-height: 30px;
  margin: 0;
  letter-spacing: 0.2px;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 14px rgba(253, 224, 71, 0.22);
}

/* 图片封面 (高度等比缩小至 176px) */
.gallery-cover-grid {
  position: relative;
  width: 100%;
  height: 176px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 卡片文本内容 (内边距等比微调至 12px 16px) */
.work-content-body {
  padding: 12px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.work-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

/* 卡片底栏：播放量与点赞数据 */
.work-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-top: auto;
}

.card-views-text {
  color: #94a3b8;
  font-weight: 500;
}

.card-like-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-like-badge .heart-symbol {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1;
}

.card-like-badge .like-num {
  font-size: 13.5px;
}

.card-like-badge.active-like,
.card-like-badge:hover {
  color: #fb7185;
}

.card-like-badge.active-like .heart-symbol,
.card-like-badge:hover .heart-symbol {
  color: #f43f5e;
}

/* ==============================================================================
   tvOS System Materials: 模态层弹出时底层舞台景深下沉微退 (Recessed Backdrop)
   ============================================================================== */
.creator-bg-ambient,
.top-status-bar,
.creator-hero-stage,
.creator-works-section {
  transition: filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

.app-stage.modal-backdrop-recess > .creator-bg-ambient,
.app-stage.modal-backdrop-recess > .top-status-bar,
.app-stage.modal-backdrop-recess > .creator-hero-stage,
.app-stage.modal-backdrop-recess > .creator-works-section {
  filter: brightness(0.48) blur(6px);
  transform: scale(0.975);
  pointer-events: none;
}

/* ==============================================================================
   核心特色弹窗：【数字博主 1V1 沉浸互动视界】 (官号没有，只有数字博主有！)
   ============================================================================== */
.interactive-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(3, 5, 12, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.interactive-stage-panel {
  position: relative;
  width: 1720px;
  height: 920px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(56, 189, 248, 0.2);
  display: flex;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-modal-overlay.active .interactive-stage-panel {
  transform: scale(1);
}

/* 互动左侧：数字人高精拟真全身形象与全息光场 */
.interactive-digital-avatar-col {
  position: relative;
  width: 720px;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15), transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.interactive-avatar-stage {
  position: relative;
  width: 520px;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.avatar-speech-wave {
  position: absolute;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(12px);
}

.wave-bar {
  width: 4px;
  height: 24px;
  background: var(--primary-cyan);
  border-radius: 4px;
  animation: wave-anim 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { height: 16px; animation-delay: 0.15s; background: var(--primary-purple); }
.wave-bar:nth-child(3) { height: 32px; animation-delay: 0.3s; background: var(--primary-pink); }
.wave-bar:nth-child(4) { height: 18px; animation-delay: 0.45s; background: var(--primary-cyan); }
.wave-bar:nth-child(5) { height: 28px; animation-delay: 0.6s; background: var(--primary-emerald); }

@keyframes wave-anim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

.avatar-speech-status {
  font-size: 14px;
  color: #38bdf8;
  font-weight: 600;
  margin-left: 10px;
}

/* 互动右侧：对话面板与大屏遥控器话题选择器 */
.interactive-dialog-col {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-creator-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dialog-creator-name {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.dialog-creator-tag {
  font-size: 13px;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-close-modal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-sub);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-modal:hover,
.btn-close-modal.focused {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #fff;
  transform: scale(1.05);
}

/* AI 实时气泡回答区 */
.dialog-speech-bubble-box {
  margin: 32px 0;
  padding: 28px 36px;
  border-radius: 24px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bubble-ai-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-cyan);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bubble-ai-content {
  font-size: 22px;
  line-height: 1.6;
  color: #f8fafc;
  font-weight: 500;
}

/* 大屏遥控器快捷话题预设 (4 个大药丸按钮) */
.dialog-topics-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-topics-title {
  font-size: 16px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dialog-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-interactive-card {
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.topic-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.topic-text {
  font-size: 17px;
  font-weight: 600;
  color: #e2e8f0;
}

.topic-interactive-card:hover,
.topic-interactive-card.focused {
  transform: translateY(-4px) scale(1.03);
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

/* ==============================================================================
   全屏媒体/文字沉浸速读弹窗
   ============================================================================== */
.media-preview-modal {
  position: absolute;
  inset: 0;
  z-index: 110;
  background: rgba(2, 4, 10, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.media-preview-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.media-preview-box {
  position: relative;
  width: 1600px;
  height: 900px;
  border-radius: 28px;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.media-preview-head {
  height: 70px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.8);
}

.media-preview-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
}

/* 全屏点赞 Toast 提示与爱心飞舞微动效 */
.floating-heart {
  position: absolute;
  font-size: 28px;
  pointer-events: none;
  z-index: 999;
  animation: float-up-fade 1.2s ease-out forwards;
}

@keyframes float-up-fade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6);
  }
  50% {
    transform: translateY(-60px) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) scale(1.6);
  }
}

.toast-notification {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--primary-cyan);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
