.daily-search-wrapper {
  margin: 20px 16px;
}

.daily-search-box {
  display: flex;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.daily-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
}

.daily-search-box button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* 顶部 Tabs (电视剧/电影) */
.segment-tabs {
  background: #f0f0f5;
  margin: 0 16px 15px 16px;
  border-radius: 12px;
  padding: 4px 10px;
  display: flex;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.segment-tab-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.segment-tab-item.active {
  background: #fff;
  color: #2563eb;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

/* 提示文字 */
.list-hint {
  text-align: right;
  font-size: 12px;
  color: #94a3b8;
  margin: 0 20px 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.list-hint i {
  margin-left: 4px;
}

/* 资源列表 */
.resource-list {
  padding: 0 16px;
  margin-bottom: 30px;
}

.resource-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid #f1f5f9;
  transition: transform 0.2s;
}

.resource-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.res-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 10px;
}

.res-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-right: 8px;
}

.res-status {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 500;
}

/* 右侧图标组 */
.res-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.15s ease;
  padding: 5px;
  cursor: pointer;
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-quark {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.icon-cloud {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

/* 底部大按钮 */
.bottom-search-btn-wrapper {
  padding: 0 16px 40px 16px;
  text-align: center;
}

.full-search-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 14px 0;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  cursor: pointer;
}

.bottom-hint-text {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 15px;
  text-align: center;
}

/* --- 新增：侧边栏样式 (默认隐藏) --- */
.daily-sidebar {
  display: none;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid #f1f5f9;
}

.sidebar-header {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  border-left: 4px solid #2563eb;
  /* 蓝色竖条装饰 */
  padding-left: 10px;
  color: #1f2937;
}

.hot-list-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s;
}

.hot-list-item:hover {
  color: #2563eb;
  padding-left: 5px;
  /* 悬停轻微右移 */
}

.hot-list-item:last-child {
  border-bottom: none;
}

.hot-rank-num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #9ca3af;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

/* 前三名高亮 */
.hot-list-item:nth-child(1) .hot-rank-num {
  background: #ef4444;
  color: white;
}

.hot-list-item:nth-child(2) .hot-rank-num {
  background: #f97316;
  color: white;
}

.hot-list-item:nth-child(3) .hot-rank-num {
  background: #eab308;
  color: white;
}

.hot-heat {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
}

.daily-layout {
  width: 100%;
}

/* =========================================
       重点：电脑端适配 (双栏布局)
       ========================================= */
@media (min-width: 992px) {
  /* 使用 Flex 布局实现左右分栏 */
  .daily-layout {
    display: flex;
    align-items: flex-start;
    /* 顶部对齐 */
    gap: 24px;
    align-items: baseline;
  }

  .daily-main {
    flex: 1;
    /* 左侧占满剩余空间 */
    min-width: 0;
  }

  .daily-sidebar {
    display: block;
    /* 显示侧边栏 */
    width: 300px;
    /* 固定宽度 */
    flex-shrink: 0;
    position: sticky;
    /* 吸附效果 */
    top: 80px;
    /* 距离顶部导航栏的高度 */
  }

  .resource-item {
    padding: 20px;
  }
}


@media (max-width: 767px) {
    .daily-search-box{
      height: 60px;
        overflow: hidden !important;
        position: relative;
    }
    .daily-search-box button{
        position: absolute;
        height: 80%;
        right: 2%;
        top: 50%;
        border-radius: 1000px;
        transform: translateY(-50%);
    }
}
