/**
 * PanSD Modern Search Experience Stylesheet
 * High-end SaaS / Modern Internet Style
 * Harmonized with partner.css & modern-tokens.css
 */

/* Import modern tokens */
@import url('modern-tokens.css');

/* Body & App Shell */
body {
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(224, 231, 255, 0.25) 0px, transparent 50%);
  background-attachment: fixed;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  color: var(--text-main) !important;
  -webkit-font-smoothing: antialiased;
}

#mainPage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.site-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.site-brand-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
}

.site-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.site-brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Search Hero Section */
.search-hero-section {
  padding: 64px 20px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(238, 242, 255, 0.85);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--primary-border);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.hero-title {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-main) !important;
  margin-bottom: 14px;
  font-family: inherit !important;
  word-break: keep-all;
  text-wrap: balance;
}

.hero-title-break {
  display: none;
}

.hero-title-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted) !important;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Modern High-End Search Box */
.search-box-wrap {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.modern-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.18), 0 0 0 4px rgba(79, 70, 229, 0.12);
  transform: translateY(-1px);
}

.search-input-icon {
  color: #94a3b8;
  font-size: 18px;
  margin-right: 12px;
  transition: color 0.2s ease;
}

.modern-search-bar:focus-within .search-input-icon {
  color: var(--primary);
}

.modern-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-family: inherit !important;
  color: var(--text-main) !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  min-width: 0;
}

.modern-search-input::placeholder {
  color: #94a3b8 !important;
  font-size: 15px;
}

.search-clear-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 16px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: none;
}

.search-clear-btn:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.modern-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--gradient-brand) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.modern-search-submit:hover {
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.modern-search-submit:active {
  transform: translateY(0) scale(0.98);
}

/* Search History & Shortcuts */
.search-extras {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px;
}

.history-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.history-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  transform: translateY(-2px); /* 向上微调，使得“搜索历史”四字与历史记录标签文字精准处于同一水平线 */
  position: relative;
  user-select: none;
}

.history-label .fa {
  font-size: 13px;
  color: #94a3b8;
  position: relative;
  top: -0.5px;
}

.history-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-body);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin: 0;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-tag:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-border);
  color: var(--primary);
  transform: translateY(-1px);
}

.history-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #fff5f5;
  border: 1px solid #fee2e2;
  color: #ef4444;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 0;
}

.history-clear-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: translateY(-1px);
}

/* Search Results Section */
.results-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 48px;
  width: 100%;
  box-sizing: border-box;
}

/* Results Toolbar */
.modern-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.toolbar-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.stat-highlight {
  font-weight: 700;
  color: var(--primary);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Cloud Category Tab Navigation */
.cloud-tab-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.cloud-tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tab-button:hover {
  border-color: #cbd5e1;
  color: var(--text-main);
  background: var(--surface-hover);
}

.tab-button.active {
  background: var(--primary-subtle) !important;
  border-color: var(--primary-border) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15) !important;
}

