/* Favorite Page Styling — Hebi. & Airi Kanna Complete Encyclopedia */

.page-favorite .minimal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 20px 100px;
}

/* Page Intro */
.favorite-intro {
  margin-bottom: 44px;
}
.favorite-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a44877;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fdf2f7;
  border: 1px solid #f6dbe8;
  margin-bottom: 16px;
}
.favorite-intro h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #111111;
  margin: 0 0 16px;
}
.favorite-intro h1 em {
  font-style: italic;
  font-family: var(--serif, serif);
  font-weight: 600;
  color: #c94f8b;
}
.favorite-desc {
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
  margin: 0;
  word-break: keep-all;
}

/* Tab / Quick Jump Navigation */
.favorite-quick-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.quick-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.18s ease;
}
.quick-nav-btn:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
  color: #111827;
  transform: translateY(-1px);
}
.quick-nav-btn.hebi-tab:hover {
  border-color: #f472b6;
  color: #be185d;
}
.quick-nav-btn.kanna-tab:hover {
  border-color: #38bdf8;
  color: #0284c7;
}

/* Artist Cards */
.favorite-artists {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.artist-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 640px) {
  .artist-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* Header with Photo & Title */
.artist-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #f1f2f5;
  padding-bottom: 24px;
}
@media (max-width: 540px) {
  .artist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.artist-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.artist-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border: 3px solid #ffffff;
}
.artist-card.hebi .artist-avatar-img {
  border-color: #fbcfe8;
}
.artist-card.kanna .artist-avatar-img {
  border-color: #bae6fd;
}

.artist-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.artist-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}
.artist-card.hebi .artist-tag {
  background: #fdf2f7;
  color: #be185d;
  border: 1px solid #fbcfe8;
}
.artist-card.kanna .artist-tag {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.artist-tag.status-graduated {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}

.artist-title-area h2 {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.artist-title-area h2 small {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}
.artist-subtitle {
  font-size: 13.5px;
  color: #4b5563;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}

/* Section Title */
.sub-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f2937;
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-heading svg {
  flex-shrink: 0;
}

/* Info Table */
.encyclo-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
}
.encyclo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}
.encyclo-table th,
.encyclo-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f2f5;
  line-height: 1.6;
}
.encyclo-table th {
  background: #f9fafb;
  color: #4b5563;
  font-weight: 600;
  width: 25%;
  white-space: nowrap;
}
.encyclo-table td {
  color: #1f2937;
}
.encyclo-table tr:last-child th,
.encyclo-table tr:last-child td {
  border-bottom: none;
}

/* Color Chips */
.color-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}
.chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Album Showcase Grid */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.album-card {
  display: flex;
  gap: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.album-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.album-cover-img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
}
.album-meta {
  flex: 1;
  min-width: 0;
}
.album-meta h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.4;
}
.album-type {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: #e5e7eb;
  color: #374151;
  margin-bottom: 5px;
}
.artist-card.hebi .album-type {
  background: #fdf2f7;
  color: #be185d;
}
.artist-card.kanna .album-type {
  background: #f0f9ff;
  color: #0284c7;
}
.album-date {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 6px;
  font-family: monospace;
}
.album-tracks {
  font-size: 11.5px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}
  line-height: 1.5;
  margin: 0;
}

/* Timeline List */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid #f1f2f5;
  border-radius: 10px;
  font-size: 12.5px;
}
.timeline-date {
  font-weight: 700;
  font-family: monospace;
  color: #6b7280;
  flex-shrink: 0;
  width: 86px;
}
.timeline-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e5e7eb;
  color: #374151;
  flex-shrink: 0;
}
.timeline-text {
  color: #1f2937;
  line-height: 1.5;
}

/* Song Tags */
.song-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.song-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  padding: 5px 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155;
  font-weight: 500;
  transition: all 0.15s ease;
}
.song-tag:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
.artist-card.hebi .song-tag.featured {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
  font-weight: 600;
}
.artist-card.kanna .song-tag.featured {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
  font-weight: 600;
}

/* Links / Channels */
.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #e5e7eb;
}
.artist-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  transition: all 0.15s ease;
}
.artist-link-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

/* ==========================================================================
   D-DAY / DAYS TOGETHER COUNTER (BOTTOM OF PAGE)
   ========================================================================== */