/* Cloud Icons & Badges */
.cloud-icon,
.tab-button .cloud-icon,
.tab-button img,
.cloud-badge img {
  width: 18px;
  height: 18px;
  border-radius: 6px !important;
  object-fit: cover;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.tab-button i.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.cloud-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.cloud-badge-baidu { background: #eef1fe; color: #2932e1; }
.cloud-badge-quark { background: #e6faf7; color: #00b9a5; }
.cloud-badge-aliyun { background: #fff2e8; color: #ff6a00; }
.cloud-badge-115 { background: #edf8f1; color: #27b068; }
.cloud-badge-xunlei { background: #edf5ff; color: #0c77ff; }
.cloud-badge-other { background: #f1f5f9; color: #64748b; }

/* Modern Search Cards (Card View) */
.card-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.modern-resource-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.modern-resource-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  transform: translateY(-3px);
}

.modern-resource-card.is-local {
  border-color: #fbcfe8;
  background: linear-gradient(180deg, #fffdfd 0%, #ffffff 100%);
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-title-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.45;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.card-title-link:hover {
  color: var(--primary);
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 14px;
  margin-bottom: 16px;
  border-top: 1px dashed #f1f5f9;
}

.card-btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  border-radius: 8px;
  background: var(--gradient-brand) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
  transition: all 0.18s ease;
}

.card-btn-get:hover {
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

/* Modern List View */
.list-view {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

.modern-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}

.modern-list-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .modern-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .modern-list-item > button {
    width: 100% !important;
    justify-content: center;
  }
}

/* Trending (热门影视) Section Modernization */
.trending-section {
  padding: 56px 20px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.trending-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.trending-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-tab {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.main-tab:hover {
  color: var(--text-main) !important;
  background: #f1f5f9 !important;
}

.main-tab.active {
  color: var(--primary) !important;
  background: var(--primary-subtle) !important;
  border-color: var(--primary-border) !important;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12) !important;
}

.sub-tab {
  padding: 4px 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

.sub-tab:hover {
  color: var(--text-main) !important;
  background: #f1f5f9 !important;
}

.sub-tab.active {
  color: var(--primary) !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.trending-card {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.poster-rating-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 15;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
  pointer-events: none;
}

.trending-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14) !important;
  border-color: #c7d2fe !important;
}

/* Site Modern Footer */
.site-footer {
  background: #0f172a !important;
  color: #94a3b8 !important;
  padding: 48px 20px 32px !important;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.site-footer a {
  color: #cbd5e1 !important;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #818cf8 !important;
}

.site-footer-title {
  color: #f8fafc !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.site-footer-copy {
  color: #64748b !important;
  line-height: 1.7 !important;
  font-size: 12px !important;
}

.site-footer-meta {
  border-top: 1px solid #1e293b !important;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  color: #475569 !important;
  font-size: 12px !important;
}

/* ==========================================================================
   Dynamic Island: Floating Bottom Link-Check Pill (灵动岛悬浮药丸)
   ========================================================================== */
.link-check-island {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(1);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: auto;
  opacity: 1;
  transition: all 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-check-island.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(24px) scale(0.92);
  pointer-events: none;
  visibility: hidden;
}

.link-check-island.is-leaving {
  opacity: 0;
  transform: translateX(-50%) translateY(16px) scale(0.96);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.island-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(129, 140, 248, 0.3);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: island-spin 0.8s linear infinite;
}

@keyframes island-spin {
  to { transform: rotate(360deg); }
}

.island-check-icon {
  color: #34d399; /* Emerald-400 */
  font-size: 12px;
}

.island-warn-icon {
  color: #fbbf24; /* Amber-400 */
  font-size: 11px;
}

.island-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.island-title {
  color: #f8fafc;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.island-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 9999px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

/* Completion states */
.link-check-island.status-success {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 12px 32px -4px rgba(16, 185, 129, 0.25), 0 0 0 1px rgba(52, 211, 153, 0.18);
}

.link-check-island.status-success .island-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.3);
}

.link-check-island.status-warning {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 12px 32px -4px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(251, 191, 36, 0.18);
}

.link-check-island.status-warning .island-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.3);
}

@media (max-width: 640px) {
  .link-check-island {
    bottom: 20px;
    padding: 7px 14px 7px 10px;
    font-size: 12px;
    gap: 8px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }
  .island-title {
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   Search Experience Optimizations (8-Point Plan)
   ========================================================================== */

/* 1. Keyword Highlighting */
.search-keyword-highlight {
  background: rgba(254, 240, 138, 0.7);
  color: #92400e;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.35);
}

/* 2. Smart Resource Chips */
.resource-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  margin-bottom: 8px;
}

.resource-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 6px;
  white-space: nowrap;
  user-select: none;
  transition: all 0.15s ease;
}

.resource-chip.chip-res-4k {
  background: rgba(147, 51, 234, 0.08);
  color: #7e22ce;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

.resource-chip.chip-res-hd {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(147, 197, 253, 0.4);
}

.resource-chip.chip-res-sd {
  background: rgba(100, 116, 139, 0.08);
  color: #475569;
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.resource-chip.chip-status {
  background: rgba(13, 148, 136, 0.08);
  color: #0f766e;
  border: 1px solid rgba(94, 234, 212, 0.45);
}

.resource-chip.chip-format {
  background: rgba(71, 85, 105, 0.08);
  color: #334155;
  border: 1px solid rgba(203, 213, 225, 0.6);
}

.resource-chip.chip-free {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(110, 231, 183, 0.45);
}

.resource-chip.chip-pwd {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(252, 211, 77, 0.45);
  font-family: var(--font-mono, monospace);
}

/* 3. Provider Hover Halos & Brand Accents */
.modern-resource-card.provider-quark:hover {
  border-color: rgba(0, 185, 165, 0.5);
  box-shadow: 0 12px 28px -6px rgba(0, 185, 165, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.modern-resource-card.provider-baidu:hover {
  border-color: rgba(41, 50, 225, 0.5);
  box-shadow: 0 12px 28px -6px rgba(41, 50, 225, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.modern-resource-card.provider-aliyun:hover {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 12px 28px -6px rgba(255, 106, 0, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.modern-resource-card.provider-115:hover {
  border-color: rgba(39, 176, 104, 0.5);
  box-shadow: 0 12px 28px -6px rgba(39, 176, 104, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

.modern-resource-card.provider-xunlei:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* 4. Card Action Buttons & Quick Copy */
.card-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.card-actions-group .card-btn-get {
  flex: 1;
  width: auto;
}

.card-btn-quick-copy,
.card-btn-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.card-btn-quick-copy:hover,
.card-btn-preview:hover {
  background: #f1f5f9;
  color: var(--primary);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.card-btn-quick-copy.is-copied {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #059669 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  transform: scale(1.05);
}

.list-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.list-actions-group .btn-sm {
  height: 34px;
  padding: 0 14px;
}

.list-actions-group .card-btn-quick-copy,
.list-actions-group .card-btn-preview {
  width: 34px;
  height: 34px;
}

/* 5. Filter Toolbar */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.filter-toolbar.hidden {
  display: none !important;
}

.filter-group-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-group-categories::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.filter-chip:hover {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: #cbd5e1;
}

.filter-chip.active {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary-border);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.12);
}

.filter-group-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.filter-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  user-select: none;
}

.filter-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: relative;
  width: 36px;
  height: 20px;
  background-color: #e2e8f0;
  border-radius: 9999px;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.filter-toggle input:checked + .toggle-slider {
  background-color: #10b981;
}

.filter-toggle input:checked + .toggle-slider::before {
  transform: translateX(16px);
}

.filter-sort-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 28px 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.filter-sort-select:hover,
.filter-sort-select:focus {
  border-color: var(--primary-border);
  background: #ffffff;
}

.filter-sort-dropdown .sort-icon {
  position: absolute;
  right: 10px;
  font-size: 11px;
  color: #94a3b8;
  pointer-events: none;
}

/* 6. Side Drawer (File Preview & Resource Details) */
.file-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.file-drawer-backdrop:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.file-drawer-backdrop.hidden {
  display: none !important;
}

.file-drawer-sheet {
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.file-drawer-backdrop.drawer-open .file-drawer-sheet {
  transform: translateX(0);
}

.sheet-drag-handle {
  display: none;
}

.file-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.file-drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.45;
  word-break: break-word;
}

.drawer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: scale(1.05);
}

/* 资源规格与安全状态卡片 */
.drawer-spec-card {
  padding: 12px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.drawer-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-spec-item:not(:last-child) {
  border-right: 1px solid #f1f5f9;
  padding-right: 8px;
}

.spec-label {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
}

.spec-val {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* 分类统计标签栏 */
.drawer-category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.category-pill:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.category-pill.active {
  box-shadow: 0 0 0 2px #4f46e5;
  font-weight: 600;
}

.category-pill-video { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.category-pill-audio { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.category-pill-image { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.category-pill-archive { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.category-pill-doc { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.category-pill-code { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.category-pill-folder { background: #fefce8; color: #b45309; border-color: #fef08a; }
.category-pill-other { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

/* 目录工具栏与搜索 */
.file-drawer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.drawer-search-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.drawer-search-icon {
  position: absolute;
  left: 10px;
  color: #94a3b8;
  font-size: 12px;
  pointer-events: none;
}

.drawer-search-input {
  width: 100%;
  padding: 7px 30px 7px 30px;
  font-size: 12.5px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  outline: none;
  background: #f8fafc;
  color: #1e293b;
  transition: all 0.18s ease;
}

.drawer-search-input:focus {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.drawer-search-clear {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 13px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.drawer-search-clear:hover {
  color: #475569;
}

.drawer-items-count {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  font-weight: 500;
}

/* 抽屉内容主体 */
.file-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
  background: #f8fafc;
}

/* 骨架屏动态效果 */
.drawer-skeleton-tree {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.skeleton-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.skeleton-row::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(241, 245, 249, 0.8), transparent);
  animation: drawerShimmer 1.5s infinite;
}

.skeleton-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.skeleton-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skeleton-line {
  height: 10px;
  border-radius: 4px;
  background: #e2e8f0;
}

@keyframes drawerShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* 现代文件树节点样式 */
.folder-node {
  margin-bottom: 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: border-color 0.15s ease;
}

.folder-node:hover {
  border-color: #cbd5e1;
}

.folder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  cursor: pointer;
  user-select: none;
  border-radius: 7px;
  transition: background 0.15s ease;
}

.folder-header:hover {
  background: #f8fafc;
}

.folder-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  font-size: 11px;
  margin-right: 6px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}

.folder-toggle-icon.rotated {
  transform: rotate(90deg);
  color: #4f46e5;
}

.folder-name-box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-right: 8px;
}

.folder-ico {
  color: #f59e0b;
  margin-right: 8px;
  font-size: 15px;
}

.folder-title-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-count-badge {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 500;
  flex-shrink: 0;
}

.folder-content {
  margin-left: 20px;
  padding-left: 10px;
  padding-top: 4px;
  padding-bottom: 6px;
  border-left: 2px solid #e2e8f0;
}

/* 文件节点 */
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 7px;
  margin-bottom: 5px;
  transition: all 0.15s ease;
}

.file-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.file-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* 语义化文件图标盒子 */
.file-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.file-icon-video {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

.file-icon-audio {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.file-icon-image {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.file-icon-archive {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.file-icon-doc {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

.file-icon-code {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

.file-icon-other {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.file-info-col {
  flex: 1;
  min-width: 0;
}

.file-name-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 11px;
  color: #64748b;
}

.file-size-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  color: #475569;
  font-size: 10.5px;
}

.file-copy-btn {
  opacity: 0.6;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.file-item:hover .file-copy-btn {
  opacity: 1;
}

.file-copy-btn:hover {
  background: #f1f5f9;
  color: #4f46e5;
  border-color: #c7d2fe;
}

/* 非树形网盘专属服务承接卡片 */
.drawer-pan-guide {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.guide-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 22px;
}

.guide-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.guide-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 18px;
}

.guide-perks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.guide-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
}

.guide-perk-item i {
  color: #10b981;
  font-size: 13px;
}

/* 异常/超时容错卡片 */
.drawer-error-state {
  text-align: center;
  padding: 32px 16px;
}

.drawer-error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fffbeb;
  color: #d97706;
  font-size: 20px;
  margin-bottom: 12px;
}

.drawer-error-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.drawer-error-desc {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.drawer-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-retry-btn:hover {
  background: #e0e7ff;
  color: #3730a3;
}

/* 抽屉底栏 */
.file-drawer-footer {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.drawer-btn-primary {
  height: 42px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25) !important;
  transition: all 0.2s ease !important;
}

.drawer-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35) !important;
}

/* 7. Cross-Provider Zero-Result Guide */
.cross-provider-guide {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.05);
}

.guide-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 14px;
}

.guide-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.guide-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.guide-providers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.guide-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.guide-jump-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

.guide-jump-btn.guide-jump-all {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

/* 8. Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 999;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: scale(1);
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

.back-to-top-btn.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.7) translateY(10px) !important;
  display: none !important;
}

/* Mobile load-more stream button */
.mobile-load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  margin: 16px 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.18s ease;
}

.mobile-load-more-btn:active {
  background: #f1f5f9;
  transform: scale(0.98);
}