.favorite-counter-section {
  margin-top: 56px;
}
.favorite-counter-card {
  position: relative;
  background: linear-gradient(135deg, #fff5f8 0%, #f0f7ff 100%);
  border: 2px solid #fbcfe8;
  border-radius: 24px;
  padding: 42px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(224, 91, 155, 0.08);
  overflow: hidden;
}
.counter-sparkle {
  font-size: 26px;
  margin-bottom: 10px;
  color: #e11d48;
}
.counter-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #be185d;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #fbcfe8;
  margin-bottom: 18px;
}
.counter-main-text {
  font-size: clamp(20px, 3.8vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: #111827;
  margin: 0 0 14px;
  word-break: keep-all;
}
.counter-highlight {
  display: inline-block;
  font-size: 1.25em;
  font-weight: 900;
  color: #e11d48;
  padding: 0 4px;
  background: linear-gradient(135deg, #e11d48 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.counter-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
  word-break: keep-all;
}

/* ─────────────────────────────────────────────────────────────
   DARK MODE OVERRIDES FOR FAVORITE PAGE
   ───────────────────────────────────────────────────────────── */
html.theme-dark .favorite-intro h1 {
  color: #ffffff !important;
}
html.theme-dark .favorite-intro h1 em {
  color: #f0bed9 !important;
}
html.theme-dark .favorite-desc {
  color: #ded5de !important;
}
html.theme-dark .favorite-eyebrow {
  background: #231626 !important;
  color: #f0bed9 !important;
  border-color: #4b2a48 !important;
}
html.theme-dark .quick-nav-btn {
  background: #17111a !important;
  border-color: #342436 !important;
  color: #ded5de !important;
}
html.theme-dark .quick-nav-btn:hover {
  background: #271a29 !important;
  color: #ffffff !important;
}
html.theme-dark .artist-card {
  background: #140f17 !important;
  border-color: #2f202f !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}
html.theme-dark .artist-header {
  border-bottom-color: #291e2b !important;
}
html.theme-dark .artist-title-area h2 {
  color: #ffffff !important;
}
html.theme-dark .artist-title-area h2 small {
  color: #baa7b9 !important;
}
html.theme-dark .artist-subtitle {
  color: #ded5de !important;
}
html.theme-dark .sub-heading {
  color: #ffffff !important;
}
html.theme-dark .artist-card.hebi .artist-avatar-img {
  border-color: #831843 !important;
}
html.theme-dark .artist-card.kanna .artist-avatar-img {
  border-color: #0369a1 !important;
}
html.theme-dark .artist-card.hebi .artist-tag {
  background: #281423 !important;
  color: #f472b6 !important;
  border-color: #551c41 !important;
}
html.theme-dark .artist-card.kanna .artist-tag {
  background: #0c2134 !important;
  color: #38bdf8 !important;
  border-color: #0e4569 !important;
}
html.theme-dark .artist-tag.status-graduated {
  background: #211c27 !important;
  color: #cfbece !important;
  border-color: #3f3148 !important;
}
html.theme-dark .encyclo-table-wrap {
  border-color: #2f202f !important;
}
html.theme-dark .encyclo-table th {
  background: #1b121e !important;
  color: #baa7b9 !important;
  border-bottom-color: #291e2b !important;
}
html.theme-dark .encyclo-table td {
  background: #140f17 !important;
  color: #ded5de !important;
  border-bottom-color: #291e2b !important;
}
html.theme-dark .color-chip {
  background: #1c1420 !important;
  border-color: #352338 !important;
  color: #ded5de !important;
}
html.theme-dark .album-card {
  background: #1a121e !important;
  border-color: #332135 !important;
}
html.theme-dark .album-card:hover {
  background: #241829 !important;
  border-color: #553457 !important;
}
html.theme-dark .album-meta h4 {
  color: #ffffff !important;
}
html.theme-dark .album-type {
  background: #2b1a2e !important;
  color: #f0bed9 !important;
}
html.theme-dark .album-date {
  color: #baa7b9 !important;
}
html.theme-dark .album-tracks {
  color: #ded5de !important;
}
html.theme-dark .timeline-item {
  background: #19111c !important;
  border-color: #2b1c2e !important;
}
html.theme-dark .timeline-date {
  color: #baa7b9 !important;
}
html.theme-dark .timeline-badge {
  background: #2b1a2e !important;
  color: #f0bed9 !important;
}
html.theme-dark .timeline-text {
  color: #ded5de !important;
}
html.theme-dark .song-tag {
  background: #1b121e !important;
  border-color: #392539 !important;
  color: #ded5de !important;
}
html.theme-dark .song-tag:hover {
  background: #2b1b2d !important;
  border-color: #5d395d !important;
  color: #ffffff !important;
}
html.theme-dark .artist-card.hebi .song-tag.featured {
  background: #2d1425 !important;
  border-color: #651f49 !important;
  color: #f9a8d4 !important;
}
html.theme-dark .artist-card.kanna .song-tag.featured {
  background: #0f273e !important;
  border-color: #154c73 !important;
  color: #7dd3fc !important;
}
html.theme-dark .artist-links {
  border-top-color: #291e2b !important;
}
html.theme-dark .artist-link-btn {
  background: #1c1420 !important;
  border-color: #392539 !important;
  color: #ded5de !important;
}
html.theme-dark .artist-link-btn:hover {
  background: #2d1c30 !important;
  border-color: #603a5f !important;
  color: #ffffff !important;
}
html.theme-dark .favorite-counter-card {
  background: linear-gradient(135deg, #1e1120 0%, #101c2a 100%) !important;
  border-color: #582949 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}
html.theme-dark .counter-sparkle {
  color: #f472b6 !important;
}
html.theme-dark .counter-label {
  background: rgba(20, 15, 23, 0.8) !important;
  border-color: #582949 !important;
  color: #f0bed9 !important;
}
html.theme-dark .counter-main-text {
  color: #ffffff !important;
}
html.theme-dark .counter-desc {
  color: #ded5de !important;
}
html.theme-dark .counter-highlight {
  background: linear-gradient(135deg, #f472b6 0%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ──────────────── Cover Cards with Thumbnails & Links ──────────────── */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 16px 0 24px;
}
.cover-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.cover-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.18);
}
.cover-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #110d18;
  overflow: hidden;
}
.cover-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cover-card:hover .cover-thumb {
  transform: scale(1.05);
}
.cover-play-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 10, 24, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.cover-card:hover .cover-play-badge {
  background: #7c3aed;
  transform: scale(1.12);
}
.artist-card.hebi .cover-card:hover .cover-play-badge {
  background: #db2777;
}
.artist-card.kanna .cover-card:hover .cover-play-badge {
  background: #0284c7;
}
.cover-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cover-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f1424;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cover-artist {
  font-size: 11px;
  color: #715873;
}

/* Dark mode for Cover Cards */
html.theme-dark .cover-card {
  background: #19101d !important;
  border-color: #38243b !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}
html.theme-dark .cover-card:hover {
  background: #231629 !important;
  border-color: #6d3969 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6) !important;
}
html.theme-dark .cover-title {
  color: #f5edf4 !important;
}
html.theme-dark .cover-artist {
  color: #b59fb5 !important;
}
